[hidden] { display: none !important; }
/* The Local Zip — shared styles */
:root {
  --paper: #F3F5F0;
  --surface: #FFFFFF;
  --ink: #18241F;
  --muted: #4E5D56;
  --line: #C9D3CC;
  --pine: #1F5A43;
  --pine-deep: #153F2F;
  --on-pine: #F3F5F0;
  --marigold: #F4B23E;
  --on-marigold: #18241F;
  --tag: #E4ECE6;
  --focus: #F4B23E;
  --link: #1F5A43;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101A16;
    --surface: #17241F;
    --ink: #E7EEE9;
    --muted: #A3B3AB;
    --line: #2C3D36;
    --pine: #2E7A5C;
    --pine-deep: #0C1612;
    --tag: #22332C;
    --link: #7FD0AE;
  }
}
:root[data-theme="dark"] {
  --paper: #101A16; --surface: #17241F; --ink: #E7EEE9; --muted: #A3B3AB;
  --line: #2C3D36; --pine: #2E7A5C; --pine-deep: #0C1612; --tag: #22332C; --link: #7FD0AE;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--marigold); color: var(--on-marigold); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-head { background: var(--pine-deep); color: var(--on-pine); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-pine); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a { color: var(--on-pine); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn-go { background: var(--marigold); color: var(--on-marigold); }
.btn-go:hover { background: #F7C063; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { min-height: 44px; padding: 8px 14px; font-size: 15px; border-radius: 10px; }

/* Page titles on inner pages */
.page-top { background: var(--pine-deep); color: var(--on-pine); padding: 48px 0 56px; }
.page-top h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 12px; max-width: 16ch; }
.page-top p { margin: 0; max-width: 40em; font-size: 19px; color: #C9DCD2; }

.section { padding: 56px 0; }
.section h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 12px; }
.lede { max-width: 40em; color: var(--muted); margin: 0 0 28px; font-size: 18px; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 16px; }
.field .hint { color: var(--muted); font-size: 14px; margin: -2px 0 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--pine); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.choice input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--pine); flex: none; }
.choice span b { display: block; }
.choice span small { color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-foot { background: var(--pine-deep); color: #C9DCD2; padding: 40px 0; margin-top: 24px; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-start; }
.site-foot a { color: var(--on-pine); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-ad { max-width: 30em; }
.foot-ad b { color: var(--on-pine); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- event cards (shared) ---------- */
/* Results */
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 8px; }
.results-head h2 { margin: 0; }
.status { color: var(--muted); margin: 0 0 24px; }
.day { margin: 32px 0 0; }
.day h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.ev { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ev.has-photo { grid-template-columns: 76px minmax(0, 1fr) 220px; }
.ev-photo { margin: 0; align-self: start; }
.ev-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--tag); }
@media (max-width: 720px) {
  .ev.has-photo { grid-template-columns: 76px minmax(0, 1fr); }
  .ev.has-photo .ev-photo { grid-column: 1 / -1; grid-row: 1; }
  .ev-photo img { aspect-ratio: 16 / 9; }
}
.ev:last-child { border-bottom: 0; }
.ev-date { background: var(--tag); border-radius: 12px; text-align: center; padding: 10px 4px; align-self: start; line-height: 1.1; }
.ev-date .m { display: block; font-weight: 700; font-size: 14px; color: var(--muted); }
.ev-date .d { display: block; font-family: var(--display); font-weight: 800; font-size: 32px; }
.ev.featured .ev-date { background: var(--marigold); color: var(--on-marigold); }
.ev.featured .ev-date .m { color: var(--on-marigold); }
.ev h4 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 4px; }
.ev-meta { margin: 0 0 6px; color: var(--muted); font-weight: 500; }
.ev-desc { margin: 0 0 12px; max-width: 46em; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tag { background: var(--tag); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.tag.feat { background: var(--marigold); color: var(--on-marigold); }
.tag.sample { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); }
.ev-act { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-act a { color: var(--ink); }
.empty-state { background: var(--surface); border: 2px dashed var(--line); border-radius: 16px; padding: 28px; max-width: 640px; }
.empty-state h3 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.empty-state p { margin: 0 0 16px; color: var(--muted); }
.empty-state .btns { display: flex; flex-wrap: wrap; gap: 10px; }


/* ---------- community features ---------- */
.ev-title { color: inherit; text-decoration: none; }
.ev-title:hover { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
.ev-host { margin: -2px 0 6px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ev-host a { font-weight: 700; color: var(--ink); }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--pine); color: #fff; font-size: 11px; font-weight: 800; margin-left: 2px; }
.stars-line { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.stars { color: #D9921A; letter-spacing: 1px; font-size: 16px; }
.stars-num, .stars-none { font-size: 14px; color: var(--muted); }
.votes { display: inline-flex; gap: 6px; }
.vote { font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; min-width: 64px; padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.vote[aria-pressed="true"].up { border-color: var(--pine); background: color-mix(in srgb, var(--pine) 14%, var(--surface)); }
.vote[aria-pressed="true"].down { border-color: #B4532A; background: color-mix(in srgb, #B4532A 12%, var(--surface)); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 8px; scrollbar-width: thin; }
.chip { flex: none; font: inherit; font-weight: 600; font-size: 15px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--pine-deep); border-color: var(--pine-deep); color: var(--on-pine); }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--tag); flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--pine); }
.report-link { background: none; border: 0; padding: 8px 0; min-height: 40px; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.report-dlg { border: 0; border-radius: 18px; padding: 24px; max-width: 460px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); }
.report-dlg::backdrop { background: rgba(16, 26, 22, .55); }
.notice { background: var(--tag); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; }
.notice.warn { background: #FFF4CC; color: #4A3A00; }
.tabbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.tabbar button { font: inherit; font-weight: 700; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tabbar button[aria-selected="true"] { background: var(--pine-deep); color: var(--on-pine); border-color: var(--pine-deep); }
.star-pick { display: inline-flex; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-pick label { font-size: 34px; line-height: 1; cursor: pointer; color: var(--line); padding: 2px; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label.on { color: #D9921A; }
.star-pick input:focus-visible + label { outline: 3px solid var(--focus); border-radius: 6px; }
