#adventureDialog{position:fixed;inset:0;width:100%;height:100%;width:100dvw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#f3e8cf;color:#243c37;overflow:hidden;box-sizing:border-box}#adventureDialog[open]{display:flex;flex-direction:column}#adventureDialog::backdrop{background:#173b3d}.adventure-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;background:#183d3d;color:#f3e8cf;padding:calc(9px + env(safe-area-inset-top)) 14px 9px}.adventure-topbar h2{font:18px/1.25 Georgia,serif;margin:0}.adventure-topbar button{font:14px system-ui;white-space:nowrap;background:#f3e8cf;color:#243c37;border:0;border-radius:8px;padding:9px 12px;cursor:pointer}#adventureFrameHolder{flex:1;min-height:0;position:relative}#adventureFrameHolder iframe{display:block;width:100%;height:100%;border:0;background:#f3e8cf}#adventureLoadStatus{padding:24px;font:16px/1.6 system-ui}#adventureLoadStatus[hidden]{display:none}#adventureLoadStatus button{padding:10px 16px;border:1px solid #b8a582;border-radius:8px;background:#183d3d;color:#fff5df;font:inherit;cursor:pointer}

.letter-pin{width:48px;height:55px;border:0;background:transparent;padding:0;filter:drop-shadow(0 3px 3px #0005)}.letter-pin .envelope{display:block;background:#f5e5b9;border:2px solid #9e7b41;border-radius:3px;transform:rotate(-8deg);font:26px Georgia;color:#7c3435;width:41px;height:32px;line-height:28px}.letter-pin small{font-size:10px;background:#fff4d8;border:1px solid #bfa672;color:#334c41;padding:1px 5px;border-radius:3px;white-space:nowrap}.letter-pin.current{filter:drop-shadow(0 0 8px #69c57f)}.letter-pin.locked{opacity:.58}.hero-marker{position:relative;width:38px;height:63px;filter:drop-shadow(0 3px 3px #0005)}.hero-marker .head{position:absolute;left:6px;top:0;width:27px;height:27px;border:2px solid #e8d1a3;background:#ede4d1;border-radius:50%;overflow:hidden;display:grid;place-items:center;font-size:21px;z-index:2}.hero-marker .head img{width:100%;height:100%;object-fit:cover}.hero-marker .cloak{position:absolute;top:21px;left:3px;width:32px;height:37px;background:var(--cloak,#3c9b52);clip-path:polygon(30% 0,70% 0,100% 100%,0 100%);border-radius:5px}.hero-marker:after{content:'';position:absolute;bottom:0;left:0;width:38px;height:10px;border:2px solid #baa875;border-radius:50%;background:#a1bda155}.monster-marker{filter:drop-shadow(0 0 10px #51796f);user-select:none}.monster-marker img{width:64px;height:64px;object-fit:cover;object-position:50% 45%;border-radius:50%;border:2px solid #99aca1;display:block}.monster-marker:after{content:'Ombre';display:block;font:10px system-ui;background:#183d3d;color:#eee3c8;padding:1px 4px;border-radius:3px;text-align:center}.shielded{filter:drop-shadow(0 0 14px #f4cf74)}
body.anhee-main-active #sheet{display:none!important}body.anhee-main-active #map{background:#d9c79e}body.anhee-main-active #map:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #4e382c55;border:8px solid #ac824633;z-index:1}.anhee-shield{filter:drop-shadow(0 0 15px #f4cf74)}

/* MapLibre markers live outside the adventure shadow root. */
.place-pin{width:54px;height:58px}.place-pin small{display:block;width:max-content;max-width:145px;white-space:normal;font-size:10px;line-height:1.2;padding:3px 5px;text-align:center;transform:translateX(calc(-50% + 22px))}.place-pin.upcoming{opacity:.88}.place-pin.finale-pin .envelope{background:#e1c27c;border-color:#358949;color:#2e773f}.place-pin.finale-pin small{background:#358748;color:#fff4d6;border-color:#e1c27c;font-weight:700}.place-pin.completed .envelope{border-color:#457963}
.place-pin .envelope{font:700 23px/29px Georgia;text-align:center}.place-pin.upcoming,.place-pin.completed{filter:grayscale(1) drop-shadow(0 2px 2px #0003);opacity:.42}.place-pin.current{opacity:1;filter:drop-shadow(0 0 10px #a8c688)}.place-pin.current .envelope{background:#52bc6b;border-color:#f3d685;color:#fff8df;box-shadow:0 0 0 4px #66c47c3d}.place-pin.overview{opacity:1;filter:drop-shadow(0 2px 2px #0004)}
.magical-reveal{animation:letter-appear .9s ease-out}.reveal-sparks{position:absolute;left:20px;top:15px;pointer-events:none}.reveal-star{position:absolute;font-style:normal;font-size:20px;color:#ffdf72;opacity:0;text-shadow:0 0 7px #75c988;animation:spark-burst 1s ease-out both}.reveal-star:nth-child(1){--x:-55px;--y:-45px}.reveal-star:nth-child(2){--x:0px;--y:-68px}.reveal-star:nth-child(3){--x:56px;--y:-43px}.reveal-star:nth-child(4){--x:70px;--y:4px}.reveal-star:nth-child(5){--x:48px;--y:48px}.reveal-star:nth-child(6){--x:-4px;--y:59px}.reveal-star:nth-child(7){--x:-55px;--y:40px}.reveal-star:nth-child(8){--x:-70px;--y:-2px}@keyframes spark-burst{0%{transform:translate(0,0) scale(.2);opacity:0}20%{opacity:1}100%{transform:translate(var(--x),var(--y)) scale(.45) rotate(120deg);opacity:0}}@keyframes letter-appear{0%{opacity:0;filter:drop-shadow(0 0 25px #cedebc)}100%{opacity:1;filter:drop-shadow(0 0 10px #a8c688)}}@media(prefers-reduced-motion:reduce){.magical-reveal,.reveal-star{animation:none}.reveal-sparks{display:none}}

body.namur-main-active #sheet{display:none!important}body.namur-main-active #map{background:#d9c79e}body.namur-main-active #map:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #4e382c55;border:8px solid #ac824633;z-index:1}
