:root{--paper:#f4f1ea;--ink:#1f1d1a;--mute:#6f6a60;--line:#d8d2c4;--rust:#8a4b2a;--moss:#4e6b4a;--sky:#3f5f7a;--white:#fffdf8}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Georgia,"Iowan Old Style","Palatino Linotype",serif}
header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:18px 24px 14px;border-bottom:1px solid var(--line);background:var(--white)}
h1{font:400 26px/1.1 Georgia,serif;margin:0 0 6px;letter-spacing:.01em}
.brand p{margin:0;color:var(--mute);max-width:720px;font-size:13.5px}
.counts{font:12px/1.4 ui-monospace,Menlo,monospace;color:var(--mute);text-align:right;white-space:nowrap}
main{display:grid;grid-template-columns:380px 1fr;height:calc(100vh - 86px);position:relative}
#panel{overflow-y:auto;border-right:1px solid var(--line);background:var(--white)}
.filters{padding:14px 18px;border-bottom:1px solid var(--line);display:grid;gap:10px}
.filters label{display:grid;gap:4px;font-size:12.5px;color:var(--mute)}
.filters label span{color:var(--ink)}
.filters select,.filters input[type=range]{width:100%;font:inherit;font-size:13px;color:var(--ink);background:var(--paper);border:1px solid var(--line);padding:5px 6px;border-radius:2px}
.filters input[type=range]{padding:0;accent-color:var(--rust)}
.filters .chk{display:flex;gap:8px;align-items:center;font-size:12.5px}
.filters .chk input{accent-color:var(--moss)}
.list{display:flex;flex-direction:column}
.row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;padding:10px 18px;border-bottom:1px solid var(--line);cursor:pointer;align-items:center}
.row:hover,.row.active{background:var(--paper)}
.row .sc{font:600 18px/1 ui-monospace,Menlo,monospace;color:var(--rust)}
.row .nm{font-size:14px}
.row .mt{font-size:11.5px;color:var(--mute)}
.row .kd{font:11px ui-monospace,Menlo,monospace;color:var(--white);background:var(--mute);padding:2px 6px;border-radius:2px;text-transform:uppercase;letter-spacing:.06em}
.row .kd.ghost_town{background:var(--rust)}
.row .kd.mine{background:var(--sky)}
.more{padding:12px 18px;color:var(--mute);font-size:12.5px;text-align:center}
.method{padding:16px 18px 40px;border-top:1px solid var(--line);font-size:12.5px;color:var(--mute)}
.method h2{font:400 13px Georgia,serif;color:var(--ink);text-transform:uppercase;letter-spacing:.08em;margin:16px 0 6px}
.method ul{padding-left:16px;margin:0}
.method li{margin:3px 0}
.method .fine{font-size:11.5px;margin-top:14px}
#map{height:100%;background:#e8e2d4}
.leaflet-container{font:inherit}
.leaflet-tile.topo{filter:saturate(.75) contrast(.95)}
.leaflet-tile-pane .leaflet-layer:nth-child(2){mix-blend-mode:multiply}
#detail{position:absolute;right:16px;top:16px;width:340px;max-height:calc(100% - 32px);overflow-y:auto;background:var(--white);border:1px solid var(--line);box-shadow:0 2px 10px rgba(0,0,0,.08);padding:16px 18px;z-index:1000}
#detail.hidden{display:none}
#detail .bar{position:sticky;top:-16px;margin:-16px -18px 8px;padding:8px 12px 6px;background:var(--white);display:flex;align-items:center;justify-content:space-between;z-index:2;border-bottom:1px solid var(--line)}
#handle{width:44px;height:5px;border-radius:3px;background:var(--line);cursor:pointer;visibility:hidden}
#close{border:1px solid var(--line);background:var(--white);font:12.5px Georgia,serif;color:var(--ink);padding:5px 12px;border-radius:2px;cursor:pointer;height:auto;width:auto;line-height:1.2}
#detail h3{margin:0 0 2px;font:400 20px Georgia,serif}
#detail .sub{color:var(--mute);font-size:12.5px;margin-bottom:10px}
#detail dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:13px;margin:0 0 12px}
#detail dt{color:var(--mute)}
#detail dd{margin:0;font:13px ui-monospace,Menlo,monospace}
#detail .links a{display:block;font-size:13px;color:var(--sky);margin:4px 0}
#detail .warn{font-size:12px;color:var(--rust);border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.marker-dot{border-radius:50%;border:1.5px solid var(--white);box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.legend{background:var(--white);border:1px solid var(--line);padding:8px 10px;font-size:11.5px;color:var(--mute);line-height:1.6}
.legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:-1px}
.legend .ln{display:inline-block;width:18px;height:0;border-top:2px dashed #7a3b1e;margin-right:6px;vertical-align:3px}
@media(max-width:860px){main{grid-template-columns:1fr;grid-template-rows:auto;height:auto;display:flex;flex-direction:column}#map{order:0;position:sticky;top:0;height:52vh;z-index:5}#panel{order:1;border-right:0;border-top:1px solid var(--line);overflow:visible;max-height:none}header{order:-1}#detail{position:fixed;left:0;right:0;width:auto;top:auto;bottom:0;max-height:40vh;z-index:1100;box-shadow:0 -2px 14px rgba(0,0,0,.18);border-radius:12px 12px 0 0;transition:max-height .2s}#detail.tall{max-height:85vh}#detail .bar{top:-16px;border-radius:12px 12px 0 0}#handle{visibility:visible}header{flex-direction:column;align-items:flex-start;padding:12px 16px}.counts{text-align:left}h1{font-size:22px}.brand p{font-size:12.5px}#detail{width:auto}}

.rob{width:22px;height:22px;border-radius:50%;background:#b8860b;color:#fff;font:700 13px/22px Georgia,serif;text-align:center;border:2px solid #fffdf8;box-shadow:0 0 0 1px rgba(0,0,0,.3)}
.rob.legend{background:#a89a7a}
.rob.mini{display:inline-block;width:12px;height:12px;line-height:12px;font-size:9px;margin-right:6px;vertical-align:-1px;border-width:1px}
#detail .p{font-size:13px;margin:0 0 8px}
#detail .small{font-size:11.5px;color:var(--mute)}
#detail dd.txt{font:13px Georgia,serif}
.terrain{border-top:1px solid var(--line);margin-top:10px;padding-top:8px}
.terrain h4{font:400 12px Georgia,serif;text-transform:uppercase;letter-spacing:.08em;margin:0 0 6px;color:var(--ink)}
.terrain .hint{text-transform:none;letter-spacing:0;color:var(--mute)}
.tgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.tgrid figure{margin:0}
.tgrid img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border:1px solid var(--line);background:#eee}
.tgrid figcaption{font-size:10.5px;color:var(--mute);margin-top:2px}
.tgrid .ph{display:flex;flex-direction:column;gap:4px;justify-content:center;font-size:12px}
.tgrid .ph a{color:var(--sky)}
#detail{width:420px}

.big{margin:10px 0 0}.big img{width:100%;display:block;border:1px solid var(--line)}.big figcaption{font-size:11px;color:var(--mute);margin-top:4px}
