:root{font-family:"Microsoft YaHei","Noto Sans SC",sans-serif;color:#f9f5e9;background:#071b2c;--gold:#ffe0a0;--glass:#071d31d9;--line:#f8d8979c}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button{font:inherit;cursor:pointer}button:focus-visible,#panorama:focus-visible{outline:3px solid #ffca63;outline-offset:3px}button:disabled{opacity:.45;cursor:default}#panorama{position:fixed;inset:0;width:100%;height:100%;cursor:grab;touch-action:none;background:#09213b}#panorama.dragging{cursor:grabbing}#shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(to bottom,#04152bbf,transparent 20%,transparent 61%,#031528dc 100%);z-index:1}#motes{position:fixed;inset:0;pointer-events:none;z-index:2;overflow:hidden}.mote{position:absolute;width:4px;height:4px;border-radius:50%;background:#fff4c4;box-shadow:0 0 12px 5px #ffe4a78c;opacity:0;animation:mote-rise var(--dur) linear infinite;animation-delay:var(--delay)}body[data-scene="night"] .mote{background:#b8dbff;box-shadow:0 0 12px 5px #8cc7ff8c}body[data-scene="payment"] .mote{background:#ffde89;box-shadow:0 0 12px 5px #ffa63688}@keyframes mote-rise{0%{transform:translateY(20px) scale(.3);opacity:0}20%{opacity:.7}80%{opacity:.6}100%{transform:translateY(-65px) scale(1.3);opacity:0}}
.topbar{position:fixed;top:0;left:0;right:0;z-index:6;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 27px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{min-width:225px;text-shadow:0 2px 14px #001}.brand strong{display:block;font-size:24px;font-weight:900;letter-spacing:1px}.brand span{display:block;margin-top:5px;color:#f0d6a4;font-size:12px;letter-spacing:1.5px}.scene-heading{text-align:center;text-shadow:0 2px 16px #001}.scene-heading small{display:block;color:#ffe1a7;font-size:13px;letter-spacing:3px}.scene-heading h1{font-size:clamp(28px,3vw,40px);letter-spacing:3px;margin:5px 0 0}.top-tools{display:flex;gap:8px}.top-tools button,.look-controls button,.scene-nav button,.detail-actions button,.detail-close{border:1px solid var(--line);background:var(--glass);color:#fff5da;border-radius:9px;box-shadow:0 4px 20px #0003;backdrop-filter:blur(9px)}.top-tools button{padding:9px 12px;font-size:14px;white-space:nowrap}.top-tools button:hover,.look-controls button:hover,.scene-nav button:hover{background:#1a4564e8}.mission{position:fixed;z-index:4;left:28px;top:123px;width:min(385px,calc(100vw - 56px));padding:15px 19px;background:#08243dce;border-left:3px solid var(--gold);border-radius:0 12px 12px 0;box-shadow:0 12px 35px #0017;backdrop-filter:blur(10px);pointer-events:none}.mission small{color:#ffe0a0;font-size:13px;letter-spacing:2px}.mission p{font-size:17px;line-height:1.6;margin:7px 0 10px;font-weight:700}.mission #progress{letter-spacing:7px;color:#ffd88a;font-size:22px;white-space:nowrap}.bottom-bar{position:fixed;z-index:5;left:25px;right:25px;bottom:15px;text-align:center;pointer-events:none}.bottom-bar>*{pointer-events:auto}.scene-nav{display:flex;justify-content:center;gap:9px;margin-bottom:13px}.scene-nav button{font-size:17px;font-weight:800;padding:10px 18px;min-width:110px}.scene-nav button span{margin-right:8px}.scene-nav button.active{background:#ffe0a7;color:#16384f;border-color:#fff0cf;box-shadow:0 0 23px #ffdc9e66}.look-controls{display:flex;justify-content:center;align-items:center;gap:8px}.look-controls button{font-size:18px;padding:5px 14px}.look-controls .compass{font-size:24px;width:34px;color:#ffe7b5;text-shadow:0 0 15px #fff}.bottom-bar p{font-size:12px;color:#e8e4db;margin:8px 0 0;text-shadow:0 2px 4px #001}
#glimmer{position:fixed;z-index:5;width:23px;height:23px;left:50%;top:50%;padding:0;transform:translate(-50%,-50%);border:1px solid #fff9d5;border-radius:50%;background:radial-gradient(circle,#fff 0 13%,#ffdd7d 18% 37%,#e88a21a6 55%,transparent 71%);box-shadow:0 0 0 9px #ffdb7b37,0 0 26px 12px #ffc05cba;animation:glimmer 2s ease-in-out infinite;touch-action:manipulation}#glimmer:hover{scale:1.3}#glimmer[hidden]{display:none}#glimmer.found{background:radial-gradient(circle,#fff 0 13%,#b2ffdc 18% 37%,#23ae8fa6 55%,transparent 71%);box-shadow:0 0 0 9px #9af4d431,0 0 26px 12px #85efc5a8}.glimmer-core{position:absolute;inset:8px;border-radius:50%;background:#fff;box-shadow:0 0 8px #fff}@keyframes glimmer{50%{opacity:.72;box-shadow:0 0 0 15px #ffdb7b24,0 0 34px 17px #ffc05c88}}.burst{position:fixed;z-index:7;width:10px;height:10px;border-radius:50%;pointer-events:none;border:2px solid #fff3c9;transform:translate(-50%,-50%) scale(.1);animation:burst .7s ease-out forwards}@keyframes burst{to{transform:translate(-50%,-50%) scale(11);opacity:0}}
.welcome{position:fixed;z-index:8;left:50%;top:50%;transform:translate(-50%,-48%);width:min(560px,90vw);text-align:center;padding:24px 32px 27px;background:#061b30e0;border:1px solid #ecd29a8c;border-radius:18px;box-shadow:0 25px 85px #001b;backdrop-filter:blur(13px)}.welcome[hidden]{display:none}.welcome-mark{font-size:40px;color:#ffe1a6;text-shadow:0 0 22px #ffdd93;animation:mark-glow 2s ease-in-out infinite alternate}.welcome small{display:block;color:#ffe0a1;letter-spacing:3px;font-size:13px;margin-top:2px}.welcome h2{font-size:34px;margin:11px 0;color:#fff8e9}.welcome p{font-size:18px;line-height:1.7;color:#e7eef5;margin:0 0 19px}.welcome button{background:#ffe1a7;border:1px solid #fff1cb;color:#173a55;border-radius:99px;font-size:20px;font-weight:900;padding:11px 35px;box-shadow:0 6px 28px #ffe2a555}.welcome button:hover{background:#fff0ce;transform:translateY(-2px)}.welcome span{display:block;margin-top:13px;font-size:12px;color:#b9cad4}@keyframes mark-glow{to{transform:scale(1.16);opacity:.65}}
.detail[hidden]{display:none}.detail{position:fixed;z-index:9;right:24px;top:50%;transform:translateY(-50%);width:min(420px,calc(100vw - 48px));max-height:calc(100svh - 170px);overflow:auto;background:#071f36ed;border:1px solid #f6d895ac;border-radius:16px;box-shadow:0 18px 70px #000a;backdrop-filter:blur(14px);padding:24px;animation:detail-in .35s ease-out}.detail-close{position:absolute;top:12px;right:13px;width:35px;height:35px;padding:0;font-size:26px;line-height:30px}.detail-head small{font-size:13px;letter-spacing:2px;color:#ffe1a5}.detail-head h2{font-size:31px;color:#fff7e7;margin:9px 42px 14px 0}.detail-effect{height:135px;display:grid;place-items:center;position:relative;border-radius:11px;overflow:hidden;background:radial-gradient(circle,#4d96c36b,#0b3454 67%,#09243a);border:1px solid #a9d2ef5e}.detail-effect span{font-size:75px;z-index:1;filter:drop-shadow(0 7px 10px #001);animation:icon-float 1.5s ease-in-out infinite alternate}.detail-effect i{position:absolute;width:110px;height:110px;border:2px solid #fff2a686;border-radius:50%;animation:ripple 2s ease-out infinite}.detail-effect i:nth-child(3){animation-delay:.6s}.detail-effect i:nth-child(4){animation-delay:1.2s}.detail-observation{font-size:18px;line-height:1.7;font-weight:800;margin:17px 0 8px}.detail-question{font-size:15px;color:#d5e5ee;line-height:1.6;margin:0 0 14px}.detail-impact{background:#173d5d;border-left:3px solid #ffe1a8;padding:10px 13px;font-size:17px;line-height:1.6;margin:0 0 15px}.detail-impact[hidden]{display:none}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-actions button{padding:9px 11px;font-size:14px}.detail-actions button:first-child{background:#ffe1a8;color:#18374e;font-weight:900}.detail-actions button[hidden]{display:none}@keyframes detail-in{from{opacity:0;transform:translate(30px,-50%)}}@keyframes icon-float{to{transform:translateY(-12px) rotate(7deg)}}@keyframes ripple{from{transform:scale(.3);opacity:.9}to{transform:scale(1.6);opacity:0}}
.transition{position:fixed;inset:0;z-index:12;display:grid;place-content:center;text-align:center;background:radial-gradient(circle,#296c8ee9,#09223adf 62%,#041323f5);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s,visibility .3s}.transition.on{opacity:1;visibility:visible}.transition span{font-size:80px;color:#ffe2ac;text-shadow:0 0 45px #ffd06c;animation:spin-in .8s ease-out}.transition strong{font-size:30px;letter-spacing:4px;margin-top:5px}@keyframes spin-in{from{transform:rotate(-100deg) scale(.1);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}.loading{position:fixed;z-index:11;left:50%;top:50%;transform:translate(-50%,-50%);background:#0a2c49e8;color:#fff5d8;border:1px solid #f4d28e;border-radius:11px;padding:13px 19px;font-weight:900;box-shadow:0 10px 40px #0019}.loading[hidden]{display:none}.toast{position:fixed;z-index:15;top:20px;left:50%;transform:translate(-50%,-140%);padding:10px 18px;background:#fff4d5;color:#1d4a64;border:2px solid #dcb366;border-radius:10px;font-weight:900;box-shadow:0 8px 30px #0019;transition:transform .3s}.toast.show{transform:translate(-50%,0)}
@media(max-width:850px){.topbar{padding:12px 13px}.brand{min-width:0}.brand strong{font-size:18px}.brand span{font-size:10px}.scene-heading small{font-size:10px;letter-spacing:1px}.scene-heading h1{font-size:24px;letter-spacing:1px}.top-tools{gap:4px}.top-tools button{padding:6px;font-size:11px}.mission{left:12px;top:80px;padding:8px 11px;width:min(280px,75vw)}.mission p{font-size:12px;line-height:1.45;margin:3px 0}.mission small{font-size:10px}.mission #progress{font-size:15px}.bottom-bar{left:9px;right:9px;bottom:5px}.scene-nav{gap:4px;margin-bottom:7px}.scene-nav button{min-width:0;padding:7px 8px;font-size:13px}.scene-nav button span{margin-right:2px}.look-controls button{font-size:14px;padding:4px 8px}.bottom-bar p{font-size:10px;margin:5px 0}.detail{right:10px;width:min(360px,calc(100vw - 20px));padding:14px;max-height:calc(100svh - 110px)}.detail-head h2{font-size:24px}.detail-effect{height:90px}.detail-effect span{font-size:52px}.detail-observation{font-size:15px}.detail-question{font-size:13px}.detail-impact{font-size:14px}.welcome{padding:16px}.welcome h2{font-size:26px}.welcome p{font-size:14px}}
@media(max-width:540px){.scene-heading{position:absolute;top:55px;left:50%;transform:translateX(-50%);white-space:nowrap}.scene-heading h1{font-size:20px}.mission{top:102px;width:min(245px,65vw)}.top-tools button{font-size:10px;padding:5px}.brand strong{font-size:15px}.brand span{display:none}.scene-nav button{font-size:0;min-width:45px}.scene-nav button span{font-size:20px}.welcome{top:49%;width:92vw}.detail{left:50%;right:auto;top:auto;bottom:95px;transform:translateX(-50%);max-height:55svh;animation:none}.bottom-bar p{display:none}}
body.reduce-motion .mote,body.reduce-motion #glimmer,body.reduce-motion .detail-effect span,body.reduce-motion .detail-effect i{animation:none}

/* The discovered scene opens as one complete image in the center. */
.detail-backdrop[hidden]{display:none}.detail-backdrop{position:fixed;inset:0;z-index:8;background:#03111de0;backdrop-filter:blur(8px);animation:backdrop-in .3s ease-out}
.detail{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(1040px,calc(100vw - 36px));max-height:94svh;padding:17px 20px 20px;overflow:auto;background:#061522f5;border:1px solid #bcd9e269;border-radius:15px;box-shadow:0 28px 90px #000d;animation:detail-center-in .38s cubic-bezier(.2,.8,.2,1)}
.detail-head{padding-right:42px}.detail-head small{font-size:12px}.detail-head h2{font-size:clamp(22px,2.4vw,30px);margin:3px 0 10px}
.detail-close{z-index:2;top:14px;right:15px;width:38px;height:38px;font-size:29px;background:#061522e8}
.detail-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:100%;max-height:57svh;overflow:hidden;border-radius:9px;background:#0b2236}
.detail-image-wrap img{display:block;width:100%;height:auto;max-height:57svh;object-fit:contain;filter:saturate(1.06) contrast(1.02)}
.detail-image-stage{position:relative;flex:none;width:min(100%,114svh);aspect-ratio:2/1}.detail-image-stage img{width:100%;height:100%;max-height:none;object-fit:fill}.detail-marker{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.detail-marker ellipse{fill:none;stroke:#ff4c43;stroke-width:2.6;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0;filter:drop-shadow(0 0 2px #fff9);animation:circle-draw .85s ease-out both}@keyframes circle-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.detail-light{position:absolute;width:22%;aspect-ratio:1;border-radius:50%;left:43%;top:32%;pointer-events:none;background:radial-gradient(circle,#fff9d62a,transparent 68%);mix-blend-mode:screen;animation:scene-glow 2.4s ease-in-out infinite alternate}
.detail[data-scene="night"] .detail-light{left:48%;top:30%;background:radial-gradient(circle,#b9d9ff29,transparent 68%)}
.detail[data-scene="friends"] .detail-light{left:17%;top:42%}
.detail[data-scene="payment"] .detail-light{left:55%;top:43%}
.detail-observation{font-size:clamp(15px,1.55vw,19px);margin:12px 0 2px;line-height:1.45}
.detail-question{font-size:14px;line-height:1.45;margin:0 0 10px}
.detail-impact{font-size:15px;line-height:1.45;margin:7px 0 10px;padding:7px 11px}
.detail-actions{justify-content:flex-end}.detail-actions button{font-size:14px;padding:8px 14px}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes detail-center-in{from{opacity:0;transform:translate(-50%,-47%) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes scene-glow{to{transform:scale(1.45);opacity:.45}}
body.reduce-motion .detail-light,body.reduce-motion .detail-marker ellipse{animation:none}
@media(max-width:850px){.detail{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:calc(100vw - 24px);max-height:94svh;padding:12px}.detail-image-wrap,.detail-image-wrap img{max-height:54svh}.detail-image-stage{width:min(100%,108svh)}.detail-head h2{margin-bottom:8px}.detail-observation{font-size:15px;margin-top:9px}.detail-question{font-size:13px}.detail-impact{font-size:13px}}
@media(max-width:540px){.detail{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);max-height:92svh;animation:detail-center-in .38s cubic-bezier(.2,.8,.2,1)}.detail-image-wrap,.detail-image-wrap img{max-height:43svh}.detail-image-stage{width:min(100%,86svh)}.detail-actions button{font-size:12px;padding:7px 9px}.detail-head h2{font-size:21px}}
