:root{--ink:#1f2d2a;--muted:#5f6f6a;--bg:#f4f6f3;--card:#fff;--line:#dfe6e1;--accent:#2f5d50;--accent2:#d8efe4;--err:#9b2c2c;--radius:12px;font-size:16px}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.45}
a{color:var(--accent)}
h1{font-size:1.15rem;margin:0}
h2{font-size:1rem;margin:0 0 .5rem}
.top{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;justify-content:space-between;padding:.6rem 1rem;background:var(--card);border-bottom:1px solid var(--line);position:relative;z-index:1001}
.brand{display:flex;gap:.6rem;align-items:center}
.logo{width:34px;height:34px;border-radius:50%;background:var(--accent);position:relative;flex:none}
.logo::after{content:"";position:absolute;left:8px;right:8px;top:13px;height:10px;border:3px solid var(--accent2);border-bottom:none;border-radius:12px 12px 0 0}
.sub{margin:0;color:var(--muted);font-size:.85rem}
.search{display:flex;gap:.4rem;position:relative;flex:1 1 280px;max-width:460px}
.search input{flex:1;min-width:0;padding:.55rem .7rem;border:1px solid var(--line);border-radius:10px;font-size:1rem;background:#fbfcfb}
.btn{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:10px;padding:.5rem .8rem;font-size:.95rem;cursor:pointer;font-weight:600}
.btn.ghost{background:#fff;color:var(--accent);font-size:1.1rem;padding:.4rem .7rem}
.btn.small{padding:.3rem .7rem;font-size:.85rem}
.btn:focus-visible,.search input:focus-visible,.days button:focus-visible{outline:3px solid #8cc7b1;outline-offset:1px}
.results{position:absolute;top:100%;left:0;right:0;margin:.3rem 0 0;padding:.3rem;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.12);z-index:2000}
.results li{padding:.5rem .6rem;border-radius:8px;cursor:pointer}
.results li:hover,.results li.active{background:var(--accent2)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:0;min-height:calc(100vh - 62px)}
.mapwrap{position:relative;min-height:420px}
#map{position:absolute;inset:0;background:#e8ece9}
.panel{padding:.8rem;overflow-y:auto;max-height:calc(100vh - 62px);border-left:1px solid var(--line)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:.8rem .9rem;margin-bottom:.7rem}
.row{display:flex;align-items:center;gap:.6rem}.between{justify-content:space-between}
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:.25rem;margin:.2rem 0 .6rem}
.days button{border:1px solid var(--line);background:#f7f9f8;border-radius:8px;padding:.45rem 0;font-size:.85rem;cursor:pointer;color:var(--ink)}
.days button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.hourrow input{flex:1;accent-color:var(--accent);height:28px}
.hourrow output{min-width:4.2rem;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}.small{font-size:.85rem}
.status{font-size:.9rem;color:var(--muted);margin:.1rem .2rem .6rem}
.error{background:#fdeeee;border:1px solid #efc4c4;color:var(--err);border-radius:var(--radius);padding:.7rem .8rem;margin-bottom:.7rem;font-size:.92rem}
.hereLine{font-size:1.1rem;font-weight:600}
.pill{display:inline-block;padding:.1rem .55rem;border-radius:999px;font-size:.8rem;font-weight:700;color:#1d2b27;vertical-align:1px}
.spots{list-style:none;padding:0;margin:0}
.spots li{display:grid;grid-template-columns:28px 1fr;gap:.5rem;padding:.55rem 0;border-top:1px solid var(--line)}
.spots li:first-child{border-top:none}
.spots .tag{width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;display:grid;place-items:center;font-size:.85rem;cursor:pointer}
.spots .nm{font-weight:600}
.spots .meta{font-size:.85rem;color:var(--muted)}
.spots .links a{font-size:.85rem;margin-right:.7rem}
.toggle{display:flex;gap:.5rem;align-items:flex-start;font-size:.92rem;cursor:pointer}
.toggle input{margin-top:.2rem;accent-color:var(--accent)}
.how summary{cursor:pointer;list-style:none}.how summary::-webkit-details-marker{display:none}
.how summary h2{display:inline}.how summary::after{content:" ▾";color:var(--muted)}
.how[open] summary::after{content:" ▴"}
.how p{font-size:.9rem;margin:.55rem 0}
.legend{position:absolute;left:10px;bottom:22px;z-index:500;background:rgba(255,255,255,.92);border-radius:10px;padding:.4rem .55rem;box-shadow:0 1px 6px rgba(0,0,0,.15);width:min(330px,calc(100% - 20px))}
.legend .bar{height:10px;border-radius:5px;background:linear-gradient(90deg,#296b46 0%,#2e9462 18%,#78be3c 37%,#f0aa28 57%,#eb6428 77%,#c82832 100%)}
.legend .ticks{display:flex;justify-content:space-between;font-size:.7rem;color:var(--muted);margin-top:.15rem}
.spotIcon{background:var(--accent);color:#fff;border:2px solid #fff;border-radius:50%;font:700 12px/20px system-ui,sans-serif;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.youIcon{background:#1d4ed8;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px rgba(29,78,216,.35)}
.leaflet-popup-content{font-size:.88rem;line-height:1.4}
.foot{padding:.8rem 1rem 1.4rem;font-size:.8rem;color:var(--ink);border-top:1px solid var(--line);background:var(--card)}
.foot p{margin:.3rem 0}
@media (max-width:860px){
  .layout{grid-template-columns:1fr;min-height:0}
  .mapwrap{height:56vh;min-height:320px}
  .panel{max-height:none;border-left:none;padding:.7rem}
  .top{padding:.5rem .7rem}.sub{display:none}
  .search{max-width:none}
}

.card.live .toggle.small{font-size:.85rem;display:flex;gap:.35rem;align-items:center;margin:0}
.liveList{list-style:none;margin:.4rem 0 0;padding:0}
.liveList li{border-top:1px solid #e6ece9;padding:.45rem 0;font-size:.9rem;line-height:1.35}
.liveList li:first-child{border-top:0}
.liveList .lk{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#f2a33a;color:#2b1a00;border-radius:4px;padding:0 .35rem;margin-right:.3rem}
.liveList .bump{color:#9a4b00;font-weight:600}
.liveIcon{width:18px;height:18px;border-radius:50%;background:#f2a33a;border:2px solid #fff;box-shadow:0 0 0 1px #9a4b00;color:#2b1a00;font:700 11px/14px system-ui,sans-serif;text-align:center}
.card.live.active{border-left:4px solid #f2a33a}
