.profile-button{display:flex;align-items:center;gap:5px;background:#edf1e3;border:1px solid #dce4cd;border-radius:22px;padding:3px 10px 3px 4px;font-size:11px;font-weight:850}.profile-button img{width:30px;height:32px;object-fit:contain}.world-scene{height:560px}.walk-controls{position:absolute;left:20px;bottom:65px;z-index:4;display:grid;grid-template-columns:repeat(3,36px);gap:5px;touch-action:none}.walk-controls button{width:36px;height:36px;border-radius:10px;background:#fffdf3e8;color:#698365;box-shadow:0 3px 0 #b8c8aa;border:1px solid #fff;font-size:21px;font-weight:800;touch-action:none;user-select:none}.walk-controls button:active{background:#ffd576;box-shadow:0 1px 0 #bba158}.walk-up{grid-column:2}.walk-controls button:nth-child(2){grid-column:1}.nearby-quest{position:absolute;right:20px;bottom:70px;z-index:4;border-radius:14px;background:#ffdc86;border:2px solid #fff4cb;box-shadow:0 4px 0 #c5a453;color:#765c31;font-weight:800;padding:12px 17px;font-size:12px}.world-route{display:flex;align-items:center;gap:15px;margin-top:24px;padding:18px 21px;background:#eef3e5;border:1px solid #dce7d0;border-radius:18px}.route-progress{display:flex;align-items:center;gap:10px;flex:1}.route-world-icon{font-size:30px}.route-text strong{display:block;font-size:13px}.route-text small{font-size:10px;color:#8b9b7c;display:block;margin-top:4px}.route-orbs{display:flex;gap:5px;margin-top:7px}.route-orbs i{width:12px;height:12px;background:#d6dfc8;border-radius:50%;border:2px solid #e7eedb}.route-orbs i.done{background:#f2c563;border-color:#ffe6a7}.route-button{border-radius:11px;padding:12px 16px;background:#fff9df;border:1px solid #e5cf94;box-shadow:0 3px 0 #ded0a7;color:#836c3c;font-size:12px;font-weight:800}.route-button:disabled{background:#e5eada;border-color:#d6dfc8;box-shadow:none;color:#829573;opacity:1}.route-back{background:none;font-size:11px;color:#77906d;text-align:left}.profile-dialog{width:570px}.avatar-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:19px 0}.avatar-choice{cursor:pointer;display:flex;flex-direction:column;align-items:center;padding:12px;border:2px solid #e2e7d7;background:#f4f5eb;border-radius:20px;position:relative}.avatar-choice:has(input:checked){background:#fff3cd;border-color:#ecc66d;box-shadow:0 4px 0 #eed89e}.avatar-choice input{position:absolute;top:12px;left:12px;accent-color:#ba8e36;width:18px;height:18px}.avatar-choice img{height:177px;width:100%;object-fit:contain}.avatar-choice strong{font-size:13px;margin:9px 0 0}.grade-label{display:grid;gap:8px;font-weight:750;font-size:12px}.profile-dialog .primary-button{width:100%;margin-top:15px}.reward-reveal{background:linear-gradient(145deg,#fff5cf,#f5ecd8);border:1px solid #ead79b;border-radius:20px;padding:19px;margin:18px 0;text-align:left;position:relative;animation:arrive .6s}.reward-reveal .reward-icon{float:left;margin:0 15px 8px 0;font-size:48px;filter:drop-shadow(0 4px 0 #d4b87930)}.reward-reveal small{font-size:8px;letter-spacing:1.5px;color:#a48b4a;font-weight:850}.reward-reveal h3{font-size:19px;margin:7px 0;letter-spacing:-.4px}.reward-reveal p{font-size:12px;line-height:1.7;color:#95835b;margin:0}.reward-reveal:after{content:'';display:block;clear:both}.reward-chest{width:155px;height:155px;object-fit:contain;animation:pulse 1.8s infinite}.result-map-progress{font-size:12px;color:#7c936c;margin:16px 0}.result-map-progress .route-orbs{justify-content:center;margin-top:8px}.new-world-card{background:#e5f1e2;border:1px solid #c7ddbf;padding:16px;border-radius:15px;margin:15px 0}.new-world-card strong{font-size:15px;display:block;color:#50734c}.new-world-card p{font-size:11px;line-height:1.6;color:#76916b}.new-world-card button{width:100%;justify-content:center}.collection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:17px 0}.collection-item{border:1px solid #e7dfc1;background:#fff8e3;border-radius:13px;padding:14px;display:flex;gap:11px;align-items:flex-start}.collection-item>span{font-size:30px}.collection-item strong{font-size:12px;display:block;line-height:1.4}.collection-item small{display:block;font-size:9px;color:#a29877;margin-top:5px}.collection-item p{font-size:10px;line-height:1.7;color:#8a947a;margin:6px 0 0}.collection-empty{font-size:13px;line-height:1.8;color:#8b987d;text-align:center;padding:15px}.travel-dialog{text-align:center;overflow:hidden;background:linear-gradient(#f9fcf0,#e9f2e4)}.travel-scene{display:flex;align-items:center;justify-content:center;gap:25px;padding:30px 0 10px}.travel-world{font-size:70px;animation:arrive .7s}.travel-arrow{font-size:35px;color:#adc28f}.travel-dialog h2{font-size:30px;margin:13px 0}.travel-dialog p{font-size:14px;line-height:1.8;color:#7f9276}.travel-dialog .primary-button{width:100%;margin-top:23px}.travel-dialog img{height:130px;width:130px;object-fit:contain;animation:arrive .7s}.counting-help{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0 22px;padding:13px;background:#fff5d9;border-radius:14px;flex-wrap:wrap}.counter-group{display:flex;flex-wrap:wrap;gap:6px;max-width:160px;justify-content:center}.counter-dot{display:inline-block;width:17px;height:17px;background:#edba55;border-radius:50%;box-shadow:inset 0 2px 0 #ffe3a0,0 2px 0 #cb9d43}.counter-dot.removed{background:#d9dfd0;box-shadow:none;text-decoration:line-through;position:relative}.counter-dot.removed:after{content:'';position:absolute;top:7px;left:-1px;width:19px;height:2px;background:#ae9d87;transform:rotate(-35deg)}.counter-operator{font-size:22px;color:#a18d5d}.cp-reading{font-size:25px;line-height:1.8;letter-spacing:.5px}.grade-tag{display:inline-block;background:#e7eedb;border-radius:6px;font-size:10px;font-weight:800;padding:5px 7px;color:#748b62;margin-left:6px}.world-route .current-grade{font-size:10px;margin-top:5px;color:#97a387}.world-transition{animation:world-appear .7s ease-out}@keyframes world-appear{from{opacity:.3;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@media(max-width:800px){.world-scene{height:520px}.world-route{flex-wrap:wrap;gap:12px;padding:16px}.route-progress{min-width:200px}.route-back{font-size:10px}.route-button{font-size:11px}.header-actions{gap:5px}.profile-button img{width:25px;height:29px}.profile-button{padding-right:7px;font-size:9px}}@media(max-width:480px){.world-scene{height:450px}.walk-controls{left:13px;bottom:60px;grid-template-columns:repeat(3,32px);gap:4px}.walk-controls button{width:32px;height:32px;font-size:18px}.nearby-quest{right:14px;bottom:76px;padding:10px;font-size:10px;max-width:150px}.route-progress{min-width:180px}.route-button{flex:1;text-align:center}.world-route{margin-top:20px;padding:13px}.route-text strong{font-size:12px}.avatar-choice img{height:150px}.avatar-choice{padding:10px 5px}.collection-grid{grid-template-columns:1fr}.travel-world{font-size:53px}.travel-scene{gap:15px}.travel-dialog h2{font-size:25px}.profile-button img{width:20px;height:25px}.header-actions .icon-button{width:29px;height:29px}.header-actions .star-counter{min-width:56px;padding-right:8px;font-size:13px;gap:5px}.header-actions .star-counter img{width:24px}.brand strong{font-size:18px}.brand-symbol{width:31px;height:31px}.counter-dot{width:14px;height:14px}.counter-group{max-width:130px}}
.result-view .result-art{height:115px;width:115px}.result-view h2{margin:9px 0}.result-description{margin:12px auto}.result-stars{font-size:28px}.reward-reveal{margin:13px 0}.result-map-progress{margin:12px 0}
@media(prefers-reduced-motion:reduce){.world-transition,.reward-chest,.reward-reveal,.travel-world{animation:none}}
.map-view-controls{position:absolute;right:16px;top:58px;display:flex;gap:4px;z-index:5;background:#fffff3e8;padding:5px;border:1px solid #fff;border-radius:13px;box-shadow:0 4px 15px #35553d15}.map-view-controls button{background:transparent;min-width:32px;min-height:34px;border-radius:8px;font-weight:800;font-size:14px;color:#506c62}.map-view-controls button:hover{background:#ffe8a3}#zoom-reset{font-size:10px}#expand-map{font-size:11px;padding:0 10px;border-left:1px solid #d4decf;border-radius:0}.world-stage-wrap.expanded-map{position:fixed;inset:12px;z-index:40;border-radius:22px;box-shadow:0 0 0 30px #203d42e8;animation:none}.expanded-map .world-scene{height:100%;width:100%}.map-is-expanded{overflow:hidden}.expanded-map .map-view-controls{top:66px}.expanded-map .walk-controls{bottom:80px;left:28px}.expanded-map .nearby-quest{bottom:90px;right:25px}.profile-dialog{width:760px}.avatar-choices{grid-template-columns:repeat(4,1fr);gap:10px}.avatar-choice img{height:125px}.avatar-choice strong{font-size:11px}.avatar-choice small{font-size:9px;color:#748574;margin-top:5px}.avatar-choice{padding:20px 5px 10px}.avatar-choice input{top:8px;left:8px}.world-scene{height:640px}@media(max-width:800px){.world-scene{height:560px}.avatar-choices{grid-template-columns:repeat(2,1fr)}.avatar-choice img{height:115px}}@media(max-width:480px){.world-scene{height:480px}.map-view-controls{right:10px;top:54px}.map-view-controls button{min-width:29px;min-height:30px}.expanded-map.world-stage-wrap{inset:0;border-radius:0}.preview-banner{top:98px}}

.quest-subject-label{display:grid;gap:7px;font-size:12px;font-weight:750;margin:0 0 18px;grid-column:1/-1}.quest-subject-label select{width:100%;padding:10px;border:1px solid #d2ddc6;border-radius:10px;background:#fffef7;color:#365b47}.question-flag{margin:16px auto 24px;text-align:center}.question-flag img{display:block;width:240px;max-width:80%;height:150px;object-fit:contain;margin:auto;filter:drop-shadow(0 3px 7px #263e3525)}

.chest-stage{position:relative;width:200px;height:180px;margin:8px auto 4px;perspective:650px;isolation:isolate;animation:chest-wiggle 2.4s ease-in-out infinite;transform-origin:50% 80%}.chest-body{position:absolute;left:26px;bottom:16px;width:148px;height:78px;border:5px solid #e5ad40;border-radius:8px 8px 17px 17px;background:repeating-linear-gradient(0deg,#ad6633 0 20px,#884822 21px 23px);box-shadow:inset 0 6px 0 #f3c065,inset 0 -8px 0 #794326,0 7px 0 #845c36}.chest-lid{position:absolute;left:22px;top:39px;width:156px;height:56px;background:linear-gradient(#e6b469,#bd7b37);border:5px solid #f6cd67;border-radius:44px 44px 5px 5px;transform-origin:50% 100%;box-shadow:inset 0 6px 0 #ffe6a2,0 4px 0 #7b4f28;transition:transform .7s cubic-bezier(.2,.7,.3,1)}.chest-lid:before,.chest-lid:after{content:'';position:absolute;top:0;bottom:0;width:13px;background:linear-gradient(90deg,#d49d37,#ffe19a,#dcaa45)}.chest-lid:before{left:20px}.chest-lid:after{right:20px}.chest-lock{position:absolute;z-index:2;top:3px;left:53px;width:32px;height:34px;border-radius:7px;background:#ffd97e;border:3px solid #d29b37;color:#9b6829;font-size:19px;line-height:28px}.chest-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,#fff4aa 0,#ffdd8355 35%,transparent 68%);opacity:.5;transform:scale(.8);transition:opacity .5s,transform .7s}.chest-treasure{position:absolute;left:40px;right:40px;top:80px;display:flex;justify-content:center;gap:6px;opacity:0;transition:transform .7s,opacity .3s}.chest-treasure i{font-size:35px;color:#76c5ce;font-style:normal;text-shadow:0 3px 0 #38888e}.chest-treasure i:nth-child(2){color:#ffd35e;font-size:43px;text-shadow:0 3px 0 #b88234}.chest-treasure i:last-child{color:#c297df;text-shadow:0 3px 0 #8e63b0}.chest-spark{position:absolute;color:#efbd55;font-size:24px}.chest-spark.s1{left:0;top:40px}.chest-spark.s2{right:0;top:105px;font-size:17px}.chest-opening{animation:none}.chest-opening .chest-lid{transform:rotateX(-115deg) translateY(-4px)}.chest-opening .chest-glow{opacity:1;transform:scale(1.5)}.chest-opening .chest-treasure{opacity:1;transform:translateY(-42px)}.hero-victory{animation:hero-cheer .8s ease-in-out 3!important;transform-origin:50% 95%}.flying-reward-star{position:fixed;left:0;top:0;z-index:1000;pointer-events:none;color:#ffd064;font-size:32px;text-shadow:0 2px 0 #a87d31}.counter-celebrates{animation:counter-pop .45s ease-out}.result-stars{animation:stars-reveal .6s .1s both}@keyframes chest-wiggle{0%,65%,100%{transform:rotate(0)}70%{transform:rotate(-3deg)}77%{transform:rotate(3deg)}84%{transform:rotate(-2deg)}91%{transform:rotate(2deg)}}@keyframes hero-cheer{0%,100%{transform:translateY(0) scale(1)}25%{transform:translateY(0) scale(1.07,.94)}55%{transform:translateY(-16px) rotate(-4deg) scale(.97,1.03)}80%{transform:translateY(0) scale(1.05,.96)}}@keyframes counter-pop{40%{transform:scale(1.18)}100%{transform:scale(1)}}@keyframes stars-reveal{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.chest-stage,.hero-victory,.result-stars,.counter-celebrates{animation:none!important}.chest-lid,.chest-glow,.chest-treasure{transition:none}}
