/* A close-up on the selected reference artwork, not a new in-game scene. */
dialog.world-explorer[open]{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;overflow:hidden;border:0;background:#09111d;color:#f7ece6;isolation:isolate}
.world-explorer::backdrop{background:#04060dee}
.explorer-image,.explorer-tint,.explorer-shade,.explorer-frame{position:absolute;inset:0;pointer-events:none}
.explorer-image{inset:-2%;background:center/cover no-repeat;transform:scale(1.04);filter:saturate(.92);will-change:transform,opacity}
.explorer-previous-image{position:absolute;inset:0;background:center/cover no-repeat;pointer-events:none}
.explorer-previous-image[hidden]{display:none}
.explorer-tint{mix-blend-mode:screen;transition:background .55s ease}
.explorer-shade{background:linear-gradient(90deg,#07111ef5 0%,#07111ec7 30%,#10172426 75%),linear-gradient(0deg,#09131dfa 0%,#0c142a44 30%,#10142017 80%,#070c15ac)}
.explorer-frame{inset:22px;border:1px solid #dfebed30;z-index:2}
.explorer-header,.explorer-copy,.explorer-controls{position:absolute;z-index:3}
.explorer-header{inset:max(36px,env(safe-area-inset-top)) 4.7% auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.explorer-brand{font:italic 900 17px/1.2 'Barlow Condensed',sans-serif;letter-spacing:.025em}.explorer-brand span{color:#ff9075}
.explorer-close{min-width:120px;min-height:48px;border:1px solid #e7e4df77;background:#0d1724c9;padding:10px 16px;font-size:13px}.explorer-close span{font-size:23px;vertical-align:middle;margin-left:12px}
.explorer-copy{left:8%;top:43%;transform:translateY(-50%);max-width:min(43vw,560px)}
.explorer-kicker{font:700 12px/1.4 'Barlow Condensed',sans-serif;letter-spacing:.18em;color:#ffb79e}
.explorer-copy h2{font-size:clamp(58px,7vw,112px);line-height:1.08;letter-spacing:-.055em;margin:18px 0 20px;font-weight:900;text-shadow:0 6px 30px #0008}
.explorer-copy>p:not(.explorer-kicker):not(.explorer-source){font-size:clamp(14px,1.15vw,18px);line-height:1.9;color:#f5eee8;max-width:31em}
.explorer-source{font:11px/1.6 sans-serif;color:#e4dad5;background:#0a1019c4;padding:8px 10px;margin-top:24px;border-left:2px solid #e69a85;max-width:36em}
.explorer-controls{bottom:max(6%,env(safe-area-inset-bottom));left:8%;right:8%;display:flex;justify-content:space-between;align-items:end;gap:20px}
.explorer-location{display:flex;align-items:center;gap:18px;font:700 14px 'Barlow Condensed',sans-serif;letter-spacing:.1em}
.explorer-location button{width:48px;height:48px;border:1px solid #d9e3ec88;background:#0b1523c9;font-size:20px}
.explorer-location::after{content:'方向键切换';font:12px/1.4 'Noto Sans SC','Microsoft Yahei',sans-serif;letter-spacing:0;color:#f3d4cc}
@media(any-pointer:coarse){.explorer-has-swipe .explorer-location::after{content:'左右滑动切换'}}
.explorer-image-status:not(:empty){display:inline-block;color:#fff1e8;background:#211219e8;padding:8px 10px;font-size:12px}
.world-explorer-notice:not(:empty){margin-top:10px;color:#fff0e6;background:#211219e8;padding:8px 10px;font-size:12px;max-width:24em}
.explorer-time{border:0;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.explorer-time legend{color:#e3dedc;font-size:11px;margin-bottom:10px}.explorer-time button{min-width:66px;min-height:46px;padding:8px 12px;border:1px solid #d9e3ec6c;background:#0b1523cf;color:#f9efea;font-size:12px}.explorer-time button.active{background:#f4bd9f;color:#19151c;border-color:#f4bd9f}
.explorer-close:hover,.explorer-location button:hover,.explorer-time button:hover{border-color:#ffcfb8}.world-explorer button:focus-visible{outline:3px solid #ffe0b8;outline-offset:3px}
@media(max-width:800px){dialog.world-explorer[open]{overflow-y:auto;overscroll-behavior:contain}.explorer-frame{inset:12px}.explorer-header{inset:max(28px,env(safe-area-inset-top)) 6% auto}.explorer-brand{font-size:14px}.explorer-close{min-width:108px}.explorer-shade{background:linear-gradient(0deg,#08121efc 0%,#091624c9 44%,#101a2922 85%),linear-gradient(90deg,#09131a66,transparent 65%)}.explorer-copy{left:7%;right:7%;top:auto;bottom:34%;max-width:none;transform:none}.explorer-copy h2{font-size:clamp(48px,13vw,72px);margin:12px 0}.explorer-copy>p:not(.explorer-kicker):not(.explorer-source){font-size:14px;line-height:1.65}.explorer-source{margin-top:12px;font-size:10px}.explorer-controls{bottom:max(5%,env(safe-area-inset-bottom));left:7%;right:7%;display:flex;align-items:start;flex-direction:column;gap:12px}.explorer-location button{height:44px;width:44px}.explorer-time{gap:5px}.explorer-time button{min-width:56px;min-height:44px}.explorer-time legend{margin-bottom:6px}}
@media(max-height:650px){.explorer-copy{top:24%;bottom:auto;transform:none}.explorer-copy h2{font-size:clamp(38px,8vh,62px);margin:5px 0}.explorer-source{margin-top:6px}.explorer-controls{bottom:max(3%,env(safe-area-inset-bottom));gap:5px}.explorer-header{top:max(16px,env(safe-area-inset-top))}.explorer-time legend{margin-bottom:3px}}
@media(max-height:650px) and (max-width:800px){dialog.world-explorer[open]{display:flex;flex-direction:column;padding:max(18px,env(safe-area-inset-top)) 7% max(18px,env(safe-area-inset-bottom));gap:18px}.explorer-header,.explorer-copy,.explorer-controls{position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto}.explorer-header{flex:none}.explorer-copy{margin-top:28px;transform:none}.explorer-controls{margin-top:auto;flex:none}.explorer-frame{position:fixed}}
@media(prefers-reduced-motion:reduce){.explorer-tint{transition:none}}
.user-reduce-motion .explorer-tint{transition:none}
