.dungeon-switch{position:relative;flex:none}.map-switch .dungeon-switch>button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:clamp(105px,10vw,173px);height:49px;padding:5px 15px;border-radius:2px;border:1px solid #b6a378a0;background:#06192bef;color:#dce3ea;font-family:inherit;font-size:14px;line-height:1.25}.dungeon-switch>button small{font-size:9px;line-height:1.1;color:#98b6ca;margin-top:2px}.map-switch .dungeon-switch>button[aria-current=page]{background:#092744ed;border-color:#8ed9fa;color:#fff7df;box-shadow:inset 0 0 10px #45bded38,0 0 5px #5dc9ef5c}.map-switch .dungeon-switch>button:hover{background:#163a54}.dungeon-switch>button:focus-visible{outline:2px solid #8ed9fa;outline-offset:3px}.dungeon-switch-menu{position:absolute;right:0;top:calc(100% + 6px);width:236px;max-width:calc(100vw - 48px);padding:6px;background:#061b2ff7;border:1px solid #b6a378b8;border-radius:4px;box-shadow:0 8px 24px #0008;z-index:2}.map-switch .dungeon-switch-menu a{min-width:0;width:100%;height:auto;min-height:51px;align-items:flex-start;white-space:normal;padding:10px 12px;font-size:13px;border-color:transparent}.map-switch .dungeon-switch-menu a small{margin-top:4px;font-size:10px}.map-switch .dungeon-switch-menu a:hover,.map-switch .dungeon-switch-menu a:focus-visible{background:#163a54;border-color:#8ed9fa}.dungeon-note{grid-column:1/-1;color:#b5cedb;font-size:11px;line-height:1.65;margin:3px 0 10px}.dungeon-target{color:#e6d3a6!important}body[data-dungeon] .dungeon{--color:#a2c9e4}body[data-dungeon] #map{background:#1e272c}body[data-dungeon] .map-help{max-width:calc(100% - 48px)}
body[data-dungeon] .map-point-legend[hidden]{display:none!important}
body[data-placement-preview] .map-point-legend[hidden]{display:none!important}
body[data-placement-preview] #map{background:#0b121e}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-count{position:absolute;right:0;top:0;min-width:19px;height:18px;padding:1px 4px;border:1px solid #b6c6d1;border-radius:8px;background:#0a2134;color:#fff;font-size:10px;font-weight:700;line-height:14px;text-align:center;box-shadow:0 1px 4px #000b;pointer-events:none}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group:before{display:none}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-icon,body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group{pointer-events:none}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-label{position:absolute;left:-2px;top:-5px;width:44px;height:44px;cursor:pointer;pointer-events:auto}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-label .face-portrait{left:8px;top:8px}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-label-leader{position:absolute;left:19px;top:31px;width:2px;height:10px;background:#bbd0dc;box-shadow:0 1px 2px #000;pointer-events:none}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-detail-dot{pointer-events:none;filter:drop-shadow(0 1px 2px #000b)}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-zoom{display:block;width:100%;min-height:44px;margin:8px 0;border:1px solid #8db6cb;border-radius:4px;background:#102f43;color:#eff8ff;font:inherit;cursor:pointer}
body:is([data-placement-preview="outer-abyss"],[data-dungeon]) .hunting-group-zoom:focus-visible{outline:2px solid #fff;outline-offset:2px}
.dungeon-switch-menu{max-height:min(60vh,420px);overflow-y:auto}
.map-top:has(.dungeon-switch-menu:not([hidden])){z-index:1200}
@media(max-width:760px){.mobile-map-layout .mobile-map-header{position:relative;z-index:1100}}
#hunting-place-panel{position:absolute;z-index:900;box-sizing:border-box;width:252px;max-width:calc(100% - 16px);color:#dce8ee;background:#081e2df7;border:1px solid #aa9564;border-radius:5px;padding:12px;box-shadow:0 4px 16px #0008;line-height:1.4}
#hunting-place-panel[hidden]{display:none!important}
#hunting-place-panel .hunting-popup-close{position:absolute;right:0;top:0;width:44px;height:44px;border:0;background:transparent;color:#dec892;font-size:24px;cursor:pointer}
#hunting-place-panel .hunting-popup-close:focus-visible{outline:2px solid #fff;outline-offset:-3px}
#hunting-place-panel .place-heading{padding-right:28px;margin-bottom:10px;align-items:center}
#hunting-place-panel .place-heading>div{min-width:0}
#hunting-place-panel .place-heading h3{font-size:13px;line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}
#hunting-place-panel .completion-check{margin:0;min-height:44px}
#hunting-place-panel .hunting-popup-actions{display:flex;gap:8px}
#hunting-place-panel .hunting-popup-actions>*{flex:1;min-width:0;font-size:12px}
#hunting-place-panel .completion-check{padding:6px;justify-content:center}
#hunting-place-panel .hunting-group-zoom{margin:0}
.hunt-added-label{display:block;margin-top:3px;font-size:10px;line-height:1.4;color:#d7e6f1}
.hunt-added-pin{position:absolute;left:-5px;top:-3px;display:flex;align-items:center;justify-content:center;width:20px;height:19px;border:1px solid #c2d1df;border-radius:4px;background:#102638;font-size:13px;line-height:1;pointer-events:none}
.hunt-added-pin b{position:absolute;right:-4px;bottom:-5px;font-size:11px;color:#f1f7ff;text-shadow:0 1px 2px #000}
body[data-dungeon] .point-like-badge{top:20px;right:-5px;width:18px;height:18px;font-size:11px;border-width:1px}
.dungeon-group-legend{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 10px;font-size:10px;line-height:1.5;color:#c1d7e6}
.dungeon-group-legend>span{display:inline-flex;align-items:center;gap:4px}
.hunt-gold-key{display:inline-block;width:10px;height:10px;border:2px solid #ffcf48;border-radius:2px}
#hunting-place-panel .hunting-group-like{min-height:44px;margin:0;padding:4px;border:1px solid #8db6cb;border-radius:4px;background:#102f43;color:#eff8ff;font:inherit;cursor:pointer}
#hunting-place-panel .hunting-group-like[aria-pressed=true]{background:#075a8a;border-color:#91d9ff}
#hunting-place-panel .hunting-group-like:disabled{opacity:.6;cursor:default}
#hunting-place-panel .hunting-group-like:focus-visible{outline:2px solid #fff;outline-offset:2px}
#hunting-place-panel .hunting-vote-status{margin:6px 0 0;padding:0;border:0;color:#f1d3ac;font-size:10px}
@media(max-width:1300px){.map-switch .dungeon-switch>button{min-width:90px;padding-left:9px;padding-right:9px;font-size:12px}}
@media(max-width:760px){.map-switch .dungeon-switch{flex:1;min-width:0}.map-switch .dungeon-switch>button{min-width:0;width:100%;height:40px;font-size:11px;padding:4px 6px}.dungeon-switch-menu{width:220px}.map-switch .dungeon-switch-menu a{min-height:52px;font-size:13px;padding:10px 12px}.dungeon-switch>button small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dungeon-note{font-size:10px}}
