:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f1e4;background:#132329}*{box-sizing:border-box}body{margin:0}#map{position:fixed;inset:0;background:#163d51;outline-offset:-4px}.map-title{position:fixed;z-index:800;left:22px;top:22px;padding:18px 24px 17px;background:#142325ee;border:1px solid #d2ba7133;border-radius:12px;box-shadow:0 8px 32px #0003;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.22em;font-weight:700;color:#d4bc80}h1{font-family:Georgia,serif;font-weight:400;font-size:36px;letter-spacing:.01em;margin:5px 0}header p{font-size:12px;color:#aebdb7;margin:0}.tools{position:fixed;z-index:800;right:20px;top:102px;display:grid;gap:8px}.tools button,.leaflet-bar a{background:#142325f2;color:#f4f1e4;border:1px solid #d2ba7144;border-radius:8px;width:38px;height:38px;line-height:36px;font-size:25px;cursor:pointer;box-shadow:0 3px 12px #0003}.tools button:hover,.leaflet-bar a:hover{background:#34453f;color:#fff}.tools button:focus-visible,a:focus-visible{outline:3px solid #e6c879;outline-offset:3px}.leaflet-top.leaflet-right{top:12px;right:10px}.leaflet-bar{border:0!important;box-shadow:none!important;display:grid;gap:6px}.leaflet-bar a:first-child,.leaflet-bar a:last-child{border-radius:8px}.leaflet-bar a.leaflet-disabled{background:#20302b;color:#7c8b87}.leaflet-container{font-family:inherit}footer{position:fixed;z-index:800;bottom:12px;left:14px;right:14px;display:flex;justify-content:space-between;align-items:end;gap:12px;pointer-events:none;font-size:11px;color:#e2e8df}footer>span,footer output{background:#142325ed;padding:8px 12px;border-radius:6px}footer a{color:#ded6b4;pointer-events:auto}#notice{position:fixed;z-index:900;bottom:58px;left:50%;transform:translateX(-50%);background:#142325f2;padding:10px 16px;border:1px solid #d2ba7144;border-radius:8px;font-size:13px;max-width:90vw;text-align:center}#notice[hidden]{display:none}.leaflet-tile{image-rendering:pixelated}@media(max-width:560px){.map-title{left:12px;top:12px;padding:13px 16px}h1{font-size:28px}footer{font-size:10px;left:8px;right:8px;bottom:8px;gap:6px}footer>span,footer output{padding:7px 8px}.tools{right:20px}#coordinates{max-width:58vw}}

.layers{position:fixed;z-index:800;top:176px;left:22px;width:224px;background:#142325f2;border:1px solid #d2ba7133;border-radius:10px;box-shadow:0 8px 32px #0003;font-size:13px}.layers summary{cursor:pointer;padding:14px 16px;font-weight:650;letter-spacing:.02em}.layer-options{padding:0 16px 12px;max-height:calc(100dvh - 280px);overflow-y:auto}.layers label{display:flex;align-items:center;gap:8px;min-height:34px;cursor:pointer}.layers input{accent-color:#dbc28a;width:16px;height:16px;margin:0}.layers label span{margin-left:auto;color:#aebdb7;font-size:11px}.layers .sub{padding-left:24px;color:#bac8c0;font-size:12px}.layer-note{font-size:10px;line-height:1.5;color:#9eb2aa;margin:3px 0 10px}.key{width:8px;height:8px;display:inline-block;border-radius:50%;flex:none}.key.players{background:#69caff}.key.deeds{background:#e5c26a}.key.towers{background:#f19b64}.key.structures{background:#d2ddd0;border-radius:1px}.key.portals{background:#c697ed}.key.bridges{background:#b49770;border-radius:1px}.map-popup{color:#24352f;font:12px/1.6 system-ui,sans-serif}.map-popup strong{display:block;font-size:14px}.map-popup p{margin:4px 0}.leaflet-tooltip{font:12px system-ui,sans-serif}.layers summary:focus-visible{outline:3px solid #e6c879;outline-offset:2px}@media(max-width:560px){.layers{top:140px;left:12px;width:202px}.layer-options{max-height:calc(100dvh - 240px)}}
