#world-explorer{font-family:var(--font-ui);color:var(--ink)}
.explore-toolbar{position:fixed;z-index:3;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:5px;border:1px solid #fff9;border-radius:24px;background:rgba(255,253,246,.91);box-shadow:0 8px 30px #30365824;backdrop-filter:blur(12px)}
.explore-toolbar button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 15px;border:0;border-radius:20px;background:none;color:#45545a;font:500 .9rem var(--font-ui);cursor:pointer;white-space:nowrap}
.explore-toolbar button:last-child{background:#56796b;color:#fffdf6}.explore-toolbar button:hover{background:#e7eadf}.explore-toolbar button:last-child:hover{background:#45675c}
#world-explorer button:focus-visible,.explore-share:focus-visible{outline:3px solid #ba843b;outline-offset:3px}
.explore-toolbar svg,.explore-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.explore-tip{position:fixed;z-index:3;bottom:90px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;width:max-content;max-width:calc(100% - 32px);padding:11px 15px;border-radius:14px;background:#fffcf2f2;box-shadow:0 8px 25px #3036581a;font-size:.86rem}
.explore-tip[hidden]{display:none}.explore-tip button{border:0;background:none;color:#46695b;font:600 .8rem var(--font-ui);min-width:44px;min-height:32px;cursor:pointer}
#world-places{position:fixed;inset:74px 24px auto auto;box-sizing:border-box;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 160px);margin:0;border:1px solid #ffffffb3;border-radius:24px;background:#fffcf5f5;color:#384b47;box-shadow:0 20px 70px #172d4150;padding:23px;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(16px)}
#world-places::backdrop{background:#25334420;backdrop-filter:blur(2px)}
.explore-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:18px}.explore-head p{font-size:.62rem;letter-spacing:.16em;color:#8b917e;margin:0 0 7px}.explore-head h2{font:500 1.5rem var(--font-ui);margin:0}
.explore-close{font-size:26px;color:#6c796f;background:#e8ebdf;border:0;border-radius:50%;min-width:36px;min-height:36px;cursor:pointer}
.explore-places{display:grid;gap:5px}.explore-place{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:1px solid transparent;border-radius:14px;padding:11px 7px;cursor:pointer;color:inherit;min-height:61px;font-family:var(--font-ui)}
.explore-place:hover,.explore-place:focus-visible{background:#edf0e5;border-color:#dfe6d4}.explore-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:12px;background:#e9eddf;color:var(--place-color,#56796b)}
.explore-place>span:nth-child(2){display:grid;gap:3px;flex:1}.explore-place strong{font-weight:500;font-size:.98rem}.explore-place small{font-size:.72rem;color:#788378;line-height:1.4}.explore-place>span:last-child{color:#8e9b88}
.explore-help{font-size:.72rem;line-height:1.7;margin:16px 0 0;color:#849082;border-top:1px solid #dfe4d8;padding-top:14px}
.explore-share{margin-top:16px;min-height:36px;border:1px solid #d8dfce;border-radius:12px;padding:6px 12px;background:#edf0e5;color:#496652;font:500 .8rem var(--font-ui);cursor:pointer}
#world-explorer.is-covered .explore-toolbar,#world-explorer.is-covered .explore-tip{display:none}
#scene:focus-visible{outline:3px solid #c0b080;outline-offset:-4px}
@media(max-width:600px){.explore-toolbar{bottom:max(17px,env(safe-area-inset-bottom));padding:4px}.explore-toolbar button{padding:0 12px;min-height:40px;font-size:.82rem}.explore-toolbar #world-home span{display:none}.explore-tip{bottom:83px;font-size:.77rem;gap:4px;padding:9px 12px}#world-places{inset:auto 12px max(78px,calc(env(safe-area-inset-bottom) + 72px)) 12px;width:auto;max-width:none;max-height:65dvh;padding:20px}.explore-head h2{font-size:1.35rem}.hud .bottom .profile{font-size:.69rem;padding:10px}.hud .bottom .gb-open{font-size:.69rem;padding:5px 10px 5px 5px}.hud .bottom .gb-open .ico{display:none}.card{bottom:86px!important}.explore-tip span{max-width:225px}}
@media(prefers-reduced-motion:reduce){#world-explorer *, .explore-share{scroll-behavior:auto;transition:none!important}}
.book-access-list{position:absolute;left:16px;top:90px;max-height:calc(100dvh - 210px);max-width:260px;overflow:auto;padding:10px;list-style:none;background:var(--plate);border-radius:14px;opacity:0;pointer-events:none;z-index:5}.book-access-list:focus-within{opacity:1;pointer-events:auto}.book-access-list button{border:0;background:transparent;text-align:left;padding:10px;font:inherit;color:var(--ink)}

@media(max-width:600px){.hud .bottom{transform:translateY(-62px)}.hud .bottom .profile,.hud .bottom .gb-open{min-height:36px;display:flex;align-items:center}.explore-tip{bottom:134px}}

@media(max-width:600px){.hud .bottom{align-items:center}.hud .bottom .profile,.hud .bottom .gb-open{box-sizing:border-box;min-height:40px;padding:10px 12px}}

/* A small compass stays reachable; return-home appears after navigating. */
.explore-toolbar{top:76px;right:16px;bottom:auto;left:auto;transform:none;flex-direction:column;border-radius:24px;padding:4px;gap:4px}
.explore-toolbar button{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%}.explore-toolbar button span{display:none}
.explore-toolbar #world-home{display:none}#world-explorer.has-moved #world-home,#world-explorer[data-active] #world-home{display:flex}
.explore-tip{display:none}.explore-close{min-width:44px;min-height:44px}
#world-places{right:76px;max-height:calc(100dvh - 110px)}
@media(max-width:600px){.explore-toolbar{top:76px;right:16px}.hud .bottom{transform:none!important}#world-places{inset:auto 12px 76px;width:auto;max-height:calc(100dvh - 164px)}.card{bottom:max(78px,calc(env(safe-area-inset-bottom) + 72px))!important}}
