:root{font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#173d39;background:#0e332f;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #173d39;--cream: #fff8df;--cream-strong: #fff2bd;--forest: #155b4e;--forest-dark: #0d4038;--mint: #7ee0c4;--gold: #ffc95c;--purple: #8c76d9;--shadow: 0 18px 48px rgba(3, 24, 24, .26)}*{box-sizing:border-box}html,body,#root{margin:0;min-width:320px;min-height:100%}body{min-height:100vh;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible{outline:4px solid #fff4a8;outline-offset:3px}.app-shell{min-height:100vh;position:relative;background:radial-gradient(circle at 50% 10%,#377d6d 0,#133e38 55%,#092926);overflow:hidden}.topbar{position:fixed;z-index:50;top:14px;left:50%;transform:translate(-50%);width:min(1160px,calc(100% - 32px));height:64px;padding:8px 12px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.58);border-radius:22px;background:#fffbe4e6;box-shadow:0 10px 30px #07282438;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-mini{display:flex;gap:8px;align-items:center;font-weight:800;color:var(--forest)}.brand-mini svg{color:#4fa769}.topbar-stats{margin-left:auto;display:flex;gap:8px;align-items:center}.stat-pill{height:42px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;border-radius:14px;color:#3b4e42;font-weight:800;background:#fff;border:1px solid #e7dcae}.stat-pill svg{color:#b87cc2}.stat-pill.assist svg{color:#eeb12d}.stat-copy{display:grid;gap:0;line-height:1.05}.stat-copy small{color:#718278;font-size:10px;font-weight:800}.stat-copy strong{color:#2f473d;font-size:14px;white-space:nowrap}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;border:0;border-radius:14px;color:#fff;background:var(--forest)}.icon-button.subtle{color:var(--forest);background:#edf5e8}.sound-toggle{position:fixed;z-index:60;right:20px;bottom:18px;width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:#fff8dfeb;color:var(--forest);box-shadow:0 8px 24px #00000038}.start-screen,.scene-screen,.celebration-screen,.reward-screen,.challenge-screen,.preview-complete,.map-screen,.final-ritual-screen,.treasure-complete-screen{min-height:100vh;position:relative;display:grid;place-items:center;padding:98px 28px 40px}.start-screen{isolation:isolate;background:linear-gradient(90deg,#07241ea8,#07241e2e 55%,#07241e61),url(/assets/source/start-background.png) center / cover no-repeat}.start-screen:before,.map-screen:before,.scene-screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at 45% 25%,rgba(255,255,205,.16),transparent 34%)}.start-glow{position:absolute;z-index:-1;width:60vw;height:60vw;left:-20vw;top:-20vw;border-radius:50%;background:#ffe1783d;filter:blur(60px)}.start-card{width:min(580px,90vw);justify-self:start;margin-left:clamp(0px,7vw,110px);color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.28)}.eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;font-weight:800;letter-spacing:.08em;color:#d6ffcf}.start-card h1{margin:0;font-family:STKaiti,KaiTi,PingFang SC,sans-serif;font-size:clamp(58px,8vw,104px);font-weight:700;line-height:.96;letter-spacing:.03em}.start-card h1 span{color:#ffe386;text-shadow:0 3px 0 #6b4c22,0 10px 26px rgba(255,211,100,.28)}.start-card p{max-width:510px;font-size:clamp(18px,2vw,24px);line-height:1.7;font-weight:600}.start-note{margin-top:16px;display:flex;align-items:center;gap:7px;font-size:14px;color:#ffffffd9}.primary-button,.secondary-button,.spell-button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:16px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.primary-button{color:#24443a;background:linear-gradient(180deg,#ffe485,#ffc654);box-shadow:0 7px #b97b2e,0 12px 24px #0003}.secondary-button{color:var(--forest-dark);background:#edf6de;border:1px solid #b8d9ae}.large{min-height:62px;padding:0 34px;font-size:18px}.primary-button:hover,.secondary-button:hover,.spell-button:hover{transform:translateY(-2px);filter:brightness(1.04)}.primary-button:active,.spell-button:active{transform:translateY(4px);box-shadow:0 3px #b97b2e}.fairy-wrap{position:absolute;right:clamp(20px,7vw,120px);bottom:0;width:clamp(150px,17vw,230px);aspect-ratio:3 / 8;pointer-events:none;filter:drop-shadow(0 18px 25px rgba(3,29,27,.28))}.fairy-sprite{width:100%;height:100%;background-image:url(/assets/source/fairy-poses.png);background-size:400% 100%;background-repeat:no-repeat;mix-blend-mode:screen}.glass-panel{border:2px solid rgba(255,255,255,.68);background:linear-gradient(150deg,#fffbe3f5,#f4fbe1e8);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.map-screen{display:block;color:#fff;background:linear-gradient(#082d263d,#082d2685),url(/assets/source/map-background.png) center / cover no-repeat}.map-heading{position:relative;z-index:2;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.34)}.map-heading h2{margin:0 0 8px;font-size:clamp(28px,4vw,44px)}.map-heading p{margin:0;color:#edffe8}.map-canvas{position:relative;width:min(1160px,94vw);height:min(66vh,620px);margin:14px auto 0}.map-node{position:absolute;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;border:4px solid rgba(255,255,255,.8);display:grid;place-items:center;font-size:21px;font-weight:900;box-shadow:0 7px #2d321a66,0 10px 22px #00000047}.map-node-label{position:absolute;top:72px;min-width:80px;color:#fff;font-size:13px;text-shadow:0 2px 5px #0d302c}.map-node.unlocked{background:linear-gradient(#fff2a6,#f4b645);color:#5d461f}.map-node.completed{background:linear-gradient(#8ee0c2,#39a686);color:#fff}.map-node.locked{width:54px;height:54px;border-width:2px;color:#ffffffb3;background:#2b3e3c94;box-shadow:none}.map-node.locked .map-node-label{top:57px;color:#ffffffbd}.final-chest{position:absolute;right:0;top:2%;display:grid;place-items:center;border:0;color:#ffe587;background:transparent;font-weight:800;text-shadow:0 2px 7px #000}.final-chest svg{width:70px;height:70px}.final-chest:disabled{opacity:.62}.final-chest.ready{cursor:pointer;filter:drop-shadow(0 0 15px rgba(255,224,102,.82));animation:chest-ready 1.6s ease-in-out infinite}.map-legend{position:absolute;left:24px;bottom:24px;display:flex;gap:16px;padding:10px 14px;border-radius:16px;color:#25473e;background:#fffae2e6;font-size:13px;font-weight:700}.map-legend span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:12px;height:12px;border-radius:50%;background:#f2b848}.legend-dot.done{background:#4db693}.legend-dot.future{background:#7d918e}.scene-screen{background-position:center;background-size:cover}.spell-panel{width:min(650px,calc(100vw - 48px));margin-right:min(20vw,250px);padding:34px;border-radius:28px}.spell-panel .eyebrow,.puzzle-card .eyebrow,.reward-panel .eyebrow,.challenge-panel .eyebrow,.preview-card .eyebrow,.celebration-card .eyebrow{color:#438672}.spell-panel h2{margin:0;font-size:clamp(25px,3vw,38px);color:var(--forest-dark)}.spell-panel p{font-size:18px;line-height:1.7}.spell-panel small{display:block;margin-top:14px;color:#617a6d}.spell-button{min-height:66px;font-size:23px;color:#493e24;background:linear-gradient(180deg,#fff39c,#f6bd42);box-shadow:0 7px #9a6b2f,0 14px 32px #4c371340}.assist-banner{margin:16px 0;padding:12px 14px;display:flex;gap:8px;align-items:center;border-radius:14px;color:#5b4725;background:#fff2b9;border:1px solid #e0bd5d;font-weight:700}.puzzle-scene{align-items:center}.puzzle-card{position:relative;z-index:2;width:min(960px,calc(100vw - 48px));min-height:610px;margin-right:min(14vw,180px);padding:26px 28px;border-radius:28px}.puzzle-card-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.puzzle-card-head h2{margin:0;font-size:clamp(25px,3vw,36px)}.progress-dots{display:flex;gap:8px}.progress-dot{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#607568;background:#e2eadc;border:2px solid transparent;font-weight:800}.progress-dot.active{border-color:var(--level-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--level-color),transparent 70%)}.progress-dot.correct,.progress-dot.assisted{color:#fff;background:#4fb28e}.progress-dot.incorrect{color:#845f33;background:#f2cf8a}.instruction{margin:14px 0 12px;font-size:18px;font-weight:700}.narration-box{min-height:72px;display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:18px;color:#32473f;background:#ffffffc7;border:1px solid #d8d9b9}.narration-box>svg{flex:0 0 auto;color:#6f78bd}.narration-box strong{flex:1;font-size:clamp(17px,2vw,21px)}.narration-actions{display:flex;gap:7px}.narration-actions button{min-height:42px;padding:0 12px;display:inline-flex;gap:6px;align-items:center;border:0;border-radius:12px;color:#35594e;background:#e6f2e2;font-weight:700}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.choice-card{min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:2px solid #d6d7b2;border-radius:22px;color:#385a50;background:linear-gradient(#fffef4,#edf6dd);box-shadow:0 6px #b8b38c;font-size:20px;font-weight:800;transition:.18s ease}.choice-card:hover{transform:translateY(-4px);border-color:var(--level-color);box-shadow:0 10px #b8b38c}.choice-card svg{color:#5d9c78}.hint-row{min-height:62px;display:flex;gap:12px;align-items:center;margin-top:16px}.hint-bubble{flex:1;padding:13px 16px;border-radius:16px 16px 16px 4px;color:#45584f;background:#fff4c7;border:1px solid #e5cc7a}.feedback-panel{margin-top:24px;padding:17px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border-radius:20px}.feedback-panel.correct{color:#265e4e;background:#dff6df;border:1px solid #8bccae}.feedback-panel.try-again{color:#6c552d;background:#fff0cb;border:1px solid #e2c170}.feedback-panel p{margin:4px 0 0}.feedback-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#4fb28e}.try-again .feedback-icon{background:#d8a54f}.drag-stage{position:relative;min-height:315px;margin-top:16px;overflow:hidden;border-radius:22px;background:linear-gradient(#ffffff1a,#ffffff38);border:1px dashed rgba(56,102,83,.3);touch-action:none}.drop-target{position:absolute;border:2px dashed rgba(255,255,255,.55);border-radius:18px;color:transparent;background:#5ccdac0d;transition:.18s ease}.drop-target.ready{color:#183e37;background:#fff6b7d1;border-color:#f0c955}.drop-target span{position:absolute;left:50%;bottom:-30px;transform:translate(-50%);white-space:nowrap;padding:3px 8px;border-radius:8px;color:#345146;background:#ffffffeb;font-size:12px;font-weight:700}.draggable-token{position:absolute;z-index:4;transform:translate(-50%,-50%);min-width:98px;min-height:64px;display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #d2a945;border-radius:18px;color:#4b4b2e;background:#fff0a9;box-shadow:0 7px 16px #00000038;font-weight:800;touch-action:none}.draggable-token.selected{box-shadow:0 0 0 5px #ffe46e8c,0 10px 20px #0000003d}.draggable-token.dragging{transform:translate(-50%,-50%) scale(1.08)}.drag-help{position:absolute;bottom:10px;left:12px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:11px;color:#345d50;background:#ffffffdb;font-size:13px;font-weight:700}.celebration-screen,.reward-screen,.challenge-screen,.preview-complete{color:var(--ink);background:linear-gradient(135deg,#153f39,#437b67 55%,#293c59)}.celebration-card,.reward-panel,.challenge-panel,.preview-card{position:relative;z-index:2;width:min(800px,calc(100vw - 48px));padding:36px;border-radius:30px;text-align:center}.celebration-card h2,.reward-panel h2,.challenge-panel h2,.preview-card h2{margin:0;font-size:clamp(29px,4vw,44px)}.celebration-card>p,.reward-panel>p,.challenge-panel>p,.preview-card>p{font-size:17px;line-height:1.7}.gem-fragment,.preview-trophy{width:112px;height:112px;margin:-84px auto 18px;display:grid;place-items:center;border-radius:50%;color:#e885ce;background:radial-gradient(circle,#fff7bc,#ffd36e);box-shadow:0 0 44px #ffde74b3}.gem-fragment svg,.preview-trophy svg{width:70px;height:70px}.result-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:20px 0}.result-strip span{display:inline-flex;gap:6px;align-items:center;padding:9px 12px;border-radius:12px;background:#edf1db;font-size:13px;font-weight:700}.result-strip .correct,.result-strip .assisted{color:#286653;background:#dbf2dd}.perfect-banner{margin:18px auto;padding:12px 16px;border-radius:14px;color:#5c4722;background:#fff0b7;border:1px solid #dfbe58;font-weight:800}.reward-grid,.challenge-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.reward-card{min-height:240px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:2px solid #d4d7b9;border-radius:24px;color:#2b4d43;background:linear-gradient(#fffef3,#edf4df);box-shadow:0 7px #aeb08e;text-align:center;transition:.18s ease}.reward-card:hover{transform:translateY(-5px);box-shadow:0 12px #aeb08e}.reward-card strong{font-size:21px}.reward-card p{margin:0;line-height:1.6}.reward-card small{padding:7px 10px;border-radius:10px;color:#53695e;background:#ffffffb3}.reward-icon{width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:#fff}.reward-icon svg{width:48px;height:48px}.assist-card{border-color:#ebc75e;background:linear-gradient(#fffbe1,#fff0a9)}.assist-card .reward-icon{color:#e7ad26}.shield-card{border-color:#9a93d9;background:linear-gradient(#faf5ff,#e7e1ff)}.shield-card .reward-icon,.shield-card>svg{color:#7868c1}.challenge-panel blockquote{margin:24px 0;padding:22px;border-radius:18px;color:#334d45;background:#fff;border:1px solid #d9d5ae;font-size:clamp(20px,3vw,28px);font-weight:800;line-height:1.7}.challenge-panel .primary-button{margin:22px auto 14px}.challenge-panel>small{display:block;color:#617368}.challenge-actions .reward-card{min-height:190px}.challenge-panel>.fairy-wrap{right:-170px;width:220px}.gem-row{display:grid;grid-template-columns:repeat(10,1fr);gap:7px;margin:24px 0}.gem-row>span{aspect-ratio:1;display:grid;place-items:center;border-radius:12px;color:#a8b1a8;background:#e6e9dc}.gem-row>span.collected{color:#c36db5;background:#ffe0f4;box-shadow:inset 0 0 0 2px #e9a5d8}.preview-summary{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:24px}.preview-summary span{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:12px;background:#edf3df;font-size:13px;font-weight:700}.final-ritual-screen,.treasure-complete-screen{color:var(--ink);background:linear-gradient(#0c1a2629,#0c1a2666),url(/assets/backgrounds/levels/level-10-gem-room-bg.png) center / cover no-repeat;overflow:hidden}.final-ritual-panel,.treasure-complete-card{position:relative;z-index:20;width:min(570px,calc(100vw - 44px));margin-left:3vw;padding:28px;border-radius:28px;text-align:center}.final-ritual-panel .eyebrow,.treasure-complete-card .eyebrow{color:#4f8c75}.final-ritual-panel h2,.treasure-complete-card h2{margin:4px 0;font-size:clamp(28px,3.8vw,43px)}.final-ritual-panel>p,.treasure-complete-card>p{line-height:1.6}.final-ritual-panel .gem-row{margin:17px 0}.final-ritual-panel .spell-button{width:auto;margin:0 auto;padding:13px 22px}.final-key-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:70px;padding:7px 18px;border:2px solid #e3bd55;border-radius:18px;color:#24483f;background:linear-gradient(180deg,#fffce1,#ffe48a);box-shadow:0 7px #a8772e,0 12px 24px #342c1033;font-weight:900;cursor:pointer}.final-key-button img{width:58px;height:68px;object-fit:contain}.final-key-button.selected{border-color:#75b79d;background:linear-gradient(180deg,#edffe9,#bfe9b1);box-shadow:0 5px #4e8a70,0 0 24px #ffe668a6}.ritual-object{position:absolute;z-index:16;display:grid;place-items:center;border:0;color:#fff7c2;background:transparent;font-weight:900;text-shadow:0 2px 6px #173832;transition:.25s ease}.ritual-object img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(0,0,0,.35))}.ritual-object span{padding:4px 10px;border-radius:10px;background:#193e36c7}.ritual-object.hidden{opacity:0;pointer-events:none;transform:scale(.65)}.ritual-gem{left:61%;top:46%;width:clamp(100px,13vw,170px);height:clamp(120px,16vw,200px)}.ritual-chest{right:8%;bottom:11%;width:clamp(170px,22vw,285px);height:clamp(150px,20vw,250px)}.ritual-chest img{height:calc(100% - 34px)}.ritual-chest span{position:absolute;bottom:0}.ritual-chest.ready{cursor:pointer;filter:drop-shadow(0 0 24px #ffe478);animation:chest-ready 1.4s ease-in-out infinite}.opened-chest-art{position:absolute;z-index:8;right:8%;bottom:6%;width:min(36vw,430px);max-height:48vh;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(0,0,0,.4))}.treasure-complete-card{margin-left:4vw}.treasure-stars{position:absolute;z-index:9;right:7%;top:17%;width:min(35vw,440px);display:flex;justify-content:center;gap:10px;color:#ffe16a;filter:drop-shadow(0 0 10px #ffdb55)}.treasure-stars svg{width:clamp(26px,3vw,42px);height:clamp(26px,3vw,42px)}.treasure-complete-screen .fairy-wrap{right:1%}.treasure-complete-screen .explorer-wrap{left:2%;width:clamp(120px,14vw,180px)}.puzzle-scene{display:block;padding:0;overflow:hidden}.puzzle-card.puzzle-hud{position:absolute;z-index:24;top:94px;left:clamp(18px,4vw,58px);width:min(500px,calc(100vw - 36px));min-height:0;margin:0;padding:18px 19px 17px;border:2px solid rgba(112,77,32,.58);border-radius:18px 22px 20px 16px;background:linear-gradient(135deg,#fffce2f7,#f6e8b4f2);box-shadow:0 10px #50391947,0 18px 42px #0c201b57;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.puzzle-card.puzzle-hud:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;z-index:-1;border:1px solid rgba(136,96,42,.32);border-radius:13px 17px 15px 11px;pointer-events:none}.puzzle-card.scene-choice-hud{top:86px;left:clamp(14px,2.2vw,34px);transform:none;width:min(410px,calc(100vw - 28px));padding:14px 15px 13px}.puzzle-card.scene-choice-hud .puzzle-card-head h2{font-size:clamp(22px,2.2vw,27px)}.puzzle-card.scene-choice-hud .instruction{margin:6px 0;font-size:14px;line-height:1.45}.puzzle-card.scene-choice-hud .narration-box{min-height:48px;padding:7px 9px}.puzzle-card.scene-choice-hud .narration-box strong{font-size:15px;line-height:1.4}.puzzle-card.scene-choice-hud .narration-actions button{min-height:38px}.puzzle-card.scene-choice-hud .hint-row{margin-top:7px;min-height:42px}.puzzle-card-head h2{font-size:clamp(23px,2.5vw,31px)}.puzzle-card.puzzle-hud .instruction{margin:9px 0;font-size:16px}.puzzle-card.puzzle-hud .narration-box{min-height:58px;padding:9px 11px}.puzzle-card.puzzle-hud .narration-box strong{font-size:17px}.puzzle-card.puzzle-hud .choice-grid{margin:13px 0 8px;gap:9px}.puzzle-card.puzzle-hud .choice-card{min-height:88px;border-radius:14px;border-width:1px;box-shadow:0 4px #b8a46f;font-size:16px}.puzzle-card.puzzle-hud .choice-card svg{width:30px;height:30px}.puzzle-card.puzzle-hud .hint-row{margin-top:10px;min-height:48px}.puzzle-card.puzzle-hud .feedback-panel{margin-top:12px;padding:12px;grid-template-columns:auto 1fr}.puzzle-card.puzzle-hud .feedback-panel .primary-button{grid-column:1 / -1;width:100%}.progress-dots{padding:4px;border-radius:14px;background:#5e80581a}.progress-dot{width:34px;height:34px;border-radius:11px 14px 12px 10px;color:#63705c;background:transparent}.progress-dot.active{border-color:#d0a749;background:#fff7c8;box-shadow:none}.progress-dot.correct{color:#23664f;background:#d6edd3}.progress-dot.assisted{color:#735caf;background:#e8e0ff}.progress-dot.incorrect{color:#785929;background:#f1d49a}.scene-choice-layer{position:fixed;z-index:18;top:0;right:0;bottom:0;left:0;pointer-events:none}.scene-hotspot{position:absolute;transform:translate(-50%,-50%);width:72px;height:72px;padding:0;border:0;border-radius:50%;background:transparent;pointer-events:auto;transition:transform .16s ease,background .16s ease}.scene-hotspot:hover{transform:translate(-50%,-50%) scale(1.12)}.scene-hotspot img{position:relative;z-index:2;display:block;width:100%;max-height:18vh;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(23,52,37,.28));pointer-events:none}.scene-hotspot.scene-object,.scene-hotspot.scene-number{height:auto;min-width:72px;min-height:72px;padding:7px;display:grid;place-items:center;border-radius:22px;background:#fffad529}.scene-hotspot.scene-number{aspect-ratio:1.18;color:#3c573e;background:linear-gradient(180deg,#fffcd8f5,#ffda70f5);border:2px solid #f0c858;box-shadow:0 6px #754f1ab3,0 12px 25px #1c311d47}.scene-option-label{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-height:28px;margin-top:3px;padding:4px 9px;border-radius:11px;color:#2f5146;background:#fffde5f5;border:1px solid rgba(126,98,39,.36);box-shadow:0 3px 9px #0000002e;font-size:clamp(13px,1.35vw,18px);font-weight:900;white-space:nowrap}.scene-number .scene-option-label{margin:0;padding:0;color:#493b20;background:transparent;border:0;box-shadow:none;font-size:clamp(18px,2.1vw,27px)}.scene-number.has-art .scene-option-label{min-height:30px;margin-top:4px;padding:4px 10px;color:#193f36;background:#fffde5fa;border:1px solid rgba(126,98,39,.45);box-shadow:0 3px 9px #0000003d;font-size:clamp(15px,1.6vw,20px)}.scene-hotspot-ring{position:absolute;top:11px;right:11px;bottom:11px;left:11px;border:3px solid rgba(255,244,139,.92);border-radius:50%;box-shadow:0 0 0 8px #ffe05929,0 0 28px #ffe059b8,inset 0 0 18px #fff6b047;animation:hotspot-pulse 1.5s ease-in-out infinite}.scene-object .scene-hotspot-ring,.scene-number .scene-hotspot-ring{top:-5px;right:-5px;bottom:-5px;left:-5px;border-radius:23px}.scene-decoration-layer{position:fixed;z-index:6;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.scene-decoration{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center}.scene-decoration img{width:100%;max-height:28vh;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(20,48,35,.28))}.scene-decoration span{position:absolute;left:50%;bottom:5%;transform:translate(-50%);min-width:36px;padding:3px 8px;border-radius:10px;color:#3f3824;background:#fff7bcf2;border:1px solid #d1a746;box-shadow:0 3px 8px #0003;font-weight:900;text-align:center}.selection-layer{position:fixed;z-index:18;top:0;right:0;bottom:0;left:0;pointer-events:none}.selection-object{position:absolute;transform:translate(-50%,-50%);min-width:72px;min-height:72px;padding:6px;display:grid;place-items:center;border:2px solid rgba(255,240,139,.82);border-radius:20px;color:#264a40;background:#fffad5de;box-shadow:0 6px #66481c99,0 12px 25px #0c201b47;pointer-events:auto}.selection-object img{width:100%;max-height:78px;object-fit:contain;filter:drop-shadow(0 5px 6px rgba(15,39,31,.25))}.selection-object>span{padding:2px 7px;border-radius:8px;background:#fffff5f0;font-size:13px;font-weight:900;white-space:nowrap}.selection-object>b{position:absolute;right:-9px;top:-9px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#d29c35;box-shadow:0 3px 7px #00000040}.selection-object.selected{border-color:#ffe166;box-shadow:0 0 0 7px #ffe16647,0 10px 24px #0d271f52}.selection-slot{position:absolute;transform:translate(-50%,-50%);aspect-ratio:1.35;display:grid;place-items:center;border:2px dashed rgba(215,247,255,.86);border-radius:12px;pointer-events:none}.selection-slot img{width:92%;max-height:62px;object-fit:contain}.selection-slot>span{position:absolute;right:-8px;top:-8px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;color:#224b52;background:#dcf8ff;font-size:12px;font-weight:900}.selection-slot.filled{background:#d2f6ff4d;border-style:solid}.selection-controls{position:absolute;right:22px;top:112px;min-width:230px;padding:11px;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;border:2px solid rgba(229,196,95,.76);border-radius:16px;color:#315248;background:#fffcdef0;box-shadow:0 8px 22px #0003;pointer-events:auto}.selection-controls strong{width:100%;text-align:center}.selection-controls button{min-height:40px;padding:8px 12px}.selection-controls button:disabled{opacity:.45;cursor:not-allowed}.level-8 .puzzle-card.puzzle-hud{top:86px;left:16px;width:min(390px,calc(100vw - 32px));padding:13px 14px 12px}.level-8 .puzzle-card-head h2{font-size:clamp(21px,2.1vw,26px)}.level-8 .puzzle-card.puzzle-hud .instruction{margin:6px 0;font-size:14px;line-height:1.42}.level-8 .puzzle-card.puzzle-hud .narration-box{min-height:48px;padding:7px 9px}.level-8 .puzzle-card.puzzle-hud .narration-box strong{font-size:14px;line-height:1.38}.level-8 .puzzle-card.puzzle-hud .narration-actions button{min-height:38px;padding:0 9px}.level-8 .puzzle-card.puzzle-hud .hint-row{min-height:42px;margin-top:7px}.level-8 .selection-controls{top:98px;right:16px;min-width:210px}.level-8 .selection-controls strong:before{content:"水流"}@media (max-width: 1050px){.level-8 .puzzle-card.puzzle-hud{width:350px}.level-8 .selection-controls{min-width:180px}}@media (max-height: 540px) and (orientation: landscape){.level-8 .puzzle-card.puzzle-hud{top:84px;left:12px;width:min(350px,43vw);max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain}.level-8 .selection-controls{top:86px;right:12px;min-width:0;width:min(320px,39vw)}.level-8 .selection-layer.sequence .selection-slot{left:50%!important;width:clamp(54px,7vw,68px)!important}.level-8 .selection-layer.sequence .selection-slot-1{top:35%!important}.level-8 .selection-layer.sequence .selection-slot-2{top:50%!important}.level-8 .selection-layer.sequence .selection-slot-3{top:65%!important}.level-8 .selection-layer.sequence .selection-object{top:79%!important;width:clamp(66px,8vw,78px)!important}.level-8 .selection-layer.sequence .selection-object-1{left:62%!important}.level-8 .selection-layer.sequence .selection-object-2{left:75%!important}.level-8 .selection-layer.sequence .selection-object-3{left:88%!important}.level-8~.sound-toggle{top:206px;right:12px;bottom:auto}}@media (max-width: 700px) and (orientation: portrait){.level-8 .puzzle-card.puzzle-hud{top:86px;left:10px;width:calc(100vw - 20px);max-height:304px;overflow-y:auto;overscroll-behavior:contain;padding:11px 12px 10px}.level-8 .puzzle-card-head{flex-direction:row;padding-right:112px}.level-8 .puzzle-card-head h2{font-size:21px}.level-8 .puzzle-card.puzzle-hud .instruction{margin:4px 0;font-size:13px}.level-8 .puzzle-card.puzzle-hud .narration-box{min-height:44px;padding:6px 8px}.level-8 .puzzle-card.puzzle-hud .narration-actions{width:auto;margin-left:auto}.level-8 .puzzle-card.puzzle-hud .hint-row{min-height:38px;margin-top:5px}.level-8 .selection-controls{top:400px;right:10px;left:10px;min-width:0;padding:8px 10px}.level-8 .selection-controls strong{font-size:14px}.level-8 .selection-controls button{min-height:38px;padding:7px 11px}.level-8 .selection-layer.sequence .selection-slot{left:50%!important;width:76px!important}.level-8 .selection-layer.sequence .selection-slot-1{top:62%!important}.level-8 .selection-layer.sequence .selection-slot-2{top:72%!important}.level-8 .selection-layer.sequence .selection-slot-3{top:82%!important}.level-8 .selection-layer.sequence .selection-object{top:93%!important;width:74px!important}.level-8 .selection-layer.sequence .selection-object-1{left:18%!important}.level-8 .selection-layer.sequence .selection-object-2{left:50%!important}.level-8 .selection-layer.sequence .selection-object-3{left:82%!important}.level-8~.sound-toggle{top:500px;right:12px;bottom:auto}}@media (max-height: 540px) and (orientation: landscape){.level-10 .puzzle-card.multi-select-hud{top:84px;left:12px;width:min(500px,61vw);max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain}.level-10 .selection-layer.multi-select .selection-controls{top:86px;right:12px;min-width:0;width:min(280px,34vw)}.level-10 .selection-layer.multi-select .selection-object{top:79%!important;width:64px!important;min-width:64px}.level-10 .selection-layer.multi-select .selection-object-1{left:68%!important}.level-10 .selection-layer.multi-select .selection-object-2{left:77%!important}.level-10 .selection-layer.multi-select .selection-object-3{left:86%!important}.level-10 .selection-layer.multi-select .selection-object-4{left:95%!important}.level-10.puzzle-multi-select~.sound-toggle{top:218px;right:12px;bottom:auto}}@media (max-width: 700px) and (orientation: portrait){.level-10 .puzzle-card.multi-select-hud{top:86px;left:10px;width:calc(100vw - 20px);max-height:304px;overflow-y:auto;overscroll-behavior:contain;padding:11px 12px 10px}.level-10 .puzzle-card.multi-select-hud .puzzle-card-head{flex-direction:row;padding-right:112px}.level-10 .puzzle-card.multi-select-hud .puzzle-card-head h2{font-size:21px}.level-10 .puzzle-card.multi-select-hud .instruction{margin:4px 0;font-size:13px}.level-10 .puzzle-card.multi-select-hud .narration-box{min-height:44px;padding:6px 8px}.level-10 .puzzle-card.multi-select-hud .narration-actions{width:auto;margin-left:auto}.level-10 .puzzle-card.multi-select-hud .hint-row{min-height:38px;margin-top:5px}.level-10 .selection-layer.multi-select .selection-controls{top:400px;right:10px;left:10px;min-width:0;padding:8px 10px}.level-10 .selection-layer.multi-select .selection-controls strong{font-size:14px}.level-10 .selection-layer.multi-select .selection-controls button{min-height:38px;padding:7px 11px}.level-10 .selection-layer.multi-select .selection-object{top:73%!important;width:70px!important;min-width:70px}.level-10 .selection-layer.multi-select .selection-object-1{left:14%!important}.level-10 .selection-layer.multi-select .selection-object-2{left:38%!important}.level-10 .selection-layer.multi-select .selection-object-3{left:62%!important}.level-10 .selection-layer.multi-select .selection-object-4{left:86%!important}}.level-10 .scene-choice-hud{left:50%;transform:translate(-50%)}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@keyframes hotspot-pulse{0%,to{transform:scale(.9);opacity:.68}50%{transform:scale(1.08);opacity:1}}@keyframes chest-ready{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.drag-stage{position:fixed;z-index:18;top:0;right:0;bottom:0;left:0;min-height:0;margin:0;overflow:visible;border:0;border-radius:0;background:none;pointer-events:none}.drop-target{pointer-events:auto;border:2px dashed rgba(255,244,160,.72);background:#ffed830f;box-shadow:inset 0 0 28px #ffee8314}.drop-target.ready{color:#24483d;background:#fff6b7b8;border-color:#ffe16a;box-shadow:0 0 0 8px #ffe0592e,0 0 36px #ffdd5275}.drop-target span{bottom:-26px}.draggable-token{pointer-events:auto;min-width:112px;min-height:70px;border:2px solid #f2cd62;background:linear-gradient(#fff7ba,#f2c75a);box-shadow:0 7px #8e6a2d,0 12px 25px #00000052}.drag-help{left:24px;bottom:16px}.fairy-wrap{z-index:16;right:clamp(10px,3vw,40px);width:clamp(128px,14vw,190px)}.fairy-speech{position:absolute;z-index:3;right:70%;top:18%;width:190px;min-height:54px;padding:9px 12px;display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #e5c45f;border-radius:18px 18px 5px;color:#3b594d;background:#fffcdef0;box-shadow:0 8px 22px #0003;font-size:13px;font-weight:700;pointer-events:auto}.fairy-speech svg{flex:0 0 auto;color:#5c9d83}.explorer-wrap{position:absolute;z-index:11;left:clamp(8px,2vw,30px);bottom:-8px;width:clamp(130px,15vw,195px);aspect-ratio:3 / 8;pointer-events:none;filter:drop-shadow(0 15px 25px rgba(0,0,0,.28))}.explorer-sprite{width:100%;height:100%;background:url(/assets/source/explorer-poses.png) no-repeat;background-size:400% 100%;mix-blend-mode:screen}.puzzle-scene .explorer-wrap{left:auto;right:clamp(150px,15vw,210px);width:clamp(118px,12vw,165px)}.start-screen .explorer-wrap{left:auto;right:clamp(210px,24vw,350px);bottom:-10px;width:clamp(135px,15vw,190px)}.map-screen .explorer-wrap{left:clamp(4px,1vw,14px);bottom:-12px;width:clamp(92px,10vw,126px)}.map-screen .explorer-sprite{transform:scaleX(-1)}.gem-art{display:inline-block;flex:0 0 auto;width:64px;height:48px;background-image:url(/assets/derived/gem-red.png);background-repeat:no-repeat;background-size:contain;background-position:center;border-radius:0;background-color:transparent;background-blend-mode:normal;box-shadow:none}.gem-0{background-image:url(/assets/derived/gem-red.png)}.gem-1{background-image:url(/assets/derived/gem-blue.png)}.gem-2{background-image:url(/assets/derived/gem-green.png)}.gem-small{width:34px;height:28px}.gem-normal{width:68px;height:52px}.gem-large{width:132px;height:105px}.gem-fragment{overflow:hidden}.gem-fragment .gem-art{margin-top:5px;background-color:transparent}.stat-pill .gem-art{margin:0 -5px}.map-node.completed .gem-art{width:50px;height:42px}.gem-row>span.collected{background:#cfeee1;box-shadow:inset 0 0 0 2px #72bda1}.result-strip span{border:1px solid rgba(84,132,103,.25);border-radius:10px 13px 11px 9px}.feedback-icon{border-radius:12px 15px 13px 10px}.object-art{width:54px;height:54px;display:inline-block;background-repeat:no-repeat;background-position:center;background-size:contain;mix-blend-mode:screen}@media (max-width: 900px){.start-card{margin-left:0;justify-self:center;text-align:center;padding-bottom:150px}.start-note,.start-card .eyebrow{justify-content:center}.fairy-wrap{right:10px;width:190px}.spell-panel,.puzzle-card{margin-right:0}.puzzle-card{min-height:650px}.map-node{width:58px;height:58px}.map-node-label{top:61px}}@media (max-width: 700px){.topbar{top:8px;width:calc(100% - 16px)}.brand-mini{display:none}.stat-pill{padding:0 8px}.stat-pill svg{width:18px;height:18px}.stat-copy small{font-size:9px}.start-screen,.scene-screen,.celebration-screen,.reward-screen,.challenge-screen,.preview-complete,.map-screen,.final-ritual-screen,.treasure-complete-screen{padding:88px 14px 34px}.puzzle-card{width:100%;min-height:690px;padding:20px 16px}.puzzle-card-head{flex-direction:column}.progress-dots{position:absolute;right:16px;top:16px}.progress-dot{width:34px;height:34px}.choice-grid{gap:8px}.choice-card{min-height:112px;font-size:16px}.narration-box{align-items:flex-start;flex-wrap:wrap}.narration-actions{width:100%;justify-content:flex-end}.feedback-panel{grid-template-columns:auto 1fr}.feedback-panel .primary-button{grid-column:1 / -1}.reward-grid,.challenge-actions{grid-template-columns:1fr}.reward-card{min-height:190px}.map-canvas{height:66vh}.map-legend{left:10px;bottom:8px;flex-wrap:wrap}.fairy-wrap{opacity:.8}.final-ritual-panel,.treasure-complete-card{margin-left:0;width:min(500px,calc(100vw - 28px));padding:20px}.ritual-gem{left:60%;top:62%}.ritual-chest{right:2%;bottom:5%}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
