#lp-map-modal .lp-map-chests{position:absolute;inset:0;z-index:170;pointer-events:none}#lp-map-modal .lp-map-chests[hidden],#lp-map-modal .lp-map-chests [hidden]{display:none!important}#lp-map-modal .lp-map-chest{position:absolute;display:grid;place-items:center;width:80px;height:76px;min-height:44px;padding:0;border:0!important;border-radius:12px;background:transparent!important;box-shadow:none!important;cursor:pointer;pointer-events:auto;touch-action:manipulation}#lp-map-modal .lp-map-chest-caption{display:none}#lp-map-modal :where(.lp-map-chest):is(*,.ix),#lp-map-modal :where(.lp-map-chest-dialog):is(*,.ix){--chest-body:#ad6339;--chest-lid:#f4c18a;--chest-band:#694128;--chest-glow:#ffb969;--chest-jewel:#7cead7}#lp-map-modal [data-tier="silver"]{--chest-body:#7994b2;--chest-lid:#ecf6ff;--chest-band:#486485;--chest-glow:#b4eaff;--chest-jewel:#b1eaff}#lp-map-modal [data-tier="gold"]{--chest-body:#bd781c;--chest-lid:#fff1aa;--chest-band:#98621e;--chest-glow:#ffdc68;--chest-jewel:#eb6864}#lp-map-modal [data-tier="crown"]{--chest-body:#7047a5;--chest-lid:#d6b2f5;--chest-band:#efc668;--chest-glow:#dcb3ff;--chest-jewel:#9b7dff}#lp-map-modal :where(.lp-map-chest):is(*,.ix) svg,#lp-map-modal :where(.lp-map-chest-dialog):is(*,.ix) svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:#453346;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}#lp-map-modal .lp-chest-shadow{fill:#25314930;stroke:none}#lp-map-modal .lp-chest-side{fill:var(--chest-band)}#lp-map-modal .lp-map-chest-bands{stroke:var(--chest-band);stroke-width:5}#lp-map-modal .lp-chest-wood{stroke:var(--chest-band);opacity:.32;stroke-width:1}#lp-map-modal .lp-chest-rivet{fill:#fff0b7;stroke-width:.6}#lp-map-modal .lp-chest-shine{stroke:#fffbed;stroke-width:2.3;opacity:.75}#lp-map-modal .lp-map-chest-lock{fill:#ffe7a0}#lp-map-modal .lp-chest-key{stroke-width:2.8}#lp-map-modal .lp-chest-gem{fill:var(--chest-jewel);stroke:var(--chest-band)}#lp-map-modal [data-tier="bronze"] .lp-chest-gem{display:none}#lp-map-modal :where([data-tier="silver"]):is(*,.ix) .lp-chest-wood,#lp-map-modal :where([data-tier="crown"]):is(*,.ix) .lp-chest-wood{display:none}#lp-map-modal .lp-map-chest-crown{fill:#ffe291;stroke:#98621e;display:none}#lp-map-modal [data-tier="crown"] .lp-map-chest-crown{display:inline}#lp-map-modal .lp-chest-sparkles{fill:var(--chest-glow);stroke:#fff9de;stroke-width:.8;transform-origin:center}#lp-map-modal .lp-map-chest svg{animation:lp-chest-float 3.8s ease-in-out infinite}#lp-map-modal .lp-map-chest .lp-chest-sparkles{animation:lp-chest-twinkle 2.8s ease-in-out infinite}#lp-map-modal .lp-map-chest:disabled{cursor:wait}#lp-map-modal .lp-map-chest:disabled svg{animation-play-state:paused}#lp-map-modal .lp-map-chest:focus-visible{outline:2px solid var(--wiki-map-accent,#5264cf);outline-offset:3px}@keyframes lp-chest-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes lp-chest-twinkle{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}#lp-map-modal .lp-map-chest-panel{position:absolute;box-sizing:border-box;max-height:min(55vh,310px);overflow:auto;padding:9px 12px;border:1px solid var(--wiki-map-line,#6b7c89);border-radius:10px;background:transparent;color:var(--wiki-map-ink,#172632);font:12px/1.5 system-ui,sans-serif;pointer-events:auto;overscroll-behavior:contain}#lp-map-modal .lp-map-chest-panel p{margin:0 0 5px;color:inherit}#lp-map-modal .lp-map-chest-panel .lp-map-chest-status:empty{display:none}#lp-map-modal :where(.lp-map-chest-retry):is(*,.ix),#lp-map-modal :where(.lp-map-chest-dismiss):is(*,.ix){min-height:44px;padding:6px 14px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;font:inherit;cursor:pointer;touch-action:manipulation}#lp-map-modal .lp-map-chests.is-docked .lp-map-chest{position:static;margin:0 auto}@media (forced-colors:active){#lp-map-modal .lp-map-chest,#lp-map-modal .lp-map-chest-panel{border:2px solid ButtonText;background:Canvas;color:CanvasText}}#lp-map-modal .lp-map-chest-panel:not(.is-message){border:0;padding:0}#lp-map-modal .lp-map-chest-panel.is-message{background:var(--wiki-map-surface,#f5f0e5)}#lp-map-modal .lp-map-chest-dialog{position:fixed;inset:0;width:min(360px,calc(100vw - 32px));max-height:min(85dvh,650px);box-sizing:border-box;margin:auto;padding:24px;overflow:auto;border:1px solid var(--wiki-map-line,#71869a);border-radius:24px;background:var(--wiki-map-surface,#f5f8fc);color:var(--wiki-map-ink,#173540);box-shadow:0 20px 80px #091d4059;pointer-events:auto;text-align:center}#lp-map-modal .lp-map-chest-dialog[hidden]{display:none!important}#lp-map-modal .lp-map-chest-dialog::backdrop{background:#0b163969}#lp-map-modal .lp-chest-reward-art{width:184px;height:156px;margin:4px auto 0}#lp-map-modal .lp-chest-reward-title{margin:8px 0 12px;font:800 22px/1.2 system-ui,sans-serif;color:inherit}#lp-map-modal .lp-chest-reward-description{margin:0;font:700 17px/1.65 system-ui,sans-serif;overflow-wrap:anywhere;color:inherit;animation:lp-chest-reward-pop 1.4s ease-out both}#lp-map-modal .lp-chest-reward-hint{margin:14px 0 18px;font:13px/1.5 system-ui,sans-serif;opacity:.7}@keyframes lp-chest-reward-pop{0%,45%{opacity:0;transform:translateY(18px) scale(.92)}100%{opacity:1;transform:translateY(0) scale(1)}}#lp-map-modal:is([data-lp-gesturing],[data-lp-dragging],[data-lp-slider-zooming]) .lp-map-chest{pointer-events:none}#lp-map-modal:is([data-lp-gesturing],[data-lp-dragging],[data-lp-slider-zooming]) .lp-map-chest :where(svg):is(*,.ix),#lp-map-modal:is([data-lp-gesturing],[data-lp-dragging],[data-lp-slider-zooming]) .lp-map-chest :where(.lp-chest-sparkles):is(*,.ix){animation-play-state:paused}@media (prefers-reduced-motion:reduce){#lp-map-modal :where(.lp-map-chest):is(*,.ix) *,#lp-map-modal :where(.lp-map-chest-dialog):is(*,.ix) *{animation:none!important}}html.mk-motion-off #lp-map-modal :where(.lp-map-chest):is(*,.ix) *,html.mk-motion-off #lp-map-modal :where(.lp-map-chest-dialog):is(*,.ix) *{animation:none!important}#lp-map-modal .lp-map-chest-panel.is-opening{width:1px!important;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0}@property --lid{syntax:'<angle>';inherits:true;initial-value:0deg}#lp-map-modal .lp-chest-scene{--lid:0deg}#lp-map-modal .lp-chest-scene :where(.lp-chest-lid-front):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-lid-under):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-lip-teeth):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-actor):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-coin-pop):is(*,.ix){transform-box:view-box}#lp-map-modal .lp-chest-scene .lp-chest-lid-front{transform-origin:100px 102px;transform:translateY(calc(10px * cos(var(--lid)) - 44px * sin(var(--lid)) - 10px)) scaleY(max(0,cos(var(--lid))))}#lp-map-modal .lp-chest-scene .lp-chest-lid-under{transform-origin:100px 92px;transform:scaleY(clamp(0,(44 * sin(var(--lid)) - 10 * cos(var(--lid))) / 44,1))}#lp-map-modal .lp-chest-scene .lp-chest-lip-teeth{transform:translateY(calc(10px * cos(var(--lid)) - 44px * sin(var(--lid)) - 10px))}#lp-map-modal .lp-chest-scene .lp-chest-actor{transform-origin:100px 158px}#lp-map-modal .lp-chest-scene .lp-chest-lid-inner{fill:color-mix(in srgb,var(--chest-band) 78%,#000)}#lp-map-modal .lp-chest-scene .lp-chest-lip{fill:var(--chest-lid)}#lp-map-modal .lp-chest-scene .lp-chest-lid-rim{stroke-width:3}#lp-map-modal .lp-chest-scene .lp-chest-mouth{fill:#2b1610;stroke:none}#lp-map-modal .lp-chest-scene :where(.lp-chest-treasure):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-mimic):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-glow):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-chest-rays):is(*,.ix),#lp-map-modal .lp-chest-scene :where(.lp-mimic-teeth):is(*,.ix){opacity:0}#lp-map-modal .lp-chest-scene .lp-chest-glow{fill:var(--chest-glow);stroke:none;filter:blur(12px)}#lp-map-modal .lp-chest-scene .lp-chest-rays{stroke:var(--chest-glow);stroke-width:4}#lp-map-modal .lp-chest-scene .lp-chest-coin{fill:#ffd257;stroke:#a8731b;stroke-width:1.2}#lp-map-modal .lp-chest-scene .lp-chest-treasure .lp-map-chest-crown{display:none}#lp-map-modal [data-tier="crown"] .lp-chest-scene .lp-chest-treasure .lp-map-chest-crown{display:inline}#lp-map-modal .lp-chest-scene .lp-mimic-tongue{fill:#e0637a;stroke:#7a2433}#lp-map-modal .lp-chest-scene .lp-mimic-eye{fill:#ffe45c;stroke:#6b4b00}#lp-map-modal .lp-chest-scene .lp-mimic-pupil{stroke:#2b1610;stroke-width:2.6}#lp-map-modal .lp-chest-scene .lp-mimic-dizzy{stroke:#2b1610;stroke-width:2.4;display:none}#lp-map-modal .lp-chest-scene .lp-mimic-teeth{fill:#fffaf0;stroke:#8e8476;stroke-width:1}#lp-map-modal .lp-chest-scene .lp-chest-coin-pop{opacity:0}#lp-map-modal [data-mode="treasure"] .lp-chest-actor{animation:lp-chest-shake .36s ease-in-out both}#lp-map-modal [data-mode="treasure"] .lp-chest-scene{--lid:112deg;animation:lp-lid-swing .95s cubic-bezier(.3,1.25,.55,1) .32s both}#lp-map-modal [data-mode="vanquished"] .lp-chest-scene{--lid:112deg;animation:lp-lid-wide .7s cubic-bezier(.3,1.25,.55,1) .2s both}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-treasure,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-treasure{opacity:1;animation:lp-chest-appear .6s ease-out .6s both}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-glow,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-glow{opacity:.6;animation:lp-chest-appear .8s ease-out .55s both}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-rays,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-rays{opacity:1;animation:lp-chest-appear .6s ease-out .6s both,lp-chest-twinkle 2.4s ease-in-out 1.2s infinite}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-coin-pop,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-coin-pop{animation:lp-coin-pop 1.1s ease-out .8s both}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-coin-pop-2,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-coin-pop-2{animation-delay:.95s}#lp-map-modal :where([data-mode="treasure"]):is(*,.ix) .lp-chest-coin-pop-3,#lp-map-modal :where([data-mode="vanquished"]):is(*,.ix) .lp-chest-coin-pop-3{animation-delay:1.1s}@keyframes lp-chest-shake{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes lp-lid-swing{from{--lid:0deg}to{--lid:112deg}}@keyframes lp-lid-wide{from{--lid:64deg}to{--lid:112deg}}@keyframes lp-chest-appear{from{opacity:0;transform:translateY(6px)}}@keyframes lp-coin-pop{0%{opacity:0;transform:translateY(0)}25%{opacity:1}100%{opacity:0;transform:translateY(-36px)}}#lp-map-modal :where([data-mode="mimic"]):is(*,.ix) :where(.lp-chest-mimic):is(*,.ix),#lp-map-modal :where([data-mode="mimic"]):is(*,.ix) :where(.lp-mimic-teeth):is(*,.ix),#lp-map-modal :where([data-mode="question"]):is(*,.ix) :where(.lp-chest-mimic):is(*,.ix),#lp-map-modal :where([data-mode="question"]):is(*,.ix) :where(.lp-mimic-teeth):is(*,.ix),#lp-map-modal :where([data-mode="bite"]):is(*,.ix) :where(.lp-chest-mimic):is(*,.ix),#lp-map-modal :where([data-mode="bite"]):is(*,.ix) :where(.lp-mimic-teeth):is(*,.ix){opacity:1}#lp-map-modal :where([data-mode="mimic"]):is(*,.ix) .lp-chest-lid-inner,#lp-map-modal :where([data-mode="question"]):is(*,.ix) .lp-chest-lid-inner,#lp-map-modal :where([data-mode="bite"]):is(*,.ix) .lp-chest-lid-inner{fill:#5b1f27}#lp-map-modal [data-mode="mimic"] .lp-chest-actor{animation:lp-mimic-wobble .5s ease-in-out both}#lp-map-modal [data-mode="mimic"] .lp-chest-scene{--lid:64deg;animation:lp-jaw-open .34s cubic-bezier(.2,1.5,.4,1) .45s both,lp-jaw-chomp 1.4s ease-in-out .9s infinite}#lp-map-modal [data-mode="question"] .lp-chest-scene{--lid:56deg;animation:lp-jaw-idle 2.4s ease-in-out infinite}@keyframes lp-mimic-wobble{0%,100%{transform:rotate(0)}20%{transform:translateY(-4px) rotate(-6deg)}40%{transform:rotate(5deg)}60%{transform:translateY(-2px) rotate(-4deg)}80%{transform:rotate(3deg)}}@keyframes lp-jaw-open{from{--lid:0deg}to{--lid:64deg}}@keyframes lp-jaw-chomp{0%,100%{--lid:64deg}45%{--lid:30deg}60%{--lid:64deg}}@keyframes lp-jaw-idle{0%,100%{--lid:56deg}50%{--lid:46deg}}#lp-map-modal [data-mode="bite"] .lp-chest-scene{--lid:0deg;animation:lp-jaw-bite .3s cubic-bezier(.6,0,.9,.3) both}#lp-map-modal [data-mode="bite"] .lp-chest-actor{opacity:0;animation:lp-mimic-flee 1.5s ease-in .45s both}@keyframes lp-jaw-bite{from{--lid:64deg}to{--lid:0deg}}@keyframes lp-mimic-flee{0%{opacity:1;transform:translate(0,0)}14%{transform:translate(8px,-16px) rotate(7deg)}28%{transform:translate(20px,0)}42%{transform:translate(34px,-16px) rotate(7deg)}56%{opacity:1;transform:translate(48px,0)}100%{opacity:0;transform:translate(150px,-8px) rotate(12deg)}}#lp-map-modal [data-mode="vanquished"] .lp-chest-mimic{opacity:1}#lp-map-modal [data-mode="vanquished"] :where(.lp-mimic-tongue):is(*,.ix),#lp-map-modal [data-mode="vanquished"] :where(.lp-mimic-teeth):is(*,.ix),#lp-map-modal [data-mode="vanquished"] :where(.lp-mimic-pupil):is(*,.ix),#lp-map-modal [data-mode="vanquished"] :where(.lp-mimic-eye):is(*,.ix){display:none}#lp-map-modal [data-mode="vanquished"] .lp-mimic-dizzy{display:inline;animation:lp-chest-appear .4s ease-out both,lp-dizzy-fade .5s ease-in 1s forwards}@keyframes lp-dizzy-fade{to{opacity:0}}#lp-map-modal [data-mode="idle"] .lp-chest-actor{animation:lp-chest-float 3.8s ease-in-out infinite}#lp-map-modal [data-mode="idle"] .lp-chest-reward-description{animation:none}#lp-map-modal .lp-map-chest[data-guarded] svg{filter:drop-shadow(0 0 6px #e0637acc)}#lp-map-modal .lp-map-chest-dialog.has-question{width:min(560px,calc(100vw - 24px))}#lp-map-modal .lp-map-chest-dialog.has-question .lp-chest-reward-art{width:104px;height:94px;margin:0 auto}#lp-map-modal .lp-map-chest-dialog.has-question .lp-chest-reward-title{margin:4px 0 10px;font-size:17px}#lp-map-modal :where(.lp-chest-reward-description):is(*,.ix):empty,#lp-map-modal :where(.lp-chest-reward-hint):is(*,.ix):empty,#lp-map-modal :where(.lp-chest-battle):is(*,.ix):empty,#lp-map-modal :where(.lp-chest-actions):is(*,.ix):empty{display:none}#lp-map-modal .lp-map-chest-dialog .lp-chest-reward-hint{margin:12px 0 0}#lp-map-modal .lp-chest-battle{margin:12px 0 0;text-align:left}#lp-map-modal .lp-chest-battle-meta{display:flex;justify-content:space-between;gap:8px;font:600 12px/1.4 system-ui,sans-serif;opacity:.8}#lp-map-modal .lp-chest-timer{height:6px;margin:6px 0 12px;border-radius:999px;background:color-mix(in srgb,currentColor 14%,transparent);overflow:hidden}#lp-map-modal .lp-chest-timer>span{display:block;width:100%;height:100%;border-radius:inherit;background:var(--chest-glow);transition:width .25s linear}#lp-map-modal .lp-chest-stem{margin:0 0 12px;font:600 15px/1.55 system-ui,sans-serif;overflow-wrap:anywhere}#lp-map-modal .lp-chest-options{display:grid;gap:8px}#lp-map-modal .lp-chest-option{min-height:44px;padding:9px 13px;border:1px solid var(--wiki-map-line,#71869a);border-radius:12px;background:transparent;color:inherit;font:14px/1.45 system-ui,sans-serif;text-align:left;cursor:pointer;touch-action:manipulation}#lp-map-modal .lp-chest-option:not(:disabled):hover{border-color:var(--wiki-map-accent,#5264cf)}#lp-map-modal .lp-chest-option:disabled{cursor:default}#lp-map-modal .lp-chest-option.is-correct{border-color:#2f8f5b;background:color-mix(in srgb,#2f8f5b 16%,transparent)}#lp-map-modal .lp-chest-option.is-wrong{border-color:#c2412f;background:color-mix(in srgb,#c2412f 14%,transparent)}#lp-map-modal .lp-chest-battle-status{margin:12px 0 0;font:700 14px/1.5 system-ui,sans-serif;text-align:center}#lp-map-modal .lp-chest-battle-status:empty{display:none}#lp-map-modal .lp-chest-feedback{margin:6px 0 0;font:13px/1.55 system-ui,sans-serif;opacity:.85}#lp-map-modal .lp-chest-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0 0}#lp-map-modal .lp-chest-actions>button{flex:1 1 120px;min-width:0;max-width:220px;min-height:44px;margin:0;padding:10px 18px;border:1px solid var(--wiki-map-line,#71869a);border-radius:12px;background:transparent;color:inherit;font:700 14px/1.2 system-ui,sans-serif;text-align:center;cursor:pointer;touch-action:manipulation}#lp-map-modal .lp-chest-actions>:where(.is-primary):is(*,.ix),#lp-map-modal .lp-chest-actions>:where(.lp-map-chest-dismiss):is(*,.ix){border-color:var(--wiki-map-accent,#5264cf);background:color-mix(in srgb,var(--wiki-map-surface,#f5f8fc) 85%,var(--wiki-map-accent,#5264cf));color:var(--wiki-map-ink,#173540)}#lp-map-modal .lp-chest-actions>.is-danger{border-color:transparent;background:#c2412f;color:#fff}#lp-map-modal :where(.lp-chest-option):is(*,.ix ix-p):focus-visible,#lp-map-modal :where(.lp-chest-actions>button):is(*,.ix ix-p):focus-visible{outline:2px solid var(--wiki-map-accent,#5264cf);outline-offset:2px}#lp-map-modal .lp-map-chest-dialog{max-height:min(85dvh,650px,calc(100dvh - 144px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}#lp-map-modal .lp-map-chest-dialog #wiki-explain-root[data-wx-map="true"] .wx-toggle{top:auto;left:auto;right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px))}#lp-map-modal :where(.lp-chest-option):is(*,.ix),#lp-map-modal :where(.lp-chest-feedback):is(*,.ix){overflow-wrap:anywhere}#lp-map-modal .lp-chest-battle .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden}#lp-map-modal .lp-map-chest-dialog{scrollbar-width:thin;scrollbar-color:var(--wiki-map-line,#71869a) transparent}