:root {
  --bg: #11130f;
  --surface: #181b16;
  --surface-2: #20241d;
  --card: #f3f0e8;
  --ink: #151713;
  --muted: #75786f;
  --line: rgba(255,255,255,.10);
  --sun: #f5c84b;
  --sun-2: #ffe28a;
  --sage: #9fb38d;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(0,0,0,.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select, input { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
  background: rgba(17,19,15,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  text-decoration: none;
  font-weight: 840;
  letter-spacing: -.04em;
  font-size: 22px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  color: #19170e;
  box-shadow: 0 0 0 5px rgba(245,200,75,.08);
}
.city-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.city-button small { color: var(--sun-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }main { overflow: hidden; }
.hero {
  position: relative;
  padding: 46px 20px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  top: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(245,200,75,.30), rgba(245,200,75,0) 70%);
  pointer-events: none;
}
.eyebrow, .section-kicker {
  color: var(--sun-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}
.hero h1 {
  position: relative;
  margin: 11px 0 12px;
  font-size: clamp(39px, 9.5vw, 76px);
  line-height: .97;
  letter-spacing: -.065em;
  max-width: 850px;
}
.hero h1 span { color: var(--sun); }
.hero-copy {
  color: #c9cbc3;
  max-width: 610px;
  font-size: clamp(15px, 3.8vw, 19px);
  line-height: 1.55;
  margin: 0 0 24px;
}
.field-label {
  display: block;
  color: #8e9288;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}.time-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.time-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.time-card-head strong {
  display: block;
  font-size: 25px;
  letter-spacing: -.035em;
}
.ghost-button {
  border: 1px solid rgba(21,23,19,.15);
  color: var(--ink);
  background: rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 760;
}
input[type="range"] {
  width: 100%;
  margin: 20px 0 4px;
  accent-color: #e4ad23;
}
.time-scale {
  display: flex;
  justify-content: space-between;
  color: #8b8c84;
  font-size: 11px;
  font-weight: 700;
}.weather-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  max-width: 720px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.weather-icon {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 26px;
  color: var(--sun);
}
.weather-strip strong { font-size: 14px; }
.weather-note {
  grid-column: 2;
  color: #94988e;
  font-size: 11px;
  line-height: 1.4;
}
.filters-wrap {
  padding: 8px 20px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.quick-filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 2px 6px;
  scrollbar-width: none;
}
.quick-filters::-webkit-scrollbar { display: none; }.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #d7dad0;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 760;
  font-size: 13px;
}
.filter-chip.active {
  background: var(--sun);
  color: #17170f;
  border-color: var(--sun);
}
.more-filters {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.more-filters summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 2px;
  color: #afb2a9;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}
.more-filters summary::-webkit-details-marker { display: none; }
.advanced-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 0 16px;
}
.advanced-grid label span {
  display: block;
  color: #8f9389;
  font-size: 11px;
  margin-bottom: 5px;
}
.advanced-grid select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--white);
  border-radius: 12px;
  padding: 11px;
}.results-section {
  background: #ece9e0;
  color: var(--ink);
  border-radius: 32px 32px 0 0;
  padding: 25px 18px 34px;
}
.results-section .section-kicker { color: #80650f; }
.results-head {
  max-width: 1144px;
  margin: 0 auto 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.results-head h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 6vw, 34px);
  letter-spacing: -.045em;
}
.view-toggle {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #dcd8ce;
}
.view-toggle button {
  border: 0;
  background: transparent;
  color: #6c6d67;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.view-toggle button.active { background: #fff; color: var(--ink); }
.results-layout {
  max-width: 1144px;
  margin: 0 auto;
}
.venue-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}.results-section {
  background: #ece9e0;
  color: var(--ink);
  border-radius: 32px 32px 0 0;
  padding: 25px 18px 34px;
}
.results-section .section-kicker { color: #80650f; }
.results-head {
  max-width: 1144px;
  margin: 0 auto 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.results-head h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 6vw, 34px);
  letter-spacing: -.045em;
}
.view-toggle {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #dcd8ce;
}
.view-toggle button {
  border: 0;
  background: transparent;
  color: #6c6d67;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.view-toggle button.active { background: #fff; color: var(--ink); }
.results-layout { max-width: 1144px; margin: 0 auto; }
.venue-list { display: grid; grid-template-columns: 1fr; gap: 12px; }.venue-card {
  position: relative;
  overflow: hidden;
  border-radius: 23px;
  background: #fff;
  border: 1px solid rgba(21,23,19,.08);
  box-shadow: 0 9px 30px rgba(32,34,28,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.venue-card:active { transform: scale(.99); }
.card-visual {
  position: relative;
  min-height: 132px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(27,31,23,.05), rgba(27,31,23,.42)),
    var(--venue-bg, linear-gradient(135deg,#c9b179,#69765f));
}
.card-visual::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -100px;
  border-radius: 50%;
  background: rgba(255,232,151,.75);
  filter: blur(3px);
}
.sun-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20,22,17,.87);
  color: #fff;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
}
.sun-badge strong { color: var(--sun-2); }
.card-body { padding: 15px 16px 16px; }.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-title-row h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.035em;
}
.favorite {
  border: 0;
  background: #f0eee8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
}
.favorite.active { background: #191b17; color: #fff; }
.card-meta { color: #74766f; font-size: 12px; margin: 5px 0 10px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card-tags span {
  background: #f1efe9;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 720;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.match-score { font-size: 12px; font-weight: 850; color: #5f6f51; }
.open-card {
  border: 0;
  background: none;
  color: #1d201a;
  font-weight: 850;
  padding: 7px 0;
}.map-panel {
  display: none;
  position: relative;
  min-height: 520px;
  border-radius: 23px;
  overflow: hidden;
  background: #d8d6ce;
}
#map { position: absolute; inset: 0; }
.map-legend {
  position: absolute;
  z-index: 500;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}.map-legend {
  background: rgba(255,255,255,.92);
  padding: 9px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  font-size: 11px;
  font-weight: 720;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.dot.sunny { background: #d99f0d; }
.dot.shade { background: #757b73; }
.custom-marker {
  display: grid;
  place-items: center;
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-45deg);
  background: #252820;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.custom-marker.sunny { background: #e4af25; }
.custom-marker span { transform: rotate(45deg); font-size: 14px; }.empty-state {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  color: #66695f;
}
.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 5px;
}
.trust-note {
  display: flex;
  gap: 13px;
  padding: 24px 20px 110px;
  max-width: 880px;
  margin: 0 auto;
  color: #a9ada2;
}
.trust-icon { color: var(--sun); font-size: 22px; }
.trust-note strong { color: #e6e8e0; }
.trust-note p {
  margin: 4px 0 0;
  line-height: 1.5;
  font-size: 12px;
}.bottom-nav {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: rgba(27,30,24,.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
  padding: 7px;
}
.bottom-nav button {
  border: 0;
  background: transparent;
  color: #888d83;
  padding: 7px 2px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 780;
}
.bottom-nav button span {
  display: block;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 3px;
}
.bottom-nav button.active {
  color: #191a14;
  background: var(--sun);
}.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(3px);
}
.detail-sheet {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  overflow-y: auto;
  background: #f5f1e8;
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  transform: translateY(105%);
  transition: transform .26s ease;
  box-shadow: 0 -20px 60px rgba(0,0,0,.3);
}
.detail-sheet.open { transform: translateY(0); }
.sheet-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 3;
  margin: 12px 12px 0 0;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(19,21,17,.88);
  color: #fff;
  font-size: 25px;
}.sheet-hero {
  min-height: 205px;
  padding: 70px 22px 20px;
  display: flex;
  align-items: flex-end;
  background: var(--venue-bg, linear-gradient(135deg,#bea66e,#5a6953));
}
.sheet-hero h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.05em;
  text-shadow: 0 3px 18px rgba(0,0,0,.25);
}
.sheet-body { padding: 20px 20px 34px; }
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 9px;
  margin: 16px 0;
}
.metric {
  background: #e9e5db;
  padding: 13px;
  border-radius: 15px;
}
.metric span {
  display: block;
  color: #777a70;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.metric strong { display: block; margin-top: 4px; font-size: 16px; }.timeline { margin: 18px 0; }
.timeline h3, .why-box h3 { margin: 0 0 9px; font-size: 16px; }
.sun-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #d9d6cd;
  overflow: hidden;
}
.sun-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg,#f6c743,#ffe697);
  border-radius: 999px;
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  color: #808278;
  font-size: 10px;
  margin-top: 5px;
}
.why-box {
  padding: 15px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
}
.why-box p {
  margin: 0;
  color: #666a61;
  line-height: 1.5;
  font-size: 13px;
}
.sheet-cta {
  width: 100%;
  margin-top: 17px;
  border: 0;
  border-radius: 15px;
  background: #1b1e18;
  color: #fff;
  padding: 14px 16px;
  font-weight: 850;
}.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 92px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  color: #171913;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (min-width: 700px) {
  .topbar { padding-left: 34px; padding-right: 34px; }
  .hero, .filters-wrap { padding-left: 34px; padding-right: 34px; }
  .advanced-grid { grid-template-columns: repeat(2,1fr); }
  .venue-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-section { padding-left: 34px; padding-right: 34px; }
  .bottom-nav {
    max-width: 420px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 420px;
  }
  .detail-sheet {
    left: 50%;
    right: auto;
    width: min(600px,92vw);
    transform: translate(-50%,105%);
  }
  .detail-sheet.open { transform: translate(-50%,0); }
}@media (min-width: 980px) {
  .topbar { max-width: 1180px; margin: 0 auto; border-bottom: 0; }
  .results-section { border-radius: 40px 40px 0 0; }
  .results-layout {
    display: grid;
    grid-template-columns: minmax(0,.92fr) minmax(400px,1.08fr);
    gap: 18px;
    align-items: start;
  }
  .venue-list {
    grid-template-columns: 1fr;
    max-height: 650px;
    overflow-y: auto;
    padding-right: 3px;
  }
  .map-panel {
    display: block !important;
    position: sticky;
    top: 84px;
    height: 650px;
  }
  .view-toggle { display: none; }
  .card-visual { min-height: 115px; }
  .bottom-nav { display: none; }
  .trust-note { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}@media (max-width: 520px) {
  .topbar, .hero, .filters-wrap, .results-section {
    width: 100%;
    max-width: 100%;
  }
  .city-button {
    flex: 0 0 auto;
    max-width: 120px;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .city-button small { display: none; }
  .hero h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
  }
  .hero h1 span { overflow-wrap: anywhere; }
  .hero-copy {
    max-width: 100%;
    font-size: 16px;
  }
  .time-card, .weather-strip {
    width: 100%;
    min-width: 0;
  }
  .time-card-head > div { min-width: 0; }
  .time-card-head strong { font-size: 23px; }
  .ghost-button { flex: 0 0 auto; padding: 8px 10px; }
}