* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --green: #10220f;
  --green-2: #1b351d;
  --gold: #dfb842;
  --cream: #fff2a1;
  --paper: #fffbea;
  --ink: #1b281e;
  --muted: #667166;
  --line: rgba(16, 34, 15, .16);
  --display-pin: #fbf399;
  --light-pin: #f9a240;
  --activity-pin: #e56825;
  --eatery-pin: #72a78a;
  font-family: 'Poppins', sans-serif;
}
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; color: var(--ink); }
body { display: flex; flex-direction: column; background: var(--green); }
button { font: inherit; cursor: pointer; }
.topbar { z-index: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 78px; padding: 7px 12px; color: var(--cream); background: radial-gradient(ellipse at 22% 18%, rgba(217,185,78,.11), transparent 55%), var(--green); border-bottom: 1px solid rgba(223,184,66,.52); box-shadow: inset 0 -3px 0 rgba(223,184,66,.08); }
.brand-lockup { display: flex; flex: 1; min-width: 0; align-items: center; gap: 7px; }
.kv-wordmark { display: block; width: 56px; height: 40px; flex: 0 0 56px; object-fit: contain; }
.brand-copy { flex: 1; min-width: 0; }
.eyebrow { margin: 0 0 3px; color: #aab99f; font-size: 13px; line-height: 1.35; letter-spacing: .025em; }
h1 { margin: 0; overflow: hidden; color: #f2dd90; font-family: 'Poppins', sans-serif; font-size: clamp(10px, calc(2.9vw + 1px), 14px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; white-space: nowrap; text-overflow: clip; text-shadow: 0 1px 9px rgba(223,184,66,.16); }
.event-dates { margin: 3px 0 0; color: #d9d0a8; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.button { border: 0; border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.button-gold { color: var(--green); background: var(--gold); }
.topbar .button-gold { padding: 7px 9px; font-size: 11px; }
.button-dark { color: var(--cream); background: var(--green-2); }
.filters { z-index: 500; display: flex; gap: 7px; overflow-x: auto; padding: 9px 12px; background: #183323; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.feedback-button { display: inline-flex; width: 100%; min-height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(255,244,183,.35); border-radius: 999px; padding: 6px 8px; color: var(--green); background: var(--gold); font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; white-space: normal; }
.feedback-button:hover, .feedback-button:focus-visible { background: #f0d36a; outline: 2px solid var(--cream); outline-offset: 2px; }
.feedback-button.feedback-float { position: absolute; z-index: 650; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: auto; min-height: 44px; max-width: calc(100vw - 24px); padding: 8px 14px; white-space: nowrap; }
.filter { flex: 0 0 auto; display: inline-flex; align-items: center; border: 1px solid rgba(255, 244, 183, .25); border-radius: 999px; padding: 7px 10px; color: #f6f0d4; background: transparent; font-size: 11px; font-weight: 700; }
.filter.is-active { border-color: var(--gold); color: var(--green); background: var(--gold); }
.filter-display { border-color: var(--display-pin); color: var(--display-pin); }
.filter-display.is-active { border-color: var(--display-pin); color: #142114; background: var(--display-pin); }
.filter-light { border-color: var(--light-pin); color: var(--light-pin); }
.filter-light.is-active { border-color: var(--light-pin); color: #192417; background: var(--light-pin); }
.filter-activity { border-color: var(--activity-pin); color: var(--activity-pin); }
.filter-activity.is-active { border-color: var(--activity-pin); color: #192417; background: var(--activity-pin); }
.filter-eateries { border-color: var(--eatery-pin); color: #a7d4b9; }
.filter-eateries.is-active { border-color: var(--eatery-pin); color: #10220f; background: var(--eatery-pin); }
.filter.route-filter { border-color: var(--gold); color: var(--cream); }
.filter.route-filter { font-weight: 600; }
.filter.route-filter.is-active { border-color: #f4d36d; color: #172515; background: linear-gradient(110deg,#a57b20 0%,#f2d46e 26%,#fff0a7 50%,#d7a833 74%,#f4d36d 100%); box-shadow: 0 0 5px rgba(244,211,109,.24); }
main { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; background: #dce4d8; }
#map .gm-style { font-family: 'Poppins', sans-serif; }
.map-attribution { position: absolute; z-index: 600; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 5px 7px; border: 1px solid rgba(16, 39, 25, .1); border-radius: 7px; color: #566253; background: rgba(255, 253, 243, .88); font-size: 9px; line-height: 1.3; }
.map-attribution a { color: #356e54; text-decoration: underline; }
.map-actions { position: absolute; z-index: 600; top: 11px; left: 11px; right: 11px; display: flex; align-items: flex-start; gap: 8px; pointer-events: none; }
.map-actions > * { pointer-events: auto; }
#status { max-width: min(300px, calc(100vw - 44px)); padding: 8px 10px; border: 1px solid rgba(16, 39, 25, .12); border-radius: 12px; color: var(--green); background: rgba(255, 253, 243, .94); box-shadow: 0 2px 10px rgba(0,0,0,.12); font-size: 10px; line-height: 1.35; }
.details { position: absolute; z-index: 700; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; max-height: min(45vh, 400px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border: 1px solid rgba(16, 39, 25, .12); border-radius: 18px; background: rgba(255, 253, 243, .98); box-shadow: 0 8px 32px rgba(10, 23, 14, .25); backdrop-filter: blur(8px); }
.details.is-intro { top: 50%; right: auto; bottom: auto; left: 50%; width: min(88vw, 420px); max-height: min(50vh, 360px); transform: translate(-50%, -50%); }
.details.is-intro .intro-subtitle { font-size: 14px; }
.details.is-expanded { max-height: min(84vh, 680px); }
.details-header { position: sticky; top: 0; z-index: 1; display: flex; height: 32px; align-items: center; justify-content: center; background: rgba(255, 253, 243, .98); touch-action: none; user-select: none; }
.details-handle { width: 34px; height: 4px; border-radius: 4px; background: #d7d9cd; }
.details-close { position: absolute; top: 4px; right: 7px; display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 50%; color: var(--green); background: #eee9d7; font-size: 23px; line-height: 1; }
.details-close:hover, .details-close:focus-visible { background: var(--gold); }
.details-content { padding: 8px 15px 15px; }
.event-category { margin: 1px 0 2px !important; color: #8b6a23 !important; font-size: 12px !important; font-weight: 700; line-height: 1.2 !important; letter-spacing: .065em; text-transform: uppercase; }
.event-category.category-display { color: #8b732e !important; }
.event-category.category-light { color: #a65510 !important; }
.event-category.category-activity { color: #a3441a !important; }
.event-category.category-eateries { color: #39785b !important; }
.event-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(112px, 40%); align-items: center; gap: 8px; }
.event-heading-copy { min-width: 0; }
.details-content h2 { margin: 2px 0; color: var(--green); font-size: 19px; font-weight: 700; line-height: 1.3; }
.details-content p { margin: 5px 0; color: #4b594d; font-size: 12px; line-height: 1.5; }
.details-content .eyebrow { color: #7b6740; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.venue-line { color: #5b685d !important; font-size: 14px !important; font-weight: 600; }
.schedule { margin: 8px 0 7px !important; color: var(--green) !important; font-size: 15px !important; font-weight: 700; line-height: 1.4 !important; }
.restaurant-status { display: flex; flex-direction: column; gap: 2px; margin: 7px 0 !important; padding: 8px 10px; border-left: 3px solid #54865b; border-radius: 7px; background: #e9f0e6; }
.restaurant-status strong { color: #285b34; font-size: 13px; line-height: 1.3; }
.restaurant-status span { color: #526253; font-size: 10px; line-height: 1.45; }
.restaurant-status.status-closed { border-left-color: #a84e3d; background: #f6e8e3; }
.restaurant-status.status-closed strong { color: #873e31; }
.restaurant-status.status-unknown { border-left-color: #9a7c35; background: #f4efd9; }
.restaurant-status.status-unknown strong { color: #6b551e; }
.description { margin-top: 4px !important; }
.walk-box { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; margin: 0; padding: 7px 8px; border-left: 3px solid var(--gold); border-radius: 7px; background: #f4f0df; }
.walk-box strong { color: var(--green); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.walk-box span { color: #647065; font-size: 10px; text-align: left; overflow-wrap: anywhere; }
.walk-directions { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; margin-top: 3px; border-radius: 999px; padding: 6px 8px; color: var(--green); background: var(--gold); font-size: 10px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.photo-placeholder { position: relative; display: flex; width: 100%; min-height: 74px; align-items: center; justify-content: center; gap: 7px; margin-top: 9px; overflow: hidden; border: 1px solid rgba(16,39,25,.13); border-radius: 10px; color: var(--green); background: linear-gradient(115deg, #e5e9d8, #f7efc5 55%, #dce7d8); font-family: inherit; text-align: left; }
.event-photo { display: block; width: 100%; margin-top: 9px; padding: 0; overflow: hidden; border: 1px solid rgba(16,39,25,.13); border-radius: 10px; background: #f3f0e5; }
.event-photo img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.photo-placeholder strong { font-size: 12px; }
.photo-placeholder small { color: #5f6c60; font-size: 10px; }
.placeholder-sparkle { color: #c19a35; font-size: 25px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.detail-actions a, .detail-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 999px; padding: 7px 11px; text-decoration: none; font-size: 11px; font-weight: 600; }
.detail-actions a { color: var(--green); background: var(--gold); }
.detail-actions button { border: 1px solid var(--line); color: var(--green); background: transparent; }
.pin-wrap { display: flex; align-items: center; justify-content: center; width: 28px; height: 34px; }
.pin { display: block; width: 17px; height: 17px; border: 2px solid #fffdf3; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); box-shadow: 0 2px 7px rgba(0,0,0,.34); }
.pin-wrap.display .pin { background: var(--display-pin); }
.pin-wrap.light .pin { background: var(--light-pin); }
.pin-wrap.activity .pin { background: var(--activity-pin); }
.pin-wrap.eateries .pin { background: var(--eatery-pin); }
.pin-wrap.selected .pin { width: 21px; height: 21px; box-shadow: 0 0 0 4px rgba(216, 173, 67, .25), 0 2px 7px rgba(0,0,0,.35); }
.user-dot { width: 16px; height: 16px; border: 3px solid white; border-radius: 50%; background: #2879e8; box-shadow: 0 0 0 7px rgba(40,121,232,.2); }
.lightbox { position: fixed; width: min(90vw, 560px); max-width: 560px; padding: 20px; border: 1px solid rgba(255,244,183,.3); border-radius: 18px; color: var(--cream); background: var(--green); box-shadow: 0 18px 70px rgba(0,0,0,.42); }
.lightbox::backdrop { background: rgba(6, 16, 10, .76); }
.lightbox h2 { margin: 0 35px 14px 0; font-size: 17px; }
.lightbox-image { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #fffdf3; }
.lightbox-image[hidden], #lightboxPlaceholder[hidden] { display: none; }
.lightbox-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--green); background: var(--gold); font-size: 23px; line-height: 1; }
.placeholder-art { display: flex; min-height: 100px; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(16,39,25,.12); border-radius: 12px; color: var(--green); background: linear-gradient(135deg, #dfe7d3, #fff1a8 50%, #c7d9c0); }
.placeholder-art strong { font-size: 13px; }
.placeholder-art span:last-child { font-size: 11px; }
.placeholder-art-large { min-height: min(55vh, 360px); flex-direction: column; color: var(--green); }
.placeholder-art-large .placeholder-sparkle { font-size: 45px; }
@media (min-width: 760px) {
  .topbar { padding-inline: 22px; }
  .kv-wordmark { width: 88px; height: 52px; flex-basis: 88px; }
  h1 { font-size: 15px; }
  .event-dates { font-size: 12px; }
  .filters { padding-inline: 22px; }
  .details { right: 18px; bottom: 18px; left: auto; width: 380px; max-height: 68vh; }
  .map-actions { top: 16px; left: 16px; right: auto; }
  #status { max-width: 290px; }
}
@media (max-width: 420px) {
  .topbar { min-height: 84px; align-items: center; gap: 7px; padding: 4px 10px; }
  .brand-lockup { width: auto; flex: 1; align-items: center; gap: 6px; }
  .kv-wordmark { width: 82px; height: 76px; flex: 0 0 82px; margin: 0; object-fit: contain; }
  .brand-copy { display: block; flex: 1; min-width: 0; }
  .eyebrow { position: static; margin: 0 0 2px; font-size: 11px; line-height: 1.2; white-space: nowrap; }
  h1 { position: static; overflow: hidden; font-size: clamp(9px, calc(2.8vw + 1px), 11px); line-height: 1.12; letter-spacing: -.065em; }
  .event-dates { position: static; margin: 3px 0 0; font-size: 11px; }
  .topbar .button-gold { position: static; flex: none; padding: 6px 8px; font-size: 10px; }
  .details { max-height: min(45vh, 400px); }
}
