:root{color-scheme:light;--ink:#214e48;--orange:#b95630;--paper:#faf7ef}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,'Hiragino Kaku Gothic ProN',sans-serif}a{color:inherit;text-underline-offset:4px}.brand{font-weight:800;text-decoration:none;font-size:19px}main{max-width:1200px;margin:auto;padding:40px 5vw}.intro{padding:0 0 30px}.eyebrow{font-size:12px;letter-spacing:.15em;color:var(--orange)}h1{font-size:clamp(28px,5vw,48px);margin:12px 0;font-weight:700;letter-spacing:.03em}h1 span{color:var(--orange)}#status{font-size:15px;line-height:1.8;min-height:30px}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}button{border:0;background:var(--ink);color:white;padding:11px 20px;border-radius:24px;font:inherit;cursor:pointer}nav a{font-size:13px}#map{height:clamp(350px,58vh,640px);border-radius:18px;border:1px solid #214e4820;background:#e5e9de}.journal{margin-top:36px}h2{font-size:21px}.note{font-size:12px;color:#65756d}ol{padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}li{padding:18px;border:1px solid #214e4820;border-radius:12px;background:#fffdf8}li button{background:none;color:var(--ink);text-align:left;padding:0;font-size:15px;font-weight:bold;display:block;margin:6px 0}li time{color:var(--orange);font-size:12px}li p{font-size:13px;line-height:1.7;margin:6px 0}li a{display:inline-block;font-size:12px;margin:4px 12px 0 0}footer{padding:25px 6vw 40px;border-top:1px solid #214e4820;line-height:1.8;font-size:13px}footer small{color:#65756d}.leaflet-popup-content{line-height:1.8;color:var(--ink)}.leaflet-popup-content a{display:block}@media(max-width:520px){main{padding-top:28px}#map{height:50vh}}

.map-pin{background:transparent;border:0;filter:drop-shadow(0 3px 3px #182b2633)}
.map-pin svg{display:block;width:100%;height:100%;overflow:visible}
.map-pin-current{filter:drop-shadow(0 3px 5px #7c3e2b44)}
.map-pin:focus-visible{outline:3px solid #bd915c;outline-offset:4px;border-radius:8px}
.map-legend{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;margin-top:16px;font-size:12px;color:#65756d}
.map-legend>span{display:inline-flex;align-items:center;gap:8px}
.map-legend .legend-avatar{width:25px;height:25px;border-radius:50%;border:2px solid #b95630;object-fit:cover}
.map-legend svg{width:18px;height:24px;flex-shrink:0}

.pin-count{position:absolute;top:-5px;right:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;background:#214e48;color:#fffdf7;border:2px solid #fffdf7;border-radius:20px;font:600 11px/1 system-ui,sans-serif;box-shadow:0 1px 4px #0002}
.map-pin-current .pin-count{background:#b95630;right:-3px}
.same-place-days{border-top:1px solid #e0d9c8;border-bottom:1px solid #e0d9c8;margin:10px 0;padding:8px 0}
.same-place-days p{margin:0 0 5px;font-size:11px;color:#65756d}
.leaflet-popup-content .same-place-day{border:1px solid #c6cdbd;border-radius:6px;padding:7px 9px;margin:3px 5px 3px 0;background:#faf7ef;color:#214e48;font:12px/1.5 system-ui,sans-serif}
.leaflet-popup-content .same-place-day[aria-pressed=true]{background:#214e48;color:white;border-color:#214e48}
.legend-count{display:inline-grid;place-items:center;width:21px;height:21px;background:#214e48;color:#fffdf7;border-radius:50%;font-size:11px}

/* Keep map popups small; full social links remain in the history cards. */
.leaflet-popup-content{margin:14px 18px;font-size:12px;line-height:1.6}.leaflet-popup-content strong{display:block;font-size:13px;padding-right:8px}.leaflet-popup-content p{margin:6px 0}.leaflet-popup-content .action-link{min-height:34px;padding:7px 10px;margin:8px 0 0;font-size:12px}
