[hidden]{display:none !important}
:root{
  --bg:#f6f2ea; --card:#ffffff; --ink:#1c1917; --muted:#57534e; --line:#e7e1d6;
  --orange:#ea580c; --orange-d:#c2410c; --orange-l:#fde9d9;
  --blue:#4152eb; --blue-d:#2f3fd1; --ks-green:#59f97f; --red:#dc2626; --teal:#0f766e; --teal-l:#ccfbf1;
  --green:#15803d; --night:#1c1917;
  --r:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-size:17px;line-height:1.45}
.wrap{max-width:880px;margin:0 auto;padding:0 16px}
h1,h2,h3{line-height:1.1;margin:0}
a{color:var(--orange-d)}
button,input,select,textarea{font:inherit;color:inherit}

.hero{background:var(--night);color:#fafaf9;padding:28px 0 26px;background-image:radial-gradient(circle at 92% 20%,rgba(234,88,12,.35) 0 90px,transparent 91px)}
.eyebrow{margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--ks-green)}
.hero h1{font-size:clamp(38px,9vw,60px);font-weight:800}
.ev-when{margin:12px 0 0;font-size:20px;font-weight:800}
.ev-where{margin:2px 0 0;color:#d6d3d1}
.ev-notes{margin:12px 0 0;max-width:60ch;color:#e7e5e4;white-space:pre-line}
.count{display:inline-block;margin:16px 0 0;padding:6px 12px;border-radius:999px;background:var(--orange);color:#fff;font-weight:800;font-size:15px}

.sec-h{font-size:26px;font-weight:800;margin:30px 0 4px}
.hint{margin:0 0 12px;color:var(--muted)}

.map-box{background:#e9e4da;border-radius:var(--r);padding:8px;border:1px solid var(--line)}
#map{display:block;width:100%;height:auto}
#map .spot{cursor:pointer;outline:none}
#map .spot:focus-visible .car-body{stroke:#111;stroke-width:6}
#map .spot.open:hover .car-body{fill:#fff7ed}
#map text{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;pointer-events:none}

.legend{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;padding:0;margin:10px 0 0;font-size:14px;color:var(--muted)}
.legend li{display:flex;align-items:center;gap:7px}
.sw{width:22px;height:14px;border-radius:4px;display:inline-block}
.sw-open{background:#fff;border:2px dashed var(--orange)}
.sw-taken{background:var(--blue)}
.sw-mine{background:var(--ks-green)}
.sw-trunk{background:#f97316}

.spots{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px}
.spot-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:start}
.spot-card.open{background:transparent;border:2px dashed #e5b48f}
.spot-card.mine{border:2px solid var(--ks-green);box-shadow:0 0 0 2px #000 inset}
.num{grid-row:span 3;width:44px;height:44px;border-radius:12px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}
.open .num{background:#fff;color:var(--orange-d);border:2px dashed var(--orange)}
.mine .num{background:var(--ks-green);color:#000}
.fam{font-weight:800;font-size:19px}
.theme{color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.chip{font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;background:#f5f0e8;color:#44403c}
.chip.teal{background:var(--teal-l);color:var(--teal)}
.chip.mine{background:var(--ks-green);color:#000}
.act{grid-column:2;margin-top:2px}
.card-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}

.btn{appearance:none;border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:800;padding:12px 18px;min-height:46px;cursor:pointer}
.btn:hover{background:var(--orange-d)}
.btn.ghost{background:transparent;color:var(--ink);border:2px solid #d6cfc3}
.btn.ghost:hover{background:#efe9de}
.btn.danger{background:transparent;color:#b91c1c;border:2px solid #fca5a5}
.btn.small{min-height:44px;padding:8px 14px;font-size:15px}
.btn:disabled{opacity:.55;cursor:default}
.linkbtn{background:none;border:0;padding:10px 0;color:var(--orange-d);font-weight:800;text-decoration:underline;cursor:pointer;min-height:44px}

.vote-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.vote-card{background:var(--card);border:2px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.vote-card.picked{border-color:var(--orange)}
.vote-map{background:#e9e4da;padding:6px}
.vote-map svg{display:block;width:100%;height:auto}
.vote-body{padding:12px 14px 14px;display:grid;gap:6px}
.vote-body h3{font-size:19px;font-weight:800}
.vote-sub,.vote-n{margin:0;color:var(--muted);font-size:14px}
.bar{height:10px;border-radius:999px;background:#f0ebe2;overflow:hidden}
.bar span{display:block;height:100%;background:var(--orange);border-radius:999px;transition:width .3s}

.wait{margin-top:24px;background:var(--card);border-radius:var(--r);padding:16px;border:1px solid var(--line)}
.wait p{margin:4px 0 12px}

.foot{margin:40px 0 50px;color:var(--muted);font-size:14px;display:flex;justify-content:space-between;gap:12px}
.foot p{margin:0}

/* bottom sheet */
.sheet{border:0;padding:0;width:100%;max-width:560px;max-height:92vh;border-radius:20px 20px 0 0;margin:auto auto 0;background:var(--card);color:var(--ink)}
.sheet::backdrop{background:rgba(28,25,23,.55)}
@media (min-width:700px){.sheet{border-radius:20px;margin:auto}}
.sheet-inner{padding:20px 18px calc(20px + env(safe-area-inset-bottom));display:grid;gap:14px}
.sheet-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.sheet-head h2{font-size:26px;font-weight:800}
.sheet-head p{margin:4px 0 0;color:var(--muted);font-size:15px}
.x{background:#f5f0e8;border:0;border-radius:50%;width:44px;height:44px;font-size:22px;cursor:pointer;flex:none}
.field{display:grid;gap:6px}
.field label,.field legend{font-weight:800;font-size:15px}
.field .sub{font-weight:500;color:var(--muted);font-size:13px}
.field input[type=text],.field input[type=tel],.field textarea,.field select{width:100%;border:2px solid #ddd5c8;border-radius:12px;padding:11px 12px;background:#fffdf9;min-height:48px;font-size:17px}
.field textarea{min-height:76px;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--orange)}
fieldset.field{border:0;padding:0;margin:0}
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg label{font-weight:700;font-size:15px;border:2px solid #ddd5c8;border-radius:999px;padding:10px 14px;cursor:pointer;min-height:44px;display:flex;align-items:center}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg input:checked+span{color:var(--orange-d)}
.seg label:has(input:checked){border-color:var(--orange);background:var(--orange-l)}
.seg label:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:2px}
.check{display:flex;gap:10px;align-items:center;font-weight:700;font-size:15px;min-height:44px;cursor:pointer}
.check input{width:22px;height:22px;accent-color:var(--teal)}
.err{color:#b91c1c;font-weight:700;margin:0;font-size:15px}
.actions{display:flex;flex-wrap:wrap;gap:10px}
.actions .btn{flex:1 1 auto}
.linkbox{display:flex;gap:8px}
.linkbox input{flex:1;min-width:0;border:2px solid #ddd5c8;border-radius:12px;padding:10px;font-size:14px;background:#fffdf9}
.callout{background:#fff7ed;border:2px solid #fed7aa;border-radius:12px;padding:12px 14px;font-size:15px}

.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:var(--night);color:#fff;padding:12px 18px;border-radius:12px;font-weight:700;z-index:50;max-width:calc(100% - 32px);box-shadow:0 8px 24px rgba(0,0,0,.25)}

/* admin */
.admin-bar{margin-top:16px;background:#fef3c7;border:1px solid #fcd34d;border-radius:12px;padding:10px 14px;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font-size:15px}
.admin{margin-top:28px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.admin h3{font-size:20px;margin:18px 0 8px}
.admin h3:first-child{margin-top:0}
.tbl{width:100%;border-collapse:collapse;font-size:15px}
.tbl th,.tbl td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--line);vertical-align:top}
.tbl-wrap{overflow-x:auto}
.hero .wrap{position:relative}
.staff-corner{position:absolute;top:-12px;right:16px;display:flex;align-items:center;gap:8px}
.staff-btn{background:transparent;border:1px solid rgba(250,250,249,.35);color:#e7e5e4;border-radius:999px;padding:0 12px;min-height:36px;font-size:13px;font-weight:700;cursor:pointer}
.staff-btn:hover{background:rgba(250,250,249,.12)}
.staff-who{font-size:13px;font-weight:800;color:var(--ks-green)}
.eyebrow{padding-right:120px}
.hero-link{margin:14px 0 0;font-weight:700}
.hero-link a{color:#fdba74}
.guide{margin-top:8px}
.guide .short{background:var(--card);border:2px solid var(--orange);border-radius:var(--r);padding:14px 16px;margin:12px 0}
.guide h3{font-size:19px;font-weight:800;margin:0 0 6px}
.guide h4{font-size:16px;font-weight:800;margin:0 0 4px}
.guide ul{margin:6px 0;padding-left:20px}
.guide li{margin:4px 0}
.guide details{background:var(--card);border:1px solid var(--line);border-radius:var(--r);margin:8px 0;padding:0 16px}
.guide summary{cursor:pointer;font-weight:800;font-size:18px;min-height:48px;display:flex;align-items:center}
.guide details[open]{padding-bottom:12px}
.guide details p{margin:6px 0}
.guide .note{background:#fff7ed;border-left:0;border:1px solid #fed7aa;border-radius:10px;padding:10px 12px;font-weight:700}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.deadline{margin:14px 0 0;background:var(--night);color:#fafaf9;border-radius:var(--r);padding:14px 16px}
.deadline strong{color:#fdba74}
@media (max-width:600px){
  .tbl-spots thead{display:none}
  .tbl-spots tr{display:grid;grid-template-columns:32px 1fr;gap:2px 8px;padding:10px 0;border-bottom:1px solid var(--line)}
  .tbl-spots td{border:0;padding:0}
  .tbl-spots td:nth-child(n+3){grid-column:2}
  .sec-h{font-size:23px}
}
.vote-body .card-actions{grid-column:auto}
.admin .vote-body h3{margin:0;font-size:18px}

.hero{border-bottom:6px solid transparent;border-image:linear-gradient(90deg,#4152eb,#59f97f) 1}
