.worldmap{position:fixed;inset:0;z-index:40;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:16px;color:#eee3cd;background:#17121f;font:13px/1.45 monospace}
.worldmap[hidden],.worldmap [hidden]{display:none}
.worldmap button,.worldmap input,.worldmap select{box-sizing:border-box;min-height:34px;border:2px solid #554165;border-radius:2px;padding:6px 9px;color:inherit;background:#2a2037;font:inherit}
.worldmap button{cursor:pointer}.worldmap button:hover{background:#40304e;border-color:#a68a62}.worldmap button:focus-visible,.worldmap input:focus-visible,.worldmap select:focus-visible,.worldmap__canvas:focus-visible{outline:2px solid #ffe060;outline-offset:2px}
.worldmap button[aria-pressed=true]{border-color:#ddba69;background:#51402e}.worldmap button:disabled{opacity:.45;cursor:default}
.worldmap__header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #554165;padding-bottom:12px}.worldmap__header h1{margin:0;color:#f2d686;font:bold 22px/1.3 monospace}.worldmap__header small,.worldmap__muted,.worldmap__snapshot-note,.worldmap__quests>p{color:#b9a8c5}.worldmap__header [data-action=close]{font-size:25px;width:42px;height:42px;line-height:1}
.worldmap__body{min-height:0;display:grid;grid-template-columns:210px minmax(0,1fr) 265px;gap:12px}.worldmap h2{margin:0 0 12px;color:#e5c477;font-size:15px}.worldmap__info,.worldmap__quests{min-height:0;overflow:auto;padding:14px;background:#21182c;border:2px solid #473653;scrollbar-color:#71547d #21182c}
.worldmap__quests [data-quest-list]{display:grid;gap:8px}.worldmap__quests button{text-align:left}.worldmap__canvas-wrap{position:relative;min-height:0;overflow:hidden;border:2px solid #776247;background:#796480}.worldmap__canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.worldmap__canvas:active{cursor:grabbing}
.worldmap__toolbar{position:absolute;top:10px;left:10px;right:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;pointer-events:none}.worldmap__toolbar>*{pointer-events:auto}.worldmap__actions,.worldmap__filters{display:flex;flex-wrap:wrap;gap:4px}.worldmap__toolbar button,.worldmap__toolbar select{background:#241a30ee;font-size:12px;box-shadow:2px 2px #17121f55}.worldmap__filters{flex-basis:100%}.worldmap__hint{position:absolute;right:8px;bottom:8px;left:8px;margin:0;padding:5px;color:#e9dfcd;background:#241a30dd;font-size:11px;text-align:center;pointer-events:none}
.worldmap__info [data-info]{white-space:pre-line;line-height:1.6}.worldmap__info-actions{margin:12px 0 20px}.worldmap__info-actions button{width:100%}.worldmap__choices{display:grid;gap:6px}.worldmap__choices:empty{display:none}.worldmap [data-map-notice]{color:#f2d686}.worldmap__snapshot-note{font-size:11px;margin-top:24px}
.worldmap__note{padding:10px 0;border-top:1px solid #554165}.worldmap__note[data-active=true]{border-left:3px solid #e2be69;padding-left:8px}.worldmap__note form{display:flex;gap:4px}.worldmap__note input{min-width:0;width:100%;background:#181020}.worldmap__note small{display:block;margin:5px 0;color:#b9a8c5}.worldmap__note-actions{display:flex;gap:4px}.worldmap__note-actions button{font-size:11px;padding:5px;min-height:30px}
@media(max-width:1050px){.worldmap__body{grid-template-columns:170px minmax(0,1fr) 220px;gap:8px}.worldmap__info,.worldmap__quests{padding:10px}.worldmap{padding:10px}}
@media(max-width:780px){.worldmap__body{grid-template-columns:1fr 1fr;grid-template-rows:minmax(230px,1fr) minmax(0,36%)}.worldmap__canvas-wrap{grid-column:1/-1;grid-row:1}.worldmap__quests{grid-row:2;grid-column:1}.worldmap__info{grid-row:2;grid-column:2}.worldmap__header{padding-bottom:6px}.worldmap__header small{display:none}.worldmap{gap:8px;padding:8px}.worldmap__toolbar button,.worldmap__toolbar select{min-height:30px;padding:4px}}
