:root{font:16px/1.55 system-ui,sans-serif;color:#293c35;background:#f7f6ef;--green:#285749;--line:#cbd1c5}*{box-sizing:border-box}body{margin:0}header,main{max-width:1180px;margin:auto;padding:1rem clamp(1rem,4vw,3rem)}header{display:flex;align-items:center;gap:1rem;border-bottom:1px solid var(--line)}header a{text-decoration:none;font-weight:650}.right{margin-left:auto}a,summary{color:var(--green)}h1,h2,h3{font-family:Georgia,serif;font-weight:normal;line-height:1.1}h1{font-size:clamp(2.8rem,6vw,5.2rem);margin:.5em 0 .1em;letter-spacing:-.04em}h2{font-size:1.7rem;margin:0 0 .6em}.intro{margin:0 0 2rem;font-size:1.1rem}.layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr);gap:2rem}#map{height:clamp(325px,53vh,620px);background:#dfE6dc;border:1px solid var(--line);border-radius:8px;z-index:0}section{padding:1.2rem 0;border-top:1px solid var(--line)}aside section:first-child{border-top:4px solid var(--green)}details{border-top:1px solid var(--line);padding:1rem 0}summary{cursor:pointer;font-weight:650}form{margin:1rem 0}label{display:block;font-weight:600;margin:.75rem 0}input,textarea{display:block;width:100%;font:inherit;padding:.55rem;background:white;border:1px solid #909e94;border-radius:4px}small,.fine{color:#50645a;font-size:.88rem;font-weight:400}label small{display:block}.coords{display:flex;gap:1rem}.coords label{flex:1;min-width:0}button{font:inherit;background:var(--green);color:white;border:0;border-radius:5px;padding:.65rem 1rem;cursor:pointer}.notice{border-left:4px solid var(--green);background:#ebefe4;padding:1rem}.story{white-space:pre-line;overflow-wrap:anywhere}.photo{max-width:100%;max-height:32rem;display:block;margin:.7rem 0}article{border-top:1px solid var(--line);padding:.6rem 0}ul{padding-left:1.2rem}aside li{margin:.4rem 0}time{color:#6b5539}#mapStatus:empty{display:none}#add{margin-top:1rem}#detail{margin-top:1.5rem}#detail h2{margin-top:.6rem}@media(max-width:720px){.layout{grid-template-columns:1fr;gap:1rem}.intro{margin-bottom:1rem}main{padding-bottom:3rem}}

.place-search{max-width:36rem}.place-search>div,.symbol-picker{display:flex;gap:.6rem;align-items:center}.place-search input{min-width:0}.symbol-picker{border:1px solid var(--line);padding:.8rem;flex-wrap:wrap}.symbol-picker label{flex:1;min-width:80px;text-align:center;font-size:.85rem}.symbol-picker canvas{display:block;width:78px;height:78px;max-width:100%;margin:auto}.symbol-picker input{display:inline;width:auto;accent-color:var(--green)}.symbol-picker span{display:block}.symbol-picker label:has(:checked){background:#e4eadf;border-radius:7px}.symbol-preview{margin:1rem 0;background:#eeeee5;padding:1rem;width:fit-content;border-radius:7px}.symbol-preview canvas{display:block;width:150px;height:150px;margin:auto}.symbol-preview label,.symbol-preview figcaption{font-size:.85rem}.memorial-pin{display:grid;place-items:center;background:#faf9f0;border:1px solid #576c5c;border-radius:50%;box-shadow:0 1px 4px #0004;color:#284c39}.memorial-pin img{width:100%;height:100%;display:block}

:root{color-scheme:dark;background:#121516;color:#e5e1d9;--green:#dfbd88;--line:#373b3b}
body{background:radial-gradient(ellipse 72% 26rem at 26% 3%,#252523 0%,transparent 85%),#121516}
header{padding-top:1.1rem;padding-bottom:1.1rem;color:#938d81}header a{color:#d7cfc1}
h1,h2,h3{color:#f1eade}h1{font-size:clamp(2.6rem,5.7vw,4.7rem);max-width:17em;line-height:1.08;margin-top:.6em}.intro{color:#c8c3b8;max-width:48rem;line-height:1.7}
.search-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;margin-bottom:1.5rem}.search-pair form{margin:0;max-width:none}
input,textarea{color:#f4efe6;background:#1e2223;border-color:#515554}input::placeholder,textarea::placeholder{color:#b1b0a9}button{color:#211d17;background:#d9b983;font-weight:600}button:hover{background:#e9ca98}
:focus-visible{outline:2px solid #f0c785;outline-offset:3px}small,.fine,time{color:#b9b4a9}
#map{border-radius:4px;background:#202426}#map.night-roads .leaflet-tile-pane img.leaflet-tile{filter:grayscale(1) invert(1) brightness(.87) contrast(.9)}
.map-tools{display:flex;gap:2px;margin:0 0 .55rem}.map-tools button,.stats-open,.dialog-top button{background:#202425;color:#d8d3c9;border:1px solid #494d4c;font-size:.9rem}.map-tools button[aria-pressed=true]{background:#39332a;color:#ffe1ae;border-color:#937b58}
#map .leaflet-control-attribution{color:#363636;background:#fffffff0}#map .leaflet-control-attribution a,#map .leaflet-popup a{color:#285749}
.memorial-pin{background:#f3e6cb;border:2px solid #c89e5f;box-shadow:0 0 0 3px #caad7130,0 2px 6px #0008}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#282821;background:#eee7d9}
aside section:first-child{border-top:1px solid #8d785a}aside section{padding:1.1rem 0}.symbol-preview,.symbol-picker label:has(:checked),.notice{background:#2a2c29}.symbol-picker label:has(:checked){outline:1px solid #99805c}
#addressResults button{margin:.15rem}.stats-open{width:100%;padding:.8rem}dialog{color:inherit;background:#1d2021;border:1px solid #656156;border-radius:8px;max-width:min(42rem,94vw);max-height:85vh;padding:clamp(1rem,3vw,2rem);overflow:auto}dialog::backdrop{background:#07090bc7}.dialog-top{display:flex;justify-content:flex-end;margin:0}dialog h3{font-size:1.4rem;margin-bottom:.5rem}dialog table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}dialog caption{text-align:left;font-weight:650}dialog td,dialog th{text-align:left;padding:.45rem;border-bottom:1px solid var(--line)}dialog td:last-child,dialog th:last-child{text-align:right}
@media(max-width:720px){.search-pair{grid-template-columns:1fr;gap:.3rem}.intro{margin-bottom:.75rem}.map-tools button{flex:1}.layout aside{padding-bottom:1.5rem}}

.memorial-pin.has-flame::after{content:'🔥';position:absolute;right:-7px;top:-9px;font:14px/1.1 system-ui;background:#242322;border-radius:50%;padding:2px;pointer-events:none}.candle-count{color:#e8bc7e;font-size:.82rem;white-space:nowrap;font-variant-numeric:tabular-nums}
