:root {
  --gd-navy: #102A43;
  --gd-teal: #0F8B8D;
  --gd-aqua: #23B5AF;
  --gd-seafoam: #DFF6F3;
  --gd-sky: #EAF6FF;
  --gd-sand: #F4E3C1;
  --gd-coral: #FF7A66;
  --gd-surface: #FFFFFF;
  --gd-page: #F6FAFB;
  --gd-muted: #627D8A;
  --gd-border: #D8E7EA;
  --gd-forest: var(--gd-teal);
  --gd-ocean: var(--gd-aqua);
  --gd-sunset: var(--gd-coral);
  --gd-ink: var(--gd-navy);
  --gd-surface-alt: var(--gd-sky);
  --aqua: var(--gd-ocean);
  --turquoise: var(--gd-ocean);
  --sky: #4f9fa3;
  --coral: var(--gd-sunset);
  --sand: var(--gd-sand);
  --ink: var(--gd-ink);
  --muted: var(--gd-muted);
  --paper: var(--gd-surface);
  --line: var(--gd-border);
}

.activity-page { max-width:1180px; margin:0 auto; padding:clamp(.75rem,3vw,1.5rem); }
.activity-detail-hero { overflow:hidden; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); min-height:430px; border-radius:30px; background:linear-gradient(145deg,#07142e 0%,#0b63ce 48%,#08aeb7 100%); color:#fff; box-shadow:0 24px 65px rgba(7,20,46,.22); }
.activity-detail-media { min-height:330px; position:relative; overflow:hidden; }
.activity-detail-media img,.activity-detail-media video { width:100%; height:100%; object-fit:cover; }
.activity-media-fallback { width:100%; height:100%; min-height:240px; display:grid; place-content:center; gap:.5rem; text-align:center; color:#fff; background:radial-gradient(circle at 26% 20%,rgba(8,209,216,.85),transparent 32%),radial-gradient(circle at 76% 68%,rgba(255,122,61,.7),transparent 28%),linear-gradient(145deg,#07142e,#0b63ce 54%,#086a7a); }
.activity-media-fallback span { font-size:5rem; line-height:1; }.activity-media-fallback small { font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.activity-detail-hero-copy { align-self:center; padding:clamp(1.5rem,5vw,3.5rem); }.activity-detail-hero h1 { margin:.45rem 0; font-size:clamp(2.3rem,6vw,4.7rem); line-height:.94; letter-spacing:-.045em; }
.activity-operator-line { font-size:1.08rem; font-weight:800; }.activity-badge-row,.activity-hero-facts,.activity-card-facts { display:flex; flex-wrap:wrap; gap:.55rem; align-items:center; }.activity-badge-row span,.activity-hero-facts>* { padding:.5rem .72rem; border-radius:999px; background:rgba(255,255,255,.14); color:inherit; font-size:.85rem; font-weight:850; text-decoration:none; }
.activity-detail-hero .activity-hero-facts a { color:#fff!important; }
.activity-featured-badge { position:relative; z-index:2; display:inline-flex; width:max-content; padding:.45rem .7rem; border-radius:999px; background:#ff7a3d!important; color:#07142e!important; font-size:.75rem; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.activity-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:1rem; margin-top:1rem; align-items:start; }.activity-detail-main { display:grid; gap:1rem; }.activity-content-card,.activity-booking-card { padding:clamp(1.1rem,3vw,1.7rem); border:1px solid var(--gd-border); border-radius:24px; background:#fff; box-shadow:0 12px 32px rgba(7,20,46,.07); }.activity-content-card h2,.activity-booking-card h2 { margin:.2rem 0 .8rem; }.activity-content-card p { line-height:1.65; }.activity-booking-card { position:sticky; top:1rem; display:grid; gap:.85rem; }.activity-booking-card .primary-button { text-align:center; }.activity-booking-card small { color:#52606d; line-height:1.45; }
.activity-highlight-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }.activity-highlight-grid article { display:flex; gap:.65rem; padding:.85rem; border-radius:16px; background:#f3fbfb; }.activity-highlight-grid article span { color:#008f96; font-weight:950; }.activity-highlight-grid article p { margin:0; line-height:1.4; }
.activity-operator-card address { margin:.75rem 0; color:#405861; font-style:normal; line-height:1.55; }.activity-contact-actions { display:flex; flex-wrap:wrap; gap:.65rem; margin:1rem 0; }.activity-contact-actions>a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-decoration:none; }.whatsapp-button { padding:.7rem 1rem; border-radius:999px; background:#167b45; color:#fff!important; font-weight:900; }.activity-operator-card small { display:block; color:#52606d; }
.activity-public-contacts { display:grid; gap:.4rem; margin:.8rem 0; }.activity-public-contacts>div { display:grid; grid-template-columns:5.5rem minmax(0,1fr); gap:.5rem; }.activity-public-contacts dt { color:#52606d; font-weight:800; }.activity-public-contacts dd { margin:0; overflow-wrap:anywhere; font-weight:750; }
.activities-discovery-page { max-width:1180px; }.activities-discovery-header { max-width:760px; padding:1rem 0 1.4rem; }.activities-discovery-header h1 { font-size:clamp(2.2rem,6vw,4rem); margin:.2rem 0; }.activity-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }.activity-discovery-card { overflow:hidden; display:grid; grid-template-columns:42% 1fr; min-height:330px; border:1px solid var(--gd-border); border-radius:24px; background:#fff; box-shadow:0 14px 36px rgba(7,20,46,.08); }.activity-discovery-card.is-featured { grid-column:1/-1; grid-template-columns:52% 1fr; border-color:#ff7a3d; }.activity-card-media { position:relative; min-height:240px; }.activity-card-media>img,.activity-card-media>.activity-media-fallback { width:100%; height:100%; }.activity-card-media>.activity-featured-badge { position:absolute; top:12px; left:12px; }.activity-card-body { display:flex; flex-direction:column; padding:1.15rem; }.activity-card-body h2 { margin:.15rem 0 .55rem; }.activity-card-operator { margin:0; color:#007f87; font-size:.78rem; font-weight:950; text-transform:uppercase; letter-spacing:.07em; }.activity-card-facts { margin:auto 0 .8rem; }.activity-card-facts span { padding:.4rem .6rem; border-radius:999px; background:#f0f5f7; font-size:.78rem; font-weight:800; }
@media(max-width:760px){.activity-detail-hero,.activity-detail-grid,.activity-discovery-card,.activity-discovery-card.is-featured { grid-template-columns:1fr; }.activity-detail-media { min-height:250px; max-height:300px; }.activity-detail-hero-copy { padding:1.2rem; }.activity-detail-hero h1 { font-size:2.55rem; }.activity-booking-card { position:static; }.activity-highlight-grid,.activity-card-grid { grid-template-columns:1fr; }.activity-discovery-card.is-featured { grid-column:auto; }.activity-card-media { min-height:210px; max-height:250px; }.activity-actions>a,.activity-contact-actions>a { flex:1 1 100%; text-align:center; }}
.activity-hero { display: grid; gap: 1rem; padding: clamp(1rem, 4vw, 2rem); }
.activity-hero .quick-facts { display: flex; flex-wrap: wrap; gap: .65rem; }
.activity-hero .quick-facts span, .activity-occurrences time { background: #f7f3e8; border: 1px solid #e8dfca; border-radius: 999px; padding: .55rem .8rem; }
.activity-occurrences { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
.activity-occurrences time { flex: 0 0 auto; }
.activity-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 560px) { .activity-actions > a { width: 100%; text-align: center; } }

/* Corrective product pass overrides */
.premium-spot-card { overflow: hidden; border-radius: 8px; background: var(--gd-surface); border: 1px solid rgba(16,35,31,.08); box-shadow: 0 18px 42px rgba(16,35,31,.13); display: grid; }
.premium-card-media { position: relative; aspect-ratio: 16 / 11; background: var(--gd-surface-alt); overflow: hidden; }
.premium-card-media a, .premium-card-media img, .spot-image-fallback { width: 100%; height: 100%; display: block; }
.premium-card-media a { overflow: hidden; }
.premium-card-media img { object-fit: cover; }
.spot-image-fallback { display: grid; place-items: end start; padding: 16px; color: white; background: linear-gradient(145deg, rgba(15,61,46,.94), rgba(11,111,114,.72)), repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12px); }
.spot-image-fallback span { font-weight: 900; }
.premium-card-overlay { position: absolute; inset: 10px 10px auto; display: flex; gap: 7px; align-items: flex-start; flex-wrap: wrap; z-index: 2; }
.premium-card-overlay form { margin-left: auto; }
.glass-pill { border-radius: 999px; background: color-mix(in srgb, var(--pill, var(--gd-forest)) 82%, white); color: white; font-weight: 850; font-size: .78rem; padding: 7px 10px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.save-icon { width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--gd-forest); font-weight: 900; box-shadow: 0 10px 20px rgba(0,0,0,.16); }
.premium-card-body { padding: 14px; display: grid; gap: 7px; }
.premium-card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-town, .place-distance { margin: 0; color: var(--gd-muted); font-weight: 750; font-size: .9rem; }
.place-distance { color: var(--gd-ocean); }
.travel-summary { margin: 0; color: #28413b; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.facility-grid.compact { display: flex; flex-wrap: wrap; gap: 6px; }
.facility-grid.compact span { border-radius: 999px; border: 1px solid rgba(15,61,46,.12); background: var(--gd-surface-alt); color: var(--gd-forest); padding: 6px 9px; font-size: .82rem; font-weight: 850; }
.premium-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.premium-card-actions a { min-height: 40px; padding: 8px 10px; }
.search-meta { display: grid; gap: 10px; margin: -8px 0 18px; color: var(--gd-muted); }
.search-meta strong { color: var(--gd-ink); }
.search-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.search-chip-row a, .search-chip-row button { white-space: nowrap; border-radius: 999px; border: 1px solid rgba(15,61,46,.14); background: white; color: var(--gd-forest); padding: 9px 12px; font-weight: 850; }
.location-status-inline, .share-status { align-self: center; color: var(--gd-muted); font-weight: 750; font-size: .9rem; }
.home-origin-line, .surprise-origin-line { margin: 4px 0 0; color: var(--gd-muted); font-size: .92rem; font-weight: 750; }
.home-origin-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.link-button-inline { border: 0; background: transparent; color: var(--gd-ocean); font: inherit; font-weight: 900; padding: 0 0 0 6px; cursor: pointer; }
.surprise-origin-panel { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.94); padding: 14px; display: grid; gap: 8px; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.surprise-origin-panel div { display: flex; flex-wrap: wrap; gap: 8px; }
.surprise-origin-panel small { color: var(--gd-muted); font-weight: 750; }
.location-status-error { color: #9b2f1d; }
.place-hero { min-height: min(620px, 78vh); border-radius: 0 0 8px 8px; margin: -18px -18px 24px; }
.place-hero.no-photo { background: linear-gradient(145deg, var(--gd-forest), var(--gd-ocean)); }
.place-hero-gradient { background: linear-gradient(180deg, rgba(5,20,17,.12), rgba(5,20,17,.76)); }
.why-go h2 { max-width: 850px; font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.1; }
.premium-fact-grid article, .weather-grid article, .fine-print-facts dl, .nearby-row article { border-radius: 8px; background: white; border: 1px solid rgba(16,35,31,.08); box-shadow: 0 12px 30px rgba(16,35,31,.08); }
.detail-map-shell { position: relative; }
.map-control-stack { max-width: calc(100% - 24px); display: flex; gap: 8px; flex-wrap: wrap; }
.map-control-stack button, .map-control-stack a { border: 0; border-radius: 999px; min-height: 38px; padding: 8px 11px; background: rgba(255,255,255,.95); color: var(--gd-forest); font-weight: 850; box-shadow: 0 8px 20px rgba(16,35,31,.16); }
.map-control-stack.floating { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 670; }
.detail-map-state { left: 12px; bottom: 12px; max-width: calc(100% - 24px); white-space: normal; }
.map-bottom-sheet { border-radius: 18px 18px 0 0; box-shadow: 0 -18px 38px rgba(16,35,31,.2); }
.nearby-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 260px); gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-padding-inline: 2px; }
.nearby-row article { overflow: hidden; display: grid; gap: 8px; padding: 10px; }
.nearby-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; background: var(--gd-surface-alt); }
.cms-hero-overlay { background: rgba(5,20,17,var(--overlay)); }
.quick-discovery a { background: linear-gradient(135deg, var(--gd-forest), var(--gd-ocean)); }
@media (max-width: 520px) {
  .map-toolbar { display: grid; }
  .map-filter-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .map-control-stack.floating { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .map-control-stack.floating button { min-width: 0; padding: 7px 3px; font-size: .76rem; }
  .map-state { left: 10px; right: 10px; bottom: 10px; text-align: center; white-space: normal; }
  .premium-map-shell .map-panel { min-height: calc(100vh - 270px); border-radius: 8px; }
  .premium-card-actions { grid-template-columns: 1fr; }
  .home-search-row { grid-template-columns: 1fr; }
}

/* Premium coastal system and Explore mobile correction */
body {
  color: var(--gd-navy);
  background: var(--gd-page);
}
a { color: var(--gd-teal); }
.top-shell {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--gd-border);
}
.brand, .eyebrow.dark, .live-nav-link { color: var(--gd-teal) !important; }
.primary-button {
  background: var(--gd-teal);
  color: white;
  box-shadow: 0 12px 28px rgba(15,139,141,.22);
}
.primary-button:hover { background: #0B7779; color: white; }
.secondary-button {
  color: var(--gd-navy);
  border-color: var(--gd-border);
  box-shadow: 0 8px 20px rgba(16,42,67,.08);
}
.ghost-button {
  color: var(--gd-teal);
  background: white;
  border-color: var(--gd-border);
}
.bottom-nav {
  border-color: var(--gd-border);
  box-shadow: 0 16px 40px rgba(16,42,67,.18);
}
.bottom-nav a, .bottom-nav button { color: var(--gd-muted); }
.bottom-nav .add-tab {
  background: var(--gd-coral);
  box-shadow: 0 12px 24px rgba(255,122,102,.32);
}
.explore-header {
  margin: 4px 0 10px;
  align-items: center;
}
.explore-header h1 {
  color: var(--gd-navy);
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1;
}
.premium-filter-bar {
  position: sticky;
  top: 70px;
  z-index: 680;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--gd-border);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(16,42,67,.1);
  backdrop-filter: blur(16px);
}
.premium-filter-bar input,
.premium-filter-bar select {
  border-color: var(--gd-border);
  color: var(--gd-navy);
  border-radius: 12px;
  min-height: 44px;
}
.premium-filter-bar label {
  min-height: 38px;
  border-color: var(--gd-border);
  color: var(--gd-navy);
  background: var(--gd-surface);
  font-size: .82rem;
  padding: 7px 10px;
}
.search-meta {
  display: block;
  margin: 0 0 10px;
  color: var(--gd-muted);
}
.search-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gd-navy);
  font-size: .95rem;
}
.search-chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 12px;
  padding: 1px 2px 7px;
  scrollbar-width: none;
}
.search-chip-row::-webkit-scrollbar,
.premium-filter-bar::-webkit-scrollbar { display: none; }
.search-chip-row a,
.search-chip-row button {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid var(--gd-border);
  background: white;
  color: var(--gd-teal);
  padding: 7px 10px;
  min-height: 34px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
}
.search-chip-row a.active {
  color: white;
  background: var(--gd-teal);
  border-color: var(--gd-teal);
}
.spot-grid {
  gap: 14px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.premium-spot-card {
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  box-shadow: 0 14px 34px rgba(16,42,67,.1);
}
.premium-card-media {
  border-radius: 8px 8px 0 0;
  background: var(--gd-sky);
  box-shadow: none;
}
.spot-image-fallback {
  background: linear-gradient(145deg, var(--gd-navy), var(--gd-teal));
}
.premium-card-overlay {
  inset: 0;
  padding: 8px;
  background: linear-gradient(180deg, rgba(16,42,67,.34), rgba(16,42,67,0) 52%);
}
.glass-pill {
  font-size: .68rem;
  line-height: 1;
  padding: 5px 7px;
  background: color-mix(in srgb, var(--pill, var(--gd-teal)) 78%, var(--gd-navy));
  box-shadow: 0 6px 14px rgba(16,42,67,.14);
}
.save-icon {
  width: 34px;
  height: 34px;
  color: var(--gd-coral);
}
.premium-card-body {
  padding: 12px;
  gap: 6px;
}
.premium-card-body h3 a,
.premium-card-body h3 { color: var(--gd-navy); }
.place-town, .place-distance { color: var(--gd-muted); }
.place-distance { color: var(--gd-teal); }
.travel-summary { color: #334E68; }
.facility-grid.compact span {
  background: var(--gd-sky);
  border-color: var(--gd-border);
  color: var(--gd-navy);
  padding: 5px 7px;
  font-size: .74rem;
}
.location-status-success { color: #16836E; }
.notice { background: #FFF7DF; border-color: var(--gd-sand); color: #755900; }
.content-band.sand { background: color-mix(in srgb, var(--gd-sand) 32%, white); }
.content-band.aqua, .community-section { background: var(--gd-seafoam); }
.place-hero.no-photo { background: linear-gradient(145deg, var(--gd-navy), var(--gd-teal)); }
.place-hero-gradient { background: linear-gradient(180deg, rgba(16,42,67,.08), rgba(16,42,67,.78)); }
.premium-fact-grid article,
.weather-grid article,
.fine-print-facts dl,
.nearby-row article {
  border-color: var(--gd-border);
  box-shadow: 0 12px 28px rgba(16,42,67,.08);
}

@media (max-width: 760px) {
  body { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
  .page-shell { padding: 10px 10px calc(24px + env(safe-area-inset-bottom)); }
  .explore-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 2px 0 8px;
  }
  .explore-header .eyebrow { display: none; }
  .explore-header h1 { font-size: 1.45rem; }
  .explore-header .primary-button { min-height: 36px; padding: 8px 11px; font-size: .82rem; }
  .premium-filter-bar {
    top: 58px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 14px;
  }
  .premium-filter-bar input[name="Search"] { flex: 0 0 172px; }
  .premium-filter-bar select { flex: 0 0 126px; }
  .premium-filter-bar label,
  .premium-filter-bar button,
  .premium-filter-bar a {
    flex: 0 0 auto;
    min-height: 36px;
    max-width: none;
  }
  .search-meta { margin-bottom: 8px; }
  .search-meta strong { margin-bottom: 6px; }
  .spot-grid { gap: 12px; }
  .premium-card-media { min-height: 206px; aspect-ratio: 16 / 10; }
  .premium-card-body { padding: 11px; }
  .premium-card-body h3 { font-size: 1rem; }
  .travel-summary { -webkit-line-clamp: 2; font-size: .88rem; }
  .premium-card-actions { grid-template-columns: 1fr 1fr; }
  .premium-card-actions .ghost-button,
  .premium-card-actions .secondary-button {
    min-height: 36px;
    padding: 7px 9px;
    font-size: .82rem;
  }
}
* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: hidden; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--gd-navy); background: var(--gd-page); padding-bottom: calc(104px + env(safe-area-inset-bottom)); overflow-x: hidden; }
a { color: #067989; text-decoration: none; }
img { max-width: 100%; display: block; }
.top-shell { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(16px); background: rgba(255, 253, 248, .92); border-bottom: 1px solid rgba(22, 199, 212, .18); }
.mobile-top-bar { display: none; }
.geodrop-nav { max-width: 1180px; margin: auto; }
.desktop-nav .container-fluid { display: flex; gap: 18px; align-items: center; }
.desktop-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; flex: 1 1 auto; }
.desktop-nav .navbar-nav { flex-wrap: wrap; gap: 2px 6px; min-width: 0; }
.desktop-nav .nav-link { white-space: nowrap; }
.live-nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-badge, .mobile-live-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: var(--coral); color: white; font-size: .72rem; line-height: 1; padding: 0 5px; font-weight: 900; }
.brand { font-size: 1.55rem; font-weight: 850; color: var(--turquoise); letter-spacing: 0; display: inline-flex; align-items: center; min-height: 2.4rem; }
.brand-logo { display: block; width: auto; max-width: 168px; max-height: 40px; object-fit: contain; }
.compact-logo { max-width: 132px; max-height: 34px; }
.page-shell { max-width: 1180px; margin: auto; padding: 18px; }
.hero { min-height: 82vh; display: grid; align-items: end; overflow: hidden; border-radius: 0 0 28px 28px; position: relative; margin: -18px -18px 28px; }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,64,82,.08), rgba(4,64,82,.54)), url('/images/placeholders/hero.svg') center/cover; }
.hero-content { position: relative; color: white; padding: min(11vw, 90px) 24px 56px; max-width: 720px; text-shadow: 0 2px 16px rgba(0,0,0,.24); }
.hero h1 { font-size: clamp(3.2rem, 13vw, 8rem); line-height: .9; margin: 0 0 16px; font-weight: 900; letter-spacing: 0; }
.hero p { font-size: 1.14rem; max-width: 560px; }
.eyebrow { text-transform: uppercase; font-weight: 800; letter-spacing: .08em; font-size: .8rem !important; }
.eyebrow.dark { color: #0b7f89; text-shadow: none; }
.hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.primary-button, .secondary-button, .ghost-button, .danger-button { border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 800; display: inline-flex; justify-content: center; align-items: center; min-height: 46px; cursor: pointer; }
.primary-button { background: linear-gradient(135deg, var(--gd-forest), var(--gd-ocean)); color: white; box-shadow: 0 12px 28px rgba(15,61,46,.24); }
.secondary-button { background: white; color: var(--gd-ink); box-shadow: 0 8px 22px rgba(16,35,31,.12); border: 1px solid rgba(16,35,31,.08); }
.ghost-button { background: rgba(255,255,255,.82); color: var(--gd-forest); border: 1px solid rgba(15,61,46,.14); }
.danger-button { background: #ffe4df; color: #9b2f1d; }
.primary-button:disabled, .secondary-button:disabled, .ghost-button:disabled, .danger-button:disabled { cursor: wait; opacity: .7; }
.wide { width: 100%; }
.content-band { padding: 26px 0; }
.content-band.sand { background: rgba(255,226,168,.32); margin-inline: -18px; padding-inline: 18px; }
.content-band.aqua { background: rgba(22,199,212,.11); margin-inline: -18px; padding-inline: 18px; border-block: 1px solid var(--line); }
.dashboard-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -8px 0 18px; }
.dashboard-rail a { min-height: 82px; border-radius: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 22px rgba(33,105,120,.08); display: grid; place-items: center; color: var(--ink); }
.dashboard-rail strong { font-size: 1.8rem; color: var(--coral); line-height: 1; }
.dashboard-rail span { font-weight: 850; color: #087b88; }
.section-heading, .page-header.compact { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.page-header.compact { align-items: center; }
h1, h2, h3 { font-weight: 850; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 8vw, 4rem); }
h2 { font-size: 1.55rem; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 18px; }
.spot-card, .trip-card, .info-panel, .form-section { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.spot-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #d9f7fb; }
.spot-card-body { padding: 16px; display: grid; gap: 8px; }
.spot-card-top, .stats-row, .icon-row, .trip-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spot-fact-row, .spot-warning-row, .spot-card-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spot-fact-row span, .spot-warning-row span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: .84rem; background: rgba(255,255,255,.72); }
.spot-warning-row span { border-color: #ffd6a8; background: #fff7eb; color: #7a4d00; }
.spot-card-actions { margin-top: 4px; }
.small-text { font-size: .82rem; }
.spot-key-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.spot-key-status article { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: rgba(255,255,255,.86); }
.spot-key-status span { display: block; color: var(--muted); font-size: .82rem; }
.spot-key-status strong { display: block; margin-top: 3px; }
.category-pill, .icon-row span, .stats-row span, .trip-chip { border-radius: 999px; padding: 7px 11px; background: color-mix(in srgb, var(--pill, var(--aqua)) 18%, white); color: #075963; font-weight: 800; font-size: .86rem; }
.rating { margin-left: auto; font-weight: 850; color: var(--coral); }
.muted { color: var(--muted); margin: 0; }
.notice { background: #fff4cf; border: 1px solid #ffdf80; color: #694c00; border-radius: 14px; padding: 12px; }
.location-status { min-height: 1.5rem; }
.location-status-error { color: #9b2f1d; }
.location-status-success { color: #087b4c; }
.location-spinner { display: none; width: 1rem; height: 1rem; border: 2px solid rgba(8, 123, 136, .24); border-top-color: #087b88; border-radius: 50%; margin-right: 8px; animation: spin .75s linear infinite; }
.is-loading .location-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { padding: 28px; border: 1px dashed var(--sky); border-radius: 18px; background: #f3fcff; color: var(--muted); }
.empty-state::before { content: ""; display: block; width: 72px; height: 8px; margin-bottom: 12px; border-radius: 999px; background: linear-gradient(90deg, #dff8fb, #fff4dc, #dff8fb); background-size: 220% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.filter-bar, .spot-form { display: grid; gap: 12px; margin-bottom: 22px; }
.filter-bar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: center; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
input, textarea, select { width: 100%; border: 1px solid #bcdde4; border-radius: 14px; padding: 12px 13px; background: white; color: var(--ink); }
textarea { min-height: 100px; }
label { font-weight: 750; color: #254c5a; }
.form-section { padding: 18px; display: grid; gap: 12px; }
.form-grid, .detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.split { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.check-grid, .tag-cloud { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 8px; }
.check-grid label, .tag-cloud label { background: #f5fdff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.suggest-progress { position: sticky; top: 74px; z-index: 700; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 8px 22px rgba(33,105,120,.08); }
.suggest-progress span { min-height: 40px; border-radius: 12px; background: #eefbfd; color: #075963; font-weight: 850; font-size: .88rem; display: grid; place-items: center; text-align: center; padding: 6px; }
.chip-fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip-fieldset legend { grid-column: 1 / -1; font-weight: 850; color: #254c5a; margin-bottom: 2px; }
.chip-fieldset label { min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: #f5fdff; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 850; }
.chip-fieldset input { width: auto; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.confirmation-panel { min-height: 48vh; align-content: center; text-align: center; }
.duplicate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.map-panel, .map-picker { min-height: 68vh; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.map-panel.small, .map-picker { min-height: 320px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 20px; align-items: end; }
.detail-hero img { border-radius: 22px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery, .preview-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.gallery img, .preview-strip img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.photo-manager { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.photo-edit-card { display: grid; gap: 8px; background: #f5fdff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.photo-edit-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 12px; }
.info-panel { padding: 18px; }
.playlist-box { display: grid; gap: 10px; margin-bottom: 12px; }
.trip-list { display: grid; gap: 12px; }
.trip-card { padding: 18px; color: var(--ink); }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 4px solid white; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.bottom-nav { position: fixed; left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); z-index: 1100; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(23,96,112,.2); border-radius: 20px; display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 7px; min-height: 64px; }
.bottom-nav a, .bottom-nav button { min-width: 0; text-align: center; color: #266272; font-size: .74rem; line-height: 1; font-weight: 850; padding: 8px 2px; border-radius: 14px; border: 0; background: transparent; display: grid; place-items: center; gap: 2px; white-space: nowrap; }
.bottom-nav .add-tab { background: var(--coral); color: white; transform: translateY(-14px); min-height: 52px; border-radius: 18px; box-shadow: 0 10px 20px rgba(255,127,102,.3); font-size: .82rem; }
.bottom-nav a[href="/Live"] { position: relative; }
.bottom-nav .mobile-live-badge { position: absolute; top: 3px; right: 12%; min-width: 16px; height: 16px; font-size: .66rem; }
.footer-note { text-align: center; color: var(--muted); font-size: .9rem; padding: 20px 16px calc(112px + env(safe-area-inset-bottom)); }
.action-sheet-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(11, 50, 63, .32); backdrop-filter: blur(4px); }
.action-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 1210; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(23,96,112,.28); padding: 16px; display: grid; grid-template-columns: 1fr; gap: 10px; max-height: calc(100vh - 126px - env(safe-area-inset-bottom)); overflow-y: auto; }
.action-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.action-sheet h2 { margin: 0; font-size: 1.18rem; }
.action-sheet a { min-height: 64px; border-radius: 16px; background: linear-gradient(135deg, #e7fbff, #fff4dc); color: var(--ink); font-weight: 850; display: flex; align-items: center; padding: 12px; overflow-wrap: anywhere; }
.action-sheet-card { gap: 12px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(23,96,112,.1); }
.action-sheet-card > span:last-child { min-width: 0; display: grid; gap: 3px; }
.action-sheet-card strong { display: block; font-size: 1rem; line-height: 1.1; }
.action-sheet-card small { color: var(--muted); font-size: .86rem; font-weight: 750; line-height: 1.25; }
.action-sheet-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.78); border: 1px solid rgba(15,139,141,.16); font-size: 1.2rem; }
.sheet-close { border: 0; background: #eefbfd; color: #087b88; border-radius: 999px; padding: 9px 12px; font-weight: 850; min-height: 40px; }
.mini-player { position: fixed; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1090; display: grid; grid-template-columns: auto auto auto 42px minmax(0, 1fr) auto auto 90px auto auto; gap: 8px; align-items: center; background: rgba(13, 34, 42, .96); color: white; border-radius: 20px; padding: 10px; box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.mini-player button { border: 0; border-radius: 999px; background: #1bd2c8; color: #06282f; font-weight: 850; padding: 9px 11px; }
.mini-player button.active { background: var(--coral); color: white; }
.mini-player img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: linear-gradient(135deg, var(--aqua), var(--coral)); }
.player-meta { min-width: 0; display: grid; gap: 2px; }
.player-meta span { color: #b7eef0; font-size: .82rem; }
#playerSeek, #playerVolume { padding: 0; accent-color: var(--coral); }
.full-player { position: fixed; inset: 0; z-index: 1300; background: linear-gradient(180deg, #08313b, #0d767e 58%, #ffb26b); color: white; padding: 28px; display: grid; place-items: center; text-align: center; align-content: center; gap: 16px; }
.full-player img { width: min(72vw, 360px); aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 22px 60px rgba(0,0,0,.32); background: linear-gradient(135deg, var(--aqua), var(--coral)); }
.player-controls, .player-queue { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.player-controls button, .queue-button { border: 0; border-radius: 999px; background: white; color: #075963; font-weight: 850; min-height: 44px; padding: 10px 16px; }
.queue-button.active { background: var(--coral); color: white; }
.music-hero { min-height: 360px; border-radius: 26px; padding: 30px; display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; color: white; background: linear-gradient(180deg, rgba(5,58,74,.1), rgba(5,58,74,.72)), url('/images/placeholders/hero.svg') center/cover; }
.music-hero h1 { font-size: clamp(3rem, 12vw, 6.5rem); line-height: .9; }
.music-list { display: grid; gap: 10px; }
.track-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.track-row p { margin: 0; color: var(--muted); }
.play-track { border: 0; border-radius: 999px; background: var(--coral); color: white; font-weight: 850; min-height: 44px; padding: 0 14px; }
.playlist-order-list { display: grid; gap: 10px; }
.playlist-order-row { grid-template-columns: auto auto auto 1fr; cursor: grab; }
.playlist-order-row.dragging { opacity: .45; }
.inline-track { min-width: 0; display: grid; }
.inline-track span { color: var(--muted); }
.map-shell { position: relative; }
.disabled-map { pointer-events: none; }
.map-overlay { position: absolute; inset: 0; margin: auto; width: min(240px, 70%); height: 56px; z-index: 650; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #075963; font-weight: 900; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.disable-map { position: absolute; right: 14px; top: 14px; z-index: 660; border: 0; border-radius: 999px; background: white; color: #075963; font-weight: 850; padding: 10px 14px; }
.map-state { position: absolute; left: 14px; bottom: 14px; z-index: 640; border-radius: 999px; background: rgba(255,255,255,.92); color: #075963; font-weight: 850; padding: 8px 12px; }
.popup-photo { width: 180px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.fullscreen-map { position: fixed; inset: 0; z-index: 1250; background: #052f38; padding: 12px; }
.fullscreen-map .map-panel { height: calc(100vh - 24px); min-height: 0; border-radius: 18px; }
.fullscreen-map .map-overlay { top: 0; bottom: 0; }
.geo-marker { border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 10px 24px rgba(5,47,56,.28); }
.geo-marker span { width: 20px; height: 20px; border-radius: 50%; display: block; background: var(--aqua); border: 3px solid white; }
.geo-marker-live span, .geo-marker-signal span, .geo-marker-mission span { animation: markerPulse 1.6s ease-out infinite; }
.geo-marker-live span { background: var(--coral); }
.geo-marker-mission span { background: #7257ff; }
.geo-marker-signal span { background: #0fb7a9; }
.geo-marker-business span { background: #ffb23f; }
.geo-marker-creator span { background: #d16ba5; }
@keyframes markerPulse { 0% { box-shadow: 0 0 0 0 rgba(255,127,102,.42); } 100% { box-shadow: 0 0 0 18px rgba(255,127,102,0); } }
.identity-page { min-height: 78vh; display: grid; place-items: center; margin: -18px; padding: 24px; background: linear-gradient(180deg, rgba(245,253,255,.2), rgba(255,247,232,.92)), url('/images/placeholders/hero.svg') center/cover; }
.identity-panel { width: min(100%, 460px); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.7); border-radius: 26px; padding: 24px; box-shadow: 0 24px 60px rgba(21, 85, 102, .24); }
.identity-panel h1 { margin-top: 0; color: var(--turquoise); }
.password-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.password-row input { min-width: 0; }
.password-row button { min-width: 72px; }
.field-guidance { margin: -3px 0 2px; color: var(--gd-muted, #51666b); font-size: .88rem; line-height: 1.4; }
.identity-page .field-validation-error { display: block; font-weight: 800; line-height: 1.35; }
.identity-page .auth-validation-summary:not(.validation-summary-valid) { padding: 10px 12px; border-radius: 8px; background: #fff0f0; }
.identity-page .auth-validation-summary ul { margin: 0; padding-left: 20px; }
.turnstile-wrap { width: 100%; max-width: 100%; overflow: hidden; min-height: 65px; }
.turnstile-wrap .cf-turnstile { max-width: 100%; }
body:has(.identity-page) { padding-bottom: 0 !important; }
@media (max-width: 430px) {
  .identity-page { margin: -12px; padding: 12px; min-height: calc(100dvh - 76px); align-items: start; }
  .identity-panel { padding: 16px; border-radius: 18px; }
  .turnstile-wrap { transform-origin: left top; }
}
.live-nav-link { position: relative; font-weight: 900; color: #087b88 !important; }
.live-nav-link span, .mobile-live-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 999px; background: var(--coral); color: white; font-size: .72rem; font-weight: 900; }
.live-hero { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 24px; border-radius: 26px; padding: 28px; color: #07343d; background: linear-gradient(135deg, rgba(231,251,255,.96), rgba(255,244,220,.94)), url('/images/placeholders/hero.svg') center/cover; overflow: hidden; margin-bottom: 18px; }
.live-hero h1 { font-size: clamp(2.8rem, 10vw, 6rem); line-height: .92; margin: 0 0 12px; color: #084e5a; }
.live-hero p:not(.eyebrow) { max-width: 620px; font-size: 1.08rem; }
.live-radar { width: 220px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(15,183,169,.28); display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(255,127,102,.38), rgba(22,199,212,.18) 42%, rgba(255,255,255,.72) 43%); box-shadow: 0 22px 50px rgba(13,151,166,.18); }
.live-radar::before, .live-radar::after, .live-radar span { content: ""; position: absolute; inset: 18%; border: 2px solid rgba(15,183,169,.28); border-radius: 50%; animation: radarPulse 2.6s linear infinite; }
.live-radar::after { inset: 34%; animation-delay: .8s; }
.live-radar span { inset: 48%; background: var(--coral); border: 0; animation-delay: 1.2s; }
@keyframes radarPulse { 0% { transform: scale(.72); opacity: 1; } 100% { transform: scale(1.35); opacity: .18; } }
.live-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 14px; position: sticky; top: 72px; z-index: 650; background: rgba(244,253,255,.92); backdrop-filter: blur(12px); }
.live-tabs a, .live-count { white-space: nowrap; border-radius: 999px; background: white; border: 1px solid var(--line); color: #075963; font-weight: 900; padding: 9px 13px; box-shadow: 0 8px 20px rgba(33,105,120,.08); }
.live-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.live-card { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px rgba(33,105,120,.1); }
.live-card-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #d9f7fb; }
.live-card-body { padding: 16px; display: grid; gap: 10px; }
.live-card-top { display: flex; gap: 8px; flex-wrap: wrap; }
.live-pill, .live-status { border-radius: 999px; padding: 6px 10px; font-size: .82rem; font-weight: 900; background: #e7fbff; color: #075963; }
.live-status { background: #fff0d0; color: #7a4a00; }
.live-facts { display: grid; gap: 8px; margin: 0; }
.live-facts div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.live-facts dt { font-weight: 900; color: #087b88; }
.live-facts dd { margin: 0; color: var(--ink); }
.home-adventure-hero { min-height: min(720px, 82vh); margin: -18px -18px 20px; padding: 26px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; background: linear-gradient(180deg, rgba(4,41,50,.05), rgba(4,41,50,.72)), url('/images/placeholders/spot-2.svg') center/cover; }
.home-adventure-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(22,199,212,.22), transparent 38%, rgba(255,127,102,.22)); animation: slowDrift 12s ease-in-out infinite alternate; }
.home-hero-copy { position: relative; z-index: 1; max-width: 760px; padding: min(8vw, 70px) 0 32px; text-shadow: 0 2px 18px rgba(0,0,0,.34); }
.home-hero-copy h1 { font-size: clamp(3.4rem, 13vw, 8.5rem); line-height: .88; margin: 0 0 16px; color: white; }
.home-hero-copy p:not(.eyebrow) { max-width: 640px; font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.weather-chip { position: absolute; z-index: 2; right: 22px; top: 22px; border-radius: 999px; background: rgba(255,255,255,.9); color: #075963; display: flex; gap: 12px; align-items: center; padding: 10px 14px; box-shadow: 0 18px 40px rgba(4,41,50,.2); }
.weather-chip span { color: var(--muted); font-weight: 800; }
.hero-signal { position: absolute; right: min(12vw, 120px); bottom: min(12vw, 100px); width: 220px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); opacity: .84; }
.hero-signal::before, .hero-signal::after, .hero-signal span { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 2px solid rgba(255,255,255,.32); animation: radarPulse 2.8s linear infinite; }
.hero-signal::after { inset: 36%; animation-delay: .7s; }
.hero-signal span { inset: 50%; background: var(--coral); border: 0; }
@keyframes slowDrift { from { transform: scale(1); } to { transform: scale(1.04) translate3d(-10px, 6px, 0); } }
.surprise-button { border: 0; border-radius: 999px; min-height: 62px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; font-weight: 950; color: white; background: linear-gradient(135deg, #ff7f66, #ffb23f); box-shadow: 0 18px 38px rgba(255,127,102,.34); }
.god-button { position:relative; isolation:isolate; flex-direction:column; overflow:hidden; letter-spacing:.04em; background:linear-gradient(125deg,#5726a5 0%,#d33478 48%,#ff8b48 100%); box-shadow:0 14px 36px rgba(96,38,155,.32),0 0 0 1px rgba(255,255,255,.3) inset; animation:god-button-breathe 4.8s ease-in-out infinite; }
.god-button::before { content:""; position:absolute; inset:-90% -35%; z-index:-1; background:linear-gradient(100deg,transparent 36%,rgba(255,255,255,.34) 49%,transparent 62%); transform:translateX(-65%) rotate(8deg); animation:god-button-sweep 5.5s ease-in-out infinite; }
.god-button small { color:rgba(255,255,255,.82); font-size:.67rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.god-button:active { transform:scale(.965); box-shadow:0 7px 18px rgba(96,38,155,.3); }
@keyframes god-button-breathe { 50% { box-shadow:0 18px 42px rgba(96,38,155,.42),0 0 0 2px rgba(255,255,255,.22) inset; } }
@keyframes god-button-sweep { 0%,70% { transform:translateX(-70%) rotate(8deg); } 88%,100% { transform:translateX(70%) rotate(8deg); } }

.cms-hero .home-hero-actions {
  display:grid;
  width:min(100%, 360px);
  gap:9px;
  align-items:stretch;
}
.cms-hero.align-center .home-hero-actions { margin-inline:auto; }
.cms-hero.align-right .home-hero-actions { margin-left:auto; }
.cms-hero .home-hero-actions > a {
  width:100%;
  min-height:48px;
  padding:11px 20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:950;
  letter-spacing:.055em;
  line-height:1;
  text-shadow:none;
}
.home-bored-button,
.home-surprise-button { position:relative; isolation:isolate; overflow:hidden; color:#fff !important; }
.home-bored-button {
  border:1px solid rgba(255,239,188,.72);
  background:linear-gradient(125deg,#7b4a12 0%,#c58b2a 34%,#f2d17c 54%,#a96817 100%);
  box-shadow:0 13px 28px rgba(83,48,6,.34), inset 0 1px 0 rgba(255,250,220,.58), inset 0 -2px 5px rgba(76,38,2,.2);
  animation:home-bored-glow 7.2s ease-in-out infinite;
}
.home-bored-button::after,
.home-surprise-button::after {
  content:"";
  position:absolute;
  inset:-100% -38%;
  z-index:-1;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.42) 50%,transparent 58%);
  transform:translateX(-72%) rotate(7deg);
  animation:home-cta-sweep 7.2s ease-in-out infinite;
}
.home-bored-button > span { font-size:.9rem; animation:home-spark-twinkle 7.2s ease-in-out infinite; }
.home-surprise-button {
  border:1px solid rgba(132,239,245,.58);
  background:linear-gradient(120deg,#07142e 0%,#0b63ce 35%,#7c3aed 68%,#e43d96 100%);
  background-size:180% 180%;
  box-shadow:0 13px 28px rgba(22,49,132,.34), inset 0 1px 0 rgba(255,255,255,.25);
  animation:home-surprise-drift 9s ease-in-out infinite;
}
.home-surprise-button::after { animation-delay:2.1s; }
.home-bored-button:active,
.home-surprise-button:active { transform:scale(.975); }
@keyframes home-bored-glow { 0%,72%,100% { box-shadow:0 13px 28px rgba(83,48,6,.34),inset 0 1px 0 rgba(255,250,220,.58),inset 0 -2px 5px rgba(76,38,2,.2); } 84% { box-shadow:0 15px 32px rgba(197,139,42,.42),0 0 0 3px rgba(242,209,124,.13),inset 0 1px 0 rgba(255,250,220,.62); } }
@keyframes home-cta-sweep { 0%,72% { transform:translateX(-72%) rotate(7deg); } 88%,100% { transform:translateX(72%) rotate(7deg); } }
@keyframes home-spark-twinkle { 0%,75%,100% { transform:scale(1) rotate(0); opacity:.9; } 82% { transform:scale(1.16) rotate(10deg); opacity:1; } }
@keyframes home-surprise-drift { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }

.god-button-experience .surprise-reveal-stage { min-height:calc(100svh - 135px); display:grid; place-content:center; position:relative; overflow:hidden; background:radial-gradient(circle at 50% 38%,rgba(211,52,120,.15),transparent 38%),linear-gradient(180deg,#fff 0%,#f8f4ff 100%); }
.surprise-radar { width:min(78vw,360px); aspect-ratio:1; margin:auto; position:relative; display:grid; place-items:center; }
.surprise-ring { position:absolute; border:1px solid rgba(101,55,161,.2); border-radius:50%; animation:surprise-pulse 2.8s ease-out infinite; }
.ring-one{inset:34%}.ring-two{inset:19%;animation-delay:.4s}.ring-three{inset:4%;animation-delay:.8s}
.surprise-you { width:72px;height:72px;border-radius:50%;display:grid;place-items:center;color:white;font-size:.72rem;letter-spacing:.12em;background:linear-gradient(145deg,#5726a5,#d33478);box-shadow:0 0 34px rgba(211,52,120,.42);z-index:3 }
.surprise-candidate { position:absolute;width:11px;height:11px;border-radius:50%;background:#ffb23f;box-shadow:0 0 18px #ff9d43;transition:opacity .5s,transform .7s,filter .5s;animation:candidate-glow 1.7s ease-in-out infinite alternate }
.candidate-0{left:12%;top:46%}.candidate-1{left:25%;top:18%}.candidate-2{left:52%;top:7%}.candidate-3{right:19%;top:22%}.candidate-4{right:6%;top:49%}.candidate-5{right:23%;bottom:14%}.candidate-6{left:49%;bottom:4%}.candidate-7{left:18%;bottom:19%}.candidate-8{left:32%;top:36%}.candidate-9{right:31%;top:39%}.candidate-10{right:34%;bottom:31%}.candidate-11{left:31%;bottom:34%}
.is-pruning .surprise-candidate:nth-of-type(odd),.is-pruning .surprise-candidate:nth-of-type(3n){opacity:.08;filter:blur(2px);transform:scale(.35)}
.surprise-finalist .surprise-candidate{opacity:.08}.surprise-finalist .candidate-2,.surprise-finalist .candidate-7,.surprise-finalist .candidate-10{opacity:1;transform:scale(1.55)}
.surprise-lock .surprise-candidate{opacity:0!important}.surprise-lock .candidate-10{opacity:1!important;transform:translate(-42px,-42px) scale(4);background:#fff;box-shadow:0 0 60px #d33478}
.surprise-aurora{position:absolute;inset:18%;border-radius:50%;opacity:0;background:conic-gradient(from 30deg,rgba(87,38,165,.2),rgba(211,52,120,.35),rgba(255,178,63,.12),rgba(87,38,165,.2));filter:blur(20px);transition:opacity .4s;animation:aurora-spin 5s linear infinite}.is-ai-selecting .surprise-aurora{opacity:1}
.surprise-loading-copy{text-align:center;max-width:420px;margin:18px auto 0;padding:0 24px}.surprise-loading-copy p{font-weight:950;letter-spacing:.06em}.surprise-fancy-input{display:grid;gap:7px;margin:18px 0 4px}.surprise-fancy-input span{font-weight:850}.surprise-fancy-input small{font-weight:500;color:var(--muted)}.surprise-fancy-input input{min-height:52px;border-radius:18px;border:1px solid rgba(74,48,95,.18);padding:0 16px;background:#fff}
.surprise-feedback{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.surprise-feedback button{border:1px solid rgba(74,48,95,.14);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;color:#49355a}.surprise-feedback span{color:var(--muted);font-size:.88rem}
@keyframes surprise-pulse{0%{transform:scale(.78);opacity:.25}60%{opacity:.85}100%{transform:scale(1.08);opacity:.15}}@keyframes candidate-glow{to{box-shadow:0 0 26px #ff8b48}}@keyframes aurora-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.god-button,.god-button::before,.surprise-ring,.surprise-candidate,.surprise-aurora{animation:none!important}.surprise-candidate{transition:none!important}}
.live-banner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border-radius: 22px; margin: 18px 0; color: #07343d; background: linear-gradient(135deg, rgba(231,251,255,.96), rgba(255,244,220,.98)); border: 1px solid rgba(22,199,212,.22); box-shadow: 0 14px 30px rgba(33,105,120,.1); }
.live-banner h2 { margin: 0 0 6px; }
.live-banner p { margin: 0; color: #365f69; }
.adventure-metrics, .today-grid, .live-progress-grid, .adventure-plan { display: grid; gap: 12px; }
.adventure-metrics { grid-template-columns: repeat(4, 1fr); }
.adventure-metrics a, .today-grid article, .live-progress-grid article, .adventure-plan article, .memory-strip a { border: 1px solid var(--line); background: rgba(255,255,255,.92); border-radius: 18px; padding: 18px; color: var(--ink); box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.adventure-metrics strong, .live-progress-grid strong { display: block; color: var(--coral); font-size: 2rem; line-height: 1; }
.adventure-metrics span, .today-grid span, .live-progress-grid span, .adventure-plan span { color: #087b88; font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.today-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0; }
.today-grid h2, .live-progress-grid h2 { margin: 8px 0; font-size: 1.35rem; }
.discovery-bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 20px; }
.discovery-bands a { min-height: 76px; border-radius: 16px; padding: 14px; display: flex; align-items: end; color: white; font-weight: 950; background: linear-gradient(135deg, #087b88, #16c7d4 54%, #ff7f66); box-shadow: 0 12px 28px rgba(33,105,120,.13); }
.memory-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.memory-strip span { display: block; color: var(--muted); margin-top: 6px; }
.surprise-hero { min-height: 540px; margin: -18px -18px 20px; padding: 28px; color: white; display: grid; align-items: end; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(5,48,58,.1), rgba(5,48,58,.72)), url('/images/placeholders/spot-5.svg') center/cover; }
.surprise-copy { position: relative; z-index: 1; max-width: 760px; padding-bottom: 36px; }
.surprise-copy h1 { color: white; font-size: clamp(3rem, 11vw, 7rem); line-height: .9; margin: 0 0 12px; }
.surprise-orbit { position: absolute; right: min(10vw, 110px); top: 80px; width: 260px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); animation: spin 16s linear infinite; }
.surprise-orbit::before, .surprise-orbit::after { content: ""; position: absolute; width: 28px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 32px rgba(255,127,102,.7); }
.surprise-orbit::before { left: 20px; top: 20px; }
.surprise-orbit::after { right: 28px; bottom: 28px; background: var(--aqua); }
.adventure-plan { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 18px; }
.live-showpiece { background: linear-gradient(135deg, rgba(231,251,255,.96), rgba(255,244,220,.84)), url('/images/placeholders/spot-3.svg') center/cover; }
.live-command { display: grid; justify-items: center; gap: 8px; font-weight: 900; }
.live-command strong { font-size: 2.4rem; color: var(--coral); }
.live-premium-banner { background: linear-gradient(135deg, #052f38, #0d767e 58%, #ffb26b); color: white; }
.live-premium-banner p, .live-premium-banner .eyebrow.dark { color: rgba(255,255,255,.84); }
.live-progress-grid { grid-template-columns: repeat(4, 1fr); margin: 18px 0; }
.reveal-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.reveal-track span { height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--aqua), var(--coral)); opacity: .45; }
.reveal-track span:first-child, .live-card-live .reveal-track span, .live-card-mission .reveal-track span:nth-child(-n+2), .live-card-signal .reveal-track span:nth-child(-n+3) { opacity: 1; }
.journal-hero, .event-hero { min-height: 380px; border-radius: 26px; padding: 28px; margin-bottom: 18px; color: white; display: grid; align-items: end; background: linear-gradient(180deg, rgba(5,48,58,.08), rgba(5,48,58,.72)), url('/images/placeholders/spot-4.svg') center/cover; overflow: hidden; }
.event-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 18px; background-image: linear-gradient(180deg, rgba(5,48,58,.08), rgba(5,48,58,.74)), url('/images/placeholders/spot-6.svg'); }
.journal-hero h1, .event-hero h1 { color: white; font-size: clamp(2.8rem, 10vw, 6rem); line-height: .9; margin: 8px 0 12px; }
.journal-hero p, .event-hero p { max-width: 680px; }
.event-countdown { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: 0 16px 38px rgba(5,48,58,.22); }
.event-countdown strong { display: block; color: var(--coral); font-size: 1.4rem; }
.event-countdown span { display: block; margin-top: 8px; color: var(--muted); font-weight: 800; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.timeline article { position: relative; border: 1px solid var(--line); background: rgba(255,255,255,.94); border-radius: 18px; padding: 18px; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.timeline article::before { content: ""; position: absolute; left: 18px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); border: 3px solid white; box-shadow: 0 0 0 4px rgba(255,127,102,.18); }
.timeline span { display: block; color: #087b88; font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.timeline strong { display: block; margin: 7px 0; }
.live-detail-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: end; margin-bottom: 16px; }
.live-detail-hero img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px rgba(33,105,120,.16); }
.live-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.live-safety-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin: 12px 0 16px; }
.live-safety-strip strong { background: #fff4cf; color: #694c00; border: 1px solid #ffdf80; border-radius: 14px; padding: 11px; }
.live-zone { font-size: 1.3rem; font-weight: 900; color: #087b88; }
.live-list { display: grid; gap: 8px; padding-left: 20px; }
.live-list li span { display: block; color: var(--muted); }
.checkpoint-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.checkpoint-list li { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #f5fdff; }
.checkpoint-list li.locked { opacity: .62; background: #f6f7f7; }
.checkpoint-list span { display: block; color: #087b88; font-weight: 850; }
.signal-meter { height: 16px; border-radius: 999px; background: #e9f4f5; overflow: hidden; margin: 10px 0; }
.signal-meter span { display: block; height: 100%; width: 12%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--aqua), var(--coral)); transition: width .2s ease; }
.signal-meter[data-level="1"] span { width: 28%; }
.signal-meter[data-level="2"] span { width: 52%; }
.signal-meter[data-level="3"] span { width: 78%; }
.signal-meter[data-level="4"] span { width: 100%; }
.safety-check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.safety-check input { width: auto; margin-top: 4px; }

.admin-nav-button { color: #9b2f1d !important; font-weight: 950; }
.admin-hero { min-height: 340px; margin-bottom: 18px; padding: 28px; border: 1px solid rgba(22,199,212,.28); border-radius: 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 18px; align-items: end; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(231,251,255,.94)), url('/images/placeholders/spot-6.svg') center/cover; box-shadow: 0 18px 40px rgba(33,105,120,.12); }
.admin-hero h1 { margin: 0 0 10px; color: #07343d; font-size: clamp(2.7rem, 8vw, 5.8rem); line-height: .9; }
.admin-hero p { max-width: 720px; color: #365f69; font-size: 1.06rem; }
.admin-hero-metrics, .admin-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-hero-metrics span, .admin-metric-grid article { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.92); padding: 16px; display: grid; align-content: center; color: #087b88; font-weight: 900; box-shadow: 0 10px 24px rgba(33,105,120,.08); }
.admin-hero-metrics strong, .admin-metric-grid strong { display: block; color: var(--coral); font-size: 2rem; line-height: 1; }
.admin-metric-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 18px; }
.admin-toolbar, .admin-links, .admin-folder-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.admin-page-header p { margin: 4px 0 0; max-width: 760px; color: var(--muted); }
.admin-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-card-grid.compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.admin-card { min-height: 168px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; color: var(--ink); background: rgba(255,255,255,.94); display: grid; align-content: space-between; box-shadow: 0 12px 28px rgba(33,105,120,.08); transition: transform .16s ease, box-shadow .16s ease; }
.admin-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(33,105,120,.14); }
.admin-card span { width: fit-content; border-radius: 999px; padding: 6px 10px; background: #eefbfd; color: #075963; font-weight: 950; font-size: .82rem; }
.admin-card h2 { margin: 12px 0 6px; font-size: 1.28rem; }
.admin-card p { margin: 0; color: var(--muted); }
.admin-card.accent-coral { border-top: 4px solid var(--coral); }
.admin-card.accent-aqua { border-top: 4px solid var(--aqua); }
.admin-card.accent-green { border-top: 4px solid #50b86f; }
.admin-card.accent-amber { border-top: 4px solid #ffc857; }
.admin-card.accent-purple { border-top: 4px solid #8f6bff; }
.admin-panel { background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: 0 12px 28px rgba(33,105,120,.08); margin-bottom: 18px; }
.christmas-mode-admin-card {
  border-color: rgba(244,201,93,.44);
  background:
    radial-gradient(circle at 10% 0, rgba(244,201,93,.2), transparent 28%),
    linear-gradient(135deg, rgba(255,250,240,.98), rgba(231,251,255,.94));
}
.christmas-mode-admin-card.status-live {
  background:
    radial-gradient(circle at 8% 10%, rgba(244,201,93,.26), transparent 30%),
    linear-gradient(135deg, rgba(8,63,54,.96), rgba(15,118,110,.9));
  color: #fffaf0;
  box-shadow: 0 22px 54px rgba(8,63,54,.18), 0 0 0 1px rgba(244,201,93,.22);
}
.christmas-mode-admin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.christmas-mode-admin-header span,
.christmas-mode-current small,
.christmas-readiness-grid span {
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0f766e;
}
.christmas-mode-admin-card.status-live .christmas-mode-admin-header span,
.christmas-mode-admin-card.status-live .christmas-mode-current small,
.christmas-mode-admin-card.status-live .christmas-readiness-grid span {
  color: #fff3bf;
}
.christmas-mode-admin-header h2 {
  margin: 2px 0 6px;
  color: #083f36;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.christmas-mode-admin-card.status-live h2,
.christmas-mode-admin-card.status-live p {
  color: #fffaf0;
}
.christmas-mode-current {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(244,201,93,.38);
  border-radius: 8px;
  background: rgba(255,250,240,.9);
  color: #083f36;
}
.christmas-mode-current strong {
  font-size: 1rem;
}
.christmas-mode-actions,
.christmas-schedule-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}
.christmas-mode-on {
  min-height: 46px;
  padding-inline: 18px;
  background: linear-gradient(135deg, #0f766e, #083f36 60%, #f4c95d) !important;
  box-shadow: 0 16px 34px rgba(8,63,54,.22), 0 0 20px rgba(244,201,93,.24);
}
.christmas-mode-off {
  min-height: 46px;
  padding-inline: 18px;
}
.christmas-schedule-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(15,118,110,.16);
  border-radius: 8px;
  padding: 10px;
  margin: 0;
}
.christmas-schedule-form legend {
  width: auto;
  float: none;
  margin: 0 4px 0 0;
  font-size: .86rem;
  font-weight: 950;
}
.christmas-schedule-form label {
  display: grid;
  gap: 4px;
  color: inherit;
  font-weight: 850;
}
.christmas-schedule-form input[type="datetime-local"] {
  min-height: 42px;
  border: 1px solid rgba(15,118,110,.22);
  border-radius: 8px;
  padding: 8px 10px;
}
.admin-radio-line {
  display: inline-flex !important;
  grid-auto-flow: column;
  gap: 5px !important;
  align-items: center;
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}
.christmas-readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.christmas-readiness-grid div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(244,201,93,.3);
  border-radius: 8px;
  background: rgba(255,255,255,.76);
  color: #083f36;
}
.christmas-readiness-grid strong {
  font-size: 1.4rem;
}
.christmas-readiness-grid small {
  color: #56726d;
  font-weight: 800;
}
.seasonal-admin-status {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-color: rgba(217,95,88,.28);
}
.seasonal-admin-status div {
  display: grid;
  gap: 4px;
}
.seasonal-admin-status span,
.seasonal-theme-meta span,
.seasonal-theme-counts span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 850;
}
.seasonal-admin-status strong {
  color: #07343d;
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  line-height: 1;
}
.seasonal-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.seasonal-theme-card {
  --theme-accent: var(--aqua);
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 330px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--theme-accent);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(33,105,120,.08);
}
.seasonal-theme-card.is-active {
  border-color: rgba(15,118,110,.45);
  border-top-color: var(--theme-accent);
  box-shadow: 0 18px 42px rgba(15,118,110,.16), 0 0 0 2px rgba(244,201,93,.18);
}
.normal-theme-card {
  --theme-accent: #216978;
}
.normal-theme-card.is-active {
  background: linear-gradient(135deg, rgba(231,251,255,.98), rgba(255,255,255,.96));
}
.seasonal-theme-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.seasonal-theme-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: color-mix(in srgb, var(--theme-accent) 14%, white);
  color: #07343d;
  font-weight: 950;
  font-size: 1.65rem;
  flex: 0 0 auto;
}
.seasonal-theme-card h2 {
  margin: 0;
  color: #07343d;
  font-size: 1.25rem;
}
.seasonal-theme-card p {
  margin: 0;
  color: var(--muted);
}
.seasonal-theme-meta,
.seasonal-theme-actions,
.seasonal-theme-counts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.seasonal-theme-meta span,
.seasonal-theme-counts span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fdfe;
  padding: 6px 9px;
}
.seasonal-theme-edit {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfefe;
}
.seasonal-theme-edit summary {
  cursor: pointer;
  font-weight: 950;
  color: #07343d;
}
.seasonal-theme-edit form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.seasonal-theme-edit label {
  display: grid;
  gap: 5px;
  font-weight: 850;
  color: #365f69;
}
.seasonal-theme-edit input,
.seasonal-theme-edit select {
  min-height: 42px;
  border: 1px solid rgba(33,105,120,.22);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}
.admin-panel h2 { margin-top: 0; }
.admin-list { display: grid; gap: 8px; }
.admin-list a, .admin-list span, .reorder-row { border: 1px solid var(--line); border-radius: 8px; background: #f8fdfe; padding: 12px; color: var(--ink); display: grid; gap: 3px; }
.admin-list.compact a, .admin-list.compact span, .admin-list.compact .reorder-row { padding: 10px; }
.admin-list small, .admin-list span span, .admin-list a span, .reorder-row small { color: var(--muted); font-weight: 700; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input { min-height: 42px; }
.watch-research-list { gap: 12px; }
.admin-review-card { border: 1px solid var(--line); border-radius: 8px; background: #f8fdfe; padding: 14px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); gap: 12px; }
.admin-review-card p { margin: 6px 0; color: var(--muted); }
.admin-review-card small { display: block; margin-top: 4px; }
.admin-review-card .card-actions { grid-column: 1 / -1; align-items: flex-start; }
.admin-review-card form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-review-card form input[type="text"], .admin-review-card form input:not([type]) { max-width: 150px; }
.admin-review-card label { display: flex; gap: 4px; align-items: center; font-weight: 800; color: var(--muted); }
.admin-workspace { display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: 14px; align-items: start; }
.reorder-row { grid-template-columns: 44px minmax(0, 1fr); align-items: center; }
.reorder-row input { display: none; }
.reorder-row > span { width: 34px; height: 34px; border-radius: 8px; background: #eefbfd; color: #087b88; display: grid; place-items: center; font-weight: 950; }
.form-section.flat { border: 0; box-shadow: none; border-radius: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); background: transparent; }
.sticky-actions { position: sticky; bottom: 12px; z-index: 20; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 8px; padding: 10px; backdrop-filter: blur(10px); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: #087b88; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-editor { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 14px; align-items: start; }
.hero-editor-form { display: grid; gap: 16px; }
.hero-preview-panel { position: sticky; top: 88px; }
.hero-preview { min-height: 520px; border-radius: 8px; overflow: hidden; position: relative; display: grid; align-items: end; background-image: linear-gradient(180deg, rgba(3,38,48, calc(var(--preview-overlay) * .25)), rgba(3,38,48, var(--preview-overlay))), var(--preview-image); background-position: var(--focus-x) var(--focus-y); background-size: cover; color: var(--preview-text); }
.hero-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-preview::after { content: ""; position: absolute; inset: 0; background: rgba(3,38,48, calc(var(--preview-overlay) * .75)); }
.hero-preview-copy { position: relative; z-index: 1; padding: 28px; max-width: 620px; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.hero-preview-copy.align-center { margin-inline: auto; text-align: center; }
.hero-preview-copy.align-right { margin-left: auto; text-align: right; }
.hero-preview-copy span { font-weight: 950; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.hero-preview-copy h2 { color: inherit; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .9; margin: 8px 0 10px; }
.hero-preview-copy p { font-size: 1.05rem; }
.preview-strip { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.preview-strip article { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fdfe; min-width: 0; }
.preview-strip span { display: block; color: var(--muted); overflow-wrap: anywhere; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.brand-admin-grid { align-items: start; }
.brand-preview { min-height: 92px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 8px; background: #f8fcfb; padding: 18px; }
.brand-preview img, .brand-preview video { max-width: min(100%, 280px); max-height: 76px; object-fit: contain; }
.brand-preview.compact img, .brand-preview.compact video { max-width: 180px; max-height: 56px; }
.brand-preview strong, .brand-icon-row strong { color: var(--gd-teal); font-size: 1.6rem; font-weight: 850; }
.brand-icon-row { min-height: 92px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border: 1px dashed var(--line); border-radius: 8px; background: #f8fcfb; padding: 16px; }
.brand-icon-row img { width: 48px; height: 48px; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.media-card { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.95); overflow: hidden; box-shadow: 0 12px 28px rgba(33,105,120,.08); display: grid; gap: 10px; padding-bottom: 12px; }
.media-card > div:not(.media-preview), .media-card form { padding-inline: 12px; }
.media-preview { aspect-ratio: 16 / 10; background: #e7fbff; display: grid; place-items: center; overflow: hidden; }
.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }
.audio-preview { width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--coral)); color: white; display: grid; place-items: center; font-weight: 950; }
.media-card h2 { font-size: 1.1rem; margin: 0; overflow-wrap: anywhere; }
.media-card p { margin: 3px 0; color: var(--muted); }
.admin-folder-row .ghost-button span { margin-left: 6px; color: var(--coral); }
.admin-profile-button { white-space: nowrap; }

@media (max-width: 860px) {
  .admin-hero, .admin-workspace, .hero-editor { grid-template-columns: 1fr; }
  .admin-hero { min-height: 0; }
  .hero-preview-panel { position: static; }
  .hero-preview { min-height: 420px; }
  .admin-hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.passport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin-bottom: 16px; }
.passport-grid div { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.passport-grid strong { display: block; font-size: 2.2rem; color: var(--coral); }
.passport-grid span { font-weight: 900; color: #087b88; }
.crew-invite { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 10px 0; }
.guide-shell { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; min-height: calc(100vh - 170px); }
.guide-sidebar { border-right: 1px solid var(--line); padding: 12px 16px 12px 0; }
.guide-sidebar h1 { font-size: 1.6rem; margin-bottom: 12px; }
.guide-status { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f6fbfb; font-weight: 800; color: #087b88; }
.guide-privacy { display: grid; gap: 8px; margin-top: 14px; }
.guide-privacy label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-weight: 700; line-height: 1.25; min-width: 0; }
.guide-privacy input { width: auto; min-width: 0; margin-top: 2px; justify-self: start; }
.guide-chat { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; min-width: 0; }
.guide-messages { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.guide-message { max-width: min(760px, 90%); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: white; }
.guide-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-message.user { align-self: flex-end; background: #eaf9fa; border-color: #bdecef; }
.guide-message.assistant { align-self: flex-start; background: #fff; }
.guide-actions { display: grid; gap: 8px; }
.guide-action { border: 1px solid #ffd79a; background: #fff9ee; border-radius: 8px; padding: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.guide-action-controls { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.guide-composer { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 8px; }
.guide-composer textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.guide-composer-tools, .guide-location-panel { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.guide-location-panel { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8fbfb; }
.guide-location-panel input { max-width: 150px; }
.guide-map-picker { flex: 1 1 100%; min-height: 280px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #e9f4f5; }
.guide-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.guide-photo-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-photo-chip { border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; background: #f6fbfb; font-size: .9rem; }
.admin-panel { display: grid; gap: 14px; }
.admin-links { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-panel table { width: 100%; border-collapse: collapse; background: white; }
.admin-panel th, .admin-panel td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.admin-panel textarea { width: 100%; min-height: 100px; display: block; margin: 6px 0 10px; }
.admin-panel pre { max-width: 100%; overflow: auto; background: #f6fbfb; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.cms-hero { min-height: var(--hero-desktop); margin: -18px -18px 12px; padding: 18px; position: relative; display: grid; align-items: end; overflow: hidden; color: var(--hero-text); background: #0a4852; }
.cms-hero-media, .cms-hero-video, .cms-hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.cms-hero-media, .cms-hero-video { object-fit: cover; object-position: var(--focus-x) var(--focus-y); }
.cms-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 30, 38, calc(var(--overlay) * .25)), rgba(4, 30, 38, var(--overlay))); }
.cms-hero-content { position: relative; z-index: 1; width: min(100%, 760px); display: grid; gap: 10px; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.cms-hero.align-center .cms-hero-content { justify-self: center; text-align: center; }
.cms-hero.align-right .cms-hero-content { justify-self: end; text-align: right; }
.hero-chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.hero-chip-row > span { border-radius: 999px; background: rgba(255,255,255,.88); color: #075963; padding: 6px 9px; font-weight: 900; font-size: .78rem; text-shadow: none; }
.cms-hero h1 { margin: 0; color: inherit; font-size: clamp(2.4rem, 7vw, 5.8rem); line-height: .94; max-width: 12ch; }
.cms-hero.align-center h1, .cms-hero.align-right h1 { max-width: none; }
.hero-subtitle, .hero-support { max-width: 680px; margin: 0; font-size: 1.08rem; }
.home-search-panel { width: min(100%, 720px); background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid rgba(255,255,255,.7); border-radius: 8px; padding: 10px; display: grid; gap: 8px; text-shadow: none; box-shadow: 0 14px 34px rgba(5,48,58,.2); }
.home-search-panel label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.home-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.home-search-row input { min-height: 46px; border-radius: 8px; }
.search-actions, .card-actions, .community-actions, .mini-stats { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-actions .ghost-button, .card-actions .ghost-button, .card-actions .secondary-button { min-height: 40px; padding: 9px 12px; }
.quick-discovery { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin-bottom: 8px; scrollbar-width: none; }
.quick-discovery a { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: white; color: #075963; font-weight: 900; padding: 9px 12px; box-shadow: 0 8px 18px rgba(33,105,120,.07); }
.live-preview, .surprise-panel, .community-section, .business-section, .charter-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 14px; align-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.94); border-radius: 8px; padding: 16px; margin: 12px 0; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
.live-preview-card, .adventure-preview { border: 1px solid var(--line); border-radius: 8px; background: #f5fdff; padding: 12px; display: grid; gap: 8px; }
.live-preview-card strong { font-size: 1.25rem; }
.live-preview-card span, .adventure-preview span { color: #315a66; }
.practical-spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 12px; }
.practical-spot-card { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(33,105,120,.08); }
.practical-spot-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #d9f7fb; }
.practical-card-body { padding: 12px; display: grid; gap: 8px; }
.practical-card-body h3 { margin: 0; font-size: 1.08rem; }
.practical-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.practical-facts span { border-radius: 8px; background: #f3fbfb; border: 1px solid var(--line); padding: 7px; color: #254c5a; font-weight: 800; font-size: .82rem; }
.compact-band { padding-block: 16px; }
.surprise-panel { background: linear-gradient(135deg, rgba(231,251,255,.96), rgba(255,244,220,.96)); }
.adventure-preview { max-height: 310px; overflow: auto; }
.adventure-preview strong { color: #075963; }
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.how-it-works article { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 14px; box-shadow: 0 10px 24px rgba(33,105,120,.07); }
.how-it-works strong { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: white; display: grid; place-items: center; }
.how-it-works h2 { font-size: 1.12rem; margin: 10px 0 6px; }
.community-section { background: #f5fdff; }
.business-section, .charter-strip { grid-template-columns: minmax(0, 1fr); }
.mini-stats span { border-radius: 999px; background: white; border: 1px solid var(--line); padding: 8px 11px; font-weight: 850; color: #075963; }
.charter-strip { grid-template-columns: minmax(0, 1fr) auto; background: #fff8e7; }
.home-footer { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 16px 0; }
.charter-page { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.charter-list { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 18px; line-height: 1.8; box-shadow: 0 12px 28px rgba(33,105,120,.08); }
@media (max-width: 760px) {
  body { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .top-shell { min-height: 54px; }
  .mobile-top-bar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 8px 12px; gap: 10px; }
  .mobile-top-bar .brand { font-size: 1.34rem; line-height: 1; min-width: 0; }
  .mobile-top-bar .brand-logo { max-width: 128px; max-height: 32px; }
  .mobile-profile-link { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #087b88; font-size: .8rem; font-weight: 850; background: rgba(255,255,255,.76); }
  .desktop-nav { display: none !important; }
  .bottom-nav { display: grid; }
  .detail-hero { grid-template-columns: 1fr; }
  .section-heading, .page-header.compact { align-items: stretch; flex-direction: column; }
  .hero { min-height: 560px; border-radius: 0 0 18px 18px; margin: -12px -12px 18px; }
  .hero-content { padding: 92px 16px 28px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .spot-grid { grid-template-columns: 1fr; }
  .dashboard-rail { grid-template-columns: repeat(2, 1fr); }
  .page-shell { padding: 12px 12px calc(18px + env(safe-area-inset-bottom)); max-width: 100%; }
  .suggest-progress { top: 62px; grid-template-columns: 1fr; }
  .chip-fieldset { grid-template-columns: 1fr; }
  .music-hero { min-height: 280px; margin-inline: -4px; padding: 18px; align-items: end; flex-direction: column; justify-content: flex-end; border-radius: 18px; }
  .music-hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .track-row { grid-template-columns: auto minmax(0, 1fr); }
  .track-row > span { grid-column: 2; }
  .mini-player { grid-template-columns: auto auto auto 34px minmax(0, 1fr) auto; bottom: calc(86px + env(safe-area-inset-bottom)); left: 8px; right: 8px; border-radius: 16px; padding: 8px; }
  .mini-player img { width: 34px; height: 34px; }
  #playerMute, #playerVolume, #playerShuffle, #playerRepeat { display: none; }
  .live-hero, .live-detail-hero { grid-template-columns: 1fr; }
  .live-hero { min-height: 300px; padding: 18px; border-radius: 18px; }
  .live-hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .live-radar { width: min(66vw, 220px); justify-self: center; }
  .live-tabs { top: 60px; margin-inline: -12px; padding-inline: 12px; }
  .live-card-grid { grid-template-columns: 1fr; }
  .live-facts div { grid-template-columns: 82px minmax(0, 1fr); }
  .home-adventure-hero, .surprise-hero { min-height: 560px; margin: -12px -12px 18px; padding: 16px; }
  .home-hero-copy { padding: 84px 0 22px; }
  .home-hero-copy h1, .surprise-copy h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .home-hero-copy p:not(.eyebrow), .surprise-copy p { font-size: 1rem; }
  .weather-chip { left: 12px; right: 12px; top: 12px; justify-content: space-between; font-size: .86rem; }
  .hero-signal, .surprise-orbit { width: 110px; right: 16px; bottom: 20px; opacity: .35; }
  .surprise-button { width: 100%; min-height: 58px; }
  .home-hero-copy .hero-actions, .surprise-copy .hero-actions, .surprise-copy form { width: 100%; }
  .home-hero-copy .secondary-button, .home-hero-copy .ghost-button, .surprise-copy .primary-button { width: 100%; }
  .adventure-metrics, .today-grid, .live-progress-grid { grid-template-columns: 1fr 1fr; }
  .today-grid article:first-child, .live-progress-grid article:first-child { grid-column: 1 / -1; }
  .live-banner { align-items: stretch; flex-direction: column; }
  .live-banner .primary-button { width: 100%; }
  .map-panel { min-height: 74vh; border-radius: 18px; touch-action: pan-y; }
  .disabled-map { touch-action: pan-y; }
  .fullscreen-map { padding: 8px; }
  .fullscreen-map .map-panel { height: calc(100vh - 16px); }
  .event-hero { grid-template-columns: 1fr; }
  .journal-hero, .event-hero { min-height: 300px; padding: 18px; border-radius: 18px; }
  .timeline { grid-template-columns: 1fr; }
  .guide-shell { grid-template-columns: 1fr; }
  .guide-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .guide-privacy { gap: 10px; }
  .guide-message { max-width: 100%; }
  .guide-chat { min-height: 0; }
  .guide-messages { overflow: visible; }
  .guide-location-panel { display: grid; grid-template-columns: 1fr; }
  .guide-location-panel input { max-width: none; }
  .guide-map-picker { min-height: 240px; }
  .footer-note { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .cms-hero { min-height: var(--hero-mobile); margin: -12px -12px 10px; padding: 12px; align-items: end; }
  .cms-hero h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); max-width: 10ch; }
  .hero-subtitle, .hero-support { font-size: .94rem; line-height: 1.28; }
  .hero-support { display: none; }
  .hero-chip-row > span { font-size: .72rem; padding: 5px 8px; }
  .cms-hero-content { gap: 7px; }
  .cms-hero .hero-actions { gap: 7px; }
  .cms-hero .primary-button, .cms-hero .secondary-button { min-height: 42px; padding: 9px 12px; font-size: .9rem; flex: 1 1 132px; white-space: nowrap; }
  .home-search-panel { padding: 8px; border-radius: 8px; }
  .home-search-row { grid-template-columns: 1fr; }
  .home-search-row input { min-height: 42px; font-size: .92rem; }
  .home-search-row .primary-button { width: 100%; }
  .search-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .search-actions .ghost-button { min-width: 0; font-size: .82rem; padding-inline: 8px; white-space: normal; }
  .quick-discovery { margin-inline: -12px; padding-inline: 12px; }
  .live-preview, .surprise-panel, .community-section, .charter-strip { grid-template-columns: 1fr; padding: 12px; }
  .business-section { padding: 12px; }
  .practical-spot-grid { grid-template-columns: 1fr; gap: 10px; }
  .practical-facts { grid-template-columns: 1fr 1fr; }
  .how-it-works { grid-template-columns: 1fr; }
  .community-actions { display: grid; grid-template-columns: 1fr; }
  .charter-strip .secondary-button { width: 100%; }
  .home-footer { justify-content: flex-start; padding-bottom: 8px; }
}

@media (min-width: 761px) {
  .desktop-nav { display: flex; }
}

/* Premium customer discovery pass */
.explore-header, .map-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 8px 0 18px; }
.explore-header h1, .map-toolbar h1 { margin: 0; font-size: clamp(2.35rem, 8vw, 5.6rem); line-height: .92; color: #102f2b; }
.premium-filter-bar { border-radius: 24px; padding: 10px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); box-shadow: 0 18px 44px rgba(30, 64, 55, .1); grid-template-columns: minmax(180px, 2fr) minmax(130px, 1fr) minmax(130px, 1fr) repeat(auto-fit, minmax(92px, auto)); }
.premium-filter-bar label, .map-filter-strip label { min-height: 42px; border: 1px solid rgba(23,107,93,.16); border-radius: 999px; padding: 8px 11px; background: white; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; font-size: .88rem; }
.premium-filter-bar input[type="checkbox"], .map-filter-strip input[type="checkbox"] { width: auto; }

.spot-grid, .practical-spot-grid { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; align-items: start; }
.premium-spot-card { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.premium-card-media { position: relative; overflow: hidden; border-radius: 22px; min-height: 230px; background: linear-gradient(135deg, #176b5d, #f4b45f 68%, #f7efe4); box-shadow: 0 20px 46px rgba(34, 52, 47, .18); }
.premium-card-media > a { display: block; height: 100%; min-height: inherit; }
.premium-card-media img { width: 100%; height: 100%; min-height: inherit; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.premium-spot-card:hover .premium-card-media img { transform: scale(1.035); }
.premium-card-overlay { position: absolute; inset: 0; display: flex; align-items: start; gap: 8px; padding: 12px; background: linear-gradient(180deg, rgba(8, 32, 29, .42), rgba(8, 32, 29, 0) 45%, rgba(8, 32, 29, .22)); pointer-events: none; }
.premium-card-overlay form { margin-left: auto; pointer-events: auto; }
.glass-pill { border-radius: 999px; padding: 7px 10px; color: white; background: color-mix(in srgb, var(--pill, #176b5d) 58%, rgba(15,22,20,.52)); backdrop-filter: blur(14px); font-size: .78rem; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.save-icon { width: 38px; height: 38px; border: 0; border-radius: 50%; color: white; background: rgba(12, 28, 25, .54); backdrop-filter: blur(14px); font-size: 1.25rem; line-height: 1; display: grid; place-items: center; }
.premium-card-body { padding: 12px 2px 0; display: grid; gap: 5px; }
.premium-card-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.16; }
.premium-card-body h3 a { color: #132f2a; }
.premium-card-actions { margin-top: 4px; gap: 8px; }
.premium-card-actions .ghost-button, .premium-card-actions .secondary-button { min-height: 38px; padding: 8px 12px; font-size: .86rem; }
.stars { color: #f58a4b; font-size: .88rem; letter-spacing: 0; }
.place-town { margin: 0; color: #48645e; font-weight: 800; }
.travel-summary { margin: 0; color: #263d38; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 9px; }
.facility-grid.compact { grid-template-columns: repeat(auto-fit, minmax(86px, auto)); display: flex; flex-wrap: wrap; gap: 7px; }
.facility-grid span { min-height: 44px; border: 1px solid rgba(23,107,93,.14); border-radius: 14px; padding: 8px 10px; background: rgba(255,255,255,.9); color: #173b35; font-weight: 850; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 8px 18px rgba(34,52,47,.06); }
.facility-grid span::before { content: "•"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e9f5ef; color: #176b5d; font-size: .9rem; flex: 0 0 auto; }
.facility-grid span[data-icon="van"]::before { content: "🚐"; }
.facility-grid span[data-icon="toilet"]::before { content: "🚻"; }
.facility-grid span[data-icon="shower"]::before { content: "🚿"; }
.facility-grid span[data-icon="water"]::before { content: "🚰"; }
.facility-grid span[data-icon="dog"]::before { content: "🐶"; }
.facility-grid span[data-icon="signal"]::before { content: "📶"; }
.facility-grid span[data-icon="wifi"]::before { content: "📶"; }
.facility-grid span[data-icon="electric"]::before { content: "⚡"; }
.facility-grid span[data-icon="waste"]::before { content: "♻"; }
.facility-grid span[data-icon="black-water"]::before { content: "▣"; }
.facility-grid span[data-icon="grey-water"]::before { content: "▥"; }
.facility-grid span[data-icon="gas"]::before { content: "⛽"; }
.facility-grid span[data-icon="food"]::before { content: "☕"; }
.facility-grid span[data-icon="bakery"]::before { content: "☕"; }
.facility-grid span[data-icon="shop"]::before { content: "🛒"; }
.facility-grid span[data-icon="quiet"]::before { content: "🌿"; }
.facility-grid span[data-icon="beach"]::before { content: "🏖"; }
.facility-grid span[data-icon="walk"]::before { content: "🥾"; }
.facility-grid span[data-icon="bike"]::before { content: "◇"; }
.facility-grid span[data-icon="motorcycle"]::before { content: "M"; }
.facility-grid span[data-icon="viewpoint"]::before { content: "⌃"; }
.facility-grid span[data-icon="playground"]::before { content: "P"; }
.facility-grid span[data-icon="sightseeing"]::before { content: "i"; }
.facility-grid span[data-icon="whitewater"]::before { content: "≈"; }
.facility-grid span[data-icon="fishing"]::before { content: "F"; }
.facility-grid span[data-icon="windsurf"]::before { content: "W"; }
.facility-grid span[data-icon="climbing"]::before { content: "↗"; }
.facility-grid span[data-icon="surf"]::before { content: "~"; }
.facility-grid span[data-icon="paddling"]::before { content: "P"; }
.facility-grid span[data-icon="swimming"]::before { content: "≈"; }
.facility-grid span[data-icon="sunset"]::before { content: "🌅"; }
.facility-grid span[data-icon="price"]::before { content: "£"; }

.place-hero { min-height: min(760px, 72vh); margin: -18px -18px 28px; position: relative; display: grid; align-items: end; overflow: hidden; background: linear-gradient(135deg, #143d37, #e0a553); color: white; }
.place-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 24, 23, .05), rgba(7, 24, 23, .44) 48%, rgba(7, 24, 23, .82)); }
.place-hero-content { position: relative; z-index: 1; width: min(100%, 960px); padding: clamp(92px, 16vw, 170px) 18px 34px; display: grid; gap: 12px; text-shadow: 0 2px 20px rgba(0,0,0,.28); }
.place-hero-top { display: flex; gap: 8px; flex-wrap: wrap; }
.place-hero h1 { color: white; font-size: clamp(2.8rem, 11vw, 7.4rem); line-height: .88; margin: 0; max-width: 11ch; }
.place-location { margin: 0; font-size: clamp(1rem, 2vw, 1.24rem); font-weight: 850; }
.place-actions .ghost-button { background: rgba(255,255,255,.88); color: #173b35; }
.why-go { max-width: 920px; }
.why-go h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 3.7rem); line-height: 1.02; color: #132f2a; }
.why-go p:not(.eyebrow) { color: #405c56; font-size: 1.05rem; line-height: 1.55; max-width: 760px; }
.premium-fact-grid, .weather-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.premium-fact-grid article, .weather-grid article { min-height: 104px; border: 1px solid rgba(23,107,93,.14); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(34,52,47,.08); display: grid; align-content: center; gap: 5px; }
.premium-fact-grid span, .weather-grid span, .fine-print-facts dt { color: #627a73; font-weight: 850; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.premium-fact-grid strong, .weather-grid strong { color: #102f2b; font-size: 1.08rem; }
.premium-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; }
.premium-gallery button { border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #e9f5ef; cursor: zoom-in; }
.premium-gallery button:first-child { grid-row: span 2; }
.premium-gallery img,
.premium-gallery video { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.weather-showcase { margin-inline: -18px; padding-inline: 18px; background: linear-gradient(135deg, #f7fbf5, #eef8ff 58%, #fff5e4); border-block: 1px solid rgba(23,107,93,.12); }
.current-weather { background: linear-gradient(135deg, #173b35, #2f8375) !important; color: white; }
.current-weather span, .current-weather strong, .current-weather p { color: white; }
.weather-icon { font-size: 2.2rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.spot-tide-panel { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, auto); gap: 12px; align-items: center; border: 1px solid rgba(23,107,93,.14); border-radius: 8px; padding: 14px; background: rgba(255,255,255,.82); }
.spot-tide-panel h3 { margin: 0; color: #102f2b; font-size: 1rem; }
.spot-tide-panel p { margin: 4px 0 0; color: #627a73; font-weight: 750; }
.spot-tide-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.spot-tide-list span { display: inline-flex; align-items: center; min-height: 30px; border-radius: 999px; padding: 6px 9px; background: #e9f9fb; color: #075963; font-weight: 850; }
.spot-tide-more { flex: 1 1 100%; min-width: min(100%, 260px); }
.spot-tide-more summary { cursor: pointer; color: #075963; font-weight: 900; }
.spot-tide-more div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.wind-direction-arrow { display: inline-block; margin-right: 3px; transform: rotate(var(--wind-from, 0deg)); transform-origin: 50% 50%; color: #075963; font-weight: 950; }
.detail-map-shell, .premium-map-shell { position: relative; overflow: hidden; border-radius: 26px; min-height: 56vh; background: #dbe7df; box-shadow: 0 24px 60px rgba(34,52,47,.16); }
.premium-map { min-height: 56vh; border: 0; border-radius: 26px; filter: saturate(.92) contrast(.96); }
.map-control-stack { position: absolute; right: 14px; top: 14px; z-index: 660; display: grid; gap: 8px; }
.map-control-stack a, .map-control-stack button, .map-filter-strip button { border: 0; border-radius: 999px; min-height: 40px; padding: 9px 12px; background: rgba(255,255,255,.92); color: #173b35; font-weight: 900; box-shadow: 0 10px 24px rgba(34,52,47,.14); }
.map-control-stack a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.map-control-stack .primary-map-action { background: #173b35; color: white; }
.map-control-stack .look-around-action span { line-height: 1; }
.map-control-stack button:disabled { opacity: .52; }
.map-control-stack .map-compass-control,
.discovery-map-controls .map-compass-control,
.map-environment-controls .map-compass-control {
  display: inline-grid;
  grid-template-columns: 30px auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 10px 5px 6px;
}
.map-compass-dial {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23,107,93,.22);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 46%, #e8f6f4 47% 100%);
  color: #173b35;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88);
  transform: rotate(calc(var(--compass-heading, 0deg) * -1));
  transition: transform 180ms ease;
}
.map-compass-cardinal {
  position: absolute;
  font-size: .46rem;
  line-height: 1;
  font-weight: 950;
}
.map-compass-cardinal.compass-n { left: 50%; top: 2px; color: #d44b3d; transform: translateX(-50%); }
.map-compass-cardinal.compass-e { right: 3px; top: 50%; transform: translateY(-50%); }
.map-compass-cardinal.compass-s { left: 50%; bottom: 2px; transform: translateX(-50%); }
.map-compass-cardinal.compass-w { left: 3px; top: 50%; transform: translateY(-50%); }
.map-compass-needle {
  position: absolute;
  left: 50%;
  top: 5px;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d44b3d 0 50%, #173b35 51% 100%);
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  box-shadow: 0 1px 3px rgba(16,42,67,.22);
}
.map-compass-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}
.map-compass-copy span,
.map-compass-copy small {
  display: block;
  max-width: 10.5ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-compass-copy small {
  color: #627a73;
  font-size: .66rem;
  font-weight: 900;
}
.map-compass-control.is-active,
.map-compass-control[aria-pressed="true"] {
  background: #173b35 !important;
  color: white !important;
}
.map-compass-control.is-active .map-compass-copy small,
.map-compass-control[aria-pressed="true"] .map-compass-copy small {
  color: rgba(255,255,255,.78);
}
.geo-user-location-marker {
  border: 0;
  background: transparent;
}
.geo-user-heading-cone {
  position: absolute;
  left: 12px;
  top: 0;
  width: 16px;
  height: 25px;
  opacity: 0;
  transform: rotate(var(--user-heading, 0deg));
  transform-origin: 50% 20px;
  will-change: transform;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: rgba(242,123,104,.72);
  filter: drop-shadow(0 1px 2px rgba(16,42,67,.28));
}
.geo-user-location-marker.is-heading-active .geo-user-heading-cone { opacity: 1; }
.geo-user-location-dot {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 3px solid white;
  border-radius: 50%;
  background: #F27B68;
  box-shadow: 0 2px 8px rgba(16,42,67,.34);
}
.map-experience { min-height: calc(100vh - 170px); display: grid; grid-template-rows: auto minmax(56vh, 1fr); gap: 12px; }
.map-filter-strip { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.map-filter-strip select { width: auto; min-width: 118px; border-radius: 999px; }
.map-bottom-sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 680; border-radius: 24px; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); box-shadow: 0 22px 54px rgba(13,31,28,.24); overflow: hidden; max-height: min(78vh, 560px); display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr); }
.map-bottom-sheet[hidden] { display: none; }
.sheet-grabber { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 46px; height: 5px; border: 0; border-radius: 999px; background: rgba(19,47,42,.28); z-index: 2; }
.map-bottom-sheet > img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; }
.sheet-content { padding: 24px 16px 16px; display: grid; gap: 8px; overflow-y: auto; }
.sheet-content h2 { margin: 0; color: #132f2a; }
.sheet-content p { margin: 0; color: #4c655f; }
.sheet-pills, .sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nearby-group { display: grid; gap: 10px; margin-bottom: 20px; }
.nearby-group h3 { margin: 0; font-size: 1.15rem; color: #132f2a; }
.nearby-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.nearby-row article { border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 14px 30px rgba(34,52,47,.08); display: grid; gap: 8px; padding-bottom: 12px; }
.nearby-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nearby-row strong, .nearby-row span, .nearby-row div { padding-inline: 12px; }
.nearby-row strong a { color: #132f2a; }
.nearby-row div { display: flex; justify-content: space-between; gap: 8px; font-weight: 850; }
.fine-print-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.fine-print-facts dt, .fine-print-facts dd { margin: 0; }
.fine-print-facts dd { color: #173b35; font-weight: 850; }
.review-timeline { display: grid; gap: 10px; }
.review-timeline article { border-left: 3px solid #f58a4b; padding-left: 12px; }
.photo-lightbox { position: fixed; inset: 0; z-index: 1400; background: rgba(8,20,18,.92); display: grid; place-items: center; padding: 18px; }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox img { max-height: 88vh; max-width: 100%; object-fit: cover; touch-action: pinch-zoom; }
.photo-lightbox button { position: fixed; top: 16px; right: 16px; border: 0; border-radius: 999px; padding: 10px 14px; background: white; color: #173b35; font-weight: 900; }
.geo-marker, .geo-cluster { border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 12px 28px rgba(20,45,40,.28); border: 1px solid rgba(255,255,255,.9); }
.geo-marker span, .geo-cluster span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #176b5d; color: white; border: 3px solid white; font-weight: 950; font-size: .82rem; }
.geo-marker-beach span { background: #1e83a3; }
.geo-marker-walk span { background: #4e7d41; }
.geo-marker-food span { background: #c16c2d; }
.geo-marker-camp span { background: #176b5d; }
.geo-cluster span { width: 34px; height: 34px; background: #f58a4b; }

@media (max-width: 760px) {
  .explore-header, .map-toolbar { align-items: stretch; flex-direction: column; margin-top: 2px; }
  .premium-filter-bar { display: flex; overflow-x: auto; padding: 8px; border-radius: 18px; scrollbar-width: none; }
  .premium-filter-bar input[name="Search"] { flex: 0 0 min(78vw, 360px); }
  .premium-filter-bar select { flex: 0 0 150px; }
  .premium-filter-bar label, .premium-filter-bar button, .premium-filter-bar a { flex: 0 0 auto; }
  .spot-grid, .practical-spot-grid { grid-template-columns: 1fr; gap: 20px; }
  .premium-card-media { min-height: 252px; border-radius: 22px; }
  .place-hero { min-height: 72vh; margin: -12px -12px 22px; }
  .place-hero-content { padding: 96px 14px 22px; }
  .place-hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.55rem); max-width: 12ch; }
  .place-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .place-actions .primary-button { grid-column: 1 / -1; }
  .premium-fact-grid, .weather-grid { grid-template-columns: 1fr 1fr; }
  .spot-tide-panel { grid-template-columns: 1fr; }
  .spot-tide-list { justify-content: flex-start; }
  .premium-gallery { grid-template-columns: 1fr 1fr; }
  .premium-gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .detail-map-shell, .premium-map-shell { min-height: 68vh; border-radius: 0; margin-inline: -12px; }
  .premium-map { min-height: 68vh; border-radius: 0; }
  .map-control-stack { left: 10px; right: 10px; top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.map-control-stack a, .map-control-stack button { min-width: 0; width: 100%; justify-content: center; padding-inline: 6px; font-size: .78rem; line-height: 1.1; }
  .map-control-stack .map-compass-control,
  .discovery-map-controls .map-compass-control,
  .map-environment-controls .map-compass-control {
    grid-template-columns: 26px minmax(0, auto);
    gap: 5px;
    padding: 4px 7px 4px 4px;
  }
  .map-compass-dial {
    width: 26px;
    height: 26px;
  }
  .map-compass-needle {
    top: 4px;
    height: 18px;
  }
  .map-filter-strip { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .map-bottom-sheet { left: 8px; right: 8px; bottom: 8px; grid-template-columns: 1fr; max-height: 72vh; }
  .map-bottom-sheet > img { max-height: 220px; min-height: 0; }
  .nearby-row { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .nearby-row article { flex: 0 0 74vw; }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-grid.compact { display: flex; }
}

.premium-spot-card { overflow: hidden; border-radius: 8px; background: var(--gd-surface); border: 1px solid rgba(16,35,31,.08); box-shadow: 0 18px 42px rgba(16,35,31,.13); display: grid; }
.premium-card-media { position: relative; aspect-ratio: 16 / 11; background: var(--gd-surface-alt); overflow: hidden; }
.premium-card-media a, .premium-card-media img, .spot-image-fallback { width: 100%; height: 100%; display: block; }
.premium-card-media img { object-fit: cover; }
.spot-image-fallback { display: grid; place-items: end start; padding: 16px; color: white; background: linear-gradient(145deg, rgba(15,61,46,.94), rgba(11,111,114,.72)), repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12px); }
.premium-card-overlay { position: absolute; inset: 10px 10px auto; display: flex; gap: 7px; align-items: flex-start; flex-wrap: wrap; z-index: 2; }
.premium-card-overlay form { margin-left: auto; }
.glass-pill { border-radius: 999px; background: color-mix(in srgb, var(--pill, var(--gd-forest)) 82%, white); color: white; font-weight: 850; font-size: .78rem; padding: 7px 10px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.premium-card-body { padding: 14px; display: grid; gap: 7px; }
.premium-card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-town, .place-distance { margin: 0; color: var(--gd-muted); font-weight: 750; font-size: .9rem; }
.travel-summary { margin: 0; color: #28413b; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.facility-grid.compact { display: flex; flex-wrap: wrap; gap: 6px; }
.facility-grid.compact span { border-radius: 999px; border: 1px solid rgba(15,61,46,.12); background: var(--gd-surface-alt); color: var(--gd-forest); padding: 6px 9px; font-size: .82rem; font-weight: 850; }
.premium-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.search-meta { display: grid; gap: 10px; margin: -8px 0 18px; color: var(--gd-muted); }
.search-chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.search-chip-row a, .search-chip-row button { white-space: nowrap; border-radius: 999px; border: 1px solid rgba(15,61,46,.14); background: white; color: var(--gd-forest); padding: 9px 12px; font-weight: 850; }
.location-status-inline, .share-status { align-self: center; color: var(--gd-muted); font-weight: 750; font-size: .9rem; }
.place-hero { min-height: min(620px, 78vh); border-radius: 0 0 8px 8px; margin: -18px -18px 24px; }
.place-hero.no-photo { background: linear-gradient(145deg, var(--gd-forest), var(--gd-ocean)); }
.place-hero-gradient { background: linear-gradient(180deg, rgba(5,20,17,.12), rgba(5,20,17,.76)); }
.why-go h2 { max-width: 850px; font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.1; }
.premium-fact-grid article, .weather-grid article, .fine-print-facts dl, .nearby-row article { border-radius: 8px; background: white; border: 1px solid rgba(16,35,31,.08); box-shadow: 0 12px 30px rgba(16,35,31,.08); }
.detail-map-shell { position: relative; }
.map-control-stack { max-width: calc(100% - 24px); display: flex; gap: 8px; flex-wrap: wrap; }
.map-control-stack button, .map-control-stack a { border: 0; border-radius: 999px; min-height: 38px; padding: 8px 11px; background: rgba(255,255,255,.95); color: var(--gd-forest); font-weight: 850; box-shadow: 0 8px 20px rgba(16,35,31,.16); }
.map-control-stack.floating { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 670; }
.map-bottom-sheet { border-radius: 18px 18px 0 0; box-shadow: 0 -18px 38px rgba(16,35,31,.2); }
.nearby-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 260px); gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-padding-inline: 2px; }
.nearby-row article { overflow: hidden; display: grid; gap: 8px; padding: 10px; }
.nearby-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; background: var(--gd-surface-alt); }
.cms-hero-overlay { background: rgba(5,20,17,var(--overlay)); }
.quick-discovery a { background: linear-gradient(135deg, var(--gd-forest), var(--gd-ocean)); }
@media (max-width: 520px) {
  .map-toolbar { display: grid; }
  .map-filter-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .map-control-stack.floating { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; overflow: visible; }
  .map-control-stack.floating button { min-width: 0; width: 100%; padding: 7px 4px; font-size: .72rem; line-height: 1.05; }
  .map-state { left: 10px; right: 10px; bottom: 10px; text-align: center; white-space: normal; }
  .premium-map-shell .map-panel { min-height: calc(100vh - 270px); border-radius: 8px; }
  .premium-card-actions { grid-template-columns: 1fr; }
  .home-search-row { grid-template-columns: 1fr; }
}

/* Final cascade guard for premium coastal theme */
body { color: var(--gd-navy); background: var(--gd-page); }
.primary-button { background: var(--gd-teal); box-shadow: 0 12px 28px rgba(15,139,141,.22); }
.bottom-nav .add-tab { background: var(--gd-coral); }
.premium-filter-bar { background: rgba(255,255,255,.94); border-color: var(--gd-border); box-shadow: 0 14px 34px rgba(16,42,67,.1); }
.premium-spot-card { background: var(--gd-surface); border-color: var(--gd-border); box-shadow: 0 14px 34px rgba(16,42,67,.1); }
.premium-card-media { border-radius: 8px 8px 0 0; background: var(--gd-sky); box-shadow: none; }
.glass-pill { font-size: .68rem; line-height: 1; padding: 5px 7px; background: color-mix(in srgb, var(--pill, var(--gd-teal)) 78%, var(--gd-navy)); }
.search-meta { display: block; margin: 0 0 10px; color: var(--gd-muted); }
.search-meta strong { display: block; margin-bottom: 8px; color: var(--gd-navy); font-size: .95rem; }
.search-chip-row { display: flex; gap: 7px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 12px; padding: 1px 2px 7px; scrollbar-width: none; }
.search-chip-row a, .search-chip-row button { flex: 0 0 auto; border-color: var(--gd-border); color: var(--gd-teal); padding: 7px 10px; min-height: 34px; font-size: .82rem; }
.search-chip-row a.active { color: white; background: var(--gd-teal); border-color: var(--gd-teal); }
.spot-grid { gap: 14px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  body { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
  .explore-header { flex-direction: row; align-items: center; gap: 10px; margin: 2px 0 8px; }
  .explore-header .eyebrow { display: none; }
  .explore-header h1 { font-size: 1.45rem; color: var(--gd-navy); }
  .explore-header .primary-button { min-height: 36px; padding: 8px 11px; font-size: .82rem; }
  .premium-filter-bar { top: 58px; display: flex; gap: 7px; overflow-x: auto; padding: 8px; margin-bottom: 8px; border-radius: 14px; }
  .premium-filter-bar input[name="Search"] { flex: 0 0 172px; }
  .premium-filter-bar select { flex: 0 0 126px; }
  .premium-filter-bar label, .premium-filter-bar button, .premium-filter-bar a { flex: 0 0 auto; min-height: 36px; max-width: none; }
  .premium-card-media { min-height: 206px; aspect-ratio: 16 / 10; }
  .premium-card-body { padding: 11px; gap: 6px; }
}

/* Map-first discovery */
.discovery-shell { display: grid; gap: 10px; min-height: calc(100vh - 140px); }
.discovery-topbar { position: sticky; top: 0; z-index: 720; display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto auto; gap: 8px; align-items: center; padding: 8px; background: rgba(246,250,251,.96); border: 1px solid var(--gd-border); border-radius: 8px; backdrop-filter: blur(16px); }
.discovery-topbar input[name="Search"] { min-height: 42px; border-radius: 8px; border: 1px solid var(--gd-border); padding: 9px 11px; }
.icon-text-button, .segmented-toggle button, .discovery-map-controls button, .map-environment-controls button, .filter-sheet button { min-height: 40px; border: 1px solid var(--gd-border); border-radius: 8px; padding: 8px 10px; background: white; color: var(--gd-navy); font-weight: 850; }
.icon-text-button span, [data-active-count] { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 999px; background: var(--gd-teal); color: white; font-size: .72rem; }
.segmented-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--gd-border); border-radius: 8px; overflow: hidden; background: white; }
.segmented-toggle button { border: 0; border-radius: 0; box-shadow: none; }
.segmented-toggle button.active { background: var(--gd-navy); color: white; }
.quick-filter-row, .discovery-meta { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.quick-filter-row label, .discovery-meta a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--gd-border); border-radius: 999px; background: white; color: var(--gd-teal); font-weight: 850; font-size: .84rem; }
.quick-filter-row input { width: auto; }
.discovery-meta strong { flex: 0 0 auto; color: var(--gd-navy); padding: 7px 2px; }
.discovery-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 12px; align-items: start; }
.discovery-map-pane { position: sticky; top: 74px; min-height: calc(100vh - 170px); border-radius: 8px; overflow: hidden; background: #dbe7df; box-shadow: 0 16px 40px rgba(16,42,67,.12); }
.discovery-map-pane .premium-map { min-height: calc(100vh - 170px); border-radius: 8px; }
.embedded-map-shell-passive,
.embedded-map-passive,
.embedded-map-passive * { touch-action: pan-y !important; }
.embedded-map-shell-active,
.embedded-map-active,
.embedded-map-active .leaflet-pane,
.embedded-map-active .leaflet-map-pane,
.embedded-map-active .leaflet-tile-pane,
.embedded-map-active .leaflet-overlay-pane,
.embedded-map-active .leaflet-marker-pane,
.embedded-map-active .leaflet-shadow-pane,
.embedded-map-active .leaflet-tile,
.embedded-map-active .leaflet-marker-icon,
.embedded-map-active .leaflet-interactive {
  overscroll-behavior: contain;
  touch-action: none !important;
}
.explore-map-scroll-shield { position: absolute; inset: 0; z-index: 630; pointer-events: auto; touch-action: pan-y; background: transparent; }
.explore-map-scroll-shield[hidden], .embedded-map-active ~ .explore-map-scroll-shield { display: none; pointer-events: none; }
.explore-map-interaction { position: absolute; z-index: 1120; left: 50%; top: 50%; min-height: 38px; padding: 8px 14px; border: 1px solid rgba(23,50,77,.16); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--gd-navy); font-weight: 900; font-size: .86rem; box-shadow: 0 10px 24px rgba(16,42,67,.15); transform: translate(-50%, -50%); transform-origin: center; touch-action: manipulation; transition: background-color 140ms ease, color 140ms ease, opacity 140ms ease; }
	.explore-map-interaction:active { transform: translate(-50%, -50%) scale(.97); }
	.explore-map-interaction.is-active { left: auto; top: auto; right: 10px; bottom: 58px; min-height: 34px; padding: 6px 10px; background: var(--gd-navy); color: white; font-size: .78rem; transform: none; }
	.explore-map-interaction.is-active:active { transform: scale(.97); }
.discovery-map-controls { position: absolute; z-index: 670; top: 10px; left: 10px; right: auto; display: flex; flex-wrap: wrap; gap: 5px; max-width: min(300px, calc(100% - 20px)); align-items: start; justify-content: start; pointer-events: none; }
.discovery-map-controls button, .map-environment-controls button { min-height: 32px; padding: 5px 8px; border-radius: 999px; font-size: .76rem; pointer-events: auto; touch-action: manipulation; box-shadow: 0 6px 14px rgba(16,42,67,.12); }
.map-environment-controls { position: absolute; top: 10px; right: 10px; z-index: 690; display: flex; gap: 5px; align-items: center; pointer-events: auto; }
.map-weather-control { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; }
.map-weather-panel { position: absolute; z-index: 700; top: 54px; right: 10px; width: min(290px, calc(100% - 20px)); border: 1px solid rgba(16,42,67,.12); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(16,42,67,.2); overflow: hidden; }
.map-weather-panel[hidden] { display: none; }
.map-weather-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-bottom: 1px solid rgba(16,42,67,.08); }
.map-weather-panel-header strong { color: var(--gd-navy); font-size: .86rem; }
.map-weather-panel-header button { min-height: 28px; border: 0; border-radius: 999px; background: #eef8f6; color: var(--gd-navy); font-weight: 950; }
.map-weather-panel-header [data-map-weather-refresh] { width: 30px; min-height: 30px; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.map-weather-panel-header [data-map-weather-refresh].is-loading { font-size: 0; }
.map-weather-panel-header [data-map-weather-refresh].is-loading::after { margin-left: 0; width: 14px; height: 14px; }
.map-weather-panel-body { display: grid; gap: 6px; padding: 8px; color: var(--gd-muted); font-size: .76rem; font-weight: 850; }
.map-weather-group { display: flex; flex-wrap: wrap; gap: 5px; }
.map-weather-panel-body span { display: inline-flex; align-items: center; min-height: 26px; border-radius: 999px; padding: 4px 7px; background: #f2fbfa; color: #075963; }
.map-weather-panel-body .map-tide-chip { background: #e9f9fb; color: #075963; }
.map-weather-updated { color: var(--gd-muted); font-size: .71rem; font-weight: 800; }
.discovery-list-pane { min-width: 0; }
.destination-discovery { margin: 2px 0 14px; min-width: 0; }
.destination-discovery-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:9px; }
.destination-discovery-heading h2 { margin:0; font-size:1.12rem; }
.destination-discovery-heading small, .destination-discovery-heading span { color:#52606d; font-size:.78rem; }
.destination-discovery-row { display:flex; gap:9px; overflow-x:auto; padding:1px 1px 7px; scrollbar-width:thin; }
.destination-discovery-card { flex:0 0 142px; min-height:76px; border:1px solid #d7e2dc; border-radius:15px; padding:13px; text-align:left; color:#102a43; background:linear-gradient(145deg,#f8fbf9,#e7f2eb); box-shadow:0 5px 16px rgba(16,42,67,.07); }
.destination-discovery-card span,.destination-discovery-card small { display:block; }
.destination-discovery-card span { font-weight:800; }
.destination-discovery-card small { margin-top:16px; color:#48645a; }
.destination-visual-coast,.destination-visual-mediterranean,.destination-visual-city-coast { background:linear-gradient(145deg,#f6fbff,#dceff1); }
.destination-visual-mountains,.destination-visual-moor { background:linear-gradient(145deg,#f8fbf6,#ddebd9); }
.destination-visual-lakes { background:linear-gradient(145deg,#f4fbfc,#d9ecec); }
.language-selector-form { margin:0; }
.language-selector-form select { max-width:112px; min-height:36px; padding:5px 8px; border:1px solid #cbd8d2; border-radius:10px; background:#fff; color:#183846; font-weight:700; }
.mobile-language-selector { margin-left:auto; flex:0 0 auto; }
.mobile-language-selector select { width:50px; min-height:36px; padding:4px 5px; font-size:.76rem; }
@media (min-width: 761px) { .mobile-language-selector { display:none; } }
.discovery-results { grid-template-columns: 1fr; max-height: calc(100vh - 170px); overflow: auto; padding: 2px 2px 110px; }
.event-results-pane { display: grid; gap: 12px; min-width: 0; padding-bottom: var(--gd-bottom-nav-space); }
.events-discovery-header { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 12px; border: 1px solid var(--gd-border); border-radius: 8px; background: white; box-shadow: 0 10px 24px rgba(16,42,67,.07); }
.events-discovery-header p { margin: 0 0 2px; color: var(--gd-muted); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.events-discovery-header strong { display: block; color: var(--gd-navy); font-size: 1.05rem; line-height: 1.15; }
.premium-event-tabs, .event-category-chips, .event-list-controls, .compact-event-row { display: flex; gap: 7px; overflow-x: auto; padding: 2px 1px 6px; scrollbar-width: none; scroll-padding-inline: 8px; }
.premium-event-tabs a, .event-category-chips a, .event-list-controls a, .premium-event-tabs button, .event-category-chips button { flex: 0 0 auto; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gd-border); border-radius: 999px; padding: 7px 11px; background: white; color: var(--gd-navy); font-weight: 900; font-size: .82rem; text-decoration: none; box-shadow: 0 7px 16px rgba(16,42,67,.06); white-space: nowrap; }
.premium-event-tabs a.is-selected, .event-category-chips a.is-selected, .event-list-controls a.is-selected, .premium-event-tabs button.is-selected, .event-category-chips button.is-selected { background: var(--gd-navy); border-color: var(--gd-navy); color: white; }
.event-date-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--gd-border); border-radius: 8px; background: var(--gd-sky); }
.event-date-form label { display: grid; gap: 4px; color: var(--gd-muted); font-size: .76rem; font-weight: 850; }
.event-date-form input { min-width: 0; min-height: 38px; border: 1px solid var(--gd-border); border-radius: 8px; padding: 7px 9px; background: white; color: var(--gd-navy); }
.event-results-list, .event-date-group, .event-card-stack { display: grid; gap: 10px; }
.event-date-group h3 { margin: 4px 0 0; color: var(--gd-muted); font-size: .75rem; font-weight: 950; letter-spacing: 0; }
.premium-event-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid var(--gd-border); border-radius: 8px; background: white; box-shadow: 0 14px 30px rgba(16,42,67,.09); }
.event-card-media { min-height: 132px; overflow: hidden; background: linear-gradient(135deg, var(--gd-mint), var(--gd-sky)); }
.event-card-media img { width: 100%; height: 100%; min-height: 132px; object-fit: cover; display: block; }
.event-card-body { display: grid; gap: 5px; min-width: 0; padding: 10px; }
.event-kicker { color: var(--gd-coral); font-size: .72rem; font-weight: 950; letter-spacing: 0; }
.premium-event-card h2 { margin: 0; color: var(--gd-navy); font-size: 1rem; line-height: 1.12; overflow-wrap: anywhere; }
.premium-event-card p { margin: 0; color: var(--gd-muted); font-size: .84rem; line-height: 1.25; }
.event-tag-row { display: flex; gap: 5px; flex-wrap: wrap; }
.event-tag-row span { border-radius: 999px; background: var(--gd-mint); color: var(--gd-ocean); padding: 4px 7px; font-size: .72rem; font-weight: 900; }
.premium-event-card .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 4px; }
.premium-event-card .card-actions a { min-height: 36px; padding: 7px 9px; font-size: .78rem; }
.event-load-more { justify-self: stretch; }
.event-empty-state { padding: 16px; border-radius: 8px; }
.event-settings-toggle {
  border-color: rgba(200,91,125,.26) !important;
  color: #8f2c55 !important;
}
.event-settings-sheet {
  width: min(460px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 36px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: white;
  box-shadow: 0 28px 70px rgba(16,42,67,.28);
}
.event-settings-sheet::backdrop { background: rgba(16,42,67,.32); }
.event-settings-form { display: grid; gap: 0; }
.event-settings-form .mobile-filter-block { margin: 0; border-bottom: 1px solid var(--gd-border); }
.event-stay-section { display: grid; gap: 14px; }
.event-stay-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.event-stay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.event-stay-card { display: grid; gap: 9px; border: 1px solid var(--gd-border); border-radius: 8px; padding: 14px; background: white; box-shadow: 0 12px 28px rgba(16,42,67,.08); }
.event-stay-card h3 { margin: 0; color: var(--gd-navy); font-size: 1rem; }
.event-stay-card p, .event-stay-card small { margin: 0; color: var(--gd-muted); }
.event-stay-card strong { color: var(--gd-ocean); }
.event-stay-card.is-season-closed { border-color: rgba(200,91,125,.28); background: #fff8fa; }
.event-stay-card.is-season-closed strong { color: #9b244c; }
.compact-custom-dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.compact-custom-dates[hidden] { display: none !important; }
.compact-custom-dates label { min-width: 0; display: grid; gap: 4px; color: var(--gd-muted); font-size: .76rem; font-weight: 900; }
.compact-custom-dates input { min-width: 0; width: 100%; border: 1px solid var(--gd-border); border-radius: 8px; padding: 8px; background: white; color: var(--gd-navy); font-weight: 800; }
.event-skeleton { min-height: 126px; border: 1px solid var(--gd-border); border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(216,235,236,.72), rgba(255,255,255,.72)); background-size: 220% 100%; animation: gd-skeleton 1.2s linear infinite; }
.discovery-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.sheet-x-close { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(23,50,77,.95); color: white; font-weight: 950; box-shadow: 0 8px 18px rgba(16,42,67,.22); touch-action: manipulation; }
.geo-marker.selected span { background: var(--gd-coral); transform: scale(1.08); }
.filter-sheet { width: min(560px, calc(100vw - 18px)); max-height: min(760px, calc(100vh - 18px)); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 28px 80px rgba(16,42,67,.32); }
.filter-sheet::backdrop { background: rgba(16,42,67,.46); }
.filter-sheet form { display: grid; gap: 14px; padding: 14px; }
.filter-sheet-header, .filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.filter-section { display: grid; gap: 8px; }
.filter-section.quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter-section.advanced { grid-template-columns: 1fr 1fr; }
.filter-section label { display: grid; gap: 5px; min-width: 0; font-weight: 850; color: var(--gd-navy); }
.filter-section.quick label, .filter-section.advanced label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--gd-border); border-radius: 8px; background: var(--gd-page); }
.filter-section input, .filter-section select { min-width: 0; min-height: 40px; border: 1px solid var(--gd-border); border-radius: 8px; padding: 8px 10px; background: white; }
.filter-actions .primary-button, .filter-actions .ghost-button { flex: 1; text-align: center; justify-content: center; }
@media (max-width: 760px) {
  .discovery-topbar { grid-template-columns: repeat(3, minmax(0, 1fr)); top: 0; overflow: visible; }
  .discovery-topbar .recent-search-host,
  .discovery-topbar input[name="Search"] { grid-column: 1 / -1; }
  .discovery-topbar .segmented-toggle { grid-column: 1 / -1; }
  .discovery-topbar .primary-button,
  .discovery-topbar .icon-text-button,
  .discovery-topbar .segmented-toggle button { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .discovery-search-submit { justify-self: stretch; }
  .discovery-topbar [data-use-location] { font-size: 0; min-width: 42px; padding-inline: 0; }
  .discovery-topbar [data-use-location]::before { content: "Near"; font-size: .78rem; }
  .recent-search-panel { max-height: min(260px, 42vh); }
  .discovery-workspace { display: block; }
  .discovery-map-pane { position: relative; top: auto; min-height: clamp(420px, calc(100svh - 250px), 620px); margin-inline: -12px; border-radius: 0; }
  .discovery-map-pane .premium-map { min-height: clamp(420px, calc(100svh - 250px), 620px); border-radius: 0; }
  .discovery-list-pane { display: none; }
  .discovery-shell[data-mode="list"] .discovery-map-pane { display: none; }
  .discovery-shell[data-mode="list"] .discovery-list-pane { display: block; }
  .discovery-results { max-height: none; overflow: visible; }
  .event-results-pane { padding-top: 10px; }
  .events-discovery-header { align-items: center; }
  .event-date-form { grid-template-columns: 1fr 1fr; }
  .event-date-form button { grid-column: 1 / -1; }
  .premium-event-card { grid-template-columns: 112px minmax(0, 1fr); }
  .event-card-media, .event-card-media img { min-height: 126px; }
  .premium-event-card .card-actions { grid-template-columns: 1fr; }
  .discovery-results .premium-card-media { min-height: 158px; aspect-ratio: 16 / 8.5; }
  .discovery-results .travel-summary { -webkit-line-clamp: 2; }
  .discovery-results .premium-card-actions { display: none; }
  .discovery-map-controls { max-width: min(224px, calc(100% - 20px)); }
  .discovery-map-controls button { min-width: 0; padding: 5px 7px; font-size: .72rem; }
	  .explore-map-interaction.is-active { right: 10px; bottom: calc(var(--gd-bottom-nav-space, 104px) + 8px); }
	  .discovery-sheet.map-bottom-sheet { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); grid-template-columns: 1fr; max-height: min(58vh, calc(100% - 118px)); }
  .discovery-sheet .sheet-actions { grid-template-columns: 1fr; }
  .filter-sheet { margin: auto 0 0; width: 100vw; max-height: 86vh; border-radius: 8px 8px 0 0; }
  .filter-section.advanced { grid-template-columns: 1fr; }
	}

/* GeoDrop reactive consumer system */
:root {
  --gd-navy: #17324D;
  --gd-ocean: #008C95;
  --gd-turquoise: #11B8B2;
  --gd-aqua: #6EE7E0;
  --gd-mint: #DFF8F3;
  --gd-sky: #EDF9FF;
  --gd-sun: #FFD166;
  --gd-coral: #FF7866;
  --gd-sand: #FFF3D6;
  --gd-white: #FFFFFF;
  --gd-page: #F7FCFD;
  --gd-muted: #617885;
  --gd-border: #D8ECEE;
  --gd-teal: var(--gd-ocean);
  --gd-forest: var(--gd-ocean);
  --gd-seafoam: var(--gd-mint);
  --gd-surface: var(--gd-white);
  --gd-surface-alt: var(--gd-sky);
  --gd-ink: var(--gd-navy);
  --gd-sunset: var(--gd-coral);
  --aqua: var(--gd-aqua);
  --turquoise: var(--gd-turquoise);
  --sky: var(--gd-sky);
  --coral: var(--gd-coral);
  --sand: var(--gd-sand);
  --ink: var(--gd-navy);
  --muted: var(--gd-muted);
  --paper: var(--gd-white);
  --line: var(--gd-border);
  --gd-ease: cubic-bezier(.2,.8,.2,1);
  --gd-spring: cubic-bezier(.18,1.35,.28,1);
  --gd-mobile-nav-height: 66px;
  --gd-bottom-nav-space: calc(104px + env(safe-area-inset-bottom));
}

html { overflow-x: hidden; background: var(--gd-page); }
body { overflow-x: hidden; color: var(--gd-navy); background: var(--gd-page); }
main, .site-shell, .app-shell { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
a, button, label, .premium-spot-card, .event-card, .choice-card { -webkit-tap-highlight-color: transparent; }

.primary-button, .secondary-button, .ghost-button, .icon-text-button,
.filter-chip, .filter-chip-card, .surprise-button, .surprise-chip,
.bottom-nav a, .bottom-nav button, .map-control-stack button,
.discovery-map-controls button, .segmented-toggle button, .card-actions a,
.card-actions button, .premium-card-actions a, .premium-card-actions button,
.reactive-control {
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: transform 160ms var(--gd-spring), background-color 180ms var(--gd-ease), color 180ms var(--gd-ease), border-color 180ms var(--gd-ease), box-shadow 180ms var(--gd-ease), opacity 180ms var(--gd-ease);
}

.primary-button, .icon-text-button, .filter-sheet .primary-button {
  background: linear-gradient(135deg, var(--gd-ocean), var(--gd-turquoise));
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(0,140,149,.24);
}
.secondary-button, .ghost-button, .icon-text-button:not(.primary-button) {
  background: var(--gd-white);
  color: var(--gd-navy);
  border-color: var(--gd-border);
}
.ghost-button { color: var(--gd-ocean); }

:where(button, a, label, .premium-spot-card, .event-card, .choice-card):active,
.is-pressed {
  transform: scale(.97);
}
.premium-spot-card:active, .event-card:active, .choice-card:active {
  box-shadow: 0 10px 24px rgba(23,50,77,.12);
}
:where(button, a)[disabled], :where(button, a).disabled, .is-disabled {
  opacity: .52;
  pointer-events: none;
  filter: saturate(.72);
}
.is-loading {
  cursor: progress;
}
.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -3px;
  animation: gd-spin .7s linear infinite;
}
.is-success {
  background: linear-gradient(135deg, var(--gd-turquoise), var(--gd-aqua)) !important;
  color: var(--gd-navy) !important;
  box-shadow: 0 0 0 4px rgba(110,231,224,.35), 0 12px 26px rgba(17,184,178,.22) !important;
}
.is-error {
  background: color-mix(in srgb, var(--gd-coral) 16%, white) !important;
  border-color: var(--gd-coral) !important;
  color: #8A2418 !important;
}
.tap-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255,255,255,.55);
  transform: translate(-50%, -50%) scale(1);
  animation: gd-ripple 420ms ease-out forwards;
}

.premium-spot-card, .event-card, .reactive-card {
  transition: transform 180ms var(--gd-spring), box-shadow 180ms var(--gd-ease), border-color 180ms var(--gd-ease);
}
.premium-spot-card:hover, .event-card:hover, .reactive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23,50,77,.14);
}
.premium-card-media img {
  transition: transform 240ms var(--gd-ease), opacity 180ms var(--gd-ease);
}
.premium-spot-card:hover .premium-card-media img { transform: scale(1.025); }
.save-icon.is-success, [data-save-feedback].is-success {
  animation: gd-success-pulse 480ms var(--gd-spring);
}

.top-shell, .premium-filter-bar, .discovery-topbar {
  background: rgba(255,255,255,.94);
  border-color: var(--gd-border);
  box-shadow: 0 14px 34px rgba(23,50,77,.09);
}
.brand, a { color: var(--gd-ocean); }
.home-hero, .live-shell, .guide-shell, .discovery-shell { background: transparent; }
.discovery-shell { padding-bottom: var(--gd-bottom-nav-space); }

.bottom-nav {
  display: none;
  position: fixed;
  left: max(8px, env(safe-area-inset-left));
  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 1100;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--gd-mobile-nav-height);
  padding: 7px;
  border: 1px solid var(--gd-border);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(23,50,77,.18);
}
.bottom-nav a, .bottom-nav button {
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--gd-muted);
  font-weight: 850;
}
.bottom-nav a.active, .bottom-nav a[aria-current="page"] {
  background: var(--gd-mint);
  color: var(--gd-ocean);
  box-shadow: inset 0 0 0 1px rgba(17,184,178,.2);
}
.bottom-nav a.active span:first-child, .bottom-nav a[aria-current="page"] span:first-child {
  transform: translateY(-2px);
}
.bottom-nav .add-tab {
  background: linear-gradient(135deg, var(--gd-coral), #FF9A69);
  color: white;
  transform: translateY(-13px);
  box-shadow: 0 16px 28px rgba(255,120,102,.32), 0 0 0 5px rgba(255,209,102,.18);
}
.bottom-nav .add-tab:active, .bottom-nav .add-tab.is-pressed {
  transform: translateY(-13px) scale(.96);
}

.action-sheet {
  border-color: var(--gd-border);
  border-radius: 22px;
  background: white;
  animation: gd-sheet-in 190ms var(--gd-ease);
}
.action-sheet a {
  background: linear-gradient(135deg, var(--gd-white), var(--gd-sky));
  color: var(--gd-navy);
}

.content-switch {
  width: min(420px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 999px;
  padding: 4px;
  background: var(--gd-white);
  box-shadow: 0 10px 24px rgba(23,50,77,.08);
}
.content-switch button {
  border-radius: 999px;
}
.segmented-toggle button.active, .segmented-toggle button[aria-pressed="true"] {
  background: var(--gd-ocean);
  color: white;
  box-shadow: 0 8px 18px rgba(0,140,149,.22);
}

.filter-chip-row, .quick-filter-row {
  gap: 8px;
  padding: 4px 2px 8px;
}
.filter-chip, .surprise-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: white;
  color: var(--gd-navy);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(23,50,77,.06);
}
.filter-chip::before, .filter-chip-card::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--gd-ocean);
  font-weight: 950;
  opacity: 0;
  transform: scale(.55);
  transition: opacity 150ms var(--gd-ease), transform 180ms var(--gd-spring);
}
.filter-chip.is-selected, .filter-chip[aria-pressed="true"],
.filter-chip-card.is-selected, .filter-chip-card[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gd-aqua), var(--gd-mint));
  color: var(--gd-navy);
  border-color: var(--gd-turquoise);
  box-shadow: 0 12px 24px rgba(17,184,178,.18);
  transform: translateY(-1px);
}
.filter-chip.is-selected::before, .filter-chip[aria-pressed="true"]::before,
.filter-chip-card.is-selected::before, .filter-chip-card[aria-pressed="true"]::before {
  opacity: 1;
  transform: scale(1);
}
.surprise-chip, .surprise-button {
  background: linear-gradient(135deg, var(--gd-sun), var(--gd-coral));
  border-color: transparent;
  color: var(--gd-navy);
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(255,120,102,.2);
}
.surprise-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 999px;
  animation: gd-breathe 3.6s ease-in-out infinite;
}

.filter-sheet {
  width: min(620px, calc(100vw - 18px));
  max-height: min(820px, calc(100dvh - 18px));
  border-radius: 22px;
  background: var(--gd-page);
  color: var(--gd-navy);
}
.filter-sheet::backdrop { background: rgba(23,50,77,.48); backdrop-filter: blur(4px); }
.filter-sheet.is-opening[open] { animation: gd-sheet-in 210ms var(--gd-ease); }
.filter-sheet form { gap: 16px; padding: 16px; }
.filter-sheet-header {
  position: sticky;
  top: -16px;
  z-index: 2;
  margin: -16px -16px 0;
  padding: 14px 16px;
  background: rgba(247,252,253,.96);
  border-bottom: 1px solid var(--gd-border);
  backdrop-filter: blur(14px);
}
.filter-sheet-header strong { font-size: 1.15rem; }
.filter-section { gap: 10px; }
.filter-section h2 {
  margin: 0;
  font-size: .92rem;
  color: var(--gd-navy);
}
.filter-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.filter-chip-card {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 11px 12px;
  border: 1px solid var(--gd-border);
  border-radius: 16px;
  background: white;
  color: var(--gd-navy);
  font-weight: 900;
  line-height: 1.14;
  box-shadow: 0 8px 18px rgba(23,50,77,.07);
}
.filter-section.advanced {
  grid-template-columns: 1fr;
}
.filter-section.advanced select {
  min-height: 48px;
  border: 1px solid var(--gd-border);
  border-radius: 14px;
  background: white;
  color: var(--gd-navy);
  padding: 10px 12px;
}
.filter-section.advanced > .filter-chip-card {
  width: 100%;
}
.sticky-filter-actions {
  position: sticky;
  bottom: -16px;
  z-index: 3;
  margin: 0 -16px -16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gd-border);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}
.sticky-filter-actions .primary-button, .sticky-filter-actions .ghost-button {
  min-height: 48px;
  border-radius: 999px;
}

.event-results-pane {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.section-heading h2 { margin: 0; color: var(--gd-navy); }
.event-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--gd-border);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 28px rgba(23,50,77,.08);
}
.event-card h2 { margin: 0; font-size: 1.15rem; color: var(--gd-navy); }
.event-card p { margin: 0; color: var(--gd-muted); }
.category-pill {
  justify-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--gd-sand);
  color: var(--gd-navy);
  font-weight: 900;
  font-size: .78rem;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.card-actions > * {
  flex: 1 1 112px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surprise-experience {
  min-height: calc(100dvh - 80px);
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(12px, 3vw, 24px);
  background:
    radial-gradient(circle at 88% 4%, rgba(255,209,102,.32), transparent 28%),
    radial-gradient(circle at 0 22%, rgba(17,184,178,.18), transparent 26%),
    linear-gradient(180deg, #effcff, var(--gd-page));
}
.surprise-topline {
  width: min(100%, 780px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.surprise-back-home {
  min-height: 36px;
  padding: 7px 12px;
}
.surprise-reset-link {
  border: 0;
  background: transparent;
  color: var(--gd-muted);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.surprise-clues,
.surprise-reveal-stage {
  width: min(100%, 780px);
  margin-inline: auto;
}
.surprise-wizard-intro {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}
.surprise-wizard-intro h1 {
  margin: 0;
  color: var(--gd-navy);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  line-height: .98;
}
.surprise-progress {
  display: flex;
  gap: 7px;
  margin: 0 0 14px;
}
.surprise-progress span {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(23,50,77,.12);
}
.surprise-progress span.is-active {
  background: linear-gradient(90deg, var(--gd-turquoise), var(--gd-sun));
  box-shadow: 0 0 0 3px rgba(17,184,178,.1);
}
.surprise-step {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  animation: gd-step-forward 210ms var(--gd-ease);
}
.surprise-step legend {
  padding: 0;
  margin: 0 0 4px;
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  line-height: 1.04;
  font-weight: 950;
  color: var(--gd-navy);
}
.surprise-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.surprise-choice-card {
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--gd-navy);
  text-align: left;
  display: grid;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(23,50,77,.08);
}
.surprise-choice-card[aria-pressed="true"],
.surprise-choice-card.is-selected {
  background: linear-gradient(135deg, #e7fbff, #fff2c8);
  border-color: var(--gd-turquoise);
  box-shadow: 0 16px 30px rgba(17,184,178,.18);
  transform: translateY(-2px);
}
.surprise-choice-icon {
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
}
.surprise-choice-label {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.08;
}
.surprise-choice-card small {
  color: var(--gd-muted);
  font-weight: 800;
  line-height: 1.2;
}
.surprise-nav-row {
  margin-top: 12px;
  display: flex;
}
.surprise-reveal-stage {
  min-height: min(690px, calc(100dvh - 130px));
  position: relative;
  display: grid;
  align-content: center;
}
.surprise-loading-copy {
  min-height: 270px;
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
  color: var(--gd-navy);
}
.surprise-loading-copy p {
  margin: 0;
  font-size: clamp(1.45rem, 7vw, 2.4rem);
  font-weight: 950;
}
.surprise-loading-copy small {
  color: var(--gd-muted);
  font-weight: 850;
}
.surprise-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.surprise-sparkles span {
  position: absolute;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gd-sun);
  box-shadow: 0 0 18px rgba(255,178,63,.75);
  animation: gd-sparkle 1.35s ease-in-out infinite;
}
.surprise-sparkles span:nth-child(1) { left: 12%; top: 18%; animation-delay: 0ms; }
.surprise-sparkles span:nth-child(2) { left: 82%; top: 22%; animation-delay: 180ms; background: var(--gd-coral); }
.surprise-sparkles span:nth-child(3) { left: 68%; top: 78%; animation-delay: 320ms; }
.surprise-sparkles span:nth-child(4) { left: 22%; top: 72%; animation-delay: 470ms; background: var(--gd-turquoise); }
.surprise-sparkles span:nth-child(5) { left: 48%; top: 8%; animation-delay: 620ms; }
.surprise-reveal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23,50,77,.12);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 60px rgba(23,50,77,.18);
}
.surprise-tripin-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-bottom: 12px;
  padding: 14px 14px 15px;
  border: 1px solid rgba(87,38,165,.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(247,241,255,.98), rgba(255,247,224,.98));
  box-shadow: 0 12px 30px rgba(87,38,165,.1);
}
.surprise-tripin-message[hidden],
.surprise-radar[hidden],
.surprise-loading-copy[hidden] {
  display: none !important;
}
.surprise-wisp-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52% / 62% 62% 38% 38%;
  color: white;
  font-size: 1.15rem;
  background: linear-gradient(145deg,#5726a5,#d33478 58%,#ff9b45);
  box-shadow: 0 8px 20px rgba(211,52,120,.25);
  transform: rotate(4deg);
}
.surprise-tripin-message h2 {
  margin: 1px 0 5px;
  color: var(--gd-coral);
  font-size: .78rem;
  line-height: 1.2;
  letter-spacing: .08em;
  font-weight: 950;
}
.surprise-tripin-message p {
  margin: 0;
  color: var(--gd-navy);
  font-size: clamp(1rem, 4.4vw, 1.14rem);
  line-height: 1.38;
  font-weight: 780;
}
.surprise-reveal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.42) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  pointer-events: none;
}
.surprise-reveal-card.is-revealed {
  animation: gd-surprise-card-in 330ms var(--gd-spring) both;
}
.surprise-reveal-card.is-revealed::after {
  animation: gd-reveal-shimmer 650ms ease-out 90ms both;
}
.surprise-reveal-card.is-leaving {
  animation: gd-card-out 180ms var(--gd-ease) forwards;
}
.surprise-image-wrap {
  aspect-ratio: 16 / 9;
  min-height: 220px;
  max-height: 390px;
  background: var(--gd-mint);
  overflow: hidden;
}
.surprise-image-wrap img,
.surprise-image-wrap .spot-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surprise-family-art { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(150deg,#103d35,#2d8d76 58%,#b9d9a6); }
.surprise-family-art::before,.surprise-family-art::after,.surprise-family-art i { content:""; position:absolute; pointer-events:none; }
.surprise-family-art::before { inset:12% -8% -38%; border-radius:50% 50% 0 0; background:linear-gradient(155deg,rgba(255,255,255,.38),rgba(255,255,255,.03) 48%), repeating-linear-gradient(115deg,rgba(9,45,54,.34) 0 8%,transparent 8% 15%); transform:rotate(-4deg); z-index:-1; }
.surprise-family-art::after { width:42%; aspect-ratio:1; right:8%; top:10%; border:2px solid rgba(255,255,255,.48); border-radius:50%; box-shadow:0 0 50px rgba(255,236,168,.34); z-index:-1; }
.surprise-family-art i { left:-6%; right:-6%; bottom:-24%; height:58%; border-radius:50% 50% 0 0; background:rgba(5,45,50,.62); z-index:-1; }
.surprise-family-art.family-beach_coast,.surprise-family-art.family-swimming_waterside { background:linear-gradient(165deg,#8ed8dc 0 44%,#147a91 45% 72%,#ead5a1 73%); }
.surprise-family-art.family-landmark_history { background:linear-gradient(155deg,#dfc79e,#9a7657 55%,#493b43); }
.surprise-family-art.family-scenic_view { background:linear-gradient(155deg,#8fc7d8,#5aa38b 52%,#244e4c); }
.surprise-family-art.family-walk_trail { background:linear-gradient(145deg,#d5c78f,#62875d 48%,#244d3f); }
.surprise-family-art.family-food_drink { background:linear-gradient(145deg,#f0b36b,#ae4e42 55%,#552e3b); }
.surprise-family-art.family-camping_overnight { background:linear-gradient(155deg,#182a51,#3e6070 58%,#e3a865); }
.surprise-family-art.family-event { background:linear-gradient(145deg,#342251,#b83d7c 58%,#f4a45f); }
.surprise-family-art span { position:relative; z-index:2; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.surprise-utility-stop-art { place-items:center; align-content:center; gap:8px; text-align:center; background:linear-gradient(145deg,#102a43,#176b67 62%,#e0a44f); }
.surprise-utility-stop-art .surprise-utility-stop-icon { font-size:clamp(3rem,14vw,5rem); filter:drop-shadow(0 5px 10px rgba(0,0,0,.3)); }
.surprise-utility-stop-art strong { letter-spacing:.08em; }
.surprise-utility-stop-art small { max-width:28rem; color:rgba(255,255,255,.88); }
.surprise-practical-status { margin:.35rem 0; color:var(--gd-deep-ocean); font-weight:900; font-size:1.05rem; }
.surprise-practical-facts { margin:.55rem 0 .8rem; padding-left:1.15rem; }
.surprise-practical-facts li { margin:.2rem 0; overflow-wrap:anywhere; }
.surprise-result-content {
  display: grid;
  gap: 7px;
  padding: 14px;
}
.surprise-label {
  margin: 0;
  color: var(--gd-coral);
  font-weight: 950;
  letter-spacing: .08em;
  font-size: .78rem;
}
.surprise-result-content h2 {
  margin: 0;
  color: var(--gd-navy);
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: .94;
}
.surprise-location,
.surprise-why {
  margin: 0;
  color: var(--gd-muted);
  font-weight: 850;
}
.surprise-why {
  color: var(--gd-navy);
  font-size: 1.02rem;
  line-height: 1.35;
}
.surprise-reasons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.surprise-reasons span {
  border-radius: 999px;
  background: var(--gd-sand);
  color: var(--gd-navy);
  padding: 5px 8px;
  font-size: .78rem;
  font-weight: 900;
}
.surprise-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.surprise-actions .primary-button {
  grid-column: 1 / -1;
}
.surprise-actions .ghost-button,
.surprise-actions .surprise-button {
  min-height: 46px;
  padding-inline: 12px;
}
.result-stagger {
  opacity: 0;
  transform: translateY(14px);
  animation: gd-card-in 260ms var(--gd-ease) forwards;
}
.result-stagger:nth-child(2) { animation-delay: 45ms; }
.result-stagger:nth-child(3) { animation-delay: 90ms; }
.result-stagger:nth-child(4) { animation-delay: 135ms; }
.result-stagger:nth-child(5) { animation-delay: 180ms; }
.is-reshuffling .result-stagger { animation-name: gd-card-out; }

.skeleton-card, .loading-skeleton {
  min-height: 140px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--gd-mint), white, var(--gd-mint));
  background-size: 240% 100%;
  animation: gd-shimmer 1.05s linear infinite;
}
.animated-empty {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--gd-border);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23,50,77,.08);
}
.animated-empty::before {
  content: "⌖";
  position: absolute;
  right: 18px;
  top: 16px;
  color: var(--gd-turquoise);
  font-size: 2rem;
  animation: gd-float 2.8s ease-in-out infinite;
}
.weather-icon[data-real="true"] { animation: gd-float 3s ease-in-out infinite; }
.sunset-arc[data-real="true"] { transition: stroke-dashoffset 220ms var(--gd-ease); }
.tide-direction[data-real="true"] { animation: gd-tide 1.8s ease-in-out infinite; }

.map-bottom-sheet {
  transition: transform 210ms var(--gd-ease), opacity 180ms var(--gd-ease);
  animation: gd-sheet-in 210ms var(--gd-ease);
}
.map-bottom-sheet[hidden] {
  display: none;
}
.sheet-grabber {
  cursor: grab;
}
.geo-marker.selected span {
  background: var(--gd-coral);
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(255,120,102,.2);
}
.geo-marker span, .geo-cluster span {
  background: var(--gd-ocean);
  transition: transform 160ms var(--gd-spring), box-shadow 160ms var(--gd-ease), background-color 160ms var(--gd-ease);
}
.geo-cluster span { background: var(--gd-sun); color: var(--gd-navy); }
.user-location-found {
  animation: gd-drop 360ms var(--gd-spring);
}
.locating-pulse {
  animation: gd-pulse 900ms ease-in-out infinite;
}

@keyframes gd-spin { to { transform: rotate(360deg); } }
@keyframes gd-ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(18); } }
@keyframes gd-success-pulse { 50% { transform: scale(1.08); } }
@keyframes gd-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes gd-sheet-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gd-step-forward { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes gd-step-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes gd-card-in { to { opacity: 1; transform: translateY(0); } }
@keyframes gd-card-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes gd-shimmer { to { background-position: -240% 0; } }
@keyframes gd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gd-tide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes gd-drop { from { transform: translateY(-18px) scale(.8); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes gd-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(17,184,178,.18); } }
@keyframes gd-sparkle {
  0%, 100% { opacity: .2; transform: translateY(0) scale(.72); }
  45% { opacity: 1; transform: translateY(-9px) scale(1.35); }
}
@keyframes gd-surprise-card-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gd-reveal-shimmer {
  to { transform: translateX(120%); }
}

@media (max-width: 760px) {
  body { padding-bottom: var(--gd-bottom-nav-space); }
  .bottom-nav { display: grid; }
  .discovery-topbar {
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 16px;
  }
  .quick-filter-row {
    margin-inline: 0;
    padding-inline: 12px;
    max-width: 100%;
  }
  .discovery-shell, .discovery-workspace, .discovery-topbar, .discovery-map-pane, .discovery-list-pane, .event-results-pane { max-width: 100%; }
  .discovery-map-pane { margin-inline: 0; border-radius: 16px; overflow: hidden; }
  .discovery-map-pane .premium-map { border-radius: 16px; }
  .filter-sheet {
    margin: auto 0 0;
    width: 100vw;
    max-height: 88dvh;
    border-radius: 22px 22px 0 0;
  }
  .cms-hero {
    min-height: 0;
    height: min(var(--hero-mobile), 540px);
  }
  .filter-pill-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .filter-chip-card {
    min-height: 50px;
    padding: 10px;
    font-size: .9rem;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .surprise-experience {
    padding: 10px 10px calc(var(--gd-bottom-nav-space, 104px) + 22px);
  }
  .surprise-choice-grid {
    gap: 8px;
  }
  .surprise-choice-card {
    min-height: 86px;
    padding: 10px;
  }
  .surprise-reveal-stage {
    min-height: calc(100dvh - 118px);
  }
  .surprise-image-wrap {
    height: min(39dvh, 300px);
  }
  .surprise-result-content {
    padding: 12px;
  }
  .surprise-result-card {
    grid-template-columns: 1fr;
  }
  .surprise-result-card img {
    min-height: 180px;
    max-height: 230px;
  }
  .event-results-pane {
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .filter-chip-card { font-size: .84rem; }
  .sticky-filter-actions { grid-template-columns: .85fr 1.15fr; }
  .sticky-filter-actions .primary-button, .sticky-filter-actions .ghost-button { padding-inline: 10px; font-size: .88rem; }
  .surprise-choice-label { font-size: .92rem; }
  .surprise-choice-card small { font-size: .76rem; }
  .surprise-actions { grid-template-columns: 1fr; }
  .surprise-actions .primary-button { grid-column: auto; }
}

/* Interactive optional layers in the existing Explore map key. */
.map-key-list .map-key-layer-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid rgba(22, 63, 47, .24);
  border-radius: 8px;
  background: #f3faf6;
  color: var(--gd-deep-ocean);
  text-align: left;
  cursor: pointer;
}

.map-key-list .map-key-layer-row.is-active {
  border-color: #176b5d;
  background: #e0f3e8;
}

.map-key-list .map-key-layer-row strong {
  color: #176b5d;
  font-size: .75rem;
}

.discovery-map-pane .fuel-layer-control {
  position: absolute;
  top: 88px;
  right: 10px;
  bottom: auto;
  z-index: 900;
}

@media (max-width: 760px) {
  .discovery-map-pane .fuel-layer-control {
    position: absolute;
    top: 88px;
    right: 8px;
    bottom: auto;
    z-index: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .surprise-button, .animated-empty::before, .weather-icon[data-real="true"], .tide-direction[data-real="true"] {
    animation: none !important;
  }
  .home-bored-button, .home-bored-button::after, .home-bored-button > span,
  .home-surprise-button, .home-surprise-button::after { animation: none !important; }
}

/* Cornish sunset design system */
:root {
  --gd-deep-ocean: #102A43;
  --gd-cornish-sea: #0D8AA0;
  --gd-sea-light: #4FB6C4;
  --gd-sunset-coral: #F27B68;
  --gd-coral-muted: #D86E61;
  --gd-golden-horizon: #F7C86A;
  --gd-mist-white: #F5FAFC;
  --gd-sea-glass: #69B7A5;
  --gd-sea-glass-soft: #DDF3EE;
  --gd-white: #FFFFFF;
  --gd-card-shadow: 0 18px 46px rgba(16,42,67,.11);
  --gd-glass-shadow: 0 22px 60px rgba(16,42,67,.16);
  --gd-radius-lg: 24px;
  --gd-radius-md: 18px;

  --gd-navy: var(--gd-deep-ocean);
  --gd-ocean: var(--gd-cornish-sea);
  --gd-teal: var(--gd-cornish-sea);
  --gd-forest: var(--gd-cornish-sea);
  --gd-turquoise: var(--gd-sea-light);
  --gd-aqua: #8FDDE4;
  --gd-mint: var(--gd-sea-glass-soft);
  --gd-seafoam: var(--gd-sea-glass-soft);
  --gd-sky: #EAF7FB;
  --gd-sun: var(--gd-golden-horizon);
  --gd-coral: var(--gd-sunset-coral);
  --gd-sand: #FFF6E6;
  --gd-page: var(--gd-mist-white);
  --gd-surface: var(--gd-white);
  --gd-surface-alt: #EEF8FB;
  --gd-muted: #5E7480;
  --gd-border: #D7E9EE;
  --gd-ink: var(--gd-deep-ocean);
  --gd-sunset: var(--gd-sunset-coral);
  --aqua: var(--gd-aqua);
  --turquoise: var(--gd-sea-light);
  --sky: var(--gd-sky);
  --coral: var(--gd-sunset-coral);
  --sand: var(--gd-golden-horizon);
  --ink: var(--gd-deep-ocean);
  --muted: var(--gd-muted);
  --paper: var(--gd-white);
  --line: var(--gd-border);
}

html,
body {
  background:
    linear-gradient(180deg, rgba(234,247,251,.72), rgba(245,250,252,1) 34%),
    var(--gd-mist-white);
  color: var(--gd-deep-ocean);
}

a,
.brand,
.live-nav-link,
.eyebrow.dark,
.dashboard-rail span,
.adventure-metrics span,
.today-grid span,
.live-progress-grid span,
.adventure-plan span,
.timeline span,
.passport-grid span,
.live-zone,
.guide-status,
.admin-table th {
  color: var(--gd-cornish-sea) !important;
}

.top-shell,
.premium-filter-bar,
.discovery-topbar,
.live-tabs {
  background: rgba(255,255,255,.9);
  border-color: var(--gd-border);
  box-shadow: 0 14px 36px rgba(16,42,67,.09);
}

.primary-button,
.icon-text-button.primary-button,
.filter-sheet .primary-button {
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea));
  color: white !important;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(13,138,160,.24);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: linear-gradient(135deg, #0C2339, #0B7D91);
  color: white;
}

.secondary-button,
.ghost-button,
.icon-text-button:not(.primary-button),
.segmented-toggle button,
.discovery-map-controls button,
.map-control-stack a,
.map-control-stack button,
.map-filter-strip button,
.filter-sheet button {
  background: rgba(255,255,255,.96);
  color: var(--gd-deep-ocean) !important;
  border-color: var(--gd-border);
}

.ghost-button {
  color: var(--gd-cornish-sea) !important;
}

.danger-button,
.is-error {
  background: color-mix(in srgb, var(--gd-coral-muted) 18%, white) !important;
  color: #84362E !important;
  border-color: color-mix(in srgb, var(--gd-coral-muted) 52%, white) !important;
}

.trip-planner-shell {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 28px;
}

.trip-planner-header {
  padding: 8px 2px 0;
}

.trip-planner-header h1 {
  margin: 4px 0 6px;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: .96;
}

.trip-planner-header p {
  max-width: 680px;
  color: var(--muted);
}

.trip-planner-form,
.trip-results,
.recommendation-list {
  display: grid;
  gap: 12px;
}

.trip-planner-shell > .trip-planner-form {
  padding-bottom: 12px;
}

.trip-planner-shell > .trip-planner-form > .primary-button[type="submit"] {
  scroll-margin-bottom: calc(var(--gd-bottom-nav-space, 104px) + 20px);
}

.trip-planner-panel,
.trip-options,
.save-trip-panel,
.recommendation-card,
.trip-route-summary article,
.route-node {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16,42,67,.08);
}

.trip-planner-panel,
.save-trip-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.trip-field,
.trip-date-grid label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--gd-deep-ocean);
}

.trip-field input,
.trip-field select,
.trip-date-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
}

.trip-location-field {
  display: grid;
  gap: 8px;
}

.trip-route-builder { gap: 16px; }
.trip-route-point { position: relative; padding-left: 42px; }
.trip-route-point::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: -18px;
  width: 2px;
  background: color-mix(in srgb, var(--gd-teal) 32%, var(--line));
}
.trip-route-point:last-of-type::before { display:none; }
.trip-route-number {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-cornish-sea));
  color: white;
  font-weight: 900;
}
.trip-location-selected {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  padding:10px 11px 10px 13px;
  border:1px solid color-mix(in srgb, var(--gd-teal) 26%, var(--gd-border));
  border-radius:12px;
  background:color-mix(in srgb, var(--gd-teal) 7%, white);
}
.trip-location-selected > div { min-width:0; display:grid; gap:2px; }
.trip-location-selected span { color:var(--muted); font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
.trip-location-selected strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--gd-deep-ocean); }
.trip-location-selected .ghost-button { flex:0 0 auto; min-height:38px; padding-inline:11px; }
.trip-location-editor[hidden], .trip-location-selected[hidden] { display:none; }
.trip-location-suggestions {
  display:grid;
  gap:4px;
  margin-top:8px;
  border:1px solid color-mix(in srgb, var(--gd-border) 82%, var(--gd-accent));
  border-radius:12px;
  background:var(--gd-surface);
  overflow:hidden;
}
.trip-location-suggestions[hidden] { display:none; }
.trip-location-suggestion {
  display:grid;
  gap:2px;
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:0;
  text-align:left;
  color:inherit;
  background:transparent;
}
.trip-location-suggestion:hover, .trip-location-suggestion:focus-visible { background:color-mix(in srgb, var(--gd-accent) 10%, transparent); }
.trip-location-suggestion small { color:var(--gd-muted); }
.trip-route-point.is-selected-location { gap:0; }
.trip-route-summary-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin: -2px 0 2px 42px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--gd-teal) 28%, white);
  border-radius: 10px;
  background: color-mix(in srgb, var(--gd-teal) 8%, white);
  color: var(--gd-deep-ocean);
}
.trip-route-summary-preview small { flex-basis: 100%; color: var(--muted); }
.trip-active-vehicle-status { margin:-4px 0 2px 42px; color:var(--muted); font-size:.88rem; }
.trip-route-summary-spinner { width: 14px; height: 14px; border: 2px solid rgba(15,139,141,.25); border-top-color: var(--gd-teal); border-radius: 50%; animation: trip-route-spin .7s linear infinite; }
@keyframes trip-route-spin { to { transform: rotate(360deg); } }
.trip-add-waypoint { justify-self: start; margin-left:42px; min-height: 44px; font-weight: 900; }
.trip-route-waypoints { display:grid; gap:14px; }
.trip-route-waypoint { padding-bottom:12px; border-bottom:1px solid color-mix(in srgb,var(--line) 82%,transparent); }
.trip-waypoint-controls { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
.trip-waypoint-controls .ghost-button { min-height:38px; padding-inline:10px; }
.trip-waypoint-controls [disabled] { opacity:.45; }
.trip-corridor-control legend small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; font-weight: 600; }

.trip-location-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trip-location-actions .ghost-button,
.trip-location-actions .secondary-button {
  min-height: 40px;
  padding: 8px 11px;
  font-size: .92rem;
}

.trip-location-status {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.trip-map-selector[hidden] {
  display: none;
}

.trip-map-selector {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #E7F4F2;
}

.trip-map-selector-map {
  position: absolute;
  inset: 0;
}

.trip-map-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3002;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.trip-map-selector-error {
  position: absolute;
  top: max(82px, calc(env(safe-area-inset-top) + 82px));
  left: 50%;
  z-index: 3003;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 8px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(180, 65, 65, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: #7a2d2d;
  box-shadow: 0 8px 22px rgba(16, 42, 67, .14);
  font-size: .86rem;
  pointer-events: none;
}

.trip-map-crosshair::before,
.trip-map-crosshair::after {
  content: "";
  position: absolute;
  background: var(--gd-sunset-coral);
  box-shadow: 0 1px 6px rgba(16,42,67,.3);
}

.trip-map-crosshair::before {
  left: 50%;
  top: 0;
  width: 3px;
  height: 34px;
  transform: translateX(-50%);
}

.trip-map-crosshair::after {
  left: 0;
  top: 50%;
  width: 34px;
  height: 3px;
  transform: translateY(-50%);
}

.trip-map-selector-topbar,
.trip-map-selector-confirm {
  position: absolute;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  z-index: 3003;
  display: grid;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16,42,67,.16);
}

.trip-map-selector-topbar {
  top: max(10px, env(safe-area-inset-top));
  grid-template-columns: auto 1fr auto;
  padding: 8px;
}

.trip-map-selector-topbar strong,
.trip-map-selector-confirm strong {
  display: block;
  color: var(--gd-deep-ocean);
  line-height: 1.15;
}

.trip-map-selector-topbar span,
.trip-map-selector-confirm span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.2;
}

.trip-map-selector-confirm {
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
  grid-template-columns: 1fr auto;
  padding: 10px;
}

.trip-map-selector-confirm .primary-button {
  min-height: 46px;
  max-width: 46vw;
}

.trip-map-selector .leaflet-control-zoom {
  margin-top: 82px;
}

.trip-map-selector .leaflet-control-attribution {
  margin-bottom: 126px;
}

.trip-map-selector-open body {
  overflow: hidden;
}

.trip-segment,
.trip-interest-grid {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trip-segment legend,
.trip-interest-grid legend,
.trip-preset-grid legend {
  width: 100%;
  color: var(--gd-deep-ocean);
  font-weight: 900;
  margin-bottom: 4px;
}

.trip-segment label,
.trip-interest-grid label,
.trip-preset-grid label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.trip-segment input,
.trip-interest-grid input,
.trip-preset-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.trip-segment span,
.trip-interest-grid span,
.trip-preset-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--gd-border);
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 800;
}

.trip-segment input:checked + span,
.trip-interest-grid input:checked + span,
.trip-preset-grid input:checked + span {
  background: var(--gd-teal);
  border-color: var(--gd-teal);
  color: white;
}

.trip-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 5px;
  border: 0;
  scrollbar-width: none;
}

.trip-preset-grid::-webkit-scrollbar { display: none; }
.trip-preset-grid legend,
.trip-preset-grid > p { flex: 0 0 100%; }
.trip-preset-grid > p,
.trip-option-help { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.trip-preset-grid label { flex: 1 1 calc(50% - 4px); }
.trip-preset-grid label span { width: 100%; justify-content: center; }
.trip-preset-grid span { border-radius: 8px; white-space: nowrap; }
.trip-preset-grid .trip-style-choice {
  flex: 1 1 calc(50% - 4px);
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: white;
  color: var(--gd-deep-ocean);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.trip-preset-grid .trip-style-choice[aria-pressed="true"] {
  border-color: var(--gd-teal);
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-cornish-sea));
  box-shadow: 0 7px 18px rgba(15,139,141,.2);
  color: white;
}
.trip-preset-grid .trip-style-choice:focus-visible { outline: 3px solid color-mix(in srgb, var(--gd-accent) 65%, white); outline-offset: 2px; }

.trip-preset-grid input:checked + span {
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-cornish-sea));
  box-shadow: 0 7px 18px rgba(15,139,141,.2);
}

.trip-fine-tune { border-top:1px solid var(--gd-border); padding-top:10px; }
.trip-fine-tune summary { display:flex; justify-content:space-between; gap:12px; min-height:46px; align-items:center; color:var(--gd-deep-ocean); font-weight:900; cursor:pointer; }
.trip-fine-tune summary span { color:var(--muted); font-size:.84rem; }
.trip-fine-tune-body { display:grid; gap:16px; padding:12px 0 2px; }

.trip-date-grid,
.trip-route-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trip-options {
  overflow: hidden;
}

.trip-options summary {
  min-height: 48px;
  padding: 13px 14px;
  font-weight: 900;
  cursor: pointer;
  color: var(--gd-deep-ocean);
}

.trip-options .trip-planner-panel {
  border: 0;
  border-top: 1px solid var(--gd-border);
  border-radius: 0;
  box-shadow: none;
}

.trip-route-summary article {
  padding: 14px;
}

.trip-stage-two {
  padding-bottom: 92px;
}

.trip-workspace-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.trip-workspace-heading h2 {
  margin: 2px 0 4px;
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.trip-workspace-heading p {
  margin: 0;
  color: var(--muted);
}

.trip-route-kicker {
  color: var(--gd-deep-ocean) !important;
  font-weight: 900;
}

.trip-settings-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}

.trip-settings-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: var(--gd-deep-ocean);
  font-weight: 900;
}
.trip-settings-summary small { flex:1 1 100%; text-align:right; color:var(--muted); font-weight:800; }

.trip-route-summary span,
.route-node.endpoint {
  color: var(--gd-deep-ocean);
  font-weight: 900;
}

.trip-route-summary strong {
  display: block;
  margin: 4px 0;
  font-size: 1.1rem;
}

.geodrop-route-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.trip-route-map {
  min-height: 260px;
  height: min(52vh, 420px);
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  overflow: hidden;
  background: #E7F4F2;
}

.trip-interest-focus,
.trip-itinerary-panel {
  display: grid;
  gap: 10px;
}

.trip-interest-compact {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.trip-interest-compact::-webkit-scrollbar {
  display: none;
}

.trip-interest-compact button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 900;
  padding: 8px 12px;
}

.trip-interest-compact button.is-active {
  background: var(--gd-teal);
  border-color: var(--gd-teal);
  color: white;
}

.route-node {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.route-node.stop {
  border-left: 5px solid var(--gd-sunset-coral);
}

[data-trip-results] { scroll-margin-top: 90px; }
.trip-itinerary-number { flex:0 0 30px; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--gd-teal); color:white; font-weight:800; }
.trip-itinerary-leg { margin:0 0 0 26px; padding:8px 12px; border-left:2px solid var(--gd-teal); color:var(--muted); font-size:.85rem; }
[data-itinerary] .endpoint, [data-itinerary] .waypoint { justify-content:flex-start; }
[data-itinerary] strong { overflow-wrap:anywhere; }
@media (max-width:430px) { [data-itinerary] .route-node-thumb { display:none; } [data-itinerary] .route-node-actions { flex-direction:column; } }

.route-node-destination { flex:1; min-width:0; display:grid; gap:2px; min-height:48px; padding:4px; text-align:left; border:0; background:transparent; color:var(--gd-deep-ocean); cursor:pointer; }
.route-node-destination strong { overflow-wrap:anywhere; font-size:1rem; }
.route-node-destination span { color:var(--muted); font-size:.9rem; }
.route-node-destination:focus-visible { outline:3px solid rgba(15,139,141,.35); border-radius:8px; }
.route-node-thumb { width:56px; height:56px; flex:0 0 56px; border-radius:10px; object-fit:cover; background:#e7f4f2; }

.trip-category-status { min-height:1.3em; margin:0; color:var(--muted); font-size:.9rem; }
.trip-vehicle-route-status { display:grid; gap:4px; margin-top:10px; padding:12px 14px; border:1px solid #78cbb7; border-radius:14px; background:#eaf9f4; color:#123f37; }
.trip-vehicle-route-status strong { font-size:1.08rem; }
.trip-vehicle-route-status small,.trip-vehicle-route-status em { line-height:1.4; }
.trip-vehicle-route-status em { font-style:normal; font-weight:750; }
.trip-road-compliance { display:grid; gap:10px; margin:14px 0; padding:14px; border:1px solid #f1c879; border-radius:16px; background:#fff9eb; }
.trip-road-compliance .section-heading h2 { margin:0; font-size:1.2rem; }
.trip-road-compliance-card { display:grid; gap:7px; padding:13px; border:1px solid #ead7aa; border-radius:13px; background:#fff; }
.trip-road-compliance-card h3,.trip-road-compliance-card p { margin:0; }
.trip-road-compliance-type { display:inline-block; margin-bottom:3px; color:#72521a; font-size:.76rem; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.trip-road-compliance-missing { color:#734522; }
.trip-road-compliance-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.trip-road-compliance-actions a { flex:1 1 150px; text-align:center; }
.trip-place-preview,
.trip-category-dialog { width:min(560px, calc(100vw - 16px)); max-height:min(82dvh, 760px); margin:auto auto 0; padding:16px; border:1px solid var(--gd-border); border-radius:22px 22px 0 0; background:#f7fbfa; color:var(--ink); box-shadow:0 -20px 60px rgba(12,35,57,.25); }
.trip-place-preview::backdrop,
.trip-category-dialog::backdrop { background:rgba(12,35,57,.5); }
.trip-sheet-close { position:absolute; right:12px; top:12px; z-index:2; width:44px; height:44px; border:1px solid var(--gd-border); border-radius:50%; background:white; color:var(--gd-deep-ocean); font-size:1.7rem; }
.trip-preview-image { width:100%; height:clamp(180px,32dvh,300px); object-fit:cover; border-radius:14px; background:linear-gradient(135deg,#dff6f1,#f7edff); }
.trip-preview-visual { position:relative; width:100%; aspect-ratio:16 / 9; overflow:hidden; border-radius:14px; }
.trip-preview-visual .trip-preview-image { width:100%; height:100%; border-radius:0; }
.trip-preview-fallback { display:grid; place-items:center; font-size:3rem; color:var(--gd-teal); }
.trip-place-preview h2 { margin:2px 46px 6px 0; }
.trip-preview-rating small { color:var(--muted); }
.trip-preview-why { padding:12px; border-radius:12px; background:white; }
.trip-preview-facts { display:flex; flex-wrap:wrap; gap:7px; }
.trip-preview-facts span { padding:7px 9px; border-radius:999px; background:#e7f4f2; color:var(--gd-deep-ocean); font-weight:800; font-size:.88rem; }
.trip-preview-actions { position:sticky; bottom:-16px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px -16px -16px; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:rgba(247,251,250,.98); border-top:1px solid var(--gd-border); }
.trip-preview-actions > * { min-height:46px; text-align:center; }
.trip-sheet-heading { display:flex; justify-content:space-between; gap:10px; align-items:start; }
.trip-sheet-heading span { color:var(--muted); font-size:.78rem; font-weight:900; }
.trip-sheet-heading h2 { margin:2px 0 12px; }
.trip-category-candidate { display:grid; grid-template-columns:76px minmax(0,1fr); gap:10px; padding:10px 0; border-top:1px solid var(--gd-border); }
.trip-category-candidate img,.trip-category-fallback { width:76px; height:84px; object-fit:cover; border-radius:12px; background:linear-gradient(135deg,#dff6f1,#f7edff); }
.trip-category-fallback { display:grid; place-items:center; color:var(--gd-teal); font-size:1.8rem; }
.trip-category-candidate h3,.trip-category-candidate p { margin:0 0 3px; }
.trip-category-candidate p { color:var(--muted); font-size:.88rem; }
.trip-category-actions { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.trip-category-actions button { min-height:44px; }
.trip-category-empty { padding:18px 4px; }

.route-node-actions {
  display: inline-flex;
  gap: 6px;
}

.route-node-actions button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--gd-border);
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 900;
}

.recommendation-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
}
.recommendation-card-image { width:92px; height:92px; border-radius:14px; object-fit:cover; background:linear-gradient(135deg,#dff6f1,#f7edff); }

.recommendation-card--hero {
  display:block;
  padding:0;
  overflow:hidden;
  border-radius:20px;
}
.recommendation-card-visual { position:relative; width:100%; aspect-ratio:16 / 9; overflow:hidden; background:linear-gradient(145deg,#0f7778,#70d0c0 58%,#ffd15c); }
.recommendation-card-visual .recommendation-card-image { display:block; width:100%; height:100%; border-radius:0; object-fit:cover; }
.destination-fallback-mark { position:absolute; inset:0; display:grid; place-items:center; font-size:clamp(3.2rem,16vw,5.5rem); filter:drop-shadow(0 8px 18px rgba(12,35,57,.2)); }
.recommendation-card-visual:has(img:not([hidden])) .destination-fallback-mark { display:none; }
.destination-image-credit { position:absolute; right:8px; bottom:8px; max-width:calc(100% - 16px); padding:4px 7px; border-radius:7px; background:rgba(12,35,57,.76); color:#fff; font-size:.66rem; line-height:1.2; }
.recommendation-card-body { display:grid; gap:5px; padding:16px 16px 8px; min-width:0; }
.recommendation-card--hero h3 { margin:0; color:var(--gd-deep-ocean); font-size:clamp(1.2rem,5.2vw,1.55rem); line-height:1.16; overflow-wrap:normal; word-break:normal; hyphens:none; }
.recommendation-card--hero .recommendation-card-meta { margin:0; color:#315f68; font-weight:800; font-size:.94rem; }
.recommendation-card--hero .recommendation-card-reason { margin:5px 0 0; color:var(--ink); font-size:.96rem; line-height:1.45; }
.recommendation-card-rating { font-weight:900; color:var(--gd-deep-ocean)!important; }
.recommendation-card-rating span { color:var(--muted); font-weight:600; }
.recommendation-card--hero .recommendation-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; min-width:0; padding:8px 16px 16px; }
.recommendation-card--hero .recommendation-actions [data-skip-stop] { grid-column:1 / -1; }
.destination-fallback--landmark-history { background:linear-gradient(145deg,#392f59,#a76f5a 58%,#f4c56a); }
.destination-fallback--attraction { background:linear-gradient(145deg,#59276b,#e06b8c 55%,#ffd15c); }
.destination-fallback--scenic-view { background:linear-gradient(145deg,#194e62,#4cae9b 58%,#ffb85c); }
.destination-fallback--beach-coast { background:linear-gradient(155deg,#116c86,#4ac4d0 55%,#f4d48b); }
.destination-fallback--nature-wildlife { background:linear-gradient(145deg,#173f37,#4b9464 58%,#b8d883); }
.destination-fallback--walk-trail { background:linear-gradient(145deg,#355135,#8d9760 58%,#d9bd77); }
.destination-fallback--food-drink { background:linear-gradient(145deg,#5b2935,#b85c57 58%,#edbb73); }
.destination-fallback--swimming-waterside { background:linear-gradient(145deg,#124a78,#2aa4b7 58%,#8edbcf); }
.destination-fallback--camping-overnight { background:linear-gradient(145deg,#142f3c,#385f55 58%,#d79b55); }

.recommendation-card[hidden],
.trip-interest-compact[hidden],
.trip-itinerary-panel[hidden],
.trip-settings-dialog:not([open]) {
  display: none;
}

.recommendation-card.is-selected {
  border-color: var(--gd-teal);
  box-shadow: 0 0 0 3px rgba(15,139,141,.18), 0 14px 34px rgba(16,42,67,.08);
}

.recommendation-card h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.recommendation-card p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.25;
}

.stop-icon {
  float: left;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gd-sunset-coral) 18%, white);
}

.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-content: start;
  min-width: 160px;
}

.recommendation-actions .secondary-button,
.recommendation-actions .ghost-button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: .9rem;
}

.recommendation-actions [hidden] {
  display: none !important;
}

.save-trip-panel {
  margin-top: 4px;
}

.trip-floating-status {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: rgba(12,35,57,.96);
  color: white;
  box-shadow: 0 14px 34px rgba(16,42,67,.22);
}

.trip-floating-status[hidden] {
  display: none;
}

.trip-floating-status span {
  font-weight: 900;
}

.trip-floating-status button {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 900;
  padding: 8px 12px;
}

.trip-settings-dialog {
  width: min(620px, calc(100vw - 20px));
  max-height: min(760px, calc(100vh - 32px));
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  padding: 12px;
  background: #F7FBFA;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(16,42,67,.28);
}

.trip-settings-dialog::backdrop {
  background: rgba(12,35,57,.42);
}

.trip-dialog-form {
  display: grid;
  gap: 10px;
}

@media (max-width: 560px) {
  .trip-planner-shell > .trip-planner-form {
    padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom) + 92px);
  }

  .trip-planner-shell > .trip-planner-form > .primary-button[type="submit"] {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 8px);
    width: auto;
    z-index: 940;
    box-shadow: 0 14px 32px rgba(7,63,64,.28);
  }

  .trip-planner-shell > .trip-planner-form.is-planning { padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom) + 22px); }
  .trip-planner-shell > .trip-planner-form.is-planning > .trip-plan-cta { opacity:0; visibility:hidden; pointer-events:none; }
  .trip-planning-experience { width:100%; min-height:clamp(350px,62dvh,500px); margin-bottom:calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom) + 8px); padding:24px 14px; border-radius:24px; scroll-margin-bottom:calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom) + 16px); }
  .trip-planning-route { width:min(100%,360px); }
  .trip-results { padding-bottom:calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom) + 28px); }

  .trip-preset-grid label { flex-basis:calc(50% - 4px); min-width:0; }
  .trip-preset-grid label span { white-space:normal; min-height:52px; padding:8px; text-align:center; line-height:1.15; }
  .trip-preset-grid .trip-style-choice { flex-basis:calc(50% - 4px); min-width:0; min-height:52px; padding:8px; text-align:center; line-height:1.15; white-space:normal; }
  .trip-interest-compact { max-width:100%; }
  .trip-place-preview,.trip-category-dialog { max-width:100%; }

  .trip-date-grid,
  .trip-route-summary {
    grid-template-columns: 1fr;
  }

  .trip-workspace-heading {
    grid-template-columns: 1fr;
  }

  .recommendation-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .recommendation-card--hero { display:block; width:100%; padding:0; }
  .recommendation-card-image { width:76px; height:82px; }
  .recommendation-card--hero .recommendation-card-image { width:100%; height:100%; }
  .recommendation-card > .recommendation-actions { grid-column:1 / -1; }

  .trip-settings-summary {
    justify-content: stretch;
    max-width: none;
  }

  .trip-settings-summary span {
    flex: 1 1 100%;
  }
  .trip-settings-summary small { text-align:left; }

  .trip-settings-summary .ghost-button,
  .trip-settings-summary .secondary-button {
    flex: 1 1 calc(50% - 4px);
  }

  .trip-route-map {
    min-height: 270px;
    height: 38vh;
  }

  .recommendation-actions {
    justify-content: stretch;
    min-width: 118px;
  }

  .recommendation-actions .secondary-button,
  .recommendation-actions .ghost-button {
    flex: 1 1 calc(50% - 3px);
    padding: 7px 8px;
  }

  .trip-planner-panel,
  .save-trip-panel,
  .recommendation-card {
    padding: 12px;
  }

  .trip-location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trip-location-actions [data-use-current-location] {
    grid-column: 1 / -1;
  }
  .trip-route-point { padding-left: 38px; }
  .trip-route-point::before { left:13px; }
  .trip-route-number { width: 28px; height: 28px; }
  .trip-route-summary-preview,
  .trip-active-vehicle-status,
  .trip-add-waypoint { margin-left:38px; }

  .trip-map-selector-topbar {
    grid-template-columns: auto 1fr auto;
    top: max(8px, env(safe-area-inset-top));
  }

  .trip-map-selector-topbar .ghost-button {
    min-width: 66px;
    padding: 8px 9px;
  }

  .trip-map-selector-confirm {
    grid-template-columns: 1fr;
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 14px));
  }

  .trip-map-selector-confirm .primary-button {
    width: 100%;
    max-width: none;
  }

  .trip-map-selector .leaflet-control-zoom {
    margin-top: 78px;
  }

  .trip-map-selector .leaflet-control-attribution {
    margin-bottom: 168px;
  }
}

.photo-rotate-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-rotate-controls button{min-height:44px}.hidden-media-action{display:none!important}
.surprise-button,
.surprise-chip,
.play-track,
.queue-button.active,
.mini-player button.active {
  background: linear-gradient(135deg, var(--gd-sunset-coral), #F59B72);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(242,123,104,.3), 0 0 0 6px rgba(247,200,106,.16);
}

.spot-card,
.trip-card,
.info-panel,
.form-section,
.premium-spot-card,
.event-card,
.reactive-card,
.adventure-metrics a,
.today-grid article,
.live-progress-grid article,
.adventure-plan article,
.memory-strip a,
.premium-fact-grid article,
.weather-grid article,
.fine-print-facts dl,
.nearby-row article,
.live-card,
.timeline article,
.charter-list,
.passport-grid div,
.admin-panel,
.admin-card,
.media-card,
.identity-panel,
.home-search-panel,
.live-preview,
.surprise-panel,
.community-section,
.business-section,
.charter-strip,
.practical-spot-card,
.choice-card,
.surprise-result-card,
.animated-empty {
  background: var(--gd-white);
  border-color: var(--gd-border);
  border-radius: var(--gd-radius-lg);
  box-shadow: var(--gd-card-shadow);
}

.premium-spot-card,
.practical-spot-card {
  overflow: hidden;
}

.premium-card-media,
.detail-hero img,
.premium-gallery button,
.live-card-cover,
.practical-spot-card img,
.event-countdown {
  border-radius: var(--gd-radius-md);
}

.hero-photo,
.home-adventure-hero,
.surprise-hero,
.music-hero,
.journal-hero,
.event-hero,
.cms-hero,
.place-hero {
  background-color: var(--gd-deep-ocean);
}

.hero-photo,
.music-hero,
.home-adventure-hero,
.surprise-hero,
.journal-hero,
.event-hero {
  background-blend-mode: normal;
}

.cms-hero-overlay,
.place-hero-gradient,
.home-adventure-hero::after {
  background:
    linear-gradient(180deg, rgba(16,42,67,.08), rgba(16,42,67,.55) 48%, rgba(16,42,67,.86)),
    linear-gradient(105deg, rgba(13,138,160,.2), transparent 42%, rgba(242,123,104,.22));
}

.spot-showcase-hero {
  position: relative;
  width: min(100%, 1040px);
  aspect-ratio: 16 / 10;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gd-deep-ocean);
  box-shadow: 0 22px 54px rgba(34,52,47,.14);
}

.spot-showcase-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-kicker,
.showcase-promo {
  max-width: 720px;
}

.showcase-kicker {
  margin: 0;
  font-weight: 900;
}

.showcase-promo {
  margin: 0;
  font-size: 1.05rem;
}

.premium-showcase-admin .showcase-admin-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, .6fr);
  gap: 12px;
  align-items: start;
}

.premium-showcase-admin .showcase-admin-preview video,
.premium-showcase-admin .showcase-admin-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #102a43;
}

@media (max-width: 760px) {
  .premium-showcase-admin .showcase-admin-preview {
    grid-template-columns: 1fr;
  }
}

.home-adventure-hero,
.surprise-hero,
.music-hero,
.journal-hero,
.event-hero,
.cms-hero,
.place-hero {
  color: white;
  box-shadow: var(--gd-glass-shadow);
}

.content-band.sand,
.charter-strip,
.notice,
.live-status,
.live-safety-strip strong,
.guide-action,
.action-sheet-card {
  background: color-mix(in srgb, var(--gd-cornish-sea) 7%, white);
  border-color: color-mix(in srgb, var(--gd-cornish-sea) 32%, white);
  color: var(--gd-deep-ocean);
}

.content-band.aqua,
.community-section,
.live-preview-card,
.adventure-preview,
.check-grid label,
.tag-cloud label,
.chip-fieldset label,
.photo-edit-card,
.checkpoint-list li,
.guide-location-panel,
.guide-photo-chip,
.guide-message.user,
.empty-state,
.skeleton-card,
.loading-skeleton {
  background: color-mix(in srgb, var(--gd-sea-glass-soft) 58%, white);
  border-color: var(--gd-border);
}

.is-success,
.location-status-success {
  color: #287F6F !important;
}

.is-success {
  background: linear-gradient(135deg, var(--gd-sea-glass), var(--gd-sea-glass-soft)) !important;
  box-shadow: 0 0 0 4px rgba(105,183,165,.24), 0 12px 26px rgba(105,183,165,.2) !important;
}

.category-pill,
.filter-chip.is-selected,
.filter-chip[aria-pressed="true"],
.filter-chip-card.is-selected,
.filter-chip-card[aria-pressed="true"],
.bottom-nav a.active,
.bottom-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--gd-sea-glass-soft), #F8FCFD);
  color: var(--gd-deep-ocean);
  border-color: color-mix(in srgb, var(--gd-sea-glass) 45%, white);
}

.weather-showcase,
.surprise-wizard-shell,
.live-hero,
.live-banner,
.live-showpiece {
  background:
    linear-gradient(135deg, rgba(234,247,251,.96), rgba(255,255,255,.94) 58%, rgba(247,200,106,.18)),
    var(--gd-mist-white);
  border-color: var(--gd-border);
}

.premium-card-media,
.spot-photo,
.live-card-cover,
.media-preview,
.premium-gallery button,
.detail-map-shell,
.premium-map-shell,
.discovery-map-pane,
.guide-map-picker,
.fullscreen-map {
  background: linear-gradient(135deg, #BEE4ED, #EAF7FB);
}

.leaflet-container,
.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-tile {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.leaflet-control-zoom a,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(255,255,255,.94) !important;
  color: var(--gd-deep-ocean) !important;
  border-color: var(--gd-border) !important;
  box-shadow: 0 10px 24px rgba(16,42,67,.13) !important;
}

.leaflet-control-attribution {
  max-width: calc(100% - 12px);
  padding: 1px 3px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: rgba(255,255,255,.68) !important;
  color: rgba(23,50,77,.7) !important;
  font-size: 8px !important;
  line-height: 1.05 !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.leaflet-control-attribution a {
  color: rgba(23,50,77,.82) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 2px 1px;
}

.geo-marker,
.geo-cluster {
  box-shadow: 0 12px 28px rgba(16,42,67,.24);
}

.geo-marker span,
.geo-cluster span {
  background: var(--gd-cornish-sea);
}

.geo-marker-beach span { background: var(--gd-sea-light); }
.geo-marker-walk span,
.geo-marker-camp span,
.geo-marker-signal span { background: var(--gd-sea-glass); }
.geo-marker-food span,
.geo-marker-live span,
.geo-marker.selected span { background: var(--gd-sunset-coral); }
.geo-cluster span { background: var(--gd-golden-horizon); color: var(--gd-deep-ocean); }

.geo-marker {
  display: grid !important;
  place-items: start center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.geo-marker span {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid white;
  border-radius: 50% 50% 50% 6px;
  background: var(--gd-cornish-sea);
  color: white;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(16,42,67,.2);
  transform: rotate(-45deg);
}

.geo-marker span::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.geo-marker b {
  position: relative;
  z-index: 1;
  display: block;
  color: white;
  font: inherit;
  transform: rotate(45deg);
}

.geo-marker-camper b,
.geo-marker-campsite b {
  font-size: .72rem;
}

.geo-marker-beach span { background: #0D8AA0; }
.geo-marker-campsite span { background: #2E7D5B; }
.geo-marker-camper span { background: #176B5D; }
.geo-marker-viewpoint span { background: #4A8FE0; }
.geo-marker-walk span { background: #4E7D41; }
.geo-marker-overnight span { background: #4C5D88; }
.geo-marker-parking span { background: #4FB6C4; }
.geo-marker-nature span { background: #69B7A5; }
.geo-marker-service span { background: #F27B68; }
.geo-marker-food span { background: #C16C2D; }
.geo-marker-swimming span { background: #00A6B8; }
.geo-marker-sunset span { background: #E26D5A; }
.geo-marker-watch span {
  background: #D97706;
  box-shadow: 0 0 0 6px rgba(217,119,6,.18), 0 10px 22px rgba(16,42,67,.24);
}
.geo-marker-watch.selected span { background: #B45309; }
.geo-watch-cluster span {
  background: #D97706;
  color: white;
  box-shadow: 0 0 0 6px rgba(217,119,6,.18), 0 10px 22px rgba(16,42,67,.24);
}
.map-mode-switcher,
.map-utility-controls,
.watch-subtype-switcher {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}
.map-mode-switcher {
  max-width: min(100%, 390px);
  overflow-x: auto;
  pointer-events: auto;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 10px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 3px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(16,42,67,.12);
}
.map-mode-switcher::-webkit-scrollbar {
  display: none;
}
.discovery-map-controls .map-mode-button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-color: transparent !important;
  box-shadow: none;
}
.map-mode-places.is-active {
  background: #176B5D !important;
  color: white !important;
}
.map-mode-events { color: #9D174D !important; }
.map-mode-events.is-active {
  background: #C85B7D !important;
  color: white !important;
}
.map-mode-watch { color: #92400E !important; }
.map-mode-watch.is-active {
  background: #D97706 !important;
  color: white !important;
}
.watch-subtype-switcher {
  max-width: min(100%, 360px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.watch-subtype-switcher::-webkit-scrollbar {
  display: none;
}
.watch-subtype-button {
  border: 1px solid rgba(146,64,14,.22) !important;
  background: rgba(255,251,235,.94) !important;
  color: #92400E !important;
  box-shadow: 0 8px 18px rgba(16,42,67,.1) !important;
}
.watch-subtype-button.is-active {
  background: #F59E0B !important;
  border-color: #D97706 !important;
  color: #3B2400 !important;
}
.watch-spot-pill {
  background: #D97706 !important;
  color: white !important;
}
.geo-event-marker,
.geo-event-cluster,
.geo-event-overview-bubble {
  --event-timing-color: #9CA3AF;
  --event-timing-shadow: rgba(107,114,128,.2);
  display: grid !important;
  place-items: center;
  background: transparent !important;
  border: 0 !important;
}
.geo-event-overview-bubble {
  display: grid !important;
  place-items: center;
  border: 0 !important;
  background: transparent !important;
}

.leaflet-event-pane {
  z-index: 690;
}

.leaflet-place-pane {
  z-index: 610;
}

.geo-event-overview-bubble {
  z-index: 690 !important;
}

.geo-event-overview-bubble span {
  width: 58px;
  height: 58px;
  display: grid;
  grid-template-rows: 14px 20px 12px;
  place-items: center;
  gap: 0;
  padding: 4px;
  border: 3px solid white;
  border-radius: 999px;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--event-timing-color) 72%, white) 0, var(--event-timing-color) 48%, color-mix(in srgb, var(--event-timing-color) 74%, black) 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(7,20,46,.28), 0 0 0 7px var(--event-timing-shadow);
}

.geo-event-overview-bubble b {
  font-size: .86rem;
  font-weight: 950;
  line-height: 1;
}

.geo-event-overview-bubble small {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.geo-event-overview-bubble em {
  max-width: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .54rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.geo-event-marker span {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid white;
  color: white;
  background: var(--event-timing-color);
  box-shadow: 0 0 0 7px var(--event-timing-shadow), 0 10px 22px rgba(16,42,67,.24);
}
.geo-event-marker span::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--event-timing-color);
  border-radius: inherit;
  opacity: 0;
}
.geo-event-marker span small { position:absolute; right:-7px; top:-8px; min-width:18px; height:18px; padding:0 4px; display:grid; place-items:center; border-radius:999px; background:#102A43; color:#fff; border:2px solid #fff; font-size:.65rem; font-weight:950; }
.geo-event-marker.event-urgency-live span::after { animation: eventBeaconPulse 1.35s ease-out infinite; opacity:.9; border-width:2px; }
.geo-event-marker.event-urgency-soon span::after { animation: eventBeaconPulse 1.75s ease-out infinite; opacity:.75; }
.geo-event-marker.event-urgency-today span::after {
  animation: eventBeaconPulse 2.2s ease-out infinite;
}
.geo-event-marker.selected span {
  outline: 3px solid #102A43;
  outline-offset: 2px;
  box-shadow: 0 0 0 8px rgba(16,42,67,.16), 0 12px 26px rgba(16,42,67,.3);
}
.event-urgency-today { --event-timing-color: #F72585; --event-timing-shadow: rgba(247,37,133,.24); }
.event-urgency-live { --event-timing-color:#E60073; --event-timing-shadow:rgba(230,0,115,.38); }
.event-urgency-soon { --event-timing-color:#F72585; --event-timing-shadow:rgba(247,37,133,.32); }
.event-urgency-tomorrow { --event-timing-color: #F97316; --event-timing-shadow: rgba(249,115,22,.24); }
.event-urgency-week { --event-timing-color: #00BFA6; --event-timing-shadow: rgba(0,191,166,.24); }
.event-urgency-month { --event-timing-color: #7C3AED; --event-timing-shadow: rgba(124,58,237,.24); }
.event-urgency-later { --event-timing-color: #2563EB; --event-timing-shadow: rgba(37,99,235,.24); }
.geo-event-cluster span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  border: 2px solid white;
  background: var(--event-timing-color);
  color: white;
  font-weight: 950;
  box-shadow: 0 0 0 7px var(--event-timing-shadow), 0 10px 24px rgba(16,42,67,.24);
}
@keyframes eventBeaconPulse {
  0% { transform: scale(.72); opacity: .72; }
  100% { transform: scale(1.75); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .geo-event-marker span::after { animation: none; opacity: 0; }
  .featured-activity-video { display:none; }
}
.event-period-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
}
.event-period-tabs a {
  flex: 0 0 auto;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 850;
  text-decoration: none;
}
.event-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.events-browse-shell {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 10px calc(var(--gd-bottom-nav-space, 104px) + 18px);
}
.events-browse-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 2px;
}
.events-browse-header h1 { margin: 0; color: var(--gd-navy); font-size: clamp(2rem, 8vw, 3.25rem); line-height: .95; }
.events-browse-header p { margin: 5px 0 0; color: var(--gd-muted); font-weight: 800; }
.events-location-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: rgba(246,250,251,.96);
  backdrop-filter: blur(14px);
}
.events-location-bar input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  padding: 8px 10px;
  background: white;
  color: var(--gd-navy);
}
.events-filter-stack {
  display: grid;
  gap: 5px;
  max-width: 100%;
}
.events-period-row {
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.events-period-row-primary {
  grid-template-columns: minmax(100px, 1.18fr) minmax(64px, .78fr) minmax(82px, .94fr);
}
.events-period-row-secondary {
  grid-template-columns: repeat(3, minmax(0, .74fr)) minmax(84px, 1.14fr);
  gap: 5px;
}
.events-period-row .filter-chip {
  display: inline-grid;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  overflow: hidden;
  padding: 0 9px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(23,50,77,.06);
  text-align: center;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  transform: none;
}
.events-period-row .filter-chip::before {
  display: none;
  content: none;
}
.events-period-row .filter-chip.is-selected {
  box-shadow: 0 6px 14px rgba(17,184,178,.14);
  transform: none;
}
.events-period-row-secondary .filter-chip {
  min-height: 40px;
  height: 40px;
  padding-inline: 6px;
  border-radius: 7px;
  font-size: .84rem;
}
.events-filter-action {
  display: inline-grid;
  grid-auto-flow: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  height: 40px;
  padding-inline: 7px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(16,42,67,.1);
}
.events-filter-action span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 6px;
  background: var(--gd-navy);
  color: white;
  font-size: .72rem;
  font-weight: 950;
}
.events-filter-action.has-active-filters {
  border-color: rgba(17,184,178,.55);
  background: #E7FFFC;
  color: var(--gd-navy);
}
.events-result-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--gd-navy);
  margin-top: -4px;
}
.events-result-heading div { display: grid; gap: 2px; min-width: 0; }
.events-result-heading small { color: var(--gd-muted); font-size: .82rem; font-weight: 800; }
.events-result-heading span { color: var(--gd-muted); font-weight: 800; }
.events-card-list { display: grid; gap: 8px; margin-top: -6px; }
.public-event-card { grid-template-columns: 112px minmax(0, 1fr); border-radius: 8px; }
.public-event-card h2 a { color: inherit; text-decoration: none; }
.public-event-card .event-card-media { display: block; min-height: 118px; }
.public-event-card .event-card-media img { min-height: 118px; }
.public-event-card .event-card-body { gap: 4px; padding: 9px; }
.public-event-card .card-actions { margin-top: 2px; }
.events-show-more { justify-self: stretch; justify-content: center; text-align: center; }
.events-custom-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.event-location-map {
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  overflow: hidden;
  margin: 10px 0;
}
.event-overview-link { display: inline-flex; min-height: 34px; padding: 7px 10px; font-size: .84rem; }
@media (max-width: 640px) {
  .events-browse-header { align-items: start; }
  .events-browse-header .secondary-button { min-height: 36px; padding: 8px 10px; font-size: .82rem; }
  .events-location-bar { top: 58px; }
  .public-event-card { grid-template-columns: 104px minmax(0, 1fr); }
  .public-event-card .event-card-media, .public-event-card .event-card-media img { min-height: 120px; }
  .events-custom-date-row { grid-template-columns: 1fr; }
}
.event-detail-hero {
  position: relative;
  min-height: min(640px, 78dvh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #102A43;
  color: white;
  padding: max(90px, 14vh) 22px 42px;
}
.event-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.event-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,42,67,.08), rgba(16,42,67,.82));
}
.event-detail-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.event-detail-content h1 {
  max-width: 14ch;
  color: white;
}
.geo-marker-hidden span { background: #8A6FD1; }
.geo-marker-event span { background: #C85B7D; }
.geo-marker.selected span {
  width: 34px;
  height: 34px;
  background: var(--gd-sunset-coral);
  box-shadow: 0 8px 18px rgba(16,42,67,.23), 0 0 0 5px rgba(247,200,106,.22);
}

.geo-cluster {
  display: grid !important;
  place-items: center;
  border: 3px solid white !important;
  border-radius: 999px !important;
  background: var(--gd-golden-horizon) !important;
  color: var(--gd-deep-ocean) !important;
  box-shadow: 0 5px 14px rgba(16,42,67,.18) !important;
}

.geo-cluster span {
  width: auto;
  height: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--gd-deep-ocean) !important;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
}

.geo-cluster-medium span { font-size: .82rem; }
.geo-cluster-large span { font-size: .88rem; }

.discovery-map-pane .map-state {
  display: none !important;
}

.map-key-toggle {
  position: absolute;
  z-index: 675;
  left: 10px;
  bottom: 10px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--gd-deep-ocean);
  font-size: .76rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(16,42,67,.12);
  touch-action: manipulation;
}

.map-key-panel {
  position: absolute;
  z-index: 700;
  left: 10px;
  bottom: 50px;
  width: min(230px, calc(100% - 20px));
  padding: 10px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--gd-deep-ocean);
  box-shadow: 0 16px 36px rgba(16,42,67,.2);
}

.map-key-panel[hidden] {
  display: none;
}

.map-key-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.map-key-header strong {
  font-size: .86rem;
}

.map-key-header button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: white;
  color: var(--gd-deep-ocean);
  font-weight: 900;
}

.map-key-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.map-key-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.1;
}

.map-key-marker {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50% 50% 50% 5px;
  background: var(--gd-cornish-sea);
  color: white;
  box-shadow: 0 4px 10px rgba(16,42,67,.16);
  transform: rotate(-45deg);
}

.map-key-marker b {
  color: white;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
  transform: rotate(45deg);
}

.map-key-marker.geo-marker-beach { background: #0D8AA0; }
.map-key-marker.geo-marker-campsite { background: #2E7D5B; }
.map-key-marker.geo-marker-camper { background: #176B5D; }
.map-key-marker.geo-marker-viewpoint { background: #4A8FE0; }
.map-key-marker.geo-marker-walk { background: #4E7D41; }
.map-key-marker.geo-marker-overnight { background: #4C5D88; }
.map-key-marker.geo-marker-parking { background: #4FB6C4; }
.map-key-marker.geo-marker-nature { background: #69B7A5; }
.map-key-marker.geo-marker-service { background: #F27B68; }
.map-key-marker.geo-marker-food { background: #C16C2D; }
.map-key-marker.geo-marker-swimming { background: #00A6B8; }
.map-key-marker.geo-marker-sunset { background: #E26D5A; }
.map-key-marker.geo-marker-hidden { background: #8A6FD1; }
.map-key-marker.geo-marker-event { background: #C85B7D; }
.map-key-marker.geo-marker-cluster { border-radius: 50%; background: #f2c84b; color: #2d2506; transform: none; }
.map-key-marker.geo-marker-cluster b { color: #2d2506; font-size: .58rem; transform: none; }
.map-key-marker.geo-event-marker { background: var(--event-timing-color, #9CA3AF) !important; }

.stars,
.rating,
.dashboard-rail strong,
.adventure-metrics strong,
.live-progress-grid strong,
.event-countdown strong,
.admin-hero-metrics strong,
.admin-metric-grid strong,
.passport-grid strong,
.live-command strong {
  color: var(--gd-sunset-coral);
}

.location-spinner {
  border-color: rgba(13,138,160,.24);
  border-top-color: var(--gd-cornish-sea);
}

.action-sheet a,
.discovery-bands a,
.quick-discovery a,
.live-tabs a,
.live-count,
.live-pill,
.weather-chip,
  .hero-chip-row > span,
.map-overlay,
.disable-map,
.map-state,
.player-controls button,
.queue-button,
.mini-stats span,
.admin-card span,
.reorder-row > span,
.suggest-progress span {
  color: var(--gd-deep-ocean);
}

.action-sheet a {
  background: linear-gradient(135deg, var(--gd-white), var(--gd-sky));
  border: 1px solid var(--gd-border);
}

.discovery-bands a,
.quick-discovery a {
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea) 58%, var(--gd-sunset-coral));
  color: white !important;
  border-color: transparent;
}

.sheet-close,
.mobile-profile-link {
  background: color-mix(in srgb, var(--gd-sea-glass-soft) 72%, white);
  color: var(--gd-deep-ocean);
  border-color: var(--gd-border);
}

.facility-grid span::before {
  background: var(--gd-sea-glass-soft);
  color: var(--gd-cornish-sea);
}

.review-timeline article {
  border-left-color: var(--gd-sunset-coral);
}

.action-sheet-backdrop,
.filter-sheet::backdrop {
  background: rgba(16,42,67,.46);
}

.mini-player,
.full-player,
.live-premium-banner {
  background: linear-gradient(180deg, var(--gd-deep-ocean), #0D6175 58%, var(--gd-sunset-coral));
}

/* Mobile Explore filter sheet */
body:has(.mobile-filter-sheet[open]) .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

body:has(.discovery-sheet:not([hidden])) .bottom-nav {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.discovery-sheet.map-bottom-sheet {
  max-height: min(560px, calc(100% - 52px));
  grid-template-rows: minmax(0, 1fr);
}

.discovery-sheet.map-bottom-sheet > img,
.discovery-sheet.map-bottom-sheet > video {
  min-height: 0;
}

.discovery-sheet.map-bottom-sheet > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #102a43;
}

.showcase-pill {
  background: color-mix(in srgb, var(--gd-golden-horizon) 70%, white);
  color: var(--gd-deep-ocean);
}

.discovery-sheet .sheet-content {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  overflow: hidden;
}

.discovery-sheet .sheet-header {
  min-width: 0;
  padding-right: 42px;
}

.discovery-sheet .sheet-header h2 {
  margin: 5px 0 3px;
  font-size: clamp(1.08rem, 3.4vw, 1.45rem);
  line-height: 1.12;
}

.discovery-sheet .sheet-body {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.discovery-sheet [data-sheet-summary] {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discovery-sheet .sheet-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  align-self: end;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.98) 24%, rgba(255,255,255,.98));
}

.discovery-sheet.is-event-preview .sheet-header h2 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discovery-sheet.is-event-preview [data-sheet-summary] {
  display: block;
  -webkit-line-clamp: unset;
}

.discovery-sheet.is-event-preview .sheet-actions {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.discovery-sheet .sheet-actions form,
.discovery-sheet .sheet-actions a,
.discovery-sheet .sheet-actions button {
  min-width: 0;
  width: 100%;
  justify-content: center;
}

@media (max-width: 760px) {
  .discovery-map-pane {
    height: clamp(420px, calc(100svh - 250px), 620px);
    min-height: clamp(420px, calc(100svh - 250px), 620px);
    max-height: clamp(420px, calc(100svh - 250px), 620px);
  }

  .discovery-map-pane .premium-map {
    height: 100lvh;
    min-height: 0;
  }

  .map-key-toggle {
    bottom: calc(52px + env(safe-area-inset-bottom));
  }

  .map-key-panel {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .discovery-sheet.map-bottom-sheet {
    left: 8px;
    right: 8px;
    bottom: calc(28px + env(safe-area-inset-bottom));
    max-height: min(58%, calc(100% - 116px));
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet > img,
  .discovery-sheet.map-bottom-sheet > video {
    width: 100%;
    height: clamp(72px, 16dvh, 112px);
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }

  .discovery-sheet .sheet-content {
    padding: 12px 12px 10px;
    gap: 7px;
  }

  .discovery-sheet .sheet-header h2 {
    font-size: 1.08rem;
  }

  .discovery-sheet .sheet-body {
    gap: 7px;
  }

  .discovery-sheet .facility-grid.compact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .discovery-sheet .facility-grid.compact span {
    padding: 5px 8px;
    font-size: .76rem;
  }

  .discovery-sheet .sheet-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .discovery-sheet .sheet-actions [data-sheet-open],
  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-directions] {
    grid-column: 1 / -1;
  }

  .discovery-sheet.is-event-preview .sheet-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-open] {
    grid-column: auto;
  }

  .sheet-x-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
}

@supports not (height: 100svh) {
  @media (max-width: 760px) {
    .discovery-map-pane {
      height: 540px;
      min-height: 540px;
      max-height: 540px;
    }

    .discovery-map-pane .premium-map {
      height: 100%;
      min-height: 0;
    }
  }
}

/* Explore map mode and compact marker previews */
.discovery-map-controls {
  right: 10px;
  max-width: calc(100% - 20px);
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow: visible;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.discovery-map-controls::-webkit-scrollbar {
  display: none;
}

.discovery-map-controls button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.event-settings-toggle[hidden],
.event-results-pane[hidden] {
  display: none !important;
}

/* CMS-selectable Tripin appearance */
.brand-theme-tripin {
  --gd-navy: var(--brand-dark, #07142E);
  --gd-teal: var(--brand-primary, #08D1D8);
  --gd-aqua: var(--brand-secondary, #0B63CE);
  --gd-coral: var(--brand-accent, #FF7A3D);
  --gd-page: color-mix(in srgb, var(--brand-surface, #FFF8EF) 76%, #EAF7FB);
  --gd-surface: #FFFFFF;
  --gd-sky: #EAF7FB;
  --gd-seafoam: #D9FBF9;
  --gd-sand: #FFE7BF;
  --gd-muted: #5B667A;
  --gd-border: rgba(7,20,46,.14);
  --gd-forest: var(--brand-dark, #07142E);
  --gd-ocean: var(--brand-primary, #08D1D8);
  --gd-sunset: var(--brand-accent, #FF7A3D);
  --gd-ink: var(--brand-dark, #07142E);
  --gd-surface-alt: color-mix(in srgb, var(--brand-surface, #FFF8EF) 70%, #EAF7FB);
  --aqua: var(--brand-primary, #08D1D8);
  --turquoise: var(--brand-primary, #08D1D8);
  --coral: var(--brand-accent, #FF7A3D);
  --ink: var(--brand-dark, #07142E);
  --muted: var(--gd-muted);
  --paper: #FFFFFF;
  --line: var(--gd-border);
  --tripin-active-fg: var(--brand-active-fg, #fff);
}

.brand-theme-tripin body,
body.brand-theme-tripin {
  background:
    radial-gradient(circle at 12% 0%, rgba(8,209,216, calc(.11 * var(--brand-glow-strength, .24))), transparent 34rem),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-surface, #FFF8EF) 78%, #EAF7FB), #F7FBFC 42%),
    #F7FBFC;
}

.brand-theme-tripin .top-shell,
.brand-theme-tripin .bottom-nav,
.brand-theme-tripin .discovery-topbar,
.brand-theme-tripin .premium-filter-bar,
.brand-theme-tripin .admin-panel,
.brand-theme-tripin .form-section,
.brand-theme-tripin .spot-card,
.brand-theme-tripin .trip-card,
.brand-theme-tripin .info-panel,
.brand-theme-tripin .event-card,
.brand-theme-tripin .premium-spot-card,
.brand-theme-tripin .events-location-bar,
.brand-theme-tripin .events-filter-stack,
.brand-theme-tripin .brand-header-preview {
  border-color: var(--gd-border);
  box-shadow: 0 14px 34px rgba(7,20,46,.08), 0 0 calc(32px * var(--brand-glow-strength, .24)) rgba(8,209,216,.08);
}

.brand-theme-tripin .top-shell {
  background: rgba(255,255,255,.9);
  overflow: visible;
}

.header-top-black-band {
  display: block;
  width: 100%;
  height: var(--header-top-band-height, 0px);
  flex: 0 0 var(--header-top-band-height, 0px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.brand-theme-tripin .brand {
  color: var(--brand-primary, #08D1D8) !important;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: var(--header-logo-width-desktop, 168px);
  max-width: var(--header-logo-width-desktop, 168px);
  max-height: var(--header-logo-max-height, 40px);
  object-fit: var(--header-logo-fit, contain);
  clip-path: inset(var(--header-logo-crop-top, 0%) var(--header-logo-crop-right, 0%) var(--header-logo-crop-bottom, 0%) var(--header-logo-crop-left, 0%));
  translate: var(--header-logo-x, 0) var(--header-logo-y, 0);
  scale: var(--header-logo-scale, 1);
  transform-origin: center;
}
.branding-animation-poster { display:none; }
@media (prefers-reduced-motion: reduce) {
  .branding-animation { display:none!important; }
  .branding-animation-poster { display:block; }
}

.brand-logo-overflow .brand,
.brand-logo-overflow .mobile-top-bar,
.brand-logo-overflow .desktop-nav .container-fluid {
  overflow: visible;
}

.header-preview-document .admin-membership-preview-indicator,
.header-preview-document .page-shell,
.header-preview-document .bottom-nav,
.header-preview-document > .footer-note { display:none!important; }
.header-preview-document { min-height:0; overflow:hidden; background:transparent; }
.header-preview-document .top-shell { position:relative; top:auto; }

.brand-theme-tripin .primary-button,
.brand-theme-tripin .icon-text-button.primary-button,
.brand-theme-tripin .filter-sheet .primary-button,
.brand-theme-tripin .events-filter-action,
.brand-theme-tripin .trip-planner-shell > .trip-planner-form > .primary-button[type="submit"] {
  background: var(--brand-button-gradient, linear-gradient(135deg, #07142E, #0B63CE 48%, #08D1D8));
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(11,99,206,.2), 0 0 calc(22px * var(--brand-glow-strength, .24)) rgba(228,61,150,.18);
}

.brand-theme-tripin .filter-chip.is-selected,
.brand-theme-tripin .filter-chip[aria-pressed="true"],
.brand-theme-tripin .filter-chip-card.is-selected,
.brand-theme-tripin .filter-chip-card[aria-pressed="true"],
.brand-theme-tripin .mobile-filter-chip.is-selected,
.brand-theme-tripin .mobile-choice-row.is-selected,
.brand-theme-tripin .events-period-row .filter-chip.is-selected,
.brand-theme-tripin .premium-event-tabs a.is-selected,
.brand-theme-tripin .event-category-chips button.is-selected,
.brand-theme-tripin .segmented-toggle button.active,
.brand-theme-tripin .image-framing-toolbar.segmented button.is-active,
.brand-theme-tripin .nearby-category-chips a.is-active,
.brand-theme-tripin .profile-admin-preview-bar a.is-active,
.brand-theme-tripin .account-manage-tabs a.is-active,
.brand-theme-tripin .nav-pills.flex-column .nav-link.active {
  background: var(--brand-active-gradient, linear-gradient(135deg, #E43D96, #7C3AED 45%, #08D1D8)) !important;
  color: var(--tripin-active-fg) !important;
  border-color: transparent !important;
}

.brand-theme-tripin .bottom-nav a.active,
.brand-theme-tripin .bottom-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(8,209,216,.16), rgba(228,61,150,.14));
  color: var(--brand-dark, #07142E);
  box-shadow: inset 0 0 0 1px rgba(8,209,216,.28);
}

.brand-theme-tripin .bottom-nav .add-tab {
  background: linear-gradient(135deg, var(--brand-accent, #FF7A3D), #E43D96);
  box-shadow: 0 16px 28px rgba(255,122,61,.28), 0 0 0 5px rgba(8,209,216,.12);
}

.brand-theme-tripin .map-mode-events.is-active,
.brand-theme-tripin .map-mode-seasonal.is-active {
  background: var(--brand-active-gradient, linear-gradient(135deg, #E43D96, #7C3AED 45%, #08D1D8)) !important;
  color: var(--tripin-active-fg) !important;
}

.brand-theme-tripin .map-mode-places.is-active {
  background: linear-gradient(135deg, var(--brand-dark, #07142E), var(--brand-secondary, #0B63CE)) !important;
  color: var(--brand-active-fg, #fff) !important;
}

.brand-theme-tripin .event-kicker,
.brand-theme-tripin .rating,
.brand-theme-tripin .dashboard-rail strong,
.brand-theme-tripin .trip-route-kicker {
  color: #E43D96;
}

.brand-theme-tripin .event-tag-row span,
.brand-theme-tripin .category-pill,
.brand-theme-tripin .trip-chip,
.brand-theme-tripin .facility-grid.compact span {
  background: color-mix(in srgb, var(--brand-primary, #08D1D8) 12%, white);
  color: var(--brand-dark, #07142E);
  border-color: rgba(8,209,216,.22);
}

.brand-theme-tripin .cms-hero-overlay {
  background: linear-gradient(180deg, rgba(7,20,46, calc(var(--overlay) * .24)), rgba(7,20,46, var(--overlay)));
}

.brand-theme-tripin .geo-event-marker span,
.brand-theme-tripin .geo-event-cluster span,
.brand-theme-tripin .geo-event-overview-bubble span {
  box-shadow: 0 0 0 7px var(--event-timing-shadow), 0 12px 26px rgba(7,20,46,.22);
}

.brand-appearance-panel {
  grid-column: 1 / -1;
}

.brand-appearance-form {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.brand-appearance-form .primary-button,
.brand-appearance-form .checkbox-row {
  grid-column: 1 / -1;
}

.brand-header-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), color-mix(in srgb, var(--brand-surface, #FFF8EF) 72%, white));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.header-wysiwyg { margin-bottom:16px; }
.header-preview-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.header-preview-collapse { min-height:36px; padding:6px 11px; border:1px solid var(--gd-border); border-radius:999px; background:#fff; color:var(--brand-dark); font-weight:800; }
.header-viewport-picker { display:flex; flex-wrap:wrap; gap:8px; }
.header-viewport-picker button { min-height:40px; padding:8px 13px; border:1px solid var(--gd-border); border-radius:999px; background:#fff; color:var(--brand-dark); font-weight:850; }
.header-viewport-picker button.is-active { background:var(--brand-active-gradient); color:var(--brand-active-fg,#fff); border-color:transparent; }
.header-frame-stage { width:100%; overflow:hidden; padding:6px 0; }
.header-frame-scaler { position:relative; transform-origin:top left; }
.header-production-frame { position:absolute; inset:0 auto auto 0; display:block; max-width:none; transform-origin:top left; border:1px solid rgba(7,20,46,.16); border-radius:10px; background:#fff; box-shadow:0 10px 26px rgba(7,20,46,.14); }
.header-visibility-warning { margin:4px 0 8px; padding:8px 10px; border:1px solid #d97706; border-radius:8px; background:#fff7ed; color:#9a3412; font-size:.78rem; font-weight:750; }
.header-geometry-readout { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; margin:0; }
.header-geometry-readout>div { padding:8px 10px; border:1px solid rgba(7,20,46,.1); border-radius:8px; background:#fff; }
.header-geometry-readout dt { color:var(--gd-muted); font-size:.72rem; font-weight:850; text-transform:uppercase; }
.header-geometry-readout dd { margin:2px 0 0; font:700 .76rem/1.35 ui-monospace,SFMono-Regular,Consolas,monospace; }

@media (max-width: 760px) {
  .header-wysiwyg { position:fixed; top:max(6px, env(safe-area-inset-top)); left:8px; right:8px; z-index:1040; width:auto; margin:0; padding:8px; border-radius:12px; background:rgba(255,255,255,.97); box-shadow:0 10px 28px rgba(7,20,46,.2); backdrop-filter:blur(12px); }
  .header-wysiwyg .header-viewport-picker { flex-wrap:nowrap; gap:5px; overflow-x:auto; scrollbar-width:none; }
  .header-wysiwyg .header-viewport-picker button { min-height:34px; padding:5px 9px; white-space:nowrap; font-size:.76rem; }
  .header-wysiwyg .header-geometry-readout,
  .header-wysiwyg .brand-theme-swatches,
  .header-wysiwyg .brand-live-preview { display:none; }
  .header-wysiwyg.is-collapsed .header-viewport-picker,
  .header-wysiwyg.is-collapsed .header-frame-stage,
  .header-wysiwyg.is-collapsed .header-visibility-warning { display:none; }
  .header-wysiwyg.is-collapsed { padding-block:6px; }
  .brand-appearance-form > *,
  .logo-crop-form .wisp-slider-row,
  .wisp-header-form .wisp-slider-row,
  .wisp-header-form .wisp-toggle-row { scroll-margin-top:220px; }
}

.brand-header-preview-bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(7,20,46,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  padding: 8px 10px;
  overflow: visible;
}
.wisp-header-form { display:grid; gap:16px; }
.wisp-crop-form { display:grid; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.logo-crop-form { display:grid; gap:16px; }
.wisp-image-current { display:flex; justify-content:center; align-items:center; min-height:150px; border:1px solid rgba(7,20,46,.12); border-radius:14px; background:linear-gradient(45deg,#edf1f4 25%,transparent 25%),linear-gradient(-45deg,#edf1f4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf1f4 75%),linear-gradient(-45deg,transparent 75%,#edf1f4 75%); background-size:20px 20px; background-position:0 0,0 10px,10px -10px,-10px 0; overflow:visible; }
.wisp-crop-preview .wisp-art-crop { z-index:2; }
.wisp-crop-preview .wisp-mark { max-width:none; padding:0; object-fit:contain; filter:none; }
.wisp-header-surface-preview { position:relative; display:flex; justify-content:flex-end; align-items:center; min-height:86px; margin-top:10px; padding:10px 24px; overflow:hidden; border:1px solid rgba(7,20,46,.18); border-radius:14px; background:linear-gradient(135deg,#07142e 0%,#0b63ce 48%,#08d1d8 100%); color:#fff; }
.wisp-header-surface-preview span { margin-right:auto; font-size:.78rem; font-weight:850; opacity:.9; }
.wisp-header-surface-preview img, .wisp-header-surface-preview video { display:block; width:64px; height:64px; object-fit:contain; }
.wisp-position-controls { display:grid; gap:10px; }
.wisp-nudge-pad { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; max-width:360px; }
.wisp-nudge-pad button { min-height:44px; padding:8px 10px; }
.wisp-nudge-pad [data-wisp-crop-nudge="up"] { grid-column:2; }
.wisp-nudge-pad [data-wisp-crop-nudge="left"] { grid-column:1; }
.wisp-nudge-pad [data-wisp-crop-nudge="right"] { grid-column:3; }
.wisp-nudge-pad [data-wisp-crop-nudge="down"] { grid-column:2; }
.wisp-slider-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(120px,2fr) 76px 24px; align-items:center; gap:9px; }
.wisp-slider-row>span { font-weight:850; }
.wisp-slider-row input[type="range"] { min-width:0; padding:0; }
.wisp-slider-row input[type="number"] { min-height:42px; padding:7px 8px; }
.wisp-slider-row output { color:var(--gd-muted); font-size:.8rem; font-weight:850; }
@media(max-width:560px){.wisp-slider-row{grid-template-columns:1fr 72px 22px}.wisp-slider-row>span{grid-column:1/-1}.wisp-slider-row input[type="range"]{grid-column:1}.wisp-slider-row input[type="number"]{grid-column:2}.wisp-slider-row output{grid-column:3}}

.preview-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--brand-active-gradient, linear-gradient(135deg, #E43D96, #7C3AED));
  color: var(--brand-active-fg, #fff);
  font-weight: 850;
  padding: 8px 11px;
}

.colour-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px auto;
  align-items: center;
  gap: 8px;
}

.colour-picker-row input[type="color"] {
  width: 48px;
  height: 38px;
  padding: 2px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: white;
}

.colour-picker-row output {
  min-width: 7ch;
  color: var(--gd-muted);
  font-size: .76rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.brand-live-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.brand-live-preview button,
.brand-live-preview .preview-selected-control {
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 11px;
  border: 1px solid rgba(7,20,46,.14);
  font-weight: 900;
}

.preview-normal-button {
  background: white;
  color: var(--brand-dark, #07142E);
}

.preview-gradient-button {
  background: var(--brand-button-gradient);
  color: var(--brand-button-fg, #fff);
}

.preview-selected-control {
  display: inline-flex;
  align-items: center;
  background: var(--brand-active-gradient);
  color: var(--brand-active-fg, #fff);
}

.preview-surface-card {
  min-width: 150px;
  border: 1px solid rgba(7,20,46,.12);
  border-radius: 8px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--brand-surface, #FFF8EF) 78%, white);
  color: var(--brand-dark, #07142E);
}

.preview-surface-card strong,
.preview-surface-card span {
  display: block;
}

.preview-surface-card span {
  color: var(--brand-accent, #FF7A3D);
  font-size: .78rem;
  font-weight: 850;
}

.brand-theme-swatches {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.brand-theme-swatches span {
  width: 34px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(7,20,46,.12);
  background: var(--swatch);
}

@media (max-width: 760px) {
  .mobile-top-bar {
    min-height: calc(58px + env(safe-area-inset-top, 0px));
    padding: calc(env(safe-area-inset-top, 0px) + 11px) max(12px, env(safe-area-inset-right, 0px)) 7px max(68px, calc(env(safe-area-inset-left, 0px) + 68px));
    justify-content: flex-start;
    overflow: visible;
  }

  .mobile-top-bar .brand {
    flex: 1 1 auto;
    min-width: 112px;
    max-width: max(112px, calc(100vw - 194px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    min-height: 42px;
    overflow: visible;
  }

  .mobile-top-bar .brand-logo,
  .compact-logo {
    width: min(var(--header-logo-width-mobile, 178px), max(112px, calc(100vw - 194px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))));
    height: auto;
    max-width: max(112px, calc(100vw - 194px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    min-width: 112px;
    max-height: min(var(--header-logo-max-height, 58px), 54px);
  }

  .mobile-top-bar .mobile-language-selector,
  .mobile-top-bar .header-avatar-link { flex: 0 0 auto; }

  .brand-header-preview .compact-logo {
    width: min(var(--header-logo-width-mobile, 178px), 190px);
  }
}

.discovery-sheet.map-bottom-sheet {
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-height: min(230px, 34%);
  grid-template-columns: 92px minmax(0, 1fr);
  border-radius: 8px;
}

.discovery-sheet.map-bottom-sheet > img {
  width: 92px;
  height: 100%;
  min-height: 0;
  max-height: 230px;
  object-fit: cover;
}

.discovery-sheet .sheet-grabber {
  display: none;
}

.discovery-sheet .sheet-content {
  padding: 10px 40px 10px 10px;
  gap: 5px;
}

.discovery-sheet .sheet-header {
  padding-right: 0;
}

.discovery-sheet .sheet-header h2 {
  margin: 2px 0;
  font-size: 1rem;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discovery-sheet .sheet-header p,
.discovery-sheet [data-sheet-summary] {
  font-size: .82rem;
  line-height: 1.22;
}

.discovery-sheet .sheet-pills .glass-pill {
  padding: 4px 7px;
  font-size: .66rem;
}

.discovery-sheet .sheet-body {
  gap: 4px;
  overflow: hidden;
}

.discovery-sheet [data-sheet-summary] {
  -webkit-line-clamp: 1;
}

.discovery-sheet .facility-grid.compact {
  gap: 4px;
}

.discovery-sheet .facility-grid.compact span {
  padding: 4px 7px;
  font-size: .72rem;
  line-height: 1.1;
}

.discovery-sheet .facility-grid.compact span:nth-child(n+3) {
  display: none;
}

.discovery-sheet .sheet-actions {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding-top: 3px;
  background: transparent;
}

.discovery-sheet .sheet-actions a,
.discovery-sheet .sheet-actions button {
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .76rem;
  line-height: 1.05;
  white-space: nowrap;
}

.discovery-sheet .sheet-actions form {
  flex: 0 0 auto;
  display: flex;
  width: auto;
}

.discovery-sheet .sheet-actions [data-sheet-open] {
  flex: 1 1 auto;
}

.discovery-sheet .sheet-actions [data-sheet-directions] {
  flex: 0 0 auto;
}

.discovery-sheet .sheet-actions .map-save-button {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  max-width: none;
}

.discovery-sheet.is-event-preview .sheet-actions {
  display: flex;
}

.sheet-x-close {
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  font-size: .78rem;
}

@media (max-width: 760px) {
  .discovery-map-controls {
    top: 8px;
    left: 8px;
    right: 8px;
    max-width: none;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .map-mode-switcher,
  .seasonal-subtype-switcher,
  .watch-subtype-switcher {
    max-width: calc(100vw - 34px);
  }

  .discovery-map-controls button {
    min-height: 32px;
    padding: 5px 9px;
    font-size: .74rem;
  }

  .discovery-map-pane {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .discovery-sheet.map-bottom-sheet {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    z-index: 1090;
    max-height: min(30%, 176px);
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet > img {
    width: 72px;
    height: 100%;
    min-height: 0;
    max-height: 176px;
  }

  .discovery-sheet .sheet-content {
    padding: 8px 38px 8px 9px;
    grid-template-rows: auto auto auto;
    gap: 4px;
  }

  .discovery-sheet .sheet-header h2 {
    font-size: .95rem;
  }

  .discovery-sheet .sheet-header p,
  .discovery-sheet [data-sheet-summary] {
    font-size: .76rem;
  }

  .discovery-sheet .sheet-actions {
    display: flex;
    grid-template-columns: none;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .discovery-sheet .sheet-actions [data-sheet-open],
  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-directions],
  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-open] {
    grid-column: auto;
  }

  .discovery-sheet .sheet-actions a,
  .discovery-sheet .sheet-actions button {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-height: 29px;
    padding: 5px 7px;
    font-size: .72rem;
  }

  .map-key-toggle {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

.map-key-panel {
  bottom: calc(114px + env(safe-area-inset-bottom));
  width: min(166px, calc(50% - 20px));
  max-height: min(260px, calc(100% - 176px));
  overflow-y: auto;
}

.map-key-panel .map-key-list {
  grid-template-columns: 1fr;
}

.discovery-map-pane .leaflet-bottom.leaflet-right {
  right: 6px;
  bottom: calc(76px + env(safe-area-inset-bottom));
}

.discovery-map-pane .leaflet-control-zoom {
  margin-right: 0 !important;
  margin-bottom: 7px !important;
}

.discovery-map-pane .leaflet-control-attribution {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}
}

.discovery-sheet.map-bottom-sheet.is-event-preview {
  grid-template-columns: minmax(0, 1fr);
  max-height: min(460px, calc(100% - 112px));
}

/* Normal place markers use a compact, map-local preview rather than the full details sheet. */
.discovery-sheet.map-bottom-sheet.is-place-preview {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 900;
  width: auto;
  max-height: 132px;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.fuel-layer-control {
  position: absolute;
  right: 10px;
  bottom: 132px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  color: #163f2f;
  box-shadow: 0 5px 16px rgba(7, 20, 46, .3);
  font-size: 18px;
}

.fuel-layer-control[hidden] {
  display: none;
}

.fuel-layer-control.is-loading {
  border-color: #d97706;
  background: #fff4d7;
  opacity: .9;
}

.fuel-layer-control.is-active {
  border-color: #fff;
  background: #163f2f;
  color: #fff;
}

.nearby-layer-control {
  position: static;
  width: auto;
  min-width: 72px;
  padding: 0 11px;
  font-size: .78rem;
  font-weight: 850;
}

/* Dedicated right-middle zone: intentionally separate from top-right orientation/native controls. */
.map-control-zone-nearby {
  position: absolute;
  z-index: 680;
  inset-inline-end: 8px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.map-control-zone-nearby > .nearby-layer-control {
  position: static;
  pointer-events: auto;
}
.map-control-zone-nearby { display: grid; gap: 8px; justify-items: end; }
.search-this-area-control { min-height: 44px; padding: 9px 13px; border: 1px solid #163f2f; border-radius: 999px; background: #fff; color: #163f2f; font-weight: 900; box-shadow: 0 4px 14px rgba(7,20,46,.2); pointer-events: auto; }
.search-this-area-control[hidden] { display: none; }

.nearby-category-sheet {
  position: absolute;
  right: 10px;
  bottom: 178px;
  z-index: 905;
  width: min(340px, calc(100% - 24px));
  max-height: min(70vh, 530px);
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(22, 63, 47, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 20, 46, .24);
}
.nearby-category-sheet[hidden] { display: none; }
.nearby-category-sheet > div { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; }
.nearby-category-sheet > div button { border: 0; background: transparent; font-size: 1.2rem; }
.nearby-category-sheet fieldset { margin: 0 0 8px; padding: 0; border: 0; }
.nearby-category-sheet legend, .map-key-section-label { width: 100%; padding: 5px 4px 3px; color: #66736f; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.nearby-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.nearby-category-grid > button { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 7px; padding: 8px 7px; border: 0; border-radius: 9px; background: transparent; color: #163f2f; font-size: .78rem; font-weight: 850; text-align: left; }
.nearby-category-grid > button:hover, .nearby-category-grid > button:focus-visible { background: #edf7f1; }
.nearby-category-grid > button.is-membership-locked { color: #52605c; background: #f7f5ef; }
.nearby-category-grid > button.is-membership-locked small { margin-left: auto; color: #765b18; font-size: .62rem; font-weight: 950; white-space: nowrap; }
.nearby-category-grid > button span { flex: 0 0 22px; font-size: 1rem; text-align: center; }

.map-key-layer-row {
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(22, 63, 47, .2);
  background: #f3faf6;
}

.map-key-layer-row strong {
  color: #176b5d;
  font-size: .75rem;
}

.map-key-layer-row.is-active {
  border-color: #176b5d;
  background: #e0f3e8;
}

.map-key-layer-row:focus-visible {
  outline: 3px solid rgba(8, 209, 216, .45);
  outline-offset: 2px;
}

.leaflet-marker-icon.geo-fuel-marker {
  background: transparent !important;
  border: 0 !important;
}

.leaflet-marker-icon.geo-toilet-marker { background: transparent !important; border: 0 !important; }
.leaflet-marker-icon.geo-nearby-marker { background: transparent !important; border: 0 !important; }
.geo-nearby-marker > span,
.map-key-marker.geo-nearby-marker {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 2px solid #fff; border-radius: 9px 9px 9px 2px;
  background: var(--nearby-color, #163f2f); color: #fff; box-shadow: 0 4px 12px rgba(7, 20, 46, .3); font-size: 16px;
}
.map-key-marker.geo-nearby-marker { width: 28px; height: 28px; font-size: 13px; }
.geo-toilet-marker > span,
.map-key-marker.geo-toilet-marker {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 2px solid #fff; border-radius: 9px 9px 9px 2px;
  background: #176b8f; color: #fff; box-shadow: 0 4px 12px rgba(7, 20, 46, .3); font-size: 16px;
}
.map-key-marker.geo-toilet-marker { width: 28px; height: 28px; font-size: 13px; }

.geo-fuel-marker > span,
.map-key-marker.geo-fuel-marker {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 9px 9px 9px 2px;
  background: #163f2f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(7, 20, 46, .3);
  font-size: 16px;
}

.map-key-marker.geo-fuel-marker {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.fuel-popup {
  display: grid;
  gap: 4px;
  min-width: 170px;
  color: #07142e;
}

.fuel-popup strong {
  padding-right: 16px;
  font-size: .95rem;
}

.fuel-popup span,
.fuel-popup small {
  color: #5b667a;
  font-size: .76rem;
}

.fuel-popup a {
  margin-top: 3px;
  font-weight: 850;
}

@media (max-width: 760px) {
  .map-control-zone-nearby {
    inset-inline-end: 10px;
    inset-block-start: 56%;
    z-index: 905;
  }
  .nearby-category-sheet {
    position: fixed;
    right: 12px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 54px);
    z-index: 1091;
  }
}

.discovery-sheet.map-bottom-sheet.is-place-preview:not(.has-sheet-photo) {
  grid-template-columns: minmax(0, 1fr);
}

.discovery-sheet.is-place-preview .sheet-pills,
.discovery-sheet.is-place-preview [data-sheet-call],
.discovery-sheet.is-place-preview [data-sheet-website],
.discovery-sheet.is-place-preview [data-sheet-book],
.discovery-sheet.is-place-preview [data-sheet-save-form] {
  display: none !important;
}

.discovery-sheet.is-place-preview .sheet-pills {
  display: flex;
}

.discovery-sheet.is-place-preview .sheet-body {
  display: block;
}

.discovery-sheet.is-place-preview .sheet-body [data-sheet-summary] {
  margin: 0;
  font-size: .8rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discovery-sheet.is-place-preview .facility-grid.compact {
  display: none;
}

.discovery-sheet.map-bottom-sheet.is-place-preview > img {
  width: 92px;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.discovery-sheet.is-place-preview .sheet-content {
  padding: 12px 42px 10px 12px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 7px;
}

.discovery-sheet.is-place-preview .sheet-header h2 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.discovery-sheet.is-place-preview .sheet-actions {
  display: flex;
  gap: 7px;
  padding: 0;
  background: none;
  overflow: visible;
}

.discovery-sheet.is-place-preview .sheet-actions a {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 32px;
  padding: 6px 10px;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .discovery-sheet.map-bottom-sheet.is-place-preview {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) - 8px);
    z-index: 1090;
    max-height: 168px;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet.is-place-preview > img {
    width: 78px;
    max-height: 168px;
  }
}

.discovery-sheet.map-bottom-sheet.is-event-preview.has-sheet-photo {
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
}

.discovery-sheet.map-bottom-sheet.is-event-preview:not(.has-sheet-photo) > img {
  display: none;
}

.discovery-sheet.is-event-preview .sheet-content,
.discovery-sheet.is-event-preview .sheet-header,
.discovery-sheet.is-event-preview .sheet-body {
  min-width: 0;
}

.discovery-sheet.is-event-preview .sheet-content {
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.discovery-sheet.is-event-preview .sheet-header h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.discovery-sheet.is-event-preview .sheet-body {
  overflow-y: auto;
}

.discovery-sheet.is-event-preview .sheet-actions {
  display: flex;
  flex-wrap: wrap;
  overflow-x: visible;
}

.discovery-sheet.is-event-preview .sheet-actions a,
.discovery-sheet.is-event-preview .sheet-actions button {
  flex: 1 1 128px;
  width: auto;
  min-width: 0;
  white-space: normal;
}

.discovery-sheet.is-event-preview .sheet-actions [data-sheet-open] {
  flex-basis: 100%;
}

@media (max-width: 760px) {
  .discovery-sheet.map-bottom-sheet.is-event-preview {
    left: 8px;
    right: 8px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    max-height: min(54dvh, 430px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet.is-event-preview.has-sheet-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet.is-event-preview.has-sheet-photo > img {
    width: 100%;
    height: clamp(86px, 18dvh, 132px);
    max-height: 132px;
  }

  .discovery-sheet.is-event-preview .sheet-content {
    padding: 12px 44px 12px 12px;
    gap: 7px;
  }

  .discovery-sheet.is-event-preview .sheet-header h2 {
    font-size: 1.08rem;
    line-height: 1.14;
  }

  .discovery-sheet.is-event-preview .sheet-actions {
    gap: 7px;
    padding-top: 7px;
  }

  .discovery-sheet.is-event-preview .sheet-actions a,
  .discovery-sheet.is-event-preview .sheet-actions button {
    min-height: 36px;
    padding: 8px 10px;
    font-size: .82rem;
    line-height: 1.1;
  }

  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-directions],
  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-tickets] {
    flex-basis: calc(50% - 4px);
  }

  .discovery-sheet.is-event-preview .sheet-actions [data-sheet-stay] {
    flex-basis: 100%;
  }
}

.mobile-filter-sheet {
  position: fixed;
  inset: auto 0 0 0 !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: min(620px, calc(100dvw - 16px));
  max-width: 100dvw;
  height: min(720px, calc(100dvh - 18px));
  max-height: min(720px, calc(100dvh - 18px));
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: var(--gd-sky);
  color: var(--gd-deep-ocean);
  box-shadow: 0 -24px 70px rgba(16,42,67,.28);
}

.mobile-filter-sheet::backdrop {
  background: rgba(16,42,67,.48);
  backdrop-filter: blur(5px);
}

.mobile-filter-sheet.is-opening[open] {
  animation: gd-filter-sheet-up 240ms var(--gd-ease);
}

.mobile-filter-form {
  height: min(720px, calc(100dvh - 18px));
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.mobile-filter-header,
.mobile-subsheet-header {
  position: static;
  margin: 0;
  top: auto;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(245,250,252,.98);
  border-bottom: 1px solid var(--gd-border);
}

.mobile-subsheet-header {
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  padding-inline: 0;
  border-bottom: 0;
}

.mobile-filter-header strong,
.mobile-subsheet-header strong {
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.1;
}

.mobile-filter-close,
.mobile-filter-clear,
.mobile-subsheet-header button {
  min-height: 38px !important;
  padding: 7px 8px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: .86rem;
  white-space: nowrap;
}

.mobile-filter-clear {
  color: var(--gd-cornish-sea) !important;
}

.mobile-filter-pages {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gd-sky), var(--gd-mist-white));
}

.mobile-filter-page {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 14px 18px;
  scrollbar-width: none;
}

.mobile-filter-page::-webkit-scrollbar,
.mobile-quick-scroller::-webkit-scrollbar {
  display: none;
}

.mobile-filter-page.is-active {
  animation: gd-filter-panel-in 210ms var(--gd-ease);
}

.mobile-filter-block {
  display: grid;
  gap: 10px;
  padding: 2px 0 16px;
}

.mobile-filter-block + .mobile-filter-block {
  border-top: 1px solid rgba(16,42,67,.08);
  padding-top: 16px;
}

.mobile-filter-block h2 {
  margin: 0;
  color: var(--gd-muted);
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.camping-filter-heading { margin: 1rem .9rem .35rem; color: var(--gd-muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.mobile-content-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: var(--gd-white);
  box-shadow: 0 10px 24px rgba(16,42,67,.08);
}

.mobile-segment {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--gd-deep-ocean);
  font-size: .92rem;
  font-weight: 900;
  white-space: nowrap;
}

.mobile-segment.is-selected,
.mobile-segment[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gd-sunset-coral), var(--gd-sea-light));
  color: white;
  box-shadow: 0 10px 22px rgba(242,123,104,.24);
}

.mobile-quick-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 14px;
  margin-inline: -14px;
  padding: 1px 14px 8px;
  max-width: calc(100% + 28px);
  scrollbar-width: none;
}

.mobile-filter-chip,
.mobile-choice-row {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  max-width: calc(100dvw - 28px);
  padding: 9px 13px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: var(--gd-white);
  color: var(--gd-deep-ocean);
  box-shadow: 0 8px 18px rgba(16,42,67,.07);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.mobile-filter-chip .tap-ripple,
.mobile-choice-row .tap-ripple,
.mobile-segment .tap-ripple,
.mobile-verification-selector .tap-ripple {
  display: none;
}

.mobile-filter-chip::before,
.mobile-choice-row::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: none;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--gd-cornish-sea);
  font-size: .78rem;
}

.mobile-filter-chip.is-selected,
.mobile-filter-chip[aria-pressed="true"],
.mobile-choice-row.is-selected,
.mobile-choice-row[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gd-sunset-coral), var(--gd-sea-light));
  color: white;
  border-color: transparent;
  box-shadow: 0 13px 28px rgba(13,138,160,.18), 0 0 0 4px rgba(247,200,106,.12);
  animation: gd-filter-chip-pulse 240ms var(--gd-spring);
}

.mobile-filter-chip.is-selected::before,
.mobile-filter-chip[aria-pressed="true"]::before,
.mobile-choice-row.is-selected::before,
.mobile-choice-row[aria-pressed="true"]::before {
  display: inline-grid;
}

.mobile-filter-rows {
  display: grid;
  gap: 8px;
}

.mobile-filter-rows button {
  min-height: 58px !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-items: center;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  background: var(--gd-white) !important;
  text-align: left;
  box-shadow: 0 8px 18px rgba(16,42,67,.06);
}

.mobile-filter-rows button::after {
  content: ">";
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--gd-cornish-sea);
  font-size: 1.15rem;
  font-weight: 950;
}

.mobile-filter-rows span {
  color: var(--gd-deep-ocean);
  font-weight: 950;
}

.mobile-filter-rows small {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  color: var(--gd-muted);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: start;
  padding-top: 8px;
}

.mobile-custom-dates {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mobile-verification-selector {
  width: 100%;
  display: grid;
  grid-template-columns: .72fr .9fr 1.38fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--gd-border);
  border-radius: 999px;
  background: var(--gd-white);
}

.mobile-verification-selector label {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--gd-deep-ocean);
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.mobile-verification-selector label.is-selected,
.mobile-verification-selector label[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gd-sea-glass), var(--gd-sea-light));
  color: white;
}

.mobile-filter-note {
  width: 100%;
  margin: 2px 0 0;
  color: var(--gd-muted);
  font-weight: 800;
}

.mobile-choice-row.is-disabled {
  opacity: .54;
}

.mobile-filter-footer {
  position: static !important;
  margin: 0 !important;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--gd-border);
  backdrop-filter: blur(14px);
}

.mobile-filter-footer .primary-button {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea)) !important;
}

.mobile-filter-footer [data-live-result-count] {
  margin-inline: 4px;
}

.mobile-filter-footer .primary-button.is-live-loading [data-live-result-count] {
  opacity: .68;
}

[data-live-result-count].is-counting {
  display: inline-block;
  animation: gd-count-pop 260ms var(--gd-spring);
}

@keyframes gd-filter-sheet-up {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gd-filter-panel-in {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gd-skeleton {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@keyframes gd-filter-chip-pulse {
  50% { transform: scale(1.035); }
}

@keyframes gd-count-pop {
  50% { transform: scale(1.18); color: var(--gd-sunset-coral); }
}

@media (max-width: 760px) {
  .mobile-filter-sheet {
    width: 100dvw;
    height: 88dvh;
    max-height: 88dvh;
    border-radius: 24px 24px 0 0;
  }

  .mobile-filter-form {
    height: 88dvh;
  }
}

@media (max-width: 380px) {
  .mobile-filter-header {
    grid-template-columns: 70px minmax(0, 1fr) 86px;
    padding-inline: 10px;
  }

  .mobile-filter-close,
  .mobile-filter-clear {
    font-size: .78rem;
    padding-inline: 7px !important;
  }

  .mobile-filter-page {
    padding-inline: 10px;
  }

  .mobile-quick-scroller {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .mobile-filter-chip,
  .mobile-choice-row {
    min-height: 40px;
    padding-inline: 11px;
    font-size: .86rem;
  }

  .mobile-verification-selector label {
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-filter-sheet[open],
  .mobile-filter-page.is-active,
  .mobile-filter-chip.is-selected,
  .mobile-filter-chip[aria-pressed="true"],
  .mobile-choice-row.is-selected,
  .mobile-choice-row[aria-pressed="true"],
  [data-live-result-count].is-counting {
    animation: none !important;
  }
}

@keyframes gd-cornish-wave {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-8px,4px,0); }
}

/* GeoDrop visual discovery pass */
.cms-hero {
  min-height: min(680px, 82dvh);
  height: auto;
  overflow: visible;
  border-radius: 0 0 28px 28px;
  margin-bottom: 28px;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
  box-shadow: 0 22px 60px rgba(16,42,67,.18);
}
.cms-hero-media,
.cms-hero-video,
.cms-hero picture {
  border-radius: inherit;
}
.cms-hero-content {
  max-width: 760px;
  padding-bottom: 24px;
}
.cms-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 8.5vw, 6.2rem);
}
.home-search-panel {
  width: min(100%, 620px);
  border-radius: 18px;
  padding: 8px;
}
.home-search-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.visual-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 30px;
}
.visual-shortcut,
.destination-tile {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  align-content: end;
  gap: 8px;
  color: white !important;
  background: linear-gradient(180deg, rgba(16,42,67,.08), rgba(16,42,67,.72)), var(--tile-img) center/cover;
  box-shadow: 0 14px 32px rgba(16,42,67,.14);
}
.visual-shortcut::after,
.destination-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,138,160,.18), transparent 44%, rgba(242,123,104,.2));
  pointer-events: none;
}
.visual-shortcut::before,
.destination-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7,25,34,.04) 24%, rgba(7,25,34,.78) 100%);
  pointer-events: none;
}
.visual-shortcut > img,
.destination-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.visual-shortcut > *,
.destination-tile > * {
  position: relative;
  z-index: 2;
}
.visual-shortcut strong,
.destination-tile strong {
  color: white;
  font-size: 1rem;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0,0,0,.32);
}
.destination-tile span {
  color: rgba(255,255,255,.88);
  font-weight: 850;
  font-size: .82rem;
}
.visual-discovery-section {
  margin: 28px 0 34px;
}
.destination-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.destination-tile {
  min-height: 160px;
}
.home-photo-credit-link { margin: 10px 2px 0; text-align: right; font-size: .78rem; }
.home-photo-credit-link a { color: var(--gd-muted); text-decoration: underline; text-underline-offset: 2px; }
.home-photo-credits-page { max-width: 1050px; margin-inline: auto; }
.home-photo-credits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.home-photo-credits-grid article { display: grid; grid-template-columns: 160px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--gd-border); border-radius: 16px; background: var(--gd-surface); }
.home-photo-credits-grid img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.home-photo-credits-grid article > div { padding: 14px; }
.home-photo-credits-grid h2 { margin: 0 0 8px; text-transform: capitalize; font-size: 1rem; }
.home-photo-credits-grid p { margin: 5px 0; font-size: .84rem; }
@media (max-width: 720px) {
  .home-photo-credits-grid { grid-template-columns: 1fr; }
  .home-photo-credits-grid article { grid-template-columns: 118px minmax(0, 1fr); }
}

/* These deterministic colours are exceptional missing-photo fallbacks. Normal
   Home cards render the curated, licensed photography catalog above them. */
.visual-shortcut { --tile-img: linear-gradient(145deg, #176b87, #0e354e); }
.home-category-beach { --tile-img: radial-gradient(circle at 70% 18%, #ffe8a3 0 13%, transparent 14%), linear-gradient(165deg, #62c8df 0 48%, #1689ab 49% 66%, #e2b66d 67%); }
.home-category-camper { --tile-img: linear-gradient(150deg, #7bc3bd 0 48%, #315c53 49% 70%, #173b34 71%); }
.home-category-camping,
.home-category-campsite { --tile-img: linear-gradient(145deg, #72a879 0 50%, #315c3c 51% 72%, #183726 73%); }
.home-category-nature { --tile-img: radial-gradient(circle at 72% 25%, #d5eca8 0 9%, transparent 10%), linear-gradient(145deg, #68a66f, #153f34); }
.home-category-walks { --tile-img: linear-gradient(160deg, #9cc6d4 0 38%, #658f65 39% 62%, #334c35 63%); }
.home-category-events { --tile-img: radial-gradient(circle at 75% 22%, #ff8fc7 0 5%, transparent 6%), linear-gradient(145deg, #8d2d79, #351449); }
.home-category-overnight { --tile-img: radial-gradient(circle at 74% 22%, #fff4bf 0 8%, transparent 9%), linear-gradient(145deg, #394f78, #101a35); }
.home-category-dogs { --tile-img: linear-gradient(145deg, #cb8c67, #674536); }
.destination-tile { --tile-img: linear-gradient(145deg, #4d8792, #183f55); }
.destination-fallback-coast { --tile-img: linear-gradient(165deg, #8fd2df 0 49%, #2c8fab 50% 66%, #bd9360 67%); }
.destination-fallback-mountains { --tile-img: linear-gradient(150deg, #9bc9d5 0 40%, #547b70 41% 62%, #284943 63%); }
.destination-fallback-lakes { --tile-img: linear-gradient(155deg, #a4cbd3 0 43%, #537c67 44% 61%, #317e98 62%); }
.destination-fallback-moor { --tile-img: linear-gradient(155deg, #b3c9c0 0 42%, #71866c 43% 64%, #414c40 65%); }
.destination-fallback-mediterranean { --tile-img: linear-gradient(165deg, #8edbeb 0 52%, #158eaf 53% 69%, #d8ae68 70%); }
.feature-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.feature-tile {
  min-height: 98px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--gd-border);
  border-radius: 18px;
  background: white;
  color: var(--gd-deep-ocean) !important;
  box-shadow: 0 12px 26px rgba(16,42,67,.08);
}
.feature-tile strong {
  color: var(--gd-deep-ocean);
  line-height: 1.05;
}
.gd-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gd-sky), var(--gd-sea-glass-soft));
  color: var(--gd-cornish-sea);
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(13,138,160,.14);
}
.visual-shortcut .gd-icon {
  background: rgba(255,255,255,.9);
  color: var(--gd-deep-ocean);
}
.gd-icon-wave::before { content: "~"; }
.gd-icon-van::before { content: "V"; }
.gd-icon-tent::before { content: "A"; }
.gd-icon-leaf::before { content: "*"; }
.gd-icon-boot::before { content: "↗"; }
.gd-icon-music::before { content: "♪"; }
.gd-icon-moon::before { content: "◐"; }
.gd-icon-paw::before { content: "•"; }
.gd-icon-toilet::before { content: "WC"; font-size: .72rem; }
.gd-icon-shower::before { content: "↓"; }
.gd-icon-water::before { content: "≈"; }
.gd-icon-electric::before { content: "⚡"; }
.gd-icon-swim::before { content: "≈"; }
.gd-icon-pub::before { content: "P"; }
.gd-icon-sun::before { content: "☀"; }
.home-event-strip,
.home-live-surprise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.home-event-card,
.home-live-card {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--gd-border);
  background: white;
  color: var(--gd-deep-ocean) !important;
  box-shadow: 0 12px 28px rgba(16,42,67,.08);
}
.home-live-card {
  color: white !important;
  border: 0;
  background: linear-gradient(135deg, rgba(16,42,67,.9), rgba(13,138,160,.86)), url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=80') center/cover;
}
.home-event-card span,
.home-live-card span {
  color: var(--gd-cornish-sea);
  font-weight: 950;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .08em;
}
.home-live-card span,
.home-live-card strong,
.home-live-card small {
  color: white;
}

.discovery-topbar {
  top: 8px;
  grid-template-columns: minmax(0, 1fr) auto 132px auto auto;
  border-radius: 18px;
}
.discovery-topbar input[name="Search"] {
  min-height: 48px;
  border-radius: 14px;
}
.recent-search-host {
  position: relative;
  min-width: 0;
}
.recent-search-host > input[name="Search"] {
  width: 100%;
}
.recent-search-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 780;
  display: grid;
  gap: 6px;
  max-height: min(320px, 52vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--gd-shadow-float, 0 18px 44px rgba(16,42,67,.16));
}
.recent-search-panel[hidden] {
  display: none;
}
.recent-search-panel-sheet {
  position: static;
  margin-top: 8px;
  max-height: 230px;
}
.recent-search-heading,
.recent-search-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.recent-search-heading {
  justify-content: space-between;
  padding: 0 2px 2px;
}
.recent-search-heading strong {
  color: var(--gd-deep-ocean);
  font-size: .78rem;
}
.recent-search-heading button,
.recent-search-row button {
  border: 0;
  background: transparent;
  color: var(--gd-cornish-sea);
  font-weight: 900;
}
.recent-search-row {
  min-height: 38px;
  border-radius: 8px;
  background: var(--gd-page);
}
.recent-search-row button:first-child {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  color: var(--gd-deep-ocean);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-search-row button:last-child {
  flex: 0 0 36px;
  min-height: 36px;
}
.recent-search-empty {
  margin: 0;
  padding: 8px 4px;
  color: var(--gd-muted);
  font-size: .86rem;
}
.discovery-search-submit {
  min-height: 44px;
  padding-inline: 16px;
}
.discovery-meta {
  align-items: center;
  flex-wrap: wrap;
  overflow: visible;
}
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gd-sea-glass-soft);
  color: var(--gd-deep-ocean);
  font-weight: 900;
  animation: gd-filter-chip-pulse 240ms var(--gd-spring);
}
.active-filter-chip a,
.active-filter-chip button {
  border: 0;
  background: transparent;
  color: var(--gd-cornish-sea) !important;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
  padding: 0 1px;
}
.filter-search-block input {
  min-height: 44px;
  border-radius: 999px;
  border-color: var(--gd-border);
}
.count-choice {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.count-choice small {
  color: inherit;
  opacity: .82;
  font-weight: 950;
}
.mobile-text-choice {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr;
  border-radius: 18px;
  white-space: normal;
}
.mobile-text-choice input {
  min-height: 42px;
  margin-top: 6px;
  border: 1px solid var(--gd-border);
  border-radius: 12px;
}
.mobile-location-choice {
  width: 100%;
  justify-content: center;
}

.card-gallery-track {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.card-gallery-track::-webkit-scrollbar { display: none; }
.card-gallery-track > a,
.card-gallery-track > button {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
}
.card-gallery-track img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.geodrop-framed-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover !important;
  object-position: var(--geodrop-image-x, 50%) var(--geodrop-image-y, 50%) !important;
  transform: scale(var(--geodrop-image-zoom, 1)) !important;
  transform-origin: var(--geodrop-image-x, 50%) var(--geodrop-image-y, 50%) !important;
  transition: transform .22s ease, object-position .22s ease;
}
.geodrop-framed-image.geodrop-preserve-portrait {
  box-sizing: border-box;
  padding: clamp(4px, 1.2vw, 10px);
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  background: linear-gradient(145deg, #dce8e5, #f5f1e8);
}
.geodrop-framed-image-frame {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}
.nearby-row .geodrop-framed-image-frame { border-radius: 7px; }
.premium-spot-card:hover .premium-card-media img.geodrop-framed-image {
  transform: scale(calc(var(--geodrop-image-zoom, 1) * 1.025)) !important;
}
.premium-spot-card:hover .premium-card-media img.geodrop-preserve-portrait {
  transform: none !important;
}
.source-attribution {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(16, 35, 31, .72);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.1;
  backdrop-filter: blur(10px);
}
.premium-card-media .source-attribution,
.nearby-row .source-attribution {
  display: none !important;
}

.image-framing-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
  align-items: start;
}
.image-framing-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #10231f;
  cursor: grab;
  touch-action: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.image-framing-stage:active { cursor: grabbing; }
.image-framing-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), inset 0 0 0 999px rgba(5,20,17,.06);
}
.image-framing-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--preview-image-x, 50%) var(--preview-image-y, 50%);
  transform: scale(var(--preview-image-zoom, 1));
  transform-origin: var(--preview-image-x, 50%) var(--preview-image-y, 50%);
  user-select: none;
  -webkit-user-drag: none;
}
.image-framing-frame-label {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(16,35,31,.76);
  color: white;
  font-size: .76rem;
  font-weight: 850;
}
.image-framing-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.image-framing-toolbar.segmented button {
  border: 1px solid rgba(16,35,31,.14);
  border-radius: 999px;
  background: white;
  color: var(--gd-forest);
  padding: 7px 10px;
  font-weight: 850;
}
.image-framing-toolbar.segmented button.is-active {
  background: var(--gd-forest);
  color: white;
}
.image-framing-controls {
  display: grid;
  gap: 16px;
}
.image-framing-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  font-weight: 850;
}
.image-framing-controls input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
}
@media (max-width: 760px) {
  .image-framing-editor { grid-template-columns: 1fr; }
}
.card-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.card-gallery-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}
.card-gallery-dots span:first-child {
  width: 16px;
  background: white;
}
.card-gallery-dots span.is-active {
  width: 16px;
  background: white;
}
.card-gallery-fullscreen,
.spot-status-badge {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 10px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(16,42,67,.78);
  color: white;
  font-weight: 900;
  font-size: .76rem;
  backdrop-filter: blur(12px);
}
.spot-status-badge {
  right: auto;
  left: 10px;
  background: rgba(255,255,255,.92);
  color: var(--gd-deep-ocean);
}
.card-highlight-list {
  margin: 2px 0;
  padding-left: 18px;
  color: #334E68;
  display: grid;
  gap: 3px;
  line-height: 1.32;
  font-weight: 700;
}
.place-hero-gallery {
  position: absolute;
  inset: 0;
}
.place-hero-gallery .card-gallery-track > button {
  cursor: zoom-in;
}
.place-hero-gallery .card-gallery-fullscreen {
  right: 16px;
  bottom: 16px;
}

@media (max-width: 760px) {
  .cms-hero {
    height: 100%;
    box-sizing: border-box;
    min-height: min(100dvh, max(var(--hero-mobile), 620px));
    margin-inline: -12px;
    margin-bottom: 26px;
    padding-bottom: max(34px, env(safe-area-inset-bottom));
    border-radius: 0 0 22px 22px;
  }
  .cms-hero-content {
    gap: 7px;
    padding-block: 92px 30px;
  }
  .cms-hero h1 {
    font-size: clamp(2.7rem, 13.5vw, 4.2rem);
  }
  .home-search-row,
  .search-actions {
    grid-template-columns: 1fr;
  }
  .visual-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
  .visual-shortcut {
    min-height: 126px;
  }
  .destination-tile-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .destination-tile {
    scroll-snap-align: start;
  }
  .feature-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discovery-topbar {
    top: 0;
    grid-template-columns: 72px 1fr auto;
    gap: 7px;
    border-radius: 16px;
    padding: 7px;
  }
  .discovery-topbar input[name="Search"] {
    grid-column: 1 / -1;
  }
  .discovery-topbar .segmented-toggle {
    grid-column: 2;
    min-width: 124px;
  }
  .explore-near-button {
    grid-column: 1;
    min-width: 0;
    padding-inline: 10px;
  }
  .discovery-topbar [data-open-filters] {
    grid-column: 3;
    white-space: nowrap;
  }
  .discovery-search-submit {
    display: none;
  }
  .discovery-meta {
    gap: 6px;
  }
  .discovery-meta strong {
    width: 100%;
  }
  .premium-card-actions {
    grid-template-columns: 1fr 1fr;
  }
  .discovery-results .premium-card-media {
    min-height: 224px;
    aspect-ratio: 16 / 10;
  }
  .discovery-results .premium-card-actions {
    display: grid;
  }
  .place-hero-gallery .card-gallery-track {
    touch-action: pan-x;
  }
}

.home-adventure-hero::after,
.surprise-hero::after,
.cms-hero::after {
  animation: gd-cornish-wave 11s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .home-adventure-hero::after,
  .surprise-hero::after,
  .cms-hero::after {
    animation: none !important;
  }
}

/* Scoped premium weather and Spot Details action polish */
.home-weather-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; width: min(100%, 560px); padding: 10px 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 8px; background: rgba(255,255,255,.18); color: white; text-shadow: none; box-shadow: 0 18px 44px rgba(8,30,34,.2); backdrop-filter: blur(18px); }
.home-weather-card.is-weather-muted { background: rgba(255,255,255,.14); }
.weather-symbol { width: 38px; height: 38px; border-radius: 50%; position: relative; background: linear-gradient(135deg, #FFD166, #F27B68); box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.weather-symbol::before, .weather-symbol::after, .weather-symbol span { content: ""; position: absolute; display: block; }
.weather-symbol-clear::before, .weather-symbol-partly::before, .weather-symbol-prompt::before { inset: 8px; border-radius: 50%; background: #FFE08A; }
.weather-symbol-partly::after, .weather-symbol-cloudy::after, .weather-symbol-rain::after, .weather-symbol-showers::after, .weather-symbol-storm::after, .weather-symbol-snow::after, .weather-symbol-fog::after { left: 9px; right: 5px; bottom: 9px; height: 14px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: -6px -3px 0 -1px rgba(255,255,255,.94), 8px -5px 0 -2px rgba(255,255,255,.94); }
.weather-symbol-cloudy, .weather-symbol-fog { background: linear-gradient(135deg, #6AA2A6, #355C7D); }
.weather-symbol-rain, .weather-symbol-showers { background: linear-gradient(135deg, #11B8B2, #176B87); }
.weather-symbol-rain span, .weather-symbol-showers span { left: 13px; top: 25px; width: 3px; height: 7px; border-radius: 999px; background: #BFEFFF; box-shadow: 7px 2px 0 #BFEFFF, 14px -1px 0 #BFEFFF; }
.weather-symbol-storm { background: linear-gradient(135deg, #243B53, #F27B68); }
.weather-symbol-storm span { left: 17px; top: 22px; width: 8px; height: 13px; background: #FFD166; clip-path: polygon(45% 0, 100% 0, 58% 45%, 100% 45%, 18% 100%, 42% 55%, 0 55%); }
.weather-symbol-snow span { left: 10px; top: 25px; width: 4px; height: 4px; border-radius: 50%; background: white; box-shadow: 8px 3px 0 white, 17px 0 0 white; }
.weather-symbol-fog span { left: 8px; right: 8px; top: 25px; height: 2px; background: rgba(255,255,255,.88); box-shadow: 0 5px 0 rgba(255,255,255,.7); }
.home-weather-main { min-width: 0; display: grid; gap: 1px; }
.home-weather-main strong { color: white; font-size: 1.28rem; line-height: 1; font-weight: 950; overflow-wrap: anywhere; }
.home-weather-main span { color: rgba(255,255,255,.84); font-size: .82rem; font-weight: 750; }
.home-weather-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.88); font-size: .76rem; font-weight: 850; }
.home-weather-meta span, .home-weather-enable { min-height: 28px; display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: white; }
.home-weather-meta .sunset-accent { border-color: rgba(255,209,102,.5); background: linear-gradient(135deg, rgba(255,209,102,.24), rgba(242,123,104,.2)); }
.home-weather-enable { cursor: pointer; font-weight: 900; }

.place-action-topbar { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.place-secondary-actions { display: flex; align-items: center; gap: 8px; }
.place-secondary-actions form { margin: 0; }
.place-back-button, .place-icon-action { min-height: 38px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(10,31,34,.32); color: white; box-shadow: 0 12px 30px rgba(0,0,0,.2); backdrop-filter: blur(16px); font-weight: 900; cursor: pointer; }
.place-back-button { padding: 8px 12px; }
.place-icon-action { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; }
.place-icon-action.is-saved, .place-icon-action[data-state="success"] { color: #FFD166; border-color: rgba(255,209,102,.48); background: rgba(16,42,67,.44); }
.place-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.place-actions .primary-button { min-width: min(100%, 260px); border-radius: 8px; }
.place-report-link { width: fit-content; color: rgba(255,255,255,.86); font-weight: 850; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.place-report-link:hover { color: white; }
.place-actions .share-status { color: rgba(255,255,255,.86); font-size: .82rem; }

@media (max-width: 760px) {
  .home-weather-card { width: 100%; grid-template-columns: auto minmax(0, 1fr); padding: 9px 10px; }
  .home-weather-main strong { font-size: 1.12rem; }
  .home-weather-meta { gap: 5px; }
  .home-weather-meta span { font-size: .72rem; padding-inline: 7px; }
  .place-action-topbar { top: 12px; left: 12px; right: 12px; }
  .place-icon-action span:last-child { display: none; }
  .place-icon-action { width: 38px; justify-content: center; padding-inline: 0; }
  .place-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .place-actions .primary-button { min-width: 0; width: 100%; }
}

/* Spot Details hero polish */
.place-hero {
  align-items: start;
}
.place-hero-gradient {
  background:
    linear-gradient(180deg, rgba(16,42,67,.72), rgba(16,42,67,.34) 42%, rgba(16,42,67,.78)),
    linear-gradient(105deg, rgba(13,138,160,.16), transparent 44%, rgba(242,123,104,.18));
}
.place-hero-content {
  align-self: start;
  padding: 18px 18px 34px;
  gap: 10px;
}
.place-action-topbar {
  position: relative;
  inset: auto;
  width: 100%;
}
.place-hero-top {
  margin-top: 6px;
}
.place-hero h1 {
  max-width: 12ch;
}
.place-location {
  margin: 0;
}
.place-actions {
  margin-top: 6px;
}
.place-report-link {
  justify-self: start;
  color: rgba(255,255,255,.78) !important;
  opacity: .86;
}

@media (max-width: 760px) {
  .place-hero {
    align-items: start;
    min-height: 72vh;
  }
  .place-hero-content {
    padding: 14px 12px 24px;
    gap: 9px;
  }
  .place-action-topbar {
    top: auto;
    left: auto;
    right: auto;
  }
  .place-action-topbar .place-icon-action {
    width: auto;
    padding-inline: 10px;
  }
  .place-action-topbar .place-icon-action span:last-child {
    display: inline;
  }
  .place-hero-top {
    margin-top: 4px;
  }
  .place-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.45rem);
  }
  .place-actions {
    margin-top: 5px;
  }
}

/* Home weather card layout polish */
.cms-hero {
  align-items: start;
  padding-top: 22px;
}
.cms-hero-content {
  align-self: start;
  gap: 9px;
  padding-bottom: 24px;
}
.hero-chip-row {
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.home-weather-card {
  position: relative;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 12px;
  width: min(100%, 420px);
  padding: 10px 11px;
  border-color: rgba(255,255,255,.32);
  background:
    linear-gradient(135deg, rgba(255,255,255,.21), rgba(7,89,99,.2)),
    rgba(4,30,38,.22);
  box-shadow: 0 14px 34px rgba(8,30,34,.24);
}
.home-weather-refresh {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(5,48,58,.2);
  color: white;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}
.home-weather-refresh.is-loading { font-size: 0; }
.home-weather-refresh.is-loading::after { margin-left: 0; width: 14px; height: 14px; }
.home-weather-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: rgba(255,255,255,.78);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}
.home-weather-status:empty,
.home-weather-status[hidden] { display: none; }
.home-weather-status.is-error-note { color: #ffe4e4; }
.home-weather-card.is-weather-muted {
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(7,89,99,.16)),
    rgba(4,30,38,.2);
}
.home-weather-card.is-weather-refreshing {
  opacity: .86;
}
.home-weather-main {
  align-self: center;
  gap: 2px;
  padding-right: 28px;
}
.home-weather-main strong {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: .9;
  letter-spacing: 0;
}
.home-weather-main span {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  line-height: 1.1;
  font-weight: 800;
}
.weather-symbol {
  width: 42px;
  height: 42px;
  align-self: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,.16), 0 10px 20px rgba(4,30,38,.18);
}
.home-weather-meta {
  gap: 5px 6px;
  font-size: .73rem;
  line-height: 1;
}
.home-weather-meta span,
.home-weather-enable {
  min-height: 24px;
  padding: 4px 7px;
  border-color: rgba(255,255,255,.18);
  background: rgba(5,48,58,.18);
  color: rgba(255,255,255,.9);
}
.home-weather-meta .sunset-accent {
  color: #fff3c4;
  border-color: rgba(255,209,102,.38);
  background: linear-gradient(135deg, rgba(255,209,102,.2), rgba(242,123,104,.16));
}
.home-weather-meta .tide-accent {
  color: #dffbff;
  border-color: rgba(117,218,226,.36);
  background: rgba(7,89,99,.24);
}
.home-live-pill {
  align-self: center;
}

@media (max-width: 760px) {
  .cms-hero {
    align-items: start;
    padding: 18px 12px max(28px, env(safe-area-inset-bottom));
  }
  .cms-hero-content {
    gap: 7px;
    padding-block: 0 24px;
  }
  .hero-chip-row {
    width: 100%;
    margin-bottom: 9px;
  }
  .home-weather-card {
    width: 100%;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px 10px;
    padding: 9px 10px;
  }
  .weather-symbol {
    width: 40px;
    height: 40px;
  }
  .home-weather-main strong {
    font-size: 1.85rem;
  }
  .home-weather-main span {
    font-size: .84rem;
  }
  .home-weather-meta {
    gap: 5px;
    font-size: .7rem;
  }
  .home-weather-meta span,
  .home-weather-enable {
    min-height: 23px;
    padding: 4px 6px;
  }
}

/* Spot Details photo/gallery experience */
.place-detail-header {
  min-height: 0;
  margin: -18px -18px 28px;
  padding: 16px 18px 0;
  display: grid;
  gap: 14px;
  overflow: visible;
  background: linear-gradient(180deg, #f7fbf5, #ffffff);
  color: #102f2b;
}
.place-detail-header.no-photo { background: linear-gradient(180deg, #f4faf8, #ffffff); }
.place-detail-header .place-action-topbar {
  position: relative;
  inset: auto;
  z-index: 5;
}
.place-detail-header .place-back-button,
.place-detail-header .place-icon-action {
  border-color: rgba(16,42,67,.12);
  background: rgba(255,255,255,.94);
  color: #173b35;
  box-shadow: 0 10px 26px rgba(34,52,47,.1);
  text-shadow: none;
}
.place-detail-header .place-icon-action.is-saved,
.place-detail-header .place-icon-action[data-state="success"] {
  color: #b76b00;
  border-color: rgba(183,107,0,.28);
  background: #fff9e8;
}
.place-detail-header img { position: static; }
.spot-detail-gallery {
  position: relative;
  aspect-ratio: 16 / 10;
  width: min(100%, 1040px);
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: #e8f2ef;
  box-shadow: 0 22px 54px rgba(34,52,47,.14);
}
.spot-detail-gallery .card-gallery-track {
  height: 100%;
  border-radius: inherit;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}
.spot-detail-gallery .card-gallery-track > button {
  border-radius: inherit;
  cursor: zoom-in;
}
.spot-detail-gallery .card-gallery-track video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-detail-gallery .geodrop-framed-image-frame,
.premium-gallery .geodrop-framed-image-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}
.spot-detail-gallery .card-gallery-track img.geodrop-framed-image,
.premium-gallery img.geodrop-framed-image {
  width: 100%;
  height: 100%;
}
.media-video-tile {
  position: relative;
}
.media-video-tile video,
.premium-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #102a43;
}
.media-play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #102a43;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(16,42,67,.22);
}
.spot-detail-gallery .card-gallery-dots {
  bottom: 14px;
  max-width: calc(100% - 140px);
}
.spot-gallery-count,
.spot-detail-gallery .card-gallery-fullscreen {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(16,42,67,.76);
  color: white;
  font-weight: 900;
  font-size: .78rem;
  backdrop-filter: blur(14px);
}
.spot-gallery-count {
  right: auto;
  left: 12px;
}
.spot-detail-gallery .card-gallery-fullscreen.icon-only {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 1rem;
}
.spot-detail-gallery-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gd-forest), var(--gd-ocean));
  color: white;
  box-shadow: none;
}
.spot-detail-gallery-fallback span {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.16);
  font-weight: 950;
}
.place-detail-header .place-hero-content {
  width: min(100%, 960px);
  padding: 0 0 24px;
  color: #102f2b;
  text-shadow: none;
}
.place-detail-header .glass-pill {
  color: white;
  box-shadow: none;
}
.place-detail-header h1 {
  color: #102f2b;
  max-width: 720px;
  font-size: clamp(1.9rem, 5.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.place-detail-header .place-location { color: #4c655f; }
.place-detail-header .hero-actions {
  align-items: center;
  gap: 8px;
}

.place-detail-header .directions-action {
  min-height: 44px;
  padding-inline: 18px;
}

.place-detail-header .compact-action {
  min-height: 38px;
  padding: 8px 12px;
  font-size: .9rem;
}

.place-detail-header .place-actions .ghost-button {
  border-color: rgba(16,42,67,.12);
  background: #eef8f4;
  color: #173b35;
}
.place-detail-header .place-actions .share-status { color: #4c655f; }
.place-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 2px;
}
.place-detail-header .place-report-link,
.place-add-photo-link {
  width: fit-content;
  color: #176b5d !important;
  font-weight: 850;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.place-add-photo-link {
  border: 1px solid rgba(23,107,93,.18);
  border-radius: 999px;
  padding: 6px 9px;
  background: #f4fbf8;
  text-decoration: none;
}
.photo-lightbox {
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(4,10,12,.96);
  color: white;
  overflow: hidden;
}
.photo-lightbox img {
  width: min(100%, 1180px);
  height: min(82dvh, 780px);
  max-width: 100%;
  max-height: 82dvh;
  object-fit: cover;
}
.photo-lightbox video {
  max-width: min(100%, 1180px);
  max-height: 82dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.photo-lightbox video {
  width: min(100%, 1180px);
  background: black;
}
.compact-notice {
  padding-top: 0;
  padding-bottom: 18px;
}
.media-upload-header {
  max-width: 760px;
  margin-inline: auto;
}
.media-upload-shell {
  width: min(100%, 760px);
  margin: 0 auto 90px;
  padding: 0 14px;
}
.media-upload-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(34,52,47,.08);
}
.media-picker {
  display: grid;
  gap: 10px;
  min-height: 132px;
  place-items: center;
  border: 2px dashed rgba(23,107,93,.28);
  border-radius: 8px;
  padding: 18px;
  background: #f4fbf8;
  color: #173b35;
  font-weight: 950;
  text-align: center;
}
.media-picker input {
  width: 100%;
  max-width: 360px;
}
.media-upload-progress {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfa;
}
.media-upload-progress-head,
.media-upload-progress-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.media-upload-progress-head strong {
  color: #173b35;
}
.media-upload-progress-head span,
.media-upload-progress-foot {
  color: #47615b;
  font-weight: 800;
  font-size: .92rem;
}
.media-upload-progress-foot {
  flex-wrap: wrap;
}
.media-upload-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce9e4;
}
.media-upload-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gd-teal), var(--gd-coral));
  transition: width .16s ease;
}
.media-upload-result {
  min-height: 1.25rem;
  margin: 0;
  color: #173b35;
  font-weight: 850;
}
.photo-lightbox-toolbar {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.photo-lightbox-toolbar span {
  min-height: 36px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255,255,255,.14);
  font-weight: 900;
}
.photo-lightbox button {
  position: static;
  pointer-events: auto;
}
.photo-lightbox [data-lightbox-close] {
  position: relative;
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
}
.photo-lightbox-nav {
  position: fixed !important;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0 !important;
  font-size: 1.9rem;
  line-height: 1;
}
.photo-lightbox-nav.previous { left: 16px; }
.photo-lightbox-nav.next { right: 16px; }
.photo-lightbox-meta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 4px;
  color: rgba(255,255,255,.82);
  text-align: center;
  pointer-events: none;
}
.photo-lightbox-meta strong { color: white; }
.photo-lightbox-meta a { color: white; pointer-events: auto; }
.photo-lightbox.all-media-failed::before {
  content: 'Photo unavailable';
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.spot-detail-gallery.all-media-failed::after,
.premium-gallery.all-media-failed::after {
  content: attr(data-empty-label);
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #526963;
  background: #eef4f1;
  font-weight: 800;
}
body.photo-lightbox-open { overflow: hidden; }
body.photo-lightbox-open .bottom-nav { display: none !important; }

@media (max-width: 760px) {
  .place-detail-header {
    margin: -12px -12px 22px;
    padding: 12px 12px 0;
    gap: 12px;
  }
  .place-detail-header .place-action-topbar {
    top: auto;
    left: auto;
    right: auto;
  }
  .place-detail-header .place-icon-action {
    width: auto;
    min-width: 42px;
    padding-inline: 10px;
  }
  .place-detail-header .place-icon-action span:last-child { display: inline; }
  .spot-detail-gallery {
    aspect-ratio: 4 / 3;
    min-height: 248px;
    border-radius: 16px;
  }
  .spot-detail-gallery .card-gallery-fullscreen {
    max-width: 42%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .place-detail-header .place-hero-content {
    padding-bottom: 20px;
    gap: 8px;
  }
  .place-detail-header h1 { font-size: clamp(2rem, 10vw, 3.35rem); }
  .place-community-actions { gap: 8px; }
  .photo-lightbox { padding-inline: 0; }
  .photo-lightbox img {
    width: 100%;
    height: 78dvh;
    max-width: 100%;
    max-height: 78dvh;
  }
  .photo-lightbox video {
    max-width: 100%;
    max-height: 78dvh;
  }
  .photo-lightbox-nav { display: none; }
}

/* Spot Details nearby business layer */
.nearby-essentials-section {
  display: grid;
  gap: 20px;
}
.nearby-place-group {
  display: grid;
  gap: 10px;
}
.nearby-place-list {
  display: grid;
  gap: 8px;
}
.nearby-place-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(23,107,93,.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(34,52,47,.06);
}
.nearby-place-list strong {
  display: block;
  color: #102f2b;
  font-size: 1rem;
  line-height: 1.2;
}
.nearby-place-list span,
.nearby-place-list small {
  display: block;
  margin-top: 3px;
  color: #627a73;
  font-weight: 800;
}
.nearby-place-list small {
  font-size: .8rem;
  font-weight: 750;
}
.nearby-place-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.nearby-place-actions a,
.nearby-place-group .section-heading a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef8f4;
  color: #176b5d;
  font-weight: 900;
  font-size: .82rem;
}
.nearby-place-attribution {
  margin: -6px 0 0;
  color: #627a73;
  font-size: .78rem;
  font-weight: 750;
}
.nearby-page-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 10px 0 calc(var(--gd-bottom-nav-space, 104px) + 22px);
  display: grid;
  gap: 12px;
}
.nearby-page-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.nearby-page-header > div {
  min-width: 0;
}
.nearby-page-header span {
  color: #176b5d;
  font-size: .82rem;
  font-weight: 950;
}
.nearby-page-header h1 {
  margin: 2px 0 3px;
  color: #102f2b;
  font-size: clamp(1.55rem, 7vw, 2.3rem);
  line-height: 1.02;
}
.nearby-page-header p {
  margin: 0;
  color: #627a73;
  font-weight: 800;
}
.nearby-map-link {
  grid-column: 1 / -1;
  justify-self: start;
}
.nearby-category-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 5px;
  -webkit-overflow-scrolling: touch;
}
.nearby-category-chips::-webkit-scrollbar {
  display: none;
}
.nearby-category-chips a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(23,107,93,.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.95);
  color: #176b5d;
  text-decoration: none;
  font-weight: 900;
}
.nearby-category-chips a.is-active {
  background: #176b5d;
  color: #fff;
  border-color: #176b5d;
}
.nearby-category-chips small {
  min-width: 20px;
  min-height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23,107,93,.1);
  color: inherit;
  font-size: .72rem;
}
.nearby-category-chips a.is-active small {
  background: rgba(255,255,255,.2);
}
.nearby-results-summary {
  display: grid;
  gap: 2px;
  color: #627a73;
  font-weight: 800;
}
.nearby-results-summary strong {
  color: #102f2b;
}
.nearby-page-list {
  padding-bottom: 10px;
}

.profile-admin-preview-bar,
.profile-preview-notice {
  width: min(100%, 960px);
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: #334e68;
  font-size: .88rem;
  font-weight: 850;
}

.profile-admin-preview-bar a,
.profile-admin-preview-bar button,
.profile-preview-notice a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--gd-white);
  color: var(--gd-deep-ocean);
  border: 1px solid var(--gd-border);
  font-weight: 900;
  text-decoration: none;
}

.profile-admin-preview-bar a.is-active,
.profile-admin-preview-bar button.is-active {
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea));
  color: white !important;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(13,138,160,.2);
}

.profile-admin-preview-bar form { margin: 0; }
.profile-admin-preview-bar button { border: 0; font: inherit; cursor: pointer; }
.admin-membership-preview-indicator {
    display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap;
    padding: .4rem .75rem; background: #fff4cf; color: #382700; border-bottom: 1px solid #e7c65a;
    font-size: .86rem; position: relative; z-index: 1200;
}
.admin-membership-preview-indicator form { margin: 0; }
.admin-membership-preview-indicator button {
    border: 1px solid #8a6500; border-radius: 999px; background: white; color: #493500;
    padding: .25rem .65rem; font: inherit; font-weight: 700;
}

.profile-preview-notice {
  border-color: rgba(217,119,6,.22);
  background: #fffaf0;
}

.profile-page-header {
  align-items: flex-start;
}

.profile-dashboard,
.profile-edit-form,
.profile-spot-list {
  width: min(100%, 960px);
  margin: 0 auto;
}

.profile-dashboard {
  display: grid;
  gap: 14px;
}

.profile-member-card,
.profile-dashboard-section,
.profile-edit-section,
.profile-spot-card,
.profile-empty-state {
  border-radius: 8px;
}

.profile-member-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(16,42,67,.09);
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 3px solid white;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.profile-avatar-fallback {
  background: #176b5d;
  color: white;
  font-weight: 950;
  letter-spacing: 0;
}

.profile-member-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.profile-member-summary strong {
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.profile-member-summary span:not(.membership-chip) {
  color: var(--muted);
  font-weight: 760;
}

.membership-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef8f4;
  color: #176b5d;
  font-weight: 900;
  font-size: .82rem;
}

.membership-chip-premium {
  background: #4b176f;
  color: #fff;
}

.membership-chip-founding {
  background: linear-gradient(135deg, #5b214f, #b06b19);
  color: #fff;
}

.membership-plan-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.membership-plan-card,
.founding-membership-banner {
  background: #fff;
  border: 1px solid rgba(24, 43, 38, .12);
  border-radius: 1.25rem;
  padding: 1.2rem;
  box-shadow: 0 12px 35px rgba(24, 43, 38, .08);
}

.membership-plan-card.is-current { border-color: #1f7658; }
.membership-plan-premium { background: linear-gradient(155deg, #fff 40%, #fff4fb); border-color: #a63f87; }
.membership-plan-card h2 { margin: .2rem 0 .4rem; font-size: 1.9rem; }
.membership-plan-card h2 small { font-size: .85rem; font-weight: 600; }
.membership-plan-card ul { padding-left: 1.1rem; margin: 1rem 0; }
.membership-plan-card li + li { margin-top: .45rem; }
.membership-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.membership-plan-heading .eyebrow { margin: 0; }
.membership-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  min-height: 22px;
  margin-left: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(31,118,88,.24);
  border-radius: 999px;
  background: #eef8f4;
  color: #176b5d;
  font: 900 .66rem/1 system-ui, sans-serif;
  letter-spacing: .045em;
  vertical-align: middle;
}
button.membership-feature-badge { cursor: pointer; }
.membership-feature-badge-premium { border-color: rgba(126,48,111,.26); background: #fbf0f8; color: #792663; }
.membership-feature-badge.is-locked { background: #f6f7f8; color: #52606d; border-color: rgba(82,96,109,.2); }
.membership-upgrade-backdrop { position: fixed; inset: 0; z-index: 1490; background: rgba(9,30,40,.28); }
.membership-upgrade-sheet {
  position: fixed;
  z-index: 1500;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(420px, calc(100% - 24px));
  padding: 18px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(16,42,67,.25);
}
.membership-upgrade-sheet h2 { margin: .65rem 0 .3rem; font-size: 1.25rem; }
.membership-upgrade-sheet p { margin: 0 0 .6rem; color: var(--muted); }
.membership-upgrade-actions { display: flex; gap: .5rem; margin-top: 1rem; }
.membership-current-plan, .membership-coming-soon, .membership-admin-note, .membership-manage-form { margin-top: 1rem; }
.membership-current-label { color: #1f7658; }
.founding-membership-banner { display: grid; gap: .3rem; border-color: #b06b19; background: linear-gradient(135deg, #fff8ed, #fff3fb); }
.founding-membership-banner strong { color: #6e254f; letter-spacing: .08em; }

@media (min-width: 780px) {
  .membership-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
}

.membership-plan-card { scroll-margin-top: 84px; }
.membership-plan-card.is-current { box-shadow: 0 0 0 3px rgba(31,118,88,.13), 0 14px 38px rgba(24,43,38,.1); }
.membership-sales-header { max-width: 720px; }
.membership-plan-card { display: flex; flex-direction: column; }
.membership-plan-card h3 { margin: .15rem 0 .35rem; font-size: 1.2rem; line-height: 1.2; }
.membership-plan-intro { margin: 0 0 14px; color: #52606d; line-height: 1.45; }
.membership-plan-card form { margin-top: auto; padding-top: 14px; }
.membership-term-form { display: grid; gap: 12px; }
.membership-term-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.membership-term-picker legend { width: 100%; margin: 0 0 9px; padding: 0; color: inherit; font-size: .9rem; font-weight: 900; }
.membership-term-options { display: grid; gap: 9px; }
.membership-term-option { position: relative; min-height: 54px; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid rgba(16,42,67,.16); border-radius: 14px; background: rgba(255,255,255,.9); color: #183846; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.membership-term-option input { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; opacity: 0; pointer-events: none; }
.membership-term-indicator { width: 22px; height: 22px; border: 2px solid #71818b; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px #fff; }
.membership-term-copy { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 5px; line-height: 1.25; }
.membership-term-copy strong { color: #102f3c; font-size: 1rem; }
.membership-term-copy span { color: #4b626e; font-size: .88rem; font-weight: 800; }
.membership-term-option:has(input:checked) { border-color: #087f75; background: #eaf9f6; box-shadow: 0 0 0 3px rgba(8,127,117,.12); }
.membership-term-option:has(input:checked) .membership-term-indicator { border-color: #087f75; background: #087f75; }
.membership-term-option:has(input:focus-visible) { outline: 3px solid #f5b82e; outline-offset: 2px; }
.membership-plan-premium .membership-term-option { border-color: rgba(143,233,238,.3); background: rgba(255,255,255,.96); color: #183846; }
.membership-plan-premium .membership-term-option:has(input:checked) { border-color: #8fe9ee; background: #e8fbfc; box-shadow: 0 0 0 3px rgba(143,233,238,.2); }
.membership-checkout-status { margin: 0; padding: 11px 12px; border: 1px solid rgba(16,42,67,.12); border-radius: 12px; background: rgba(255,255,255,.7); color: #3f5662; font-size: .84rem; font-weight: 750; line-height: 1.4; }
.membership-plan-premium .membership-checkout-status { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #e7f1f8; }
.membership-page-shell { padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + 24px); }
@media (forced-colors: active) {
  .membership-term-option, .membership-term-option:has(input:checked) { border-color: CanvasText; background: Canvas; color: CanvasText; box-shadow: none; }
  .membership-term-option:has(input:checked) .membership-term-indicator { background: Highlight; border-color: Highlight; }
}
.membership-plan-plus { border-color: rgba(11,99,206,.38); background: linear-gradient(155deg, #fff 34%, #edf8ff 100%); box-shadow: 0 16px 42px rgba(11,99,206,.12); }
.membership-plan-premium { color: #f7fbff; background: radial-gradient(circle at 90% 5%, rgba(8,209,216,.18), transparent 34%), linear-gradient(150deg, #07142e, #102b4f 60%, #31204c); border-color: rgba(125,222,231,.58); box-shadow: 0 20px 48px rgba(7,20,46,.25); }
.membership-plan-premium .eyebrow, .membership-plan-premium h2, .membership-plan-premium h3 { color: #fff; }
.membership-plan-premium .membership-plan-intro, .membership-plan-premium h2 small { color: #d9e8f5; }
.membership-marketing-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #064f63; background: #dff9fb; font-size: .66rem; font-weight: 950; letter-spacing: .055em; }
.membership-hero-benefits { display: grid; gap: 10px; margin: 4px 0 14px; }
.membership-hero-benefits > div { display: grid; gap: 3px; padding: 12px; border-radius: 13px; background: rgba(255,255,255,.8); border: 1px solid rgba(16,42,67,.09); }
.membership-hero-benefits strong { color: #0b536f; font-size: .75rem; letter-spacing: .055em; }
.membership-hero-benefits span { color: #34495a; font-size: .87rem; line-height: 1.35; }
.membership-hero-benefits em { margin-left: 4px; color: #73506b; font: 900 .58rem/1 system-ui,sans-serif; }
.membership-plan-premium .membership-hero-benefits > div { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); }
.membership-plan-premium .membership-hero-benefits strong { color: #8fe9ee; }
.membership-plan-premium .membership-hero-benefits span { color: #edf6fc; }
.membership-plan-premium .membership-hero-benefits em { color: #ffd6ec; }
.membership-minor-benefits { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.membership-minor-benefits span { padding: 6px 9px; border-radius: 999px; background: rgba(11,99,206,.08); color: #34495a; font-size: .76rem; font-weight: 800; }
.membership-plan-premium .membership-minor-benefits span { color: #eef7ff; background: rgba(255,255,255,.1); }
.membership-plan-premium .membership-current-label { color: #8fe9ee; }
.membership-unavailable { margin: 8px 0 0; color: #5a6670; text-align: center; font-size: .84rem; font-weight: 750; }
.membership-plan-premium .membership-unavailable { color: #d9e8f5; }
.membership-preview-note, .membership-ended-message { margin-top: 14px; padding: 13px; border-radius: 13px; background: #fff8e9; color: #594513; }
.membership-billing-date { display: flex; flex-wrap: wrap; gap: 5px 9px; margin: 10px 0 0; }
.membership-billing-date span, .membership-access-note { color: #3f5665; font-weight: 750; }
.membership-ended-message { display: grid; gap: 6px; }
.membership-ended-message > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.membership-success-shell > .primary-button { margin-top: 16px; }
.primary-button:disabled { color: #fff !important; background: #667785 !important; box-shadow: none; cursor: not-allowed; opacity: 1; }
.planner-allowance-actions .primary-button { color: #fff !important; }
.membership-plan-features, .profile-membership-features { display: grid; gap: 8px; margin: 14px 0; }
.membership-feature-row { min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid rgba(16,42,67,.09); border-radius: 12px; background: rgba(255,255,255,.76); }
.membership-feature-row.is-locked { background: #f7f8fa; color: #465562; }
.membership-feature-state { flex: 0 0 22px; color: #18735f; font-weight: 950; text-align: center; }
.membership-feature-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.membership-feature-copy strong { overflow-wrap: anywhere; font-size: .9rem; line-height: 1.18; }
.membership-feature-copy small { color: #75516d; font-weight: 850; text-transform: uppercase; font-size: .66rem; letter-spacing: .04em; }
.profile-membership-card { border-radius: 18px; padding: 16px; background: linear-gradient(145deg, #effbf8, #f3f8ff 58%, #fff5fb); }
.profile-membership-card.membership-tier-plus { background: linear-gradient(145deg, #eafff8, #eaf5ff 62%, #fff5e8); border-color: rgba(15,123,119,.26); }
.profile-membership-card.membership-tier-premium { background: linear-gradient(145deg, #eef8ff, #fff1fb 62%, #fff7e9); border-color: rgba(126,48,111,.25); }
.profile-membership-card.is-founding { background: linear-gradient(145deg, #fff5e6, #fff0f8 60%, #eef8ff); border-color: rgba(176,107,25,.34); }
.profile-membership-hero { min-width: 0; }
.profile-membership-hero .eyebrow { margin: 0 0 4px; }
.profile-membership-hero > strong { display: block; font-size: 1.15rem; letter-spacing: .04em; }
.membership-price { display: block; margin-top: 2px; color: #245a68; font-weight: 850; font-size: .84rem; }
.profile-membership-secondary { display: inline-flex; min-height: 42px; align-items: center; margin: 8px 4px 0; color: #176b5d; font-weight: 850; }

.planner-free-label { display: inline-flex; margin-left: 6px; padding: 4px 8px; border-radius: 999px; background: #eaf8f5; color: #176b5d; font-size: .69rem; font-weight: 900; letter-spacing: .035em; }
.planner-allowance-card { position: relative; overflow: hidden; margin: 14px 0; padding: 16px; border: 1px solid rgba(24,118,105,.2); border-radius: 18px; background: linear-gradient(135deg, #effbf8, #eff7ff 58%, #fff5eb); box-shadow: 0 12px 30px rgba(16,42,67,.08); }
.planner-allowance-card::after { content: "✦"; position: absolute; right: 14px; top: 10px; color: rgba(218,126,43,.5); font-size: 1.25rem; }
.planner-allowance-kicker { margin: 0 0 5px !important; color: #176b5d !important; font-size: .72rem; font-weight: 950 !important; letter-spacing: .07em; text-transform: uppercase; }
.planner-allowance-card h2 { margin: 0; font-size: clamp(1.15rem, 5vw, 1.5rem); }
.planner-allowance-card > p:not(.planner-allowance-kicker):not(.planner-allowance-upsell) { margin: 4px 0 0; }
.planner-allowance-tokens { display: flex; gap: 9px; margin: 13px 0 8px; font-size: 1.3rem; }
.planner-allowance-tokens span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.planner-allowance-tokens .is-ready { color: #fff; background: linear-gradient(135deg, #16877b, #277fbe); box-shadow: 0 4px 12px rgba(22,135,123,.22); }
.planner-allowance-tokens .is-used { color: #94a0a6; background: #e8edef; }
.planner-allowance-card small { color: #52606d; font-weight: 800; }
.planner-allowance-upsell { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid rgba(16,42,67,.09); color: #4e5960; font-weight: 750; font-size: .88rem; }
.planner-allowance-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.planner-tier-benefit { margin: 12px 0; padding: 11px 13px; display: flex; flex-wrap: wrap; gap: 6px 12px; border-radius: 13px; background: linear-gradient(135deg, #eaf8f5, #f2efff); color: #176b5d; }
.planner-tier-benefit span { color: #52606d; font-weight: 750; }
@media (prefers-reduced-motion: no-preference) {
  .planner-allowance-card.is-just-used .planner-allowance-tokens { animation: planner-token-settle .55s ease-out both; }
  @keyframes planner-token-settle { from { opacity: .55; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 420px) {
  .profile-membership-card { align-items: flex-start; }
  .profile-membership-card .membership-chip { flex: 0 0 auto; }
  .membership-feature-row { padding-inline: 9px; }
  .planner-allowance-actions > * { flex: 1 1 130px; justify-content: center; }
}

.profile-edit-link {
  white-space: nowrap;
}

.profile-dashboard-section {
  padding: 16px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(16,42,67,.1);
  box-shadow: 0 10px 24px rgba(16,42,67,.06);
}

.profile-dashboard-section h2,
.profile-edit-section h2 {
  margin: 0 0 10px;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #176b5d;
}

.profile-action-list {
  display: grid;
  gap: 8px;
}

.profile-action-row {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(16,42,67,.1);
  color: var(--ink);
}

.profile-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff4dc;
  color: #8a4b00;
  font-weight: 950;
  font-size: .72rem;
}

.profile-action-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-action-copy strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.15;
}

.profile-action-copy small,
.profile-membership-card p,
.profile-premium-preview li span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.25;
}

.profile-action-count,
.profile-action-arrow {
  min-width: 34px;
  text-align: right;
  font-weight: 950;
  color: #176b5d;
}

.profile-membership-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(16,42,67,.1);
}

.profile-membership-card p {
  margin: 4px 0 0;
}

.profile-premium-preview {
  margin-top: 8px;
}

.profile-premium-preview summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
  color: #176b5d;
}

.profile-premium-preview ul {
  margin: 0;
  padding-left: 18px;
}

.profile-premium-preview li {
  margin: 6px 0;
}

.profile-signout-row {
  width: 100%;
  border: 1px solid rgba(16,42,67,.1);
  font: inherit;
  text-align: left;
}

.link-button {
  border: 0;
  background: transparent;
  color: #176b5d;
  font-weight: 950;
  padding: 0;
  cursor: pointer;
}

.profile-photo-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.profile-file-control {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.field-help {
  display: block;
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.profile-toggle-list {
  display: grid;
  gap: 8px;
}

.profile-toggle-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7fbf8;
  border: 1px solid rgba(16,42,67,.1);
}

.profile-toggle-row span {
  display: grid;
  gap: 2px;
}

.profile-toggle-row small {
  color: var(--muted);
  font-weight: 700;
}

.profile-toggle-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.profile-save-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: var(--gd-sea-glass-soft);
  color: var(--gd-deep-ocean);
  font-weight: 850;
}
.profile-reset-preferences-form {
  max-width: 760px;
  margin: 10px auto 0;
}

.profile-spot-list {
  display: grid;
  gap: 10px;
}

.profile-spot-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(16,35,31,.07);
}

.profile-spot-card img,
.profile-spot-placeholder {
  width: 86px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.profile-spot-placeholder {
  display: grid;
  place-items: center;
  background: #eef8f4;
  color: #176b5d;
  font-weight: 950;
  font-size: .78rem;
}

.profile-spot-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-spot-copy strong,
.profile-spot-copy span {
  overflow-wrap: anywhere;
}

.profile-spot-copy span {
  color: var(--muted);
  font-weight: 750;
}

.profile-spot-status {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: #eef8f4;
  color: #176b5d;
  font-weight: 900;
  font-size: .76rem;
}

.profile-spot-status.pending {
  background: #fff4dc;
  color: #8a4b00;
}

.profile-spot-status.private {
  background: #eef2ff;
  color: #34407a;
}

.profile-spot-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-spot-actions .secondary-button {
  min-height: 38px;
  padding: 8px 12px;
}

@media (max-width: 760px) {
  .profile-page-header {
    gap: 10px;
  }

  .profile-page-header .primary-button,
  .profile-page-header .secondary-button {
    width: 100%;
  }

  .profile-member-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }

  .profile-avatar {
    width: 78px;
    height: 78px;
  }

  .profile-edit-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-membership-card {
    display: grid;
  }

  .nearby-row {
    grid-auto-columns: minmax(220px, 78%);
    max-width: 100%;
  }

  .nearby-row article {
    min-width: 0;
  }

  .nearby-row article strong,
  .nearby-row article span {
    overflow-wrap: anywhere;
  }

  .nearby-row article > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
  }

  .nearby-place-list article {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .nearby-place-actions {
    justify-content: flex-start;
  }
}

/* Showcase preview/detail refinements. Kept at the end to override older Explore sheet rules. */
.discovery-sheet.map-bottom-sheet.has-showcase-video {
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  max-height: min(430px, calc(100% - 52px));
}

.discovery-sheet.map-bottom-sheet.has-showcase-video > video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 430px;
  object-fit: contain;
  background: #102a43;
}

.showcase-sound-toggle {
  position: absolute;
  z-index: 5;
  left: 10px;
  top: 10px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.92);
  color: #102a43;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(16,42,67,.22);
}

.showcase-sound-toggle[hidden] {
  display: none;
}

.discovery-sheet.map-bottom-sheet.has-showcase-video.has-portrait-showcase-video > video {
  object-fit: contain;
  background:
    linear-gradient(90deg, rgba(16,42,67,.92), rgba(16,42,67,.72)),
    var(--gd-deep-ocean);
}

.discovery-sheet .sheet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.discovery-sheet .sheet-actions a,
.discovery-sheet .sheet-actions button {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  justify-content: center;
  white-space: nowrap;
}

.discovery-sheet .sheet-actions form {
  width: 100%;
}

.discovery-sheet .sheet-actions [data-sheet-open] {
  grid-column: auto;
}

.spot-showcase-hero {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(74svh, 760px);
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #102a43;
  box-shadow: 0 22px 54px rgba(34,52,47,.14);
}

.spot-showcase-hero video {
  position: static;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(74svh, 760px);
  object-fit: contain;
  background: #102a43;
}

@media (max-width: 760px) {
  .discovery-sheet.map-bottom-sheet {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .discovery-sheet.map-bottom-sheet.has-showcase-video {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: min(62svh, 520px);
  }

  .discovery-sheet.map-bottom-sheet.has-showcase-video > video {
    width: 100%;
    height: clamp(178px, 32svh, 260px);
    min-height: 178px;
    max-height: 260px;
    object-fit: contain;
  }

  .discovery-sheet.map-bottom-sheet.has-showcase-video.has-portrait-showcase-video > video {
    height: clamp(210px, 35svh, 280px);
    max-height: 280px;
  }

  .showcase-sound-toggle {
    left: 12px;
    top: 12px;
    min-height: 34px;
    padding: 8px 11px;
    font-size: .78rem;
  }

  .discovery-sheet .sheet-content {
    min-height: 0;
  }

  .discovery-sheet .sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 6px;
  }

  .discovery-sheet .sheet-actions a,
  .discovery-sheet .sheet-actions button {
    width: 100%;
    min-height: 32px;
    padding: 6px 7px;
    font-size: .74rem;
  }

  .spot-showcase-hero {
    min-height: 320px;
    max-height: min(62svh, 560px);
    border-radius: 12px;
  }

  .spot-showcase-hero video {
    max-height: min(62svh, 560px);
  }
}

.header-avatar-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--gd-sea-glass-soft) 72%, white);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 18px rgba(16,42,67,.13);
  color: var(--gd-deep-ocean) !important;
  text-decoration: none;
}

.header-avatar-image,
.header-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 999px;
}

.header-avatar-image {
  object-fit: cover;
  display: block;
}

.header-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea));
  color: white;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: 0;
}

.desktop-profile-avatar {
  display: flex;
  align-items: center;
  padding-inline: 4px;
}

.desktop-profile-avatar .header-avatar-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
}

.account-manage-shell {
  width: min(100%, 840px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.account-manage-header {
  padding: 16px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gd-white), var(--gd-sky));
  box-shadow: 0 12px 28px rgba(16,42,67,.08);
}

.account-manage-header p {
  margin: 0 0 4px;
  color: var(--gd-cornish-sea);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.account-manage-header h1 {
  margin: 0;
  color: var(--gd-deep-ocean);
  font-size: clamp(1.55rem, 7vw, 2.35rem);
  line-height: 1;
}

.account-manage-header span {
  display: block;
  margin-top: 6px;
  color: var(--gd-muted);
  font-weight: 800;
}

.account-manage-tabs,
.nav-pills.flex-column {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
}

.account-manage-tabs::-webkit-scrollbar,
.nav-pills.flex-column::-webkit-scrollbar {
  display: none;
}

.account-manage-tabs a,
.nav-pills.flex-column .nav-link {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gd-border);
  border-radius: 999px !important;
  padding: 8px 12px;
  background: var(--gd-white);
  color: var(--gd-deep-ocean) !important;
  font-weight: 900;
  font-size: .86rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(16,42,67,.06);
}

.account-manage-tabs a.is-active,
.nav-pills.flex-column .nav-link.active {
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea)) !important;
  color: white !important;
  border-color: transparent !important;
}

.account-settings-card,
.identity-page form,
.row:has(.nav-pills.flex-column) main form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: var(--gd-white);
  box-shadow: 0 12px 28px rgba(16,42,67,.08);
}

.account-settings-card label,
.identity-page label,
.row:has(.nav-pills.flex-column) main label {
  color: var(--gd-deep-ocean);
  font-weight: 900;
}

.account-settings-card input,
.identity-page input,
.row:has(.nav-pills.flex-column) main input,
.row:has(.nav-pills.flex-column) main select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  padding: 10px 11px;
  background: var(--gd-white);
  color: var(--gd-deep-ocean);
  font-weight: 800;
}

.account-settings-card input:disabled {
  background: var(--gd-sky);
  color: var(--gd-deep-ocean);
  opacity: 1;
}

.account-status-message,
.account-validation,
.row:has(.nav-pills.flex-column) .text-danger {
  border-radius: 8px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--gd-sea-glass-soft) 65%, white);
  color: var(--gd-deep-ocean);
  font-weight: 850;
}

.row:has(.nav-pills.flex-column) .btn-primary {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea)) !important;
  color: white !important;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(13,138,160,.22);
}

@media (max-width: 760px) {
  .account-manage-shell {
    gap: 12px;
  }

.account-manage-header,
.account-settings-card,
.identity-page form,
.row:has(.nav-pills.flex-column) main form {
    padding: 14px;
  }
}

.integration-card-wide {
  grid-column: 1 / -1;
}

.integration-setup-note {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: var(--gd-sky);
  color: var(--gd-deep-ocean);
}

.integration-setup-note code {
  overflow-wrap: anywhere;
  color: var(--gd-deep-ocean);
}

.integration-setup-note ul {
  margin: 0;
  padding-left: 18px;
}

.secure-key-panel {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(15,139,141,.22);
  border-radius: 8px;
  background: #f3fbfa;
  color: var(--gd-ink);
}

.secure-key-panel strong {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gd-deep-ocean);
}

.secure-key-panel span {
  font-weight: 900;
}

.secure-key-panel small {
  color: var(--gd-muted);
  line-height: 1.35;
}

.integration-provider-form {
  margin-bottom: 10px;
}

.integration-actions {
  align-items: flex-start;
}

.replace-key-panel {
  width: 100%;
}

.replace-key-panel summary {
  width: fit-content;
  list-style: none;
}

.replace-key-panel summary::-webkit-details-marker {
  display: none;
}

.replace-key-panel[open] summary {
  margin-bottom: 10px;
}

.google-admin-proof,
.google-places-proof-section {
  border-left: 4px solid #4285f4;
}

.google-admin-proof-list {
  display: grid;
  gap: 12px;
}

.google-admin-proof {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7fbff;
}

.google-admin-proof > div {
  display: grid;
  gap: 4px;
}

.google-rating-summary {
  display: grid;
  gap: 3px;
}

.google-rating-summary strong {
  font-size: 1.65rem;
  color: #1a73e8;
}

.google-rating-summary span {
  font-weight: 850;
}

.google-rating-summary small {
  color: var(--gd-muted);
  line-height: 1.35;
}

.google-photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 32%);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 4px;
}

.google-photo-strip article {
  display: grid;
  gap: 8px;
  scroll-snap-align: start;
}

.google-reputation-section {
  display: grid;
  gap: 10px;
}

.google-reputation-card {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  border: 1px solid rgba(16,35,31,.09);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(34,52,47,.06);
}

.google-label {
  flex: 0 0 auto;
  font-family: Roboto, Inter, Sans-Serif;
  font-size: .78rem;
  font-weight: 400;
  color: #5e5e5e;
  letter-spacing: 0;
  white-space: nowrap;
}

.google-reputation-card .google-rating-summary {
  min-width: 0;
  flex: 1 1 auto;
}

.google-reputation-card .google-rating-summary strong {
  color: #102f2b;
  font-size: 1.18rem;
  line-height: 1;
}

.google-reputation-card .google-rating-summary span {
  color: #355750;
  font-size: .92rem;
}

.google-map-link,
.google-all-reviews,
.google-source-link,
.google-review-toggle {
  color: #176b5d;
  font-weight: 900;
  text-decoration: none;
}

.google-review-toggle,
.google-all-reviews {
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.google-review-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.google-review-heading h3 {
  margin: 0;
  font-size: 1.05rem;
}

.google-review-heading small {
  color: var(--gd-muted);
  text-align: right;
}

.google-review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.google-review-list article {
  display: grid;
  gap: 7px;
  padding: 10px;
  background: #fff;
}

.google-review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.google-review-author img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.google-review-author strong,
.google-review-author a {
  color: #102f2b;
  font-size: .9rem;
}

.google-review-author small {
  display: block;
  color: var(--gd-muted);
  font-size: .78rem;
}

.google-review-stars {
  color: #b76b00;
  letter-spacing: 0;
  font-size: .86rem;
}

.google-review-list p {
  margin: 0;
  color: #2f4d47;
  font-size: .88rem;
  line-height: 1.38;
}

.google-photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eef3f6;
}

.google-photo-strip small,
.google-review-list small {
  color: var(--gd-muted);
  line-height: 1.35;
}

.google-review-list {
  display: grid;
  gap: 12px;
}

.google-review-list article {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: #fff;
}

.google-review-author {
  display: flex;
  gap: 8px;
  align-items: center;
}

.google-review-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.google-review-stars {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff8e1;
  color: #7a4d00;
  font-weight: 850;
}

.nearby-gallery-item {
  position: relative;
}

.nearby-gallery-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(16,42,67,.88);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .google-photo-strip {
    grid-auto-columns: 82%;
  }
}

/* Premium discovery system pass */
:root {
  --gd-space-1: 4px;
  --gd-space-2: 8px;
  --gd-space-3: 12px;
  --gd-space-4: 16px;
  --gd-space-5: 20px;
  --gd-radius-card: 8px;
  --gd-shadow-card: 0 12px 30px rgba(16,42,67,.1);
  --gd-shadow-float: 0 18px 44px rgba(16,42,67,.16);
}

.discovery-shell {
  display: grid;
  gap: var(--gd-space-3);
}

.discovery-topbar {
  grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
  gap: var(--gd-space-2);
  padding: var(--gd-space-2);
  border-radius: var(--gd-radius-card);
  background: rgba(255,255,255,.94);
  box-shadow: var(--gd-shadow-card);
}

.discovery-topbar input[name="Search"] {
  min-height: 40px;
  font-size: .95rem;
}

.discovery-topbar button,
.map-utility-controls button,
.map-mode-switcher button,
.watch-subtype-switcher button {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.1;
  font-weight: 850;
}

.discovery-meta {
  display: flex;
  gap: var(--gd-space-2);
  align-items: center;
  flex-wrap: wrap;
  min-height: 34px;
  color: var(--gd-muted);
}

.discovery-meta strong {
  color: var(--gd-ink);
  font-size: .95rem;
}

.active-filter-chip,
.facility-grid.compact span,
.place-quick-facts span {
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(15,61,46,.12);
  background: #fff;
  color: var(--gd-forest);
  padding: 7px 10px;
  font-size: .78rem;
  line-height: 1.1;
  font-weight: 850;
  box-shadow: none;
}

.place-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.place-quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.place-quick-facts small {
  color: var(--gd-muted);
  font-weight: 750;
}

.place-quick-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.premium-spot-card,
.premium-event-card,
.nearby-row article,
.google-review-list article {
  border-radius: var(--gd-radius-card);
  border: 1px solid rgba(16,35,31,.08);
  background: #fff;
  box-shadow: var(--gd-shadow-card);
  overflow: hidden;
}

.premium-card-media {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--gd-radius-card);
  box-shadow: none;
}

.premium-card-media img,
.premium-card-media video,
.nearby-row img,
.event-card-media img,
.spot-detail-gallery img,
.premium-gallery img,
.premium-gallery video {
  object-fit: cover;
}

.premium-card-body {
  padding: 11px 2px 0;
  gap: 5px;
}

.premium-card-body h3 {
  font-size: 1rem;
  line-height: 1.18;
}

.card-highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 3px;
  color: var(--gd-muted);
  font-size: .84rem;
  line-height: 1.25;
}

.card-highlight-list li {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.premium-card-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.premium-card-actions a,
.premium-card-actions button,
.sheet-actions a,
.sheet-actions button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: .8rem;
  border-radius: 999px;
}

.premium-card-actions .ghost-button,
.sheet-actions .primary-button {
  flex: 1 1 120px;
}

.discovery-map-controls {
  gap: 7px;
}

.map-mode-switcher,
.watch-subtype-switcher,
.map-utility-controls {
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 10px 24px rgba(16,42,67,.12);
}

.map-mode-button.map-mode-places.is-active { background: #f2c84b; color: #2d2506 !important; }
.map-mode-button.map-mode-activities.is-active { background:#08aeb7; color:#fff !important; }
.map-mode-button.map-mode-events.is-active { background: #d9468f; color: #fff !important; }
.discovery-map-controls {
  left: 8px;
  right: 8px;
  top: 8px;
  max-width: none;
  width: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  pointer-events: none;
}
.discovery-map-controls > * {
  pointer-events: auto;
}
.map-mode-switcher,
.map-utility-controls,
.map-environment-controls {
  width: fit-content;
  max-width: 100%;
}
.map-mode-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
  width: min(344px, 100%);
  overflow-x: auto;
  scrollbar-width: none;
}
.map-mode-switcher::-webkit-scrollbar { display:none; }
.geo-activity-marker span,.geo-activity-cluster span { display:grid; place-items:center; min-width:36px; height:36px; padding:0 8px; border:3px solid #fff; border-radius:999px; background:#08aeb7; color:#fff; font-weight:950; box-shadow:0 6px 16px rgba(7,20,46,.28); }
.activity-explore-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; padding-bottom:var(--gd-bottom-nav-space); }
.activity-explore-card { overflow:hidden; display:grid; grid-template-columns:42% 1fr; min-height:250px; border:1px solid var(--gd-border); border-radius:22px; background:#fff; box-shadow:0 12px 30px rgba(7,20,46,.08); }
.activity-explore-media { min-height:210px; }
.activity-explore-media img,.activity-explore-media .activity-media-fallback { width:100%; height:100%; object-fit:cover; }
.activity-explore-body { display:flex; flex-direction:column; align-items:flex-start; padding:1rem; }
.activity-explore-body h2 { margin:.2rem 0 .4rem; font-size:1.25rem; }
.activity-explore-body>.primary-button { margin-top:auto; }
@media(max-width:760px){.activity-explore-grid{grid-template-columns:1fr}.activity-explore-card{grid-template-columns:1fr}.activity-explore-media{height:190px;min-height:190px}.map-mode-switcher .map-mode-button{min-width:max-content;padding-inline:.72rem}}
.explore-primary-modes { position:sticky; top:var(--gd-header-height, 0); z-index:1080; min-width:0; padding:2px 0; background:linear-gradient(180deg,var(--gd-page) 75%,transparent); }
.explore-primary-modes .map-mode-switcher { width:100%; max-width:100%; display:flex; flex-wrap:nowrap; }
.explore-primary-modes .map-mode-button { flex:0 0 auto; white-space:nowrap; }
.activity-explore-grid { grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:14px; padding-bottom:calc(var(--gd-bottom-nav-space) + 28px); }
.activity-explore-card { display:block; min-height:0; border-radius:var(--gd-radius-card); }
.activity-explore-card .activity-explore-media { min-height:0; height:auto; aspect-ratio:16/9; border-radius:var(--gd-radius-card) var(--gd-radius-card) 0 0; }
.activity-explore-card .activity-explore-media>a { display:block; width:100%; height:100%; }
.activity-explore-card .activity-category-fallback { display:grid; place-items:center; align-content:center; gap:5px; width:100%; height:100%; background:linear-gradient(145deg,#0d6f72,#18aeb5 56%,#efb85a); color:#fff; }
.activity-category-fallback span { font-size:1.65rem; }
.activity-category-fallback small { font-size:.78rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.activity-explore-card .activity-explore-body { display:grid; align-items:initial; gap:5px; padding:11px 12px 12px; }
.activity-explore-body h3 { margin:0; font-size:1.02rem; line-height:1.18; overflow-wrap:anywhere; }
.activity-card-location { margin:0; color:var(--gd-muted); font-size:.84rem; line-height:1.25; overflow-wrap:anywhere; }
.activity-explore-body .activity-card-facts { margin:2px 0 0; }
.activity-explore-body .premium-card-actions { display:grid; grid-template-columns:1fr 1fr; margin-top:4px; width:100%; }
.activity-explore-body .premium-card-actions a { min-width:0; text-align:center; }
@media(max-width:760px){
  .explore-primary-modes { margin-inline:-2px; }
  .explore-primary-modes .map-mode-switcher { scroll-snap-type:x proximity; padding:4px; }
  .activity-explore-grid { gap:12px; }
  .activity-explore-card .activity-explore-media { height:auto; min-height:0; aspect-ratio:16/7.6; }
  .activity-explore-body .activity-card-facts:empty { display:none; }
}
.map-mode-switcher:has(.map-mode-seasonal) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow-x: auto;
}
.map-environment-controls {
  position: static;
  z-index: auto;
  display: grid;
  grid-template-columns: 88px 88px;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 10px 24px rgba(16,42,67,.12);
}
.map-utility-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(270px, 100%);
}
.discovery-map-controls button,
.map-environment-controls button {
  min-width: 0;
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-weather-control,
.map-compass-control {
  inline-size: 88px;
  justify-content: center;
}
.map-control-stack .map-compass-control,
.discovery-map-controls .map-compass-control,
.map-environment-controls .map-compass-control {
  display: inline-flex;
  grid-template-columns: none;
  gap: 5px;
  padding: 5px 8px;
}
.map-compass-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.map-compass-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 3px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}
.map-compass-copy {
  display: block;
  min-width: 0;
  text-align: center;
}
.map-compass-copy span {
  max-width: none;
  font-size: .74rem;
}
.map-compass-copy small[hidden] {
  display: none;
}
.map-compass-panel {
  position: absolute;
  z-index: 705;
  top: 140px;
  left: 8px;
  width: min(214px, calc(100% - 16px));
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(16,42,67,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(16,42,67,.2);
}
.map-compass-panel[hidden] {
  display: none;
}
.map-compass-panel-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gd-navy);
  font-size: .82rem;
  font-weight: 900;
}
.map-compass-panel-header span {
  min-width: 34px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8f6;
  color: #075963;
  font-size: .68rem;
}
.map-compass-panel-dial {
  width: 86px;
  height: 86px;
}
.map-compass-panel-dial .map-compass-cardinal {
  font-size: .68rem;
}
.map-compass-panel-dial .map-compass-needle {
  top: 13px;
  height: 58px;
  width: 5px;
}
.map-compass-panel-heading {
  min-width: 96px;
  text-align: center;
  color: var(--gd-navy);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}
.map-compass-panel button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--gd-navy);
  color: white;
  font-weight: 900;
}
.map-weather-panel {
  top: 140px;
  left: 8px;
  right: auto;
  width: min(290px, calc(100% - 16px));
}
@media (max-width: 380px) {
  .map-mode-switcher {
    width: calc(100vw - 16px);
  }
  .map-mode-switcher .map-mode-button,
  .map-utility-controls button {
    padding-inline: 5px;
    font-size: .7rem;
  }
  .map-utility-controls {
    width: min(252px, 100%);
  }
}
.map-mode-seasonal { color: #0e5f57 !important; position: relative; overflow: hidden; }
.map-mode-button.map-mode-seasonal.is-active {
  background: #073f36 !important;
  border-color: #f4c95d !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  box-shadow: 0 0 0 2px rgba(250,204,21,.72), 0 12px 28px rgba(7,63,54,.34);
}
.map-mode-button.map-mode-seasonal.is-active::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.8) 0 1px, transparent 2px),
              radial-gradient(circle at 76% 42%, rgba(255,255,255,.7) 0 1px, transparent 2px),
              radial-gradient(circle at 48% 72%, rgba(255,255,255,.65) 0 1px, transparent 2px),
              linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.42) 45%, transparent 60% 100%);
  background-size: auto, auto, auto, 220% 100%;
  opacity: .34;
  pointer-events: none;
  animation: gd-sparkle 1.8s ease-in-out infinite, gd-seasonal-shimmer 2.2s linear infinite;
}
.seasonal-subtype-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  pointer-events: auto;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 12px;
  scrollbar-width: none;
  padding: 4px 14px 8px 4px;
  max-width: min(100%, 390px);
  -webkit-overflow-scrolling: touch;
}
.seasonal-subtype-switcher::-webkit-scrollbar { display: none; }
.seasonal-subtype-button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(14,111,103,.25);
  background: rgba(255,255,255,.94);
  color: #0e5f57;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 850;
  font-size: .88rem;
}
.seasonal-subtype-button.is-active {
  background: #0e6f67;
  color: #fff;
  border-color: #0e6f67;
}
.geo-seasonal-marker span,
.geo-seasonal-cluster span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #0e6f67, #9f4d8b);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 9px 22px rgba(18,70,77,.38), 0 0 0 4px rgba(250,204,21,.24), 0 0 24px rgba(250,204,21,.42);
}
.geo-seasonal-marker b,
.geo-seasonal-cluster b {
  transform: rotate(45deg);
  font-size: 15px;
  line-height: 1;
}
.geo-seasonal-marker span::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(250,204,21,.66);
  box-shadow: 0 0 18px rgba(250,204,21,.5);
  opacity: .82;
  animation: gd-seasonal-pulse 1.9s ease-out infinite;
}
.seasonal-mode .map-state {
  border-color: rgba(15,118,110,.22);
  box-shadow: 0 0 0 1px rgba(250,204,21,.22), 0 10px 26px rgba(15,118,110,.18);
}
.seasonal-home-band {
  position: relative;
  overflow: hidden;
}
.seasonal-landing {
  min-height: min(560px, 72vh);
  margin: -18px -18px 20px;
  padding: clamp(24px, 6vw, 64px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,41,35,.14), rgba(7,41,35,.82)),
    url('/images/placeholders/spot-6.svg') center/cover;
}
.seasonal-landing > div {
  max-width: 760px;
}
.seasonal-landing span {
  font-weight: 950;
}
.seasonal-landing h1 {
  color: #fff;
  margin: 8px 0;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: .96;
}
.seasonal-landing p {
  max-width: 620px;
  font-size: 1.08rem;
}
.seasonal-home-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 8% 18%, rgba(250,204,21,.22) 0 1px, transparent 2px),
              radial-gradient(circle at 86% 24%, rgba(15,118,110,.18) 0 1px, transparent 2px),
              radial-gradient(circle at 52% 82%, rgba(185,28,28,.14) 0 1px, transparent 2px),
              linear-gradient(110deg, transparent 0 35%, rgba(250,204,21,.14) 48%, transparent 62% 100%);
  background-size: auto, auto, auto, 240% 100%;
  animation: gd-seasonal-shimmer 4.6s linear infinite;
}
.seasonal-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.seasonal-home-card {
  border: 1px solid rgba(14,111,103,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,250,248,.96));
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 6px;
  color: var(--gd-ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,118,110,.08), inset 0 1px 0 rgba(250,204,21,.28);
  animation: gd-seasonal-reveal 420ms ease-out both;
}
.seasonal-home-card span,
.seasonal-drop-tease span {
  color: #0e6f67;
  font-weight: 900;
  font-size: .88rem;
}
.seasonal-home-card strong {
  font-size: 1.04rem;
}
.seasonal-drop-tease,
.founding-member-strip {
  margin-top: 10px;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,.95);
  display: grid;
  gap: 5px;
}
.founding-member-strip progress {
  width: 100%;
  height: 10px;
  accent-color: #0f766e;
}
@media (max-width: 760px) {
  .seasonal-home-grid {
    display: flex;
    overflow-x: auto;
    gap: 9px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .seasonal-home-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}
@keyframes gd-seasonal-pulse {
  0% { transform: scale(.72); opacity: .65; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes gd-seasonal-shimmer {
  to { background-position: 0 0, 0 0, 0 0, -240% 0; }
}
@keyframes gd-seasonal-reveal {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .map-mode-button.map-mode-seasonal.is-active::after,
  .geo-seasonal-marker span::after,
  .seasonal-home-band::after,
  .seasonal-home-card {
    animation: none;
  }
}

/* Reusable seasonal campaign utilities */
.seasonal-theme {
  --seasonal-evergreen: #083f36;
  --seasonal-evergreen-2: #0f766e;
  --seasonal-gold: #f4c95d;
  --seasonal-gold-soft: #fff3bf;
  --seasonal-coral: #d95f58;
  --seasonal-cream: #fffaf0;
  --seasonal-ice: #e7fbff;
  --seasonal-shadow: rgba(8,63,54,.22);
}
.seasonal-glow {
  box-shadow: 0 18px 48px var(--seasonal-shadow), 0 0 0 1px rgba(244,201,93,.22);
}
.seasonal-shimmer {
  position: relative;
  overflow: hidden;
}
.seasonal-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255,250,240,.45) 50%, transparent 62% 100%);
  background-size: 230% 100%;
  pointer-events: none;
  animation: gd-seasonal-shimmer 2.2s ease-out 1 both;
}
.seasonal-reveal {
  animation: gd-seasonal-reveal 520ms var(--gd-ease) both;
}
.seasonal-halo {
  position: relative;
  overflow: hidden;
}
.seasonal-halo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 18% 10%, rgba(244,201,93,.35), transparent 28%),
              radial-gradient(circle at 86% 18%, rgba(231,251,255,.32), transparent 24%);
}
.seasonal-sparkle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.seasonal-sparkle span,
.seasonal-map-burst span {
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--seasonal-gold);
  box-shadow: 0 0 18px rgba(244,201,93,.72);
  animation: gd-seasonal-sparkle-burst 1.45s ease-out 1 both;
}
.seasonal-sparkle span:nth-child(1) { left: 12%; top: 20%; animation-delay: 40ms; }
.seasonal-sparkle span:nth-child(2) { left: 83%; top: 18%; animation-delay: 180ms; background: var(--seasonal-ice); }
.seasonal-sparkle span:nth-child(3) { left: 72%; top: 76%; animation-delay: 300ms; background: var(--seasonal-coral); }
.seasonal-sparkle span:nth-child(4) { left: 24%; top: 82%; animation-delay: 430ms; }
.seasonal-decoration {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.seasonal-snow,
.seasonal-twinkles,
.seasonal-global-sparkle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.seasonal-snow span {
  position: absolute;
  top: -18px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 0 10px rgba(231,251,255,.96), 0 0 2px rgba(8,63,54,.16);
  animation: gd-seasonal-snow-fall 15s linear infinite;
}
.seasonal-snow span:nth-child(1) { left: 4%; width: 3px; height: 3px; opacity: .55; animation-duration: 16s; animation-delay: 0s; }
.seasonal-snow span:nth-child(2) { left: 9%; width: 5px; height: 5px; opacity: .72; animation-duration: 21s; animation-delay: 3s; }
.seasonal-snow span:nth-child(3) { left: 14%; width: 2px; height: 2px; opacity: .5; animation-duration: 18s; animation-delay: 7s; }
.seasonal-snow span:nth-child(4) { left: 19%; width: 4px; height: 4px; opacity: .7; animation-duration: 24s; animation-delay: 1s; }
.seasonal-snow span:nth-child(5) { left: 25%; width: 3px; height: 3px; opacity: .62; animation-duration: 19s; animation-delay: 5s; }
.seasonal-snow span:nth-child(6) { left: 31%; width: 6px; height: 6px; opacity: .65; animation-duration: 25s; animation-delay: 9s; }
.seasonal-snow span:nth-child(7) { left: 36%; width: 3px; height: 3px; opacity: .68; animation-duration: 17s; animation-delay: 2s; }
.seasonal-snow span:nth-child(8) { left: 42%; width: 4px; height: 4px; opacity: .72; animation-duration: 22s; animation-delay: 6s; }
.seasonal-snow span:nth-child(9) { left: 48%; width: 2px; height: 2px; opacity: .55; animation-duration: 20s; animation-delay: 11s; }
.seasonal-snow span:nth-child(10) { left: 53%; width: 5px; height: 5px; opacity: .76; animation-duration: 26s; animation-delay: 4s; }
.seasonal-snow span:nth-child(11) { left: 58%; width: 3px; height: 3px; opacity: .58; animation-duration: 18s; animation-delay: 8s; }
.seasonal-snow span:nth-child(12) { left: 63%; width: 4px; height: 4px; opacity: .72; animation-duration: 23s; animation-delay: 12s; }
.seasonal-snow span:nth-child(13) { left: 68%; width: 2px; height: 2px; opacity: .52; animation-duration: 16s; animation-delay: 10s; }
.seasonal-snow span:nth-child(14) { left: 73%; width: 5px; height: 5px; opacity: .74; animation-duration: 27s; animation-delay: 1s; }
.seasonal-snow span:nth-child(15) { left: 78%; width: 3px; height: 3px; opacity: .64; animation-duration: 19s; animation-delay: 13s; }
.seasonal-snow span:nth-child(16) { left: 83%; width: 4px; height: 4px; opacity: .7; animation-duration: 22s; animation-delay: 6s; }
.seasonal-snow span:nth-child(17) { left: 88%; width: 2px; height: 2px; opacity: .54; animation-duration: 17s; animation-delay: 4s; }
.seasonal-snow span:nth-child(18) { left: 93%; width: 5px; height: 5px; opacity: .7; animation-duration: 24s; animation-delay: 9s; }
.seasonal-snow span:nth-child(19) { left: 97%; width: 3px; height: 3px; opacity: .6; animation-duration: 20s; animation-delay: 14s; }
.seasonal-snow span:nth-child(20) { left: 7%; width: 2px; height: 2px; opacity: .48; animation-duration: 28s; animation-delay: 15s; }
.seasonal-snow span:nth-child(21) { left: 29%; width: 4px; height: 4px; opacity: .62; animation-duration: 24s; animation-delay: 16s; }
.seasonal-snow span:nth-child(22) { left: 51%; width: 3px; height: 3px; opacity: .58; animation-duration: 26s; animation-delay: 17s; }
.seasonal-snow span:nth-child(23) { left: 69%; width: 5px; height: 5px; opacity: .66; animation-duration: 29s; animation-delay: 18s; }
.seasonal-snow span:nth-child(24) { left: 91%; width: 3px; height: 3px; opacity: .6; animation-duration: 25s; animation-delay: 19s; }
.seasonal-twinkles span,
.seasonal-global-sparkle span {
  position: absolute;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--seasonal-gold);
  box-shadow: 0 0 16px rgba(244,201,93,.72);
  opacity: .74;
  animation: gd-seasonal-twinkle 5.8s ease-in-out infinite;
}
.seasonal-twinkles span:nth-child(1) { left: 8%; top: 18%; animation-delay: .2s; }
.seasonal-twinkles span:nth-child(2) { left: 18%; top: 64%; width: 3px; animation-delay: 2.1s; background: var(--seasonal-ice); }
.seasonal-twinkles span:nth-child(3) { left: 27%; top: 32%; animation-delay: 3.7s; }
.seasonal-twinkles span:nth-child(4) { left: 39%; top: 74%; width: 4px; animation-delay: 1.2s; background: var(--seasonal-ice); }
.seasonal-twinkles span:nth-child(5) { left: 52%; top: 21%; width: 3px; animation-delay: 4.4s; }
.seasonal-twinkles span:nth-child(6) { left: 62%; top: 56%; animation-delay: 2.9s; background: var(--seasonal-coral); }
.seasonal-twinkles span:nth-child(7) { left: 74%; top: 28%; width: 4px; animation-delay: .8s; }
.seasonal-twinkles span:nth-child(8) { left: 86%; top: 68%; width: 3px; animation-delay: 3.4s; background: var(--seasonal-ice); }
.seasonal-twinkles span:nth-child(9) { left: 94%; top: 22%; animation-delay: 5.1s; }
.seasonal-twinkles span:nth-child(10) { left: 12%; top: 84%; width: 4px; animation-delay: 4.8s; background: var(--seasonal-coral); }
.seasonal-twinkles span:nth-child(11) { left: 47%; top: 88%; width: 3px; animation-delay: 1.9s; }
.seasonal-twinkles span:nth-child(12) { left: 81%; top: 12%; width: 4px; animation-delay: 2.6s; }
.seasonal-global-sparkle span {
  width: 8px;
  animation: gd-seasonal-sparkle-burst 1.7s ease-out 1 both;
}
.seasonal-global-sparkle span:nth-child(1) { left: 18%; top: 15%; animation-delay: 180ms; }
.seasonal-global-sparkle span:nth-child(2) { left: 78%; top: 22%; animation-delay: 420ms; background: var(--seasonal-ice); }
.seasonal-global-sparkle span:nth-child(3) { left: 56%; top: 76%; animation-delay: 680ms; background: var(--seasonal-coral); }

body.seasonal-theme-christmas {
  background:
    radial-gradient(circle at 8% 0, rgba(244,201,93,.18), transparent 22%),
    radial-gradient(circle at 92% 2%, rgba(231,251,255,.26), transparent 20%),
    linear-gradient(180deg, #f6fffb 0, #fffaf0 260px, var(--gd-page) 620px);
}
body.seasonal-theme-christmas .top-shell {
  background:
    radial-gradient(circle at 18% 12%, rgba(244,201,93,.2), transparent 26%),
    linear-gradient(135deg, #0f5f52, #0f766e 74%, #f4c95d);
  border-bottom: 1px solid rgba(244,201,93,.5);
  box-shadow: 0 8px 24px rgba(8,63,54,.14);
}
body.seasonal-theme-christmas .mobile-top-bar,
body.seasonal-theme-christmas .desktop-nav {
  color: #fffaf0;
}
body.seasonal-theme-christmas .brand,
body.seasonal-theme-christmas .desktop-nav .nav-link {
  color: #fffaf0 !important;
}
.seasonal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  max-width: min(44vw, 150px);
  padding: 5px 9px;
  border: 1px solid rgba(244,201,93,.78);
  border-radius: 999px;
  color: #073f36;
  background: linear-gradient(135deg, #fffaf0, #f4c95d);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8,63,54,.14);
}
.seasonal-header-badge strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .82rem;
  line-height: 1;
}
.desktop-seasonal-badge {
  margin-left: 8px;
  flex: 0 0 auto;
}

body.seasonal-theme-christmas .cms-hero {
  box-shadow: inset 0 -120px 130px rgba(8,63,54,.42);
}
body.seasonal-theme-christmas .cms-hero-overlay {
  background:
    radial-gradient(circle at 14% 18%, rgba(244,201,93,.22), transparent 28%),
    linear-gradient(180deg, rgba(8,63,54,.08), rgba(8,63,54,.74));
}
body.seasonal-theme-christmas .cms-hero .primary-button,
.seasonal-cta {
  background: linear-gradient(135deg, var(--seasonal-evergreen-2), var(--seasonal-evergreen) 56%, var(--seasonal-gold));
  color: white !important;
  box-shadow: 0 16px 36px rgba(8,63,54,.26), 0 0 0 1px rgba(244,201,93,.3);
}
body.seasonal-theme-christmas .bottom-nav { border-color: rgba(244,201,93,.28); }
.seasonal-campaign-panel {
  border: 2px solid rgba(244,201,93,.72);
  background:
    radial-gradient(circle at 8% 10%, rgba(244,201,93,.36), transparent 28%),
    radial-gradient(circle at 94% 6%, rgba(231,251,255,.5), transparent 28%),
    linear-gradient(135deg, #083f36, #0f766e 54%, #8d3434);
  color: var(--seasonal-cream);
  padding: clamp(16px, 4vw, 28px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8,63,54,.28), 0 0 36px rgba(244,201,93,.28);
}
.seasonal-campaign-panel .section-heading h2,
.seasonal-campaign-panel .home-origin-line,
.seasonal-campaign-panel a:not(.seasonal-home-card):not(.seasonal-drop-tease) {
  color: var(--seasonal-cream);
}
.seasonal-kicker {
  margin: 0 0 4px;
  color: var(--seasonal-gold-soft);
  font-weight: 950;
  font-size: .86rem;
}
.seasonal-home-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.seasonal-home-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244,201,93,.26);
  background: linear-gradient(180deg, rgba(255,250,240,.98), rgba(231,251,255,.88));
  box-shadow: 0 14px 34px rgba(8,63,54,.12);
}
.seasonal-home-card::before,
.seasonal-event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--seasonal-gold), var(--seasonal-coral));
}
.seasonal-home-card span,
.seasonal-drop-tease span {
  color: var(--seasonal-evergreen);
}
.seasonal-home-card:hover,
.seasonal-home-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(8,63,54,.18), 0 0 24px rgba(244,201,93,.18);
}
.seasonal-home-card-santa::before,
.seasonal-event-santa::before { background: linear-gradient(180deg, #d95f58, #f4c95d); }
.seasonal-home-card-markets::before,
.seasonal-event-markets::before { background: linear-gradient(180deg, #0f766e, #f4c95d); }
.seasonal-home-card-lights::before,
.seasonal-event-lights::before { background: linear-gradient(180deg, #f4c95d, #e7fbff); }
.seasonal-home-card-ice::before,
.seasonal-event-ice-skating::before { background: linear-gradient(180deg, #e7fbff, #0f8b8d); }

.seasonal-founding-strip {
  background: linear-gradient(135deg, rgba(255,250,240,.98), rgba(231,251,255,.93));
  border-color: rgba(244,201,93,.45);
}
.seasonal-founding-strip progress {
  accent-color: var(--seasonal-gold);
  filter: drop-shadow(0 0 8px rgba(244,201,93,.55));
}
.christmas-drop-tease {
  color: var(--seasonal-cream);
  background: linear-gradient(135deg, var(--seasonal-evergreen), #7f1d1d);
  border-color: rgba(244,201,93,.42);
  text-decoration: none;
}
.christmas-drop-tease span,
.christmas-drop-tease strong,
.christmas-drop-tease small {
  position: relative;
  color: var(--seasonal-cream);
}
.christmas-drop-tease.is-live {
  animation: gd-seasonal-live-pulse 1.8s ease-in-out infinite;
}
.christmas-drop-tease.is-ended {
  background: linear-gradient(135deg, #2f3f3c, #5a4b3f);
  opacity: .94;
}

.christmas-landing {
  background:
    radial-gradient(circle at 12% 16%, rgba(244,201,93,.28), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(231,251,255,.28), transparent 22%),
    linear-gradient(180deg, rgba(8,63,54,.18), rgba(8,63,54,.86)),
    url('/images/placeholders/spot-6.svg') center/cover;
}
.santa-finder-panel,
.christmas-campaign-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(244,201,93,.3);
  background: linear-gradient(135deg, rgba(255,250,240,.98), rgba(231,251,255,.92));
  border-radius: 8px;
  padding: clamp(14px, 4vw, 22px);
}
.santa-finder-panel h2 {
  margin: 0 0 5px;
  color: var(--seasonal-evergreen);
}
.christmas-campaign-status {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.seasonal-map-pane {
  border: 1px solid rgba(244,201,93,.35);
  background: linear-gradient(180deg, rgba(255,250,240,.9), rgba(231,251,255,.75));
}
.seasonal-map-pane .premium-map {
  box-shadow: inset 0 0 0 2px rgba(244,201,93,.28);
}
.seasonal-map-burst {
  position: absolute;
  inset: 0;
  z-index: 760;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}
.seasonal-transition-burst .seasonal-map-burst {
  opacity: 1;
}
.seasonal-map-burst span:nth-child(1) { left: 18%; top: 24%; }
.seasonal-map-burst span:nth-child(2) { left: 76%; top: 22%; animation-delay: 120ms; background: var(--seasonal-ice); }
.seasonal-map-burst span:nth-child(3) { left: 68%; top: 70%; animation-delay: 220ms; background: var(--seasonal-coral); }
.seasonal-map-burst span:nth-child(4) { left: 30%; top: 72%; animation-delay: 320ms; }
.map-mode-seasonal {
  color: var(--seasonal-evergreen) !important;
  background: linear-gradient(180deg, #fffaf0, #e7fbff) !important;
  border: 1px solid rgba(244,201,93,.78) !important;
  box-shadow: inset 0 0 0 1px rgba(244,201,93,.22), 0 0 14px rgba(244,201,93,.16);
}
.map-mode-button.map-mode-seasonal.is-active {
  background: #073f36 !important;
  border-color: var(--seasonal-gold) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  box-shadow: 0 0 0 2px rgba(244,201,93,.72), 0 14px 34px rgba(8,63,54,.3);
}
.seasonal-subtype-button {
  border-color: rgba(244,201,93,.34);
}
.seasonal-subtype-button.is-active {
  background: linear-gradient(135deg, var(--seasonal-evergreen), var(--seasonal-evergreen-2));
  color: #fff !important;
  border-color: var(--seasonal-gold);
  box-shadow: 0 8px 18px rgba(8,63,54,.18);
}
.seasonal-subtype-button.is-active:hover,
.seasonal-subtype-button.is-active:focus,
.seasonal-subtype-button.is-active:active,
.seasonal-subtype-button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--seasonal-evergreen), var(--seasonal-evergreen-2)) !important;
  color: #fff !important;
  border-color: var(--seasonal-gold) !important;
}
.seasonal-explore-shell .mobile-choice-row.is-selected,
.seasonal-explore-shell .mobile-choice-row[aria-pressed="true"] {
  color: #fff !important;
}
.map-mode-button.map-mode-seasonal.is-active:hover,
.map-mode-button.map-mode-seasonal.is-active:focus,
.map-mode-button.map-mode-seasonal.is-active:active {
  color: #fff !important;
}
.geo-seasonal-marker span,
.geo-seasonal-cluster span,
.geo-seasonal-overview-bubble span {
  background: linear-gradient(135deg, var(--seasonal-evergreen), var(--seasonal-evergreen-2) 66%, var(--seasonal-gold));
  box-shadow: 0 10px 24px rgba(8,63,54,.24), 0 0 0 4px rgba(244,201,93,.2), 0 0 20px rgba(244,201,93,.3);
}
.geo-seasonal-overview-bubble span {
  border: 2px solid var(--seasonal-cream);
}
.geo-seasonal-marker span::after {
  animation: gd-seasonal-pulse 1.9s ease-out 1;
}

.seasonal-event-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(244,201,93,.32) !important;
  background: linear-gradient(180deg, rgba(255,250,240,.98), rgba(255,255,255,.96)) !important;
  box-shadow: 0 16px 38px rgba(8,63,54,.12), 0 0 0 1px rgba(244,201,93,.14);
}
.seasonal-confirmed-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(244,201,93,.22);
  color: var(--seasonal-evergreen);
  font-size: .76rem;
  font-weight: 950;
}
.seasonal-event-detail {
  box-shadow: inset 0 0 0 2px rgba(244,201,93,.18), 0 20px 60px rgba(8,63,54,.2);
}

.christmas-surprise {
  background:
    radial-gradient(circle at 14% 8%, rgba(244,201,93,.28), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(231,251,255,.35), transparent 28%),
    linear-gradient(180deg, #073f36, #f6fffb 62%);
}
.christmas-surprise .surprise-wizard-intro h1,
.christmas-surprise .surprise-loading-copy p,
.christmas-surprise .surprise-result-content h2 {
  color: var(--seasonal-evergreen);
}
.christmas-surprise .surprise-reveal-card {
  border-color: rgba(244,201,93,.4);
  box-shadow: 0 28px 70px rgba(8,63,54,.24), 0 0 32px rgba(244,201,93,.18);
}
.christmas-surprise .surprise-label {
  color: var(--seasonal-coral);
}

@keyframes gd-seasonal-snow-fall {
  from { transform: translate3d(-8px, -20px, 0); opacity: 0; }
  12% { opacity: var(--snow-opacity, .78); }
  72% { opacity: var(--snow-opacity, .72); }
  to { transform: translate3d(22px, 105dvh, 0); opacity: 0; }
}
@keyframes gd-seasonal-sparkle-burst {
  0% { transform: scale(.4); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes gd-seasonal-live-pulse {
  0%, 100% { box-shadow: 0 18px 44px rgba(8,63,54,.22), 0 0 0 1px rgba(244,201,93,.28); }
  50% { box-shadow: 0 22px 54px rgba(8,63,54,.3), 0 0 28px rgba(244,201,93,.42); }
}
@keyframes gd-seasonal-twinkle {
  0%, 100% { transform: scale(.55); opacity: .14; }
  18% { transform: scale(1.35); opacity: .78; }
  36% { transform: scale(.75); opacity: .24; }
}

@media (max-width: 760px) {
  body.seasonal-theme-christmas {
    background:
      radial-gradient(circle at 12% 0, rgba(244,201,93,.42), transparent 34%),
      linear-gradient(180deg, #073f36 0, #0f766e 92px, #fffaf0 93px, var(--gd-page) 560px);
  }
  body.seasonal-theme-christmas .top-shell {
    position: sticky;
    top: 0;
    z-index: 1100;
  }
  .seasonal-header-badge {
    max-width: 154px;
    padding-inline: 8px;
    flex: 0 0 auto;
  }
  .seasonal-header-badge span {
    font-size: 1.05rem;
  }
  .seasonal-snow span {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 12px rgba(231,251,255,1), 0 0 5px rgba(244,201,93,.4);
  }
  .seasonal-global-sparkle span {
    width: 10px;
  }
  .desktop-seasonal-badge {
    display: none;
  }
  .seasonal-campaign-panel {
    margin-inline: -2px;
  }
  .seasonal-home-grid {
    grid-template-columns: none;
  }
  .santa-finder-panel,
  .christmas-campaign-status {
    grid-template-columns: 1fr;
  }
  .santa-finder-panel .primary-button,
  .christmas-campaign-status .seasonal-drop-tease {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seasonal-snow span,
  .seasonal-twinkles span,
  .seasonal-global-sparkle span,
  .seasonal-sparkle span,
  .seasonal-map-burst span,
  .seasonal-shimmer::after,
  .christmas-drop-tease.is-live {
    animation: none !important;
  }
  .seasonal-snow span {
    top: 16vh;
    bottom: auto;
    opacity: .38;
  }
  .seasonal-twinkles span,
  .seasonal-global-sparkle span,
  .seasonal-sparkle span,
  .seasonal-map-burst span {
    opacity: .32;
  }
}
.map-mode-button.map-mode-watch.is-active { background: #f59e0b; color: #271600 !important; }

.discovery-map-controls {
  gap: 5px;
}

.map-environment-controls {
  width: auto;
  display: inline-flex;
  grid-template-columns: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.map-weather-control,
.map-weather-panel,
.map-compass-panel {
  display: none !important;
}

.map-control-stack .map-compass-control,
.discovery-map-controls .map-compass-control,
.map-environment-controls .map-compass-control {
  position: relative;
  inline-size: 36px;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(16,42,67,.16);
  background: rgba(255,255,255,.95);
  color: var(--gd-navy);
  box-shadow: 0 8px 18px rgba(16,42,67,.14);
}

.map-compass-icon {
  position: relative;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  transform: rotate(var(--compass-heading, 0deg));
  will-change: transform;
}

.map-compass-icon::before {
  content: "N";
  position: absolute;
  left: 50%;
  top: -1px;
  color: #d44b3d;
  font-size: .55rem;
  font-weight: 950;
  line-height: 1;
  transform: translateX(-50%);
}

.map-compass-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 11px solid currentColor;
  background: transparent;
  border-radius: 0;
  transform: translateX(-50%);
}

.map-compass-active-dot {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
  background: #16a34a;
  opacity: 0;
}

.map-compass-control.is-active,
.map-compass-control[aria-pressed="true"] {
  background: var(--gd-navy) !important;
  color: white !important;
}

.map-compass-control.is-active .map-compass-active-dot,
.map-compass-control[aria-pressed="true"] .map-compass-active-dot {
  opacity: 1;
}

.discovery-map-pane .map-key-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  bottom: 42px;
  border-color: rgba(16,42,67,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
}

.map-key-toggle-icon {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(7,20,46,.45) 43% 57%, transparent 58%),
    linear-gradient(45deg, #f2c84b 0 50%, #d9468f 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(7,20,46,.18);
}

.map-key-panel {
  width: min(260px, calc(100% - 20px));
}

.map-key-list {
  grid-template-columns: 1fr;
  gap: 6px;
}

.map-key-row {
  grid-template-columns: 20px minmax(0, 1fr);
  font-size: .73rem;
}

.map-key-marker {
  width: 20px;
  height: 20px;
}
.watch-subtype-button.is-active { background: #fff4d7; color: #7a4d00 !important; }

.discovery-sheet.map-bottom-sheet {
  max-height: min(260px, 40%);
  grid-template-columns: 104px minmax(0, 1fr);
  border-radius: var(--gd-radius-card);
  box-shadow: var(--gd-shadow-float);
}

.discovery-sheet.map-bottom-sheet > img {
  width: 104px;
}

.discovery-sheet .sheet-content {
  padding: 11px 40px 11px 11px;
  gap: 6px;
}

.discovery-sheet .sheet-header h2 {
  font-size: 1.02rem;
}

.discovery-sheet [data-sheet-summary] {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-body {
  gap: 5px;
}

.premium-event-card h2 {
  font-size: .98rem;
}

.premium-event-card p {
  font-size: .82rem;
}

.mobile-filter-sheet,
.event-settings-sheet {
  border-radius: 8px 8px 0 0;
}

.mobile-filter-block {
  padding-block: 10px;
}

.mobile-filter-block h2 {
  font-size: .86rem;
  text-transform: uppercase;
  color: var(--gd-muted);
}

.mobile-choice-row,
.mobile-filter-rows button {
  min-height: 42px;
  border-radius: 8px;
}

.place-detail-header {
  min-height: min(560px, 70vh);
}

.place-hero h1 {
  font-size: clamp(2rem, 7vw, 4.6rem);
  line-height: .95;
  max-width: min(14ch, 100%);
}

.place-hero-content {
  gap: 10px;
  padding-bottom: 26px;
}

.why-go h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.spot-detail-viewing-section .section-heading + .facility-grid,
.spot-detail-facilities-section .facility-grid {
  margin-top: 4px;
}

.admin-consumer-separator {
  border-top: 1px solid var(--gd-border);
  background: #f8fbfc;
}

.admin-tool-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-tool-row span {
  color: var(--gd-muted);
  font-weight: 850;
}

@media (max-width: 760px) {
  .discovery-topbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 7px;
  }

  .discovery-topbar input[name="Search"],
  .discovery-topbar .segmented-toggle {
    grid-column: 1 / -1;
  }

  .discovery-topbar button {
    min-width: 0;
    padding-inline: 7px;
  }

  .premium-card-media {
    aspect-ratio: 16 / 11;
  }

  .discovery-sheet.map-bottom-sheet {
    left: 8px;
    right: 8px;
    bottom: calc(var(--gd-mobile-nav-height, 66px) + max(8px, env(safe-area-inset-bottom)) + 12px);
    max-height: min(226px, 40svh);
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .discovery-sheet.map-bottom-sheet > img {
    width: 92px;
    max-height: 176px;
  }

  .place-detail-header {
    min-height: 62vh;
  }

  .place-hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .place-community-actions {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .place-community-actions a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.profile-membership-manage {
  margin-top: 10px;
}

.profile-membership-manage.secondary-button,
.profile-membership-manage .secondary-button {
  width: fit-content;
  min-height: 40px;
  padding: 9px 13px;
}

.premium-page-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.premium-page-header,
.premium-benefit-grid article,
.premium-price-card {
  border: 1px solid var(--gd-border);
  border-radius: 8px;
  background: var(--gd-white);
  box-shadow: 0 12px 28px rgba(16,42,67,.08);
}

.premium-page-header {
  padding: 18px;
  background: linear-gradient(135deg, var(--gd-deep-ocean), var(--gd-cornish-sea));
  color: white;
}

.premium-page-header p {
  margin: 0 0 6px;
  color: color-mix(in srgb, white 82%, var(--gd-golden-horizon));
  font-weight: 950;
  text-transform: uppercase;
  font-size: .78rem;
}

.premium-page-header h1 {
  margin: 0;
  color: white;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: .95;
}

.premium-page-header span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
}

.premium-benefit-grid,
.premium-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.premium-benefit-grid article,
.premium-price-card {
  padding: 16px;
}

.premium-benefit-grid h2,
.premium-price-card h2 {
  margin: 0 0 10px;
  color: var(--gd-deep-ocean);
  font-size: 1.06rem;
}

.premium-benefit-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gd-muted);
  font-weight: 800;
}

.premium-price-card {
  display: grid;
  gap: 10px;
}

.premium-price-card p {
  margin: 0;
  color: var(--gd-muted);
  font-weight: 800;
}

@media (max-width: 760px) {
  .integration-card-wide {
    grid-column: auto;
  }

  .profile-membership-manage.secondary-button,
  .profile-membership-manage .secondary-button {
    width: 100%;
  }
}

/* Spot Details mobile density and map controls */
.spot-detail-facts-section {
  padding-bottom: 12px;
}

.spot-detail-season-section {
  padding-top: 0;
}

.spot-detail-facilities-section {
  padding-top: 14px;
  padding-bottom: 16px;
}

.spot-detail-facility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.spot-detail-facility-chips span {
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 10px 6px 8px;
  font-size: .84rem;
  box-shadow: none;
}

.spot-detail-facility-chips span::before {
  width: 20px;
  height: 20px;
  font-size: .78rem;
}

/* Structured Spot evidence: editorial summary first, full retained evidence on demand. */
.wild-summary-section,
.wild-evidence-section,
.wild-sources-section {
  max-width: 980px;
}

.wild-summary-section {
  padding-bottom: 18px;
}

.wild-summary-grid,
.wild-expect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wild-summary-grid article,
.wild-expect-grid article,
.wild-highlight-list article {
  min-width: 0;
  border: 1px solid rgba(23,107,93,.12);
  border-radius: 16px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(34,52,47,.07);
  display: flex;
  align-items: center;
  gap: 12px;
}

.wild-summary-grid article > div,
.wild-expect-grid article > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.wild-summary-grid strong,
.wild-expect-grid strong,
.wild-highlight-list strong {
  color: #102f2b;
  font-size: 1rem;
  line-height: 1.25;
}

.wild-summary-grid article div span,
.wild-expect-grid article div span {
  color: #627a73;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
}

.wild-summary-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e8f5ef;
  color: #176b5d;
  display: grid;
  place-items: center;
  font-size: 1.12rem;
  font-weight: 950;
}

.wild-summary-icon[data-icon="tent"]::before { content: "△"; }
.wild-summary-icon[data-icon="moon"]::before { content: "◐"; }
.wild-summary-icon[data-icon="vehicle"]::before { content: "▣"; }
.wild-summary-icon[data-icon="water"]::before { content: "≈"; }
.wild-summary-icon[data-icon="highlight"]::before { content: "✦"; }
.wild-summary-icon[data-icon="warning"] {
  background: #fff1df;
  color: #b75d07;
}
.wild-summary-icon[data-icon="warning"]::before { content: "!"; }
.wild-summary-icon[data-icon="facility"]::before { content: "✓"; }
.wild-summary-icon[data-icon="walk"]::before { content: "↗"; }
.wild-summary-icon[data-icon="terrain"]::before { content: "⌃"; }

.wild-evidence-section {
  padding-block: 20px;
}

.wild-access-section {
  border-block: 1px solid rgba(23,107,93,.1);
  background: linear-gradient(135deg, rgba(232,245,239,.72), rgba(255,255,255,.72));
}

.wild-lead {
  max-width: 760px;
  margin: 0 0 14px;
  color: #304f49;
  font-size: 1.02rem;
  line-height: 1.55;
}

.wild-access-essentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: #405c56;
}

.wild-access-essentials span {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
}

.wild-access-essentials strong {
  color: #173b35;
}

.wild-expect-grid:empty {
  display: none;
}

.wild-facility-summary {
  margin: 14px 0 0;
  border-left: 3px solid #d2a53a;
  padding: 10px 12px;
  background: #fffaf0;
  color: #405c56;
  font-weight: 850;
}

.wild-disclosure {
  margin-top: 14px;
  border-top: 1px solid rgba(23,107,93,.12);
  padding-top: 11px;
}

.wild-disclosure summary {
  width: fit-content;
  cursor: pointer;
  color: #176b5d;
  font-weight: 900;
  line-height: 1.4;
}

.wild-disclosure summary:focus-visible {
  outline: 3px solid rgba(23,107,93,.25);
  outline-offset: 4px;
  border-radius: 3px;
}

.wild-disclosure-body {
  max-width: 780px;
  margin-top: 12px;
  border-radius: 12px;
  padding: 14px;
  background: rgba(239,246,242,.72);
  color: #405c56;
  overflow-wrap: anywhere;
}

.wild-disclosure-body > :first-child { margin-top: 0; }
.wild-disclosure-body > :last-child { margin-bottom: 0; }
.wild-disclosure-body ul { margin-block: 0; padding-left: 20px; }
.wild-disclosure-body li + li { margin-top: 7px; }

.wild-facility-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.wild-facility-evidence p { margin: 0; }

.wild-highlight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 9px;
}

.wild-highlight-list article > span {
  color: #d27b2f;
  font-size: 1.25rem;
}

.wild-guidance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wild-guidance-list li {
  min-width: 0;
  border-radius: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(23,107,93,.12);
  background: #f3f8f5;
  color: #294d46;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.wild-guidance-list li > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.wild-guidance-list strong {
  color: #173b35;
  font-size: .95rem;
}

.wild-guidance-list small {
  color: #587069;
  font-size: .83rem;
  font-weight: 650;
}

.wild-guidance-icon {
  flex: 0 0 23px;
  height: 23px;
  border-radius: 50%;
  background: #dceee6;
  color: #176b5d;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 950;
}

.wild-guidance-list li.is-serious-hazard {
  border-color: #f0c38e;
  background: #fff7ed;
  color: #653d16;
}

.wild-guidance-list li.is-serious-hazard .wild-guidance-icon {
  background: #d97706;
  color: #fff;
}

.wild-sources-section {
  padding-block: 12px;
}

.wild-sources-disclosure {
  margin: 0;
  border: 1px solid rgba(23,107,93,.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.72);
}

.wild-sources-disclosure > summary {
  width: auto;
  color: #173b35;
  font-size: 1rem;
}

.wild-source-list {
  margin-bottom: 0;
  padding-left: 20px;
}

.wild-source-list li {
  display: grid;
  gap: 2px;
}

.wild-source-list small {
  color: #627a73;
}

.watch-evidence-main-card {
  width: 100%;
  border: 1px solid rgba(217,119,6,.18);
  border-radius: 8px;
  padding: 16px;
  background: #fffaf0;
  box-shadow: 0 12px 28px rgba(34,52,47,.08);
  display: grid;
  gap: 8px;
}

.watch-evidence-main-card span {
  color: #8a4a05;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.watch-evidence-main-card strong {
  color: #102f2b;
  font-size: 1rem;
  line-height: 1.45;
}

.watch-evidence-fact-grid {
  margin-top: 10px;
}

.detail-map-section {
  padding-top: 12px;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.detail-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 10px;
}

.detail-map-actions a,
.detail-map-toolbar a,
.detail-map-toolbar button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(23,107,93,.14);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(34,52,47,.08);
}

.detail-map-actions .primary-map-action {
  background: #173b35;
  color: white !important;
  border-color: transparent;
}

.detail-map-actions .look-around-action {
  background: white;
  color: #176b5d !important;
  border-color: rgba(23,107,93,.18);
}

.detail-map-shell {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.detail-map-shell .premium-map {
  width: 100%;
  min-height: 420px;
  height: 420px;
}

.detail-map-toolbar {
  position: static;
  z-index: auto;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  background: rgba(255,255,255,.72);
}

.detail-map-toolbar a,
.detail-map-toolbar button {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  background: rgba(255,255,255,.96);
  color: #173b35 !important;
}

.detail-map-state {
  bottom: 14px;
}

.detail-map-shell.fullscreen-map {
  position: fixed;
  inset: 0;
  z-index: 1250;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 12px;
  border-radius: 0;
}

.detail-map-shell.fullscreen-map .premium-map {
  height: auto !important;
  min-height: 0;
}

@media (max-width: 760px) {
  .spot-detail-facts-section,
  .spot-detail-season-section,
  .spot-detail-facilities-section {
    padding-block: 10px;
  }

  .spot-detail-facts-section .section-heading,
  .spot-detail-season-section .section-heading,
  .spot-detail-facilities-section .section-heading,
  .detail-map-section .section-heading {
    margin-bottom: 8px;
  }

  .spot-detail-facts-section .premium-fact-grid,
  .spot-detail-season-section .premium-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .spot-detail-facts-section .premium-fact-grid article,
  .spot-detail-season-section .premium-fact-grid article {
    min-height: 0;
    padding: 10px;
    border-radius: 8px;
    align-content: start;
    gap: 3px;
  }

  .spot-detail-facts-section .premium-fact-grid span,
  .spot-detail-season-section .premium-fact-grid span {
    font-size: .7rem;
    line-height: 1.1;
  }

  .spot-detail-facts-section .premium-fact-grid strong,
  .spot-detail-season-section .premium-fact-grid strong {
    font-size: .9rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .spot-detail-season-section .premium-fact-grid small {
    margin-top: 1px;
    color: #627a73;
    font-size: .74rem;
    line-height: 1.2;
  }

  .spot-detail-season-section .premium-card-actions {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .spot-detail-facility-chips {
    gap: 6px;
  }

  .spot-detail-facility-chips span {
    min-height: 31px;
    padding: 5px 9px 5px 7px;
    font-size: .78rem;
  }

  .wild-summary-section,
  .wild-evidence-section,
  .wild-sources-section {
    padding-block: 14px;
  }

  .wild-expect-grid,
  .wild-guidance-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wild-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wild-highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wild-summary-grid article,
  .wild-expect-grid article,
  .wild-highlight-list article {
    border-radius: 12px;
    padding: 12px;
  }

  .wild-summary-grid article {
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
  }

  .wild-summary-grid strong {
    font-size: .88rem;
  }

  .wild-highlight-list article {
    min-height: 54px;
    gap: 8px;
  }

  .wild-highlight-list strong {
    font-size: .84rem;
    line-height: 1.25;
  }

  .wild-summary-grid article div span {
    font-size: .77rem;
  }

  .wild-summary-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .wild-summary-grid .wild-summary-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: .9rem;
  }

  .wild-facility-evidence {
    grid-template-columns: 1fr;
  }

  .wild-access-essentials {
    display: grid;
    gap: 5px;
  }

  .spot-detail-viewing-section {
    padding-block: 12px;
  }

  .watch-evidence-main-card {
    padding: 13px;
  }

  .watch-evidence-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .watch-evidence-fact-grid article {
    min-height: 0;
    padding: 10px;
    align-content: start;
  }

  .watch-evidence-fact-grid strong {
    font-size: .88rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .detail-map-section {
    padding-top: 10px;
    padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + 22px);
  }

  .detail-map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
  }

  .detail-map-actions a {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: .84rem;
  }

  .detail-map-shell {
    margin-inline: 0;
    border-radius: 12px;
  }

  .detail-map-shell .premium-map {
    min-height: 400px;
    height: 400px;
    border-radius: 0 0 12px 12px;
  }

  .detail-map-toolbar {
    position: static !important;
    left: auto;
    right: auto;
    top: auto;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding: 8px;
  }

  .detail-map-toolbar::-webkit-scrollbar {
    display: none;
  }

  .detail-map-toolbar a,
  .detail-map-toolbar button {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
    font-size: .78rem;
    line-height: 1;
  }

  .detail-map-state {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  .detail-map-shell .leaflet-bottom.leaflet-right {
    bottom: 8px;
  }

  .detail-map-shell .leaflet-bottom.leaflet-left {
    bottom: 8px;
  }
}

/* Spot Details consumer polish */
.place-detail-header {
  margin-bottom: 18px;
}

.place-detail-header .place-hero-content {
  gap: 9px;
  padding-bottom: 18px;
}

.place-detail-header h1,
.place-hero h1 {
  font-size: clamp(1.85rem, 5.4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: min(760px, 100%);
  overflow-wrap: anywhere;
}

.place-detail-header .place-location {
  margin: 0;
  font-size: .96rem;
  line-height: 1.3;
}

.place-detail-header .hero-actions {
  gap: 8px;
}

.place-detail-header .primary-button.directions-action {
  flex: 0 1 auto;
  min-height: 44px;
  padding: 10px 18px;
}

.place-detail-header .ghost-button.compact-action {
  flex: 0 1 auto;
  min-height: 38px;
  padding: 8px 12px;
  font-size: .9rem;
}

.spot-detail-gallery {
  min-height: 220px;
  border-radius: 8px;
}

.spot-detail-gallery .source-attribution,
.premium-gallery .source-attribution {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(16,42,67,.72);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.1;
  backdrop-filter: blur(12px);
}

.spot-detail-gallery .source-attribution a,
.premium-gallery .source-attribution a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.premium-gallery button {
  position: relative;
  border-radius: 8px;
}

.why-go h2 {
  font-size: clamp(1.2rem, 4vw, 1.75rem);
  line-height: 1.12;
  margin-bottom: 6px;
}

.why-go p {
  max-width: 720px;
  line-height: 1.48;
}

.place-quick-facts {
  gap: 7px;
}

.place-quick-facts span {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
}

.place-quick-facts small {
  display: none;
}

.google-detail-map {
  display: block;
  border: 0;
  border-radius: 8px;
}

.detail-map-section {
  padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + 26px);
}

.content-band:last-of-type {
  margin-bottom: calc(var(--gd-bottom-nav-space, 104px) + 12px);
}

@media (max-width: 760px) {
  .place-detail-header {
    margin: -12px -12px 16px;
    padding: 10px 12px 0;
  }

  .place-detail-header h1,
  .place-hero h1 {
    font-size: clamp(1.75rem, 8.4vw, 2.85rem);
    line-height: 1.04;
  }

  .spot-detail-gallery {
    min-height: 205px;
    aspect-ratio: 4 / 3;
  }

  .place-community-actions {
    gap: 6px;
  }

  .google-reputation-card {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .google-map-link {
    grid-column: 1 / -1;
  }

  .google-review-heading {
    display: grid;
    gap: 3px;
  }

  .google-review-heading small {
    text-align: left;
  }

  .google-review-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .place-detail-header {
    gap: 6px;
    margin-bottom: 0;
    padding-top: 4px;
  }

  .spot-detail-gallery {
    min-height: 140px;
    aspect-ratio: 16 / 9;
  }

  .place-detail-header .place-hero-content {
    gap: 6px;
    padding-bottom: 8px;
  }

  .place-detail-header h1,
  .place-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.02;
  }

  .place-detail-header .place-location {
    font-size: .9rem;
    line-height: 1.2;
  }

  .place-detail-header .hero-actions {
    gap: 6px;
  }

  .place-detail-header .primary-button.directions-action,
  .place-detail-header .ghost-button.compact-action {
    min-height: 36px;
    padding-block: 8px;
  }
}

/* Explore map credit/control layout */
.discovery-map-pane .leaflet-bottom.leaflet-left {
  left: 10px;
  bottom: 8px;
  max-width: calc(100% - 84px);
}

.discovery-map-pane .leaflet-control-attribution {
  max-width: min(66vw, 320px);
  margin: 0 !important;
  padding: 1px 3px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: rgba(255,255,255,.66) !important;
  color: rgba(23,50,77,.62) !important;
  font-size: 8px !important;
  line-height: 1.05 !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
}

.discovery-map-pane .leaflet-control-attribution a {
  color: rgba(23,50,77,.74) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.discovery-map-pane .map-key-toggle {
  bottom: 42px;
}

.discovery-map-pane .map-key-panel {
  bottom: 82px;
}

@media (max-width: 760px) {
  .discovery-map-pane .leaflet-bottom.leaflet-left {
    left: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    max-width: calc(100% - 92px);
  }

  .discovery-map-pane .leaflet-bottom.leaflet-right {
    right: 8px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 104px);
  }

  .discovery-map-pane .leaflet-control-attribution {
    max-width: calc(100vw - 118px);
    padding: 1px 3px !important;
    font-size: 8px !important;
    opacity: .86;
  }

  .discovery-map-pane .map-key-toggle {
    left: 8px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 104px);
  }

  .discovery-map-pane .map-key-panel {
    left: 8px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 142px);
    width: min(166px, calc(50% - 18px));
    max-height: min(260px, calc(100% - 176px));
  }
}

/* Mobile Explore map control placement */
@media (max-width: 760px) {
  .discovery-map-controls {
    inset: 8px;
    display: block;
    width: auto;
    max-width: none;
    pointer-events: none;
  }

  .discovery-map-controls > * {
    pointer-events: auto;
  }

  .map-mode-switcher {
    position: absolute;
    top: 0;
    left: 0;
    width: min(344px, calc(100vw - 16px));
  }

  .map-utility-controls {
    position: absolute;
    top: 44px;
    left: 0;
    width: min(270px, calc(100vw - 16px));
  }

  .map-environment-controls {
    position: absolute;
    right: 0;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 178px);
    z-index: 2;
    width: 36px;
  }

  .discovery-map-pane .leaflet-bottom.leaflet-right {
    right: 8px;
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 104px);
  }

  .discovery-map-pane .map-key-toggle {
    left: 8px;
    bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .discovery-map-pane .map-key-panel {
    left: 8px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    width: min(210px, calc(100vw - 24px));
    max-height: min(280px, calc(100% - 128px));
  }

  .discovery-map-pane.fullscreen-map .leaflet-bottom.leaflet-right {
    bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .discovery-map-pane.fullscreen-map .map-environment-controls {
    bottom: calc(130px + env(safe-area-inset-bottom));
  }

  .discovery-map-pane.fullscreen-map .explore-map-interaction.is-active {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .map-utility-controls {
    top: 42px;
  }

  .discovery-map-controls button {
    padding-inline: 5px;
    font-size: .7rem;
  }
}

/* Keep the mobile map exit and active Nearby filter as separate, tappable controls. */
@media (max-width: 760px) {
  .discovery-map-pane:has(.nearby-layer-control.is-active) > .explore-map-interaction.is-active {
    left: 12px;
    right: auto;
  }

  .nearby-layer-control.is-active {
    min-height: 44px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .discovery-map-pane:has(> .map-bottom-sheet:not([hidden])) > .explore-map-interaction.is-active,
  .discovery-map-pane:has(> .map-bottom-sheet:not([hidden])) > .map-control-zone-nearby {
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 176px);
    top: auto;
    transform: none;
  }

  .discovery-map-pane:has(> .map-bottom-sheet:not([hidden])) > .map-control-zone-nearby {
    left: 72px;
    right: auto;
  }
}

/* Final placement for the Map Key optional-layer control. */
.map-key-list .map-key-layer-row {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid rgba(22, 63, 47, .24);
  border-radius: 8px;
  background: #f3faf6;
  color: var(--gd-deep-ocean);
  text-align: left;
  cursor: pointer;
}

.map-key-list .map-key-layer-row.is-active {
  border-color: #176b5d;
  background: #e0f3e8;
}

.map-key-list .map-key-layer-row strong {
  color: #176b5d;
  font-size: .75rem;
}

.discovery-map-pane .map-control-zone-nearby .fuel-layer-control,
.discovery-map-pane .map-control-zone-nearby .fuel-layer-control.is-active,
.discovery-map-pane .map-control-zone-nearby .fuel-layer-control.is-loading {
  position: static;
  z-index: 1005;
  display: grid !important;
  visibility: visible;
  opacity: 1;
}

.membership-price-equivalent {
  margin: -6px 0 10px;
  color: var(--gd-muted);
  font-size: .8rem;
}

@media (max-width: 760px) {
  .discovery-map-pane .map-key-toggle {
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 8px);
    z-index: 905;
  }

  .discovery-map-pane .map-key-panel {
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 48px);
  }
}

/* Explore mobile map geometry: one containing block and one control inset model. */
@media (max-width: 760px) {
  .explore-primary-modes { min-height: 50px; overflow: hidden; }
  .explore-primary-modes .map-mode-switcher {
    position: static;
    inset: auto;
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
  }
  .explore-primary-modes .map-mode-button { flex: 0 0 auto; scroll-snap-align: start; }
  .discovery-map-pane {
    --explore-map-edge: 8px;
    --explore-map-bottom-inset: calc(var(--gd-bottom-nav-space, 104px) + env(safe-area-inset-bottom));
    height: var(--explore-map-mobile-height, 420px);
    min-height: 0;
    padding-bottom: 0;
    contain: layout paint;
  }
  .discovery-map-pane .premium-map { width: 100%; height: 100%; min-height: 0; }
  .discovery-map-controls {
    inset: var(--explore-map-edge) var(--explore-map-edge) auto;
    height: 84px;
  }
  .discovery-map-controls .map-utility-controls {
    position: absolute;
    inset: 42px auto auto 0;
    width: min(270px, calc(100% - 46px));
  }
  .discovery-map-controls .map-environment-controls {
    position: absolute;
    inset: 0 0 auto auto;
    width: 36px;
    height: 36px;
  }
  .discovery-map-pane .leaflet-bottom.leaflet-right { right: var(--explore-map-edge); bottom: calc(var(--explore-map-bottom-inset) + 42px); }
  .discovery-map-pane .map-control-zone-nearby {
    inset: auto var(--explore-map-edge) var(--explore-map-bottom-inset) auto;
    transform: none;
  }
  .discovery-map-pane > .explore-map-interaction.is-active {
    left: 50%; right: auto; top: auto; bottom: var(--explore-map-bottom-inset);
    transform: translateX(-50%);
  }
  .discovery-map-pane .map-key-toggle { left: var(--explore-map-edge); bottom: var(--explore-map-bottom-inset); }
  .discovery-map-pane .map-key-panel {
    left: var(--explore-map-edge);
    bottom: calc(var(--explore-map-bottom-inset) + 40px);
    width: min(220px, calc(100% - 16px));
    max-height: calc(100% - 104px);
  }
  .discovery-map-pane.fullscreen-map {
    --explore-map-edge: max(8px, env(safe-area-inset-bottom));
    --explore-map-bottom-inset: max(8px, env(safe-area-inset-bottom));
    height: 100dvh;
    min-height: 0;
    padding: 8px;
    contain: none;
  }
  .discovery-map-pane.fullscreen-map .premium-map { height: calc(100dvh - 16px); }
  .discovery-map-pane.fullscreen-map .leaflet-bottom.leaflet-right { bottom: 50px; }
  .discovery-map-pane.fullscreen-map .map-control-zone-nearby,
  .discovery-map-pane.fullscreen-map > .explore-map-interaction.is-active,
  .discovery-map-pane.fullscreen-map .map-key-toggle { bottom: max(8px, env(safe-area-inset-bottom)); }
  .discovery-map-pane.fullscreen-map .map-key-panel { bottom: calc(48px + env(safe-area-inset-bottom)); }
  body:has(.discovery-shell) .wisp-root,
  body:has(.discovery-shell) .anonymous-wisp-gate {
    bottom: calc(var(--gd-bottom-nav-space, 104px) + 118px);
  }
  body:has(.discovery-map-pane.fullscreen-map) .wisp-root,
  body:has(.discovery-map-pane.fullscreen-map) .anonymous-wisp-gate {
    bottom: calc(190px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 760px) and (orientation: landscape) {
  .discovery-map-pane { height: var(--explore-map-mobile-height, 260px); }
  .discovery-topbar { grid-template-columns: minmax(180px, 1fr) auto auto auto auto; }
  .discovery-topbar .recent-search-host,
  .discovery-topbar input[name="Search"],
  .discovery-topbar .segmented-toggle { grid-column: auto; }
}

/* Mobile Explore control rail: the toolbar owns layout space above the map canvas. */
@media (max-width: 760px) {
  body.explore-fullscreen-map-open {
    width: 100%;
  }

  body.explore-fullscreen-map-open .bottom-nav { display: none; }

  .discovery-map-pane {
    --explore-map-toolbar-height: 52px;
    --explore-map-bottom-inset: calc(36px + env(safe-area-inset-bottom));
  }

  .discovery-map-pane .premium-map {
    height: calc(100% - var(--explore-map-toolbar-height));
    margin-top: var(--explore-map-toolbar-height);
    border-radius: 0 0 inherit inherit;
  }

  .discovery-map-controls {
    inset: 0 0 auto;
    height: var(--explore-map-toolbar-height);
    padding: 6px var(--explore-map-edge);
    border-bottom: 1px solid rgba(16, 42, 67, .12);
    background: var(--gd-page, #f7faf9);
  }

  .discovery-map-controls .map-utility-controls {
    position: static;
    width: min(270px, calc(100% - 44px));
    height: 40px;
  }

  .discovery-map-controls .map-environment-controls {
    inset: calc(var(--explore-map-toolbar-height) + var(--explore-map-edge)) var(--explore-map-edge) auto auto;
  }

  .discovery-map-controls .watch-subtype-switcher,
  .discovery-map-controls .seasonal-subtype-switcher {
    position: absolute;
    top: calc(var(--explore-map-toolbar-height) + var(--explore-map-edge));
    left: var(--explore-map-edge);
    max-width: calc(100% - 54px);
  }

  .discovery-map-pane .map-control-zone-nearby {
    inset: auto var(--explore-map-edge) var(--explore-map-bottom-inset) auto;
  }

  .discovery-map-pane .nearby-layer-control,
  .discovery-map-pane .nearby-layer-control.is-active,
  .discovery-map-pane .nearby-layer-control.is-loading {
    min-height: 44px;
    padding-inline: 16px;
    border: 1px solid #0d6257;
    background: linear-gradient(135deg, #176b5d, #098b88);
    color: #fff;
    box-shadow: 0 8px 20px rgba(8, 68, 65, .3);
    font-weight: 950;
  }

  .discovery-map-pane .nearby-layer-control.is-active {
    background: linear-gradient(135deg, #0b5148, #076b69);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .82), 0 8px 20px rgba(8, 68, 65, .34);
  }

  .discovery-map-pane.fullscreen-map {
    --explore-map-edge: max(8px, env(safe-area-inset-left), env(safe-area-inset-right));
    --explore-map-bottom-inset: max(10px, env(safe-area-inset-bottom));
    position: fixed;
    inset: 0;
    z-index: 1400;
    box-sizing: border-box;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border-radius: 0;
    contain: none;
    overflow: hidden;
    isolation: isolate;
    background: #dbe7df;
  }

  .discovery-map-pane.fullscreen-map .premium-map {
    width: 100%;
    height: calc(100dvh - var(--explore-map-toolbar-height));
    margin-top: var(--explore-map-toolbar-height);
    border-radius: 0;
  }

  .discovery-map-pane.fullscreen-map .leaflet-bottom.leaflet-right {
    right: var(--explore-map-edge);
    bottom: calc(var(--explore-map-bottom-inset) + 54px);
  }

  .discovery-map-pane.fullscreen-map .map-control-zone-nearby,
  .discovery-map-pane.fullscreen-map > .explore-map-interaction.is-active,
  .discovery-map-pane.fullscreen-map .map-key-toggle {
    bottom: var(--explore-map-bottom-inset);
  }

  .discovery-map-pane.fullscreen-map .map-key-panel {
    bottom: calc(var(--explore-map-bottom-inset) + 50px);
  }

  .discovery-map-pane.fullscreen-map .map-environment-controls {
    top: calc(var(--explore-map-toolbar-height) + var(--explore-map-edge));
    right: var(--explore-map-edge);
    bottom: auto;
  }

  body.explore-fullscreen-map-open .wisp-root,
  body.explore-fullscreen-map-open .anonymous-wisp-gate {
    z-index: 1460;
    right: auto;
    left: max(10px, env(safe-area-inset-left));
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 58px);
  }

  body:has(.discovery-shell) .anonymous-wisp-gate {
    right: auto;
    left: max(12px, env(safe-area-inset-left));
  }
}
.trip-operation-error { padding: 14px 16px; border-radius: 14px; background: #fff0ed; border: 1px solid #e75f4d; color: #7c261d; }
.trip-save-confirmation { padding: 16px; margin: 0 0 16px; border-radius: 16px; background: #e9fbf3; border: 1px solid #53aa7d; color: #124f36; }
.trip-lifecycle-actions { display: grid; gap: 10px; padding: 18px; margin-bottom: 18px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.trip-start-button { min-height: 56px; font-size: 1.05rem; }
.trip-active-conflict { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #fff8e5; }
.trip-card.is-active-trip { border: 2px solid #ef6c57; }
.trip-memory-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start}.trip-memory-card{padding:0;overflow:visible}.trip-card-cover{display:block;overflow:hidden;border-radius:18px 18px 0 0;background:#dcece6}.trip-card-cover img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px 18px 0 0}.trip-cover-fallback{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(145deg,#173d3a,#2c746b 58%,#e7ad54);color:#fff}.trip-cover-fallback b{font-size:2rem;z-index:1}.trip-cover-fallback i{position:absolute;width:70%;height:42%;border:3px solid rgba(255,255,255,.45);border-radius:50%;transform:rotate(-10deg)}.trip-cover-fallback i:nth-child(3){width:48%;transform:rotate(18deg)}.trip-cover-fallback i:nth-child(4){width:25%;transform:rotate(-28deg)}.trip-card-body{padding:1rem;display:grid;gap:.55rem}.trip-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.trip-card-heading h2{margin:0;font-size:1.3rem}.trip-card-heading time,.trip-card-meta,.trip-memory-count{color:var(--muted);margin:0}.trip-card-meta strong{color:var(--ink)}.trip-action-menu{position:relative;z-index:1205}.trip-action-menu>summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;cursor:pointer;font-size:1.6rem;font-weight:900;list-style:none;background:#fff}.trip-action-menu>summary::-webkit-details-marker{display:none}.trip-action-popover{position:fixed;left:var(--trip-menu-left,auto);right:auto;top:var(--trip-menu-top,auto);display:grid;width:var(--trip-menu-width,210px);min-width:210px;max-width:calc(100vw - 24px);max-height:var(--trip-menu-max-height,calc(100dvh - var(--gd-bottom-nav-space,104px) - 16px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:.4rem;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 36px rgba(19,53,48,.2);z-index:1205}.trip-action-popover>a,.trip-rename-panel>summary{display:flex;align-items:center;min-height:44px;padding:.7rem .8rem;border-radius:10px;color:var(--ink);font-weight:800;cursor:pointer;list-style:none}.trip-action-popover>a:hover,.trip-action-popover>a:focus-visible,.trip-rename-panel>summary:hover,.trip-rename-panel>summary:focus-visible{background:#eef6f3}.trip-action-popover .trip-delete-link{color:#a72727;background:#fff2f2}.trip-action-popover .trip-delete-link:hover,.trip-action-popover .trip-delete-link:focus-visible{background:#ffe4e4}.trip-rename-panel form{display:grid;gap:.5rem;padding:.4rem}.trip-rename-panel input{width:100%}.trip-delete-page{max-width:620px;margin:1rem auto}.trip-delete-confirmation{padding:clamp(1rem,5vw,2rem);display:grid;gap:.8rem}.trip-delete-confirmation h1,.trip-delete-confirmation h2,.trip-delete-confirmation p{margin:0}.trip-delete-confirmation time{color:var(--muted)}.trip-delete-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem}.trip-delete-counts span{padding:.75rem;border-radius:12px;background:#f2f6f4;text-align:center}.trip-delete-counts strong{display:block;font-size:1.25rem}.trip-delete-warning{padding:1rem;border-left:4px solid #b83333;border-radius:10px;background:#fff0f0;color:#6f2020}.trip-delete-actions{display:flex;justify-content:flex-end;align-items:center;gap:.7rem;flex-wrap:wrap}.trip-delete-actions form{margin:0}.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.7rem 1rem;border:0;border-radius:12px;background:#a72727;color:#fff;font-weight:900;cursor:pointer}@media(max-width:430px){.trip-delete-counts{grid-template-columns:1fr}.trip-action-popover{min-width:0}}
.active-trip-shell { display: grid; gap: 16px; padding-bottom: calc(var(--gd-bottom-nav-space, 104px) + 24px); }
.active-trip-hero, .active-next-stop, .active-location-panel, .active-trip-progress, .active-trip-map-panel, .active-trip-finish { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.active-trip-hero { color: white; background: linear-gradient(135deg, #075b69, #168899); }
.active-trip-hero h1 { color: white; margin: 6px 0 10px; }
.trip-status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #ffd05b; color: #382b00; }
.active-location-panel.is-dismissed button { display: none; }
.active-trip-progress ol { list-style: none; padding: 0; display: grid; gap: 10px; }
.active-trip-progress li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px; align-items: start; padding: 12px; border-radius: 14px; background: #f5f8f8; }
.active-trip-progress li.is-next { box-shadow: inset 0 0 0 2px #ef6c57; }
.active-trip-progress li small { display: block; color: var(--gd-muted); }
.stop-progress-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.stop-progress-actions button { min-height: 44px; }
.active-trip-map { height: min(52vh, 390px); min-height: 280px; border-radius: 16px; overflow: hidden; }
.active-trip-finish { display: grid; gap: 10px; }
@media (max-width: 390px) { .active-trip-shell { min-width: 0; } .stop-progress-actions { display: grid; } .stop-progress-actions form, .stop-progress-actions button { width: 100%; } }
.trip-planning-experience { position: relative; isolation: isolate; display: grid; place-items: center; gap: 7px; min-height: clamp(330px, 58vh, 520px); margin: 14px 0; padding: 28px 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; color: #fff; text-align: center; background: radial-gradient(circle at 24% 18%,rgba(113,244,223,.3),transparent 34%),radial-gradient(circle at 82% 78%,rgba(176,141,255,.3),transparent 38%),linear-gradient(145deg,#062f3a,#087c80 48%,#624bb0); box-shadow: 0 22px 55px rgba(8,56,68,.3); }
.trip-planning-experience[hidden] { display: none; }
.trip-planning-experience::before { content:""; position:absolute; inset:-30%; z-index:-2; opacity:.7; background:radial-gradient(circle at 30% 35%,rgba(113,244,223,.2),transparent 25%),radial-gradient(circle at 72% 62%,rgba(215,198,255,.2),transparent 28%); animation:trip-planning-depth 10s ease-in-out infinite alternate; }
.trip-planning-experience::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.045; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.trip-planning-aurora { position:absolute; inset:8%; pointer-events:none; opacity:0; border-radius:50%; background:radial-gradient(circle,rgba(113,244,223,.24),rgba(176,141,255,.1) 34%,transparent 68%); transform:scale(.7); }
.trip-planning-brand { margin: 5px 0 0; color:#bdfbf0; font-size:.72rem; font-weight:900; letter-spacing:.14em; }
.trip-planning-experience h2 { margin:0; color:#fff; font-size:clamp(1.55rem,6vw,2.2rem); }
.trip-planning-stage { min-height:1.6em; margin:3px 0; color:#fff; font-size:1.05rem; font-weight:800; transition:opacity .18s ease,transform .18s ease; }
.trip-planning-support { min-height:2.5em; max-width:34rem; margin:0; color:rgba(255,255,255,.78); font-size:.88rem; }
.trip-planning-route { position:relative; width:min(100%,400px); height:156px; }
.trip-planning-route svg { width:100%; height:100%; overflow:visible; }
.trip-planning-route-shadow,.trip-planning-route-progress { fill:none; stroke-linecap:round; stroke-width:7; }
.trip-planning-route-shadow { stroke:rgba(0,0,0,.2); transform:translateY(3px); }
.trip-planning-route-progress { stroke:url(#tripPlanningGradient); stroke-dasharray:1; stroke-dashoffset:1; filter:drop-shadow(0 0 7px rgba(113,244,223,.8)); animation:trip-planning-route-build 5.8s cubic-bezier(.35,.05,.2,1) forwards; }
.trip-planning-pulse { position:absolute; z-index:3; left:0; top:0; width:10px; height:10px; border-radius:50%; opacity:0; background:#eafffb; box-shadow:0 0 7px #fff,0 0 16px #71f4df,0 0 24px rgba(255,209,92,.7); offset-path:path("M20 118 C72 18 125 132 180 67 S283 18 340 40"); animation:trip-planning-energy 4.6s ease-in-out infinite; }
.trip-planning-waypoint { position:absolute; z-index:4; width:18px; height:18px; border:3px solid rgba(255,255,255,.82); border-radius:50%; opacity:.35; background:#ffd15c; box-shadow:0 0 12px rgba(255,209,92,.45); transition:opacity .3s ease,transform .3s ease,box-shadow .3s ease,background .3s ease; }
.trip-planning-waypoint.is-origin { left:3px; top:109px; }.trip-planning-waypoint.is-stop-one { left:32%; top:79px; animation-delay:.3s; }.trip-planning-waypoint.is-stop-two { left:63%; top:42px; animation-delay:.6s; }.trip-planning-waypoint.is-destination { right:3px; top:30px; animation-delay:.9s; }
.trip-planning-experience[data-planning-state="mapping"] .is-origin { opacity:1; animation:trip-planning-origin 1.7s ease-in-out infinite; }
.trip-planning-candidate { position:absolute; z-index:2; width:7px; height:7px; border-radius:50%; opacity:0; background:#cffff7; box-shadow:0 0 12px #71f4df; animation:trip-planning-candidate 2.1s ease-in-out infinite; }.candidate-one{left:18%;top:42%}.candidate-two{left:29%;top:28%;animation-delay:.3s}.candidate-three{left:43%;top:72%;animation-delay:.7s}.candidate-four{left:57%;top:22%;animation-delay:1s}.candidate-five{left:72%;top:60%;animation-delay:.4s}.candidate-six{left:84%;top:18%;animation-delay:.8s}
.trip-planning-experience[data-planning-state="discovery"] .trip-planning-candidate,.trip-planning-experience[data-planning-state="matching"] .trip-planning-candidate { opacity:.9; }
.trip-planning-experience[data-planning-state="detour"] .trip-planning-candidate:nth-of-type(odd) { opacity:.55; }.trip-planning-experience[data-planning-state="detour"] .trip-planning-candidate:nth-of-type(even) { opacity:.08; }
.trip-planning-experience[data-planning-state="quality"] .trip-planning-selected,.trip-planning-experience[data-planning-state="composition"] .trip-planning-selected { opacity:1; background:#71f4df; animation:trip-planning-lock .48s ease-out both; }.trip-planning-experience[data-planning-state="quality"] .is-stop-two{animation-delay:.18s}
.trip-planning-experience[data-planning-state="ai"] .trip-planning-aurora { opacity:1; animation:trip-planning-ai-ripple 2.2s ease-in-out infinite; }
.trip-planning-experience[data-planning-state="composition"] .trip-planning-candidate { opacity:0; }.trip-planning-experience[data-planning-state="composition"] .trip-planning-route-progress { stroke-dashoffset:0; }
.trip-planning-experience.is-complete { animation:trip-planning-finish .32s ease-out both; }
.trip-planning-experience.is-exiting { opacity:0; transform:translateY(-8px); transition:opacity .2s ease,transform .2s ease; }
.trip-planning-experience.is-complete .trip-planning-route-progress { stroke-dashoffset:0; }.trip-planning-experience.is-complete .trip-planning-waypoint { opacity:1; background:#71f4df; }.trip-planning-experience.is-complete .is-destination { transform:scale(1.18); animation:trip-planning-destination .42s ease-out both; }
.trip-planning-experience[data-planning-state="error"] .trip-planning-pulse,.trip-planning-experience[data-planning-state="error"] .trip-planning-candidate,.trip-planning-experience[data-planning-state="error"] .trip-planning-aurora { display:none; }.trip-planning-experience[data-planning-state="error"] .trip-planning-route-progress { animation-play-state:paused; opacity:.45; }
.trip-planning-experience.is-page-hidden * { animation-play-state:paused!important; }
.trip-planning-error { display:grid; gap:14px; place-items:center; }.trip-planning-error[hidden]{display:none}.trip-planning-error strong{font-size:1.2rem}.trip-planning-error div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.trip-planning-complete { display:flex; align-items:center; gap:10px; margin-bottom:12px; padding:12px 16px; border-radius:16px; color:#075b55; background:linear-gradient(100deg,#e2fff7,#fff7d8); animation:trip-result-reveal .42s ease-out both; }
.trip-planning-complete span { color:#e89a25; font-size:1.35rem; }.trip-results { animation:trip-result-reveal .46s ease-out both; }.trip-route-vitals{font-weight:900;color:var(--gd-teal)!important}
.trip-map-numbered-marker span { display:grid; place-items:center; width:34px; height:34px; border:3px solid #fff; border-radius:50%; color:#fff; background:#073f40; font-weight:950; box-shadow:0 5px 14px rgba(7,63,64,.35); }.trip-map-numbered-marker.is-stop span{background:#ef6c57}
@keyframes trip-planning-route-build { to { stroke-dashoffset:0; } }
@keyframes trip-planning-energy { 0%{offset-distance:0;opacity:0} 10%,88%{opacity:1} 100%{offset-distance:100%;opacity:0} }
@keyframes trip-planning-origin { 50% { transform:scale(1.12); box-shadow:0 0 0 9px rgba(255,255,255,0),0 0 24px rgba(255,209,92,.85); } }
@keyframes trip-planning-candidate { 50% { transform:scale(1.35); filter:brightness(1.25); } }
@keyframes trip-planning-lock { 0%{transform:scale(.8)} 65%{transform:scale(1.05);box-shadow:0 0 24px #71f4df} 100%{transform:scale(1)} }
@keyframes trip-planning-ai-ripple { 50% { transform:scale(1.2); filter:hue-rotate(18deg); } }
@keyframes trip-planning-depth { to { transform:translate3d(3%,-2%,0) scale(1.08); } }
@keyframes trip-planning-destination { 50% { box-shadow:0 0 0 10px rgba(255,255,255,0),0 0 30px #ffd15c; } }
@keyframes trip-planning-finish { 50% { filter:brightness(1.18); } }
@keyframes trip-result-reveal { from { opacity:0; transform:translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .trip-planning-experience::before,.trip-planning-aurora,.trip-planning-route-progress,.trip-planning-pulse,.trip-planning-candidate,.trip-planning-waypoint,.trip-planning-experience.is-complete,.trip-results,.trip-planning-complete { animation:none!important; }.trip-planning-experience.is-exiting{transition:opacity .08s linear;transform:none}.trip-planning-route-progress{stroke-dashoffset:0}.trip-planning-pulse,.trip-planning-candidate{display:none}.trip-planning-waypoint{opacity:1;transform:none!important} }
/* Trip memories: private, mobile-first travel editorial. */
.trip-memory-page{display:grid;gap:1.2rem;max-width:980px;margin:0 auto;padding:1rem}.memory-ready{display:flex;justify-content:space-between;gap:.75rem;padding:1rem;border-radius:18px;background:#fff4cc;color:#493b14}.memory-ready strong{font-size:1.1rem}.memory-hero{overflow:hidden;border-radius:26px;background:#162d2a;color:#fff}.memory-hero>img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}.memory-hero>div{padding:1.25rem}.memory-hero h1{margin:.25rem 0;font-size:clamp(1.8rem,7vw,3.4rem)}.memory-story,.memory-route,.memory-timeline,.memory-add{padding:1rem;border:1px solid #e6e1d9;border-radius:20px;background:#fff}.memory-story form,.memory-add form,.memory-timeline-item form{display:grid;gap:.7rem}.memory-story textarea,.memory-add textarea,.memory-timeline-item textarea,.memory-add select,.memory-timeline-item select{width:100%}.memory-timeline{display:grid;gap:.75rem}.memory-timeline .section-heading{margin-bottom:.5rem}.memory-timeline-item{display:grid;grid-template-columns:3.8rem 1fr;gap:.75rem;padding:.75rem 0;border-top:1px solid #ece8e1}.memory-timeline-item:first-of-type{border-top:0}.memory-timeline-item time{font-size:.82rem;color:#6b716f}.memory-timeline-item img{display:block;width:100%;max-height:540px;object-fit:cover;border-radius:16px;margin:.55rem 0}.memory-timeline-item details{margin-top:.5rem}.active-memory-add{margin:1rem 0;background:#fffaf0}.active-memory-add summary{font-weight:800;cursor:pointer}.active-memory-add form{margin-top:.8rem}.trip-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}@media(max-width:430px){.trip-memory-page{padding:.65rem}.memory-ready{flex-direction:column}.memory-hero{border-radius:20px}.memory-timeline-item{grid-template-columns:3.1rem 1fr}.memory-story,.memory-route,.memory-timeline,.memory-add{padding:.85rem}}

/* Wisp no-JS/mobile visibility guardrail. The feature stylesheet supplies its
   visual design; these rules ensure the resting server-rendered launcher stays
   inside narrow viewports and above map/navigation content. */
.wisp-root{--wisp-size:58px;right:max(8px,env(safe-area-inset-right));z-index:1260;display:block;visibility:visible;opacity:1;filter:drop-shadow(0 6px 16px rgba(13,141,255,.48))}
.wisp-root[hidden]{display:none}
.wisp-rest-control{display:block;width:var(--wisp-size);height:68px;min-width:48px;min-height:48px;touch-action:manipulation}
.wisp-form{display:block}

/* Home premium dark-glass weather surface. */
.home-weather-card {
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgba(89,235,239,.38);
  background:linear-gradient(145deg,rgba(7,28,52,.94),rgba(5,58,73,.88) 58%,rgba(8,37,61,.94));
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -18px 40px rgba(2,18,36,.18),0 18px 42px rgba(3,24,43,.34),0 0 22px rgba(28,209,215,.1);
  -webkit-backdrop-filter:blur(18px) saturate(125%);
  backdrop-filter:blur(18px) saturate(125%);
}
.home-weather-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.12),transparent 32%)}
.home-weather-card.is-weather-muted{background:linear-gradient(145deg,#0a2440,#0a4656 60%,#0a2945)}
.home-weather-main strong{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.34)}
.home-weather-main span,.home-weather-status{color:rgba(239,253,255,.9)}
.home-weather-meta span,.home-weather-enable{border-color:rgba(159,242,245,.24);background:rgba(218,251,252,.1);color:#f4ffff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.home-weather-refresh{background:rgba(4,24,44,.55);border-color:rgba(142,239,242,.3)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.home-weather-card{background:#092d49}.home-weather-meta span,.home-weather-enable{background:#17475d}}
@media (prefers-reduced-transparency:reduce){.home-weather-card{background:#092d49}.home-weather-meta span,.home-weather-enable{background:#17475d}}

/* Reserved 16:9 late provider-image swap: the fallback never changes geometry. */
.surprise-image-wrap{position:relative;aspect-ratio:16/9;overflow:hidden}
.destination-image-late{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .32s ease}
.destination-image-late.is-ready{opacity:1}
[data-trip-planner] .destination-image-credit{position:static;display:block;grid-column:1/-1;max-width:100%;padding:.35rem .75rem;background:transparent;color:#52636a;font-size:.7rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere;border-radius:0}
[data-trip-planner] .destination-image-credit a{color:inherit;text-decoration:underline;margin-left:.35rem}
[data-trip-planner] .route-node-actions{flex-direction:row;flex-wrap:wrap;gap:.25rem}
[data-trip-planner] .route-node-actions button,[data-trip-planner] [data-remove-via]{min-height:44px;padding:.35rem .5rem}
[data-trip-planner] .trip-journey-break summary{cursor:pointer;font-weight:750;min-height:44px;display:list-item}
.trip-break-controls{display:flex;flex-wrap:wrap;gap:.6rem;align-items:end;margin-top:.5rem}.trip-break-controls label{display:grid;gap:.25rem;flex:1 1 130px;min-width:0}.trip-break-controls select{width:100%;min-height:44px}.trip-break-actions{display:flex;flex-wrap:wrap;gap:.4rem}.trip-break-candidate p{margin:.35rem 0}.trip-break-candidate{padding:.6rem 0}
@media(max-width:540px){[data-trip-planner] .route-node.stop{flex-wrap:wrap}[data-trip-planner] .route-node-actions{margin-left:2rem;width:calc(100% - 2rem)}[data-trip-planner] .route-node-destination{flex:1;min-width:120px}}
.destination-image-attribution{position:absolute;right:8px;bottom:7px;z-index:3;padding:3px 6px;border-radius:5px;background:rgba(3,20,36,.76);color:#fff;font-size:.65rem;line-height:1.2}
.premium-card-media>a{position:relative;display:block;width:100%;height:100%}
.destination-card-image-late{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .28s ease}
.destination-card-image-late.is-ready{opacity:1}
.destination-card-attribution{position:absolute;right:6px;bottom:6px;z-index:3;max-width:calc(100% - 12px);padding:3px 5px;border-radius:4px;background:rgba(3,20,36,.76);color:#fff;font-size:.6rem;line-height:1.15}
.trip-road-compliance-actions form{display:inline}.trip-avoid-status{margin-top:.65rem;font-weight:750}.trip-route-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:1rem}.trip-route-comparison article{padding:1rem;border:1px solid rgba(15,139,141,.25);border-radius:16px;background:#fff}.trip-route-comparison ul{padding-left:1.2rem}@media(max-width:620px){.trip-route-comparison{grid-template-columns:1fr}}
[data-destination-placeholder][data-image-state="temporary"]{position:relative}
[data-destination-placeholder][data-image-state="temporary"]::after{content:"Photo loading";position:absolute;right:8px;top:8px;padding:3px 6px;border-radius:999px;background:rgba(3,30,45,.48);color:#eaffff;font-size:.6rem;font-weight:800}
@media (prefers-reduced-motion:reduce){.destination-image-late{transition:none}}
@media (prefers-reduced-motion:reduce){.destination-card-image-late{transition:none}}
.surprise-auth-gate{width:min(100%,680px);margin:clamp(2rem,8vh,6rem) auto;padding:clamp(1.4rem,5vw,2.5rem);border:1px solid rgba(15,139,141,.2);border-radius:24px;background:#fff;box-shadow:0 18px 55px rgba(11,52,62,.12);text-align:center}.surprise-auth-gate h1{margin:.35rem 0 .75rem}.surprise-auth-gate>p:not(.eyebrow){max-width:34rem;margin:.5rem auto 1.25rem}.surprise-auth-actions,.anonymous-action-gate>div,.anonymous-wisp-gate section>div{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin:1rem 0}.surprise-auth-actions a,.anonymous-action-gate a,.anonymous-wisp-gate a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.anonymous-action-gate{padding:1rem;text-align:center}.anonymous-action-gate p{margin:0 0 .35rem}.anonymous-action-gate small{display:block;color:#52636a}
.auth-return-welcome{width:min(100% - 2rem,680px);margin:1rem auto 0;padding:.8rem 1rem;border-radius:14px;background:#e6fbf5;color:#075d4d;font-weight:850;text-align:center}
.anonymous-wisp-gate section{position:fixed;z-index:1270;right:max(14px,env(safe-area-inset-right));top:calc(var(--header-top-band-height,0px) + 66px + env(safe-area-inset-top));width:min(360px,calc(100vw - 28px));padding:1.25rem;border-radius:20px;background:#08253b;color:#eefcff;box-shadow:0 18px 60px rgba(0,0,0,.3)}.anonymous-wisp-gate section[hidden]{display:none}.anonymous-wisp-gate h2{margin:.2rem 0 .5rem;color:#fff}.anonymous-wisp-gate p{margin:.35rem 0}.anonymous-wisp-gate .ghost-button{color:#eafcff;border-color:#a8ecf5}.anonymous-wisp-gate small{display:block;text-align:center;color:#c5e3ea}@media(max-width:480px){.surprise-auth-actions a,.anonymous-action-gate a,.anonymous-wisp-gate section a{width:100%}}

[data-trip-planner] .trip-journey-break h2{font-size:1.05rem;margin:0}.trip-break-types{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.trip-break-types button{min-height:44px;padding:.45rem .7rem}.trip-break-types button[aria-pressed="true"]{background:var(--accent,#176c59);color:#fff}.trip-journey-break [data-break-status]:empty{margin:0}

/* Saved Trip Tour controls stay in normal flow and retain mobile touch targets. */
.tour-choice { border: 1px solid #b9c9cc; border-radius: 14px; padding: 12px; margin: 0 0 12px; }
.tour-choice legend { font-size: 1rem; font-weight: 700; padding: 0 6px; }
.tour-choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 90px; margin-right: 12px; }
.tour-choice input { width: 20px; height: 20px; }
.tour-choice p, .tour-panel p { line-height: 1.5; }
.tour-panel button { min-height: 44px; margin: 4px 4px 4px 0; }
.tour-panel [hidden] { display: none !important; }

/* Keep authentication headings readable and checkbox labels easy to tap. */
.identity-page .identity-panel h1 { color: #184c55 !important; font-size: clamp(1.8rem,7vw,2.35rem); }
.identity-page .identity-panel .check { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin: 0; }
.identity-page .identity-panel .check input[type="checkbox"] { flex: 0 0 20px; width: 20px; min-height: 20px; height: 20px; margin: 0; }

.vehicle-extra-details { margin: 1rem 0; padding: .8rem; border: 1px solid #d5e3e7; border-radius: 12px; background: #f6fafb; }
.vehicle-extra-details > summary { display: list-item; min-height: 44px; padding: .5rem; color: #184c55; font-weight: 700; cursor: pointer; }
.vehicle-extra-details[open] > summary { margin-bottom: .7rem; }
.vehicle-guide { margin-top:1.25rem; padding:clamp(1rem,4vw,1.5rem); border:1px solid #d9e6e3; border-radius:20px; background:linear-gradient(160deg,#fbfdfc,#f1f8f5); }
.vehicle-guide-heading > span,.vehicle-confirm-card .eyebrow { color:#16715f; font-size:.75rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.vehicle-guide-heading h3 { margin:.25rem 0; font-size:clamp(1.45rem,6vw,2rem); }
.vehicle-guide-heading p { margin:.2rem 0 1rem; color:var(--muted); }
.vehicle-profile-list { display:flex; gap:.55rem; overflow-x:auto; padding:.25rem 0 1rem; scrollbar-width:thin; }
.vehicle-profile-pill { flex:0 0 auto; padding:.65rem .85rem; border:1px solid #b9d4ce; border-radius:999px; background:#fff; color:#174d43; text-decoration:none; font-weight:700; }
.vehicle-profile-pill.is-active { background:#174d43; color:#fff; border-color:#174d43; }
.vehicle-kind-choices { margin:0 0 1rem; padding:0; border:0; }
.vehicle-kind-choices legend { margin-bottom:.65rem; font-weight:800; }
.vehicle-kind-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
.vehicle-kind-choices legend { grid-column:1/-1; }
.vehicle-kind-choices label { position:relative; display:flex; align-items:center; gap:.55rem; min-height:58px; padding:.7rem; border:1px solid #cbdeda; border-radius:14px; background:#fff; cursor:pointer; }
.vehicle-kind-choices label:has(input:checked) { border-color:#14705d; box-shadow:0 0 0 2px #14705d22; background:#edf8f4; }
.vehicle-kind-choices input { position:absolute; opacity:0; }
.vehicle-kind-choices label span { font-size:1.35rem; }
.vehicle-step { display:flex; gap:.75rem; align-items:center; margin:1rem 0 .65rem; }
.vehicle-step > span { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:50%; background:#174d43; color:#fff; font-weight:800; }
.vehicle-step small { display:block; color:var(--muted); margin-top:.1rem; }
.vehicle-action-row { display:grid; grid-template-columns:minmax(0,1fr) 52px auto; gap:.5rem; align-items:end; }
.vehicle-action-row label { margin:0; }
[data-specification-step] .vehicle-action-row { grid-template-columns:minmax(0,1fr) auto; }
.vehicle-confirm-card { margin:1rem 0; padding:1rem; border:1px solid #b8d8cf; border-radius:16px; background:#fff; box-shadow:0 8px 24px #174d4312; }
.vehicle-confirm-card h4 { margin:.3rem 0; font-size:1.25rem; }
.vehicle-confirm-card dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:.85rem 0; }
.vehicle-confirm-card dl div { padding:.6rem; border-radius:10px; background:#f1f7f5; }
.vehicle-confirm-card dt { color:var(--muted); font-size:.75rem; }.vehicle-confirm-card dd { margin:0; font-weight:800; }
.vehicle-confirm-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.9rem; }
.vehicle-source { font-size:.85rem; }.vehicle-match-list { display:grid; gap:.5rem; margin:1rem 0; }
.vehicle-check-warning { margin:.75rem 0 0; padding:.7rem .8rem; border-left:3px solid #c47b18; border-radius:8px; background:#fff8e9; color:#68440f; font-size:.9rem; }
.vehicle-match-choice { display:grid; gap:.15rem; width:100%; padding:.8rem; text-align:left; border:1px solid #bdd7d1; border-radius:12px; background:#fff; color:inherit; }
.vehicle-match-choice span,.vehicle-match-choice small { color:var(--muted); }
@media (min-width:700px){.vehicle-kind-choices{grid-template-columns:repeat(5,minmax(0,1fr));}.vehicle-action-row{max-width:680px;}}
@media (max-width:420px){.vehicle-action-row{grid-template-columns:minmax(0,1fr) 48px}.vehicle-action-row button{grid-column:1/-1;width:100%;}[data-specification-step] .vehicle-action-row{grid-template-columns:1fr}.vehicle-confirm-card dl{grid-template-columns:1fr 1fr}}
.vehicle-ev-fields fieldset label { display: flex; align-items: center; gap: .65rem; min-height: 44px; }
.vehicle-ev-fields input[type="checkbox"] { flex: 0 0 20px; width: 20px; min-height: 20px; height: 20px; margin: 0; }

/* Profile information architecture and first-class transport management. */
.profile-dashboard-section { padding:4px 0 0; border:0; background:transparent; box-shadow:none; }
.profile-dashboard-section h2 { margin:0 4px 8px; font-size:.78rem; letter-spacing:.08em; }
.profile-action-list { gap:0; overflow:hidden; border:1px solid rgba(16,42,67,.1); border-radius:14px; background:#fff; box-shadow:0 7px 20px rgba(16,42,67,.045); }
.profile-action-row { min-height:58px; padding:10px 12px; border:0; border-bottom:1px solid rgba(16,42,67,.08); border-radius:0; }
.profile-action-list > :last-child { border-bottom:0; }
.profile-transport-row { background:linear-gradient(120deg,#f0faf6,#f4f9ff); }
.profile-transport-row .profile-action-icon { background:#176b5d; color:#fff; }
.profile-signout-section { padding-top:0; }
.profile-section-heading-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.profile-inline-link { color:#176b5d; font-size:.86rem; font-weight:850; }
.profile-membership-benefits { margin-top:8px; border:1px solid rgba(16,42,67,.1); border-radius:12px; background:#fff; }
.profile-membership-benefits > summary { min-height:44px; padding:11px 13px; color:#176b5d; font-weight:850; cursor:pointer; }
.profile-membership-benefits[open] > summary { border-bottom:1px solid rgba(16,42,67,.08); }
.profile-membership-benefits .profile-membership-features { padding:8px; }

.transport-manager { width:min(100%,880px); margin:0 auto; padding-bottom:calc(var(--gd-bottom-nav-space,104px) + 24px); }
.saved-transport-section { display:grid; gap:12px; }
.transport-section-heading { display:flex; align-items:end; justify-content:space-between; gap:12px; }
.transport-section-heading .eyebrow { margin:0 0 2px; color:#176b5d; }
.transport-section-heading h2 { margin:0; font-size:clamp(1.25rem,5vw,1.65rem); }
.compact-button { min-height:42px; padding:.6rem .85rem; font-size:.84rem; }
.transport-card-list { display:grid; gap:8px; }
.transport-card { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; padding:12px 13px; border:1px solid #d5e4e1; border-radius:13px; background:#fff; box-shadow:0 5px 16px rgba(16,42,67,.045); }
.transport-card.is-default { border-left:4px solid #16715f; padding-left:10px; }
.transport-card-copy { min-width:0; display:grid; gap:2px; }
.transport-card-copy strong { overflow-wrap:anywhere; font-size:1rem; line-height:1.2; }
.transport-card-copy span { color:#52636a; font-size:.84rem; font-weight:750; }
.transport-card-copy small { color:#16715f; font-size:.72rem; font-weight:850; }
.transport-card-actions { flex:0 0 auto; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.transport-card-actions a { min-height:38px; padding:.5rem .7rem; font-size:.78rem; }
.transport-empty { display:grid; gap:3px; padding:16px; border:1px dashed #b8d2cc; border-radius:13px; background:#f5faf8; }
.transport-empty span { color:var(--muted); }
.vehicle-manager-form { margin-top:18px; padding-bottom:20px; }
.vehicle-manager-form .vehicle-guide { margin:0; border-radius:16px; }
.vehicle-guide-heading h2 { margin:.25rem 0; font-size:clamp(1.35rem,5vw,1.8rem); }
.vehicle-routing-warning.is-success { border-color:#a8d7c9; background:#eaf8f3; color:#0b6653; }
.vehicle-routing-warning.is-error { border-color:#e7b8b8; background:#fff1f1; color:#842828; }
.vehicle-technical-fields { min-width:0; margin:0; padding:0; border:0; }
.caravan-manual-entry > .vehicle-technical-fields { display:grid; gap:10px; }
.vehicle-delete-button { min-height:44px; margin-top:8px; padding:.65rem .85rem; border:0; background:transparent; color:#9d2929; font-weight:850; text-decoration:underline; cursor:pointer; }
.vehicle-confirm-card h3 { margin:.3rem 0; font-size:1.25rem; }

@media (max-width:620px) {
  .profile-page-header { gap:8px; }
  .profile-page-header .secondary-button { min-height:40px; padding:.55rem .7rem; }
  .profile-member-card { grid-template-columns:64px minmax(0,1fr); padding:14px; }
  .profile-member-card .profile-avatar { width:64px; height:64px; }
  .profile-member-card .profile-edit-link { grid-column:1/-1; width:100%; justify-content:center; }
  .profile-dashboard { gap:12px; padding-bottom:calc(var(--gd-bottom-nav-space,104px) + 18px); }
  .profile-action-icon { width:36px; height:36px; }
  .profile-action-row { grid-template-columns:38px minmax(0,1fr) auto; gap:8px; }
  .transport-section-heading { align-items:flex-start; flex-direction:column; }
  .transport-section-heading .compact-button { width:100%; justify-content:center; }
  .transport-card { align-items:flex-start; flex-direction:column; }
  .transport-card-actions { width:100%; justify-content:stretch; }
  .transport-card-actions a { flex:1; justify-content:center; }
  .vehicle-kind-choices label { min-height:52px; padding:.55rem .6rem; }
  .vehicle-guide-heading p { margin-bottom:.75rem; }
}

.trip-planning-error p { margin:0; max-width:42ch; line-height:1.5; }
.trip-planning-error [hidden] { display:none !important; }
.trip-planning-experience.has-error .trip-planning-brand, .trip-planning-experience.has-error > h2 { display:none; }

/* Keep practical categories inside the map that contains them, with a reachable close control. */
.discovery-map-pane .nearby-category-sheet {
  position: absolute;
  inset: 60px 10px auto auto;
  z-index: 1140;
  max-height: calc(100% - 130px);
  overscroll-behavior: contain;
}
.nearby-category-sheet > div:first-child {
  position: sticky;
  top: -10px;
  z-index: 1;
  margin: -10px -10px 6px;
  padding: 6px 10px;
  background: #fff;
  border-bottom: 1px solid rgba(22, 63, 47, .12);
}
.nearby-category-sheet [data-nearby-close] { min-width: 44px; min-height: 44px; color: #163f2f; }

.nearby-result-status { flex-basis: 100%; margin: 0; color: var(--gd-deep-ocean, #163f2f); font-size: .875rem; }

.nearby-category-sheet > .nearby-membership-summary {
  display: grid;
  gap: 4px;
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 9px;
  background: #f3f8f6;
  font-size: .82rem;
}
.nearby-membership-summary > strong { font-size: .72rem; color: #46625b; }
.nearby-membership-summary > strong:last-child { margin-top: 4px; }

/* Failed gallery items leave the visible sequence and keyboard order. */
.card-gallery-track > [hidden], .card-gallery-dots > [hidden],
[data-card-gallery] [data-open-lightbox][hidden], [data-card-gallery] [data-gallery-count][hidden],
.premium-gallery > [hidden], .all-media-failed [data-gallery-track] { display:none !important; }

/* Consumer desktop presentation; capability detection leaves touch devices alone. */
.mobile-required{display:none}
html.desktop-consumer,html.desktop-consumer body{overflow:auto!important;position:static!important;height:auto!important;min-height:100%;margin:0;padding:0!important}
.desktop-consumer body>:not(.mobile-required){display:none!important}
.desktop-consumer .mobile-required{display:grid;place-items:center;min-height:100vh;min-height:100dvh;padding:3rem 1.5rem;background:#f5f4ef;color:#163e3c;text-align:center}
.mobile-required-content{max-width:38rem}.mobile-required-brand{font-size:clamp(3rem,7vw,5rem);font-weight:900;letter-spacing:.08em;margin:0}
.mobile-required-tagline{font-size:.8rem;font-weight:700;letter-spacing:.14em;margin:.6rem 0 3rem}.mobile-required h1{font-size:1.5rem;text-transform:none;letter-spacing:normal;margin:0 0 .8rem}.mobile-required-content>p:last-child{font-size:1.05rem;color:#4a615d}
/* Keep every optional-interest action visible, including More. */
[data-trip-planner] .trip-interest-compact{flex-wrap:wrap;overflow:visible;gap:.5rem}
[data-trip-planner] .trip-interest-compact button{font-size:.875rem;padding:.55rem .75rem}
[data-trip-planner] .trip-zone-heading{font-size:1rem;letter-spacing:normal;text-transform:none;margin:.8rem 0 .25rem}
[data-trip-planner] .trip-zone-clear{font-size:.9rem;margin:0;color:var(--gd-deep-ocean)}
[data-trip-planner] .trip-road-alerts{margin:0;padding:.7rem 0;border:0;border-bottom:1px solid var(--gd-border);border-radius:0;background:transparent}
[data-trip-planner] .trip-workspace-heading h1,[data-trip-planner] .trip-workspace-heading h2,[data-trip-planner] .route-node strong{text-transform:none;overflow-wrap:anywhere;line-height:1.3}
[data-trip-planner] .trip-road-compliance{background:#fff;border-color:var(--gd-border)}
[data-trip-planner] .trip-road-compliance .section-heading{margin:0}
[data-trip-planner] .trip-road-alerts{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .7rem;padding:.4rem 0 .6rem;font-size:.9rem}
[data-trip-planner] .trip-road-alerts strong,[data-trip-planner] .trip-road-alerts span{grid-column:1}
[data-trip-planner] .trip-road-alerts strong{font-weight:700}
[data-trip-planner] .trip-road-alerts a{grid-column:2;grid-row:1 / 3;min-height:44px;display:flex;align-items:center}
[data-trip-planner] .trip-road-alerts small{grid-column:1 / -1;font-size:.75rem;color:var(--muted)}
[data-trip-planner] .trip-zone-heading{margin:.2rem 0 0}

.wild-camping-image-credit a { display: inline; width: auto; height: auto; color: inherit; text-decoration: underline; }

/* Shared photo viewer: fit the whole photograph, then transform only its camera. */
.photo-lightbox-stage {
  position: absolute; inset: max(68px, calc(env(safe-area-inset-top) + 54px)) 0 max(100px, calc(env(safe-area-inset-bottom) + 84px));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.photo-lightbox .photo-lightbox-stage img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0;
  object-fit: contain !important; object-position: center !important; padding: 0;
  transform-origin: center; transition: none; will-change: transform; pointer-events: none;
}
.photo-lightbox-stage.is-zoomed { cursor: grab; }
.photo-lightbox-stage.is-zoomed:active { cursor: grabbing; }
.photo-lightbox .photo-lightbox-toolbar { gap: 8px; }
.photo-lightbox-toolbar [data-lightbox-count] { margin-right: auto; }
.photo-lightbox .photo-lightbox-toolbar button { background: #fff; color: #173b35; box-shadow: 0 2px 10px #0008; }
.photo-lightbox-meta { z-index: 4; font-size: .85rem; }
.photo-lightbox-meta strong { max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-lightbox-meta [data-lightbox-meta] { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 12px; }
.photo-lightbox-meta details { pointer-events: auto; }
.photo-lightbox-meta summary { cursor: pointer; color: #fff; text-decoration: underline; }
.photo-lightbox-meta details div {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: min(90vw, 460px);
  max-height: 45dvh; overflow: auto; padding: 14px; border-radius: 12px; background: #10252a; color: #fff;
  display: grid; gap: 8px; overflow-wrap: anywhere; text-align: left;
}
.photo-lightbox-meta { padding: 8px; border-radius: 12px; background: #041014c9; }
.photo-lightbox .photo-lightbox-nav { display: grid; width: 36px; height: 36px; opacity: .9; }
.photo-lightbox [hidden] { display: none !important; }
.photo-credit-detail { font-size: .72rem; }
.photo-credit-detail summary { cursor: pointer; }
.photo-credit-detail div { display: grid; gap: 5px; max-height: 180px; overflow: auto; padding: 8px; overflow-wrap: anywhere; }
.photo-credit-detail a { color: #fff; text-decoration: underline; }
.explore-data-credits { margin-block: 4px; font-size: .75rem; color: #425c65; }
.explore-data-credits details { display: inline; }
.explore-data-credits summary { display: inline; cursor: pointer; text-decoration: underline; }
.explore-data-credits details p { max-width: 680px; }
.discovery-map-pane .leaflet-control-attribution { font-size: 11px !important; line-height: 1.3 !important; background: #fffffff2 !important; color: #17324d !important; opacity: 1 !important; }
.discovery-map-pane .leaflet-control-attribution a { color: #17324d !important; }
.profile-photo-media { position: relative; width: 86px; }
.profile-photo-media .photo-credit-detail { position: relative; inset: auto; max-width: 86px; font-size: .65rem; }
.profile-photo-media .photo-credit-detail[open] { z-index: 5; width: min(280px, 70vw); max-width: none; }
.destination-image-credit summary { cursor: pointer; }
.destination-image-credit > div { display: grid; gap: 4px; }
[data-photo-viewer], img[role="button"][data-lightbox-src] { cursor: zoom-in; }
.photo-lightbox .photo-lightbox-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; }
