@import"https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap";:root{font-family:Nunito,Segoe UI,sans-serif;color:#fff4d7;background:#192f44;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;font-weight:900;transition:filter .2s,transform .2s}button:hover{filter:brightness(1.09)}button:active{transform:scale(.97)}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #fff2a4;outline-offset:5px}button svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-weight:900;letter-spacing:-1.7px;line-height:1.08}a{color:#8ddfe4}p{line-height:1.6}.portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%;border-radius:inherit}.eyebrow{font-size:10px;font-weight:900;letter-spacing:2.3px;color:#ffe5a5}.game-shell{min-height:100vh;background:#1e3d4e}.game-hud{height:88px;position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 30px;background:linear-gradient(#24485b,#173648);border-bottom:2px solid #cfa45b;box-shadow:0 7px 22px #00172555;margin:0}.wordmark{display:flex;align-items:center;gap:12px;background:none;color:#fff0cc;padding:0;text-align:left;font-size:19px;white-space:nowrap}.wordmark small{display:block;font-size:7px;letter-spacing:2.5px;color:#b4c6ca;margin-top:5px}.brand-sigil{display:inline-flex;align-items:center;justify-content:center;border:2px solid #dfb663;border-radius:50%;height:46px;width:46px;font-family:Georgia,serif;font-size:29px;color:#ffe4a3;box-shadow:inset 0 0 10px #efb74a33,0 0 0 4px #102d3d}.brand-sigil>span{font-size:18px;margin-left:-7px;margin-top:13px}.game-hud nav{display:flex;gap:7px;background:#112f3b6b;padding:5px;border-radius:16px}.game-hud nav button{display:flex;align-items:center;gap:8px;color:#c0d1d4;background:none;padding:11px 15px;border-radius:11px;font-size:12px}.game-hud nav button.active{color:#543a23;background:linear-gradient(#ffe6a8,#eabe70);box-shadow:0 3px #9e7541,inset 0 1px #fffae4}.hud-player{display:flex;align-items:center;gap:16px}.star-counter{display:flex;align-items:center;gap:7px;background:#0f2d3c;border:1px solid #af8a4c;border-radius:22px;padding:7px 13px;color:#ffe0a0;font-size:18px;box-shadow:inset 0 2px 7px #001e31}.star-counter svg{width:23px;height:23px}.player-switch{display:flex;align-items:center;gap:9px;background:none;color:#f6e2bd;padding:0;font-size:12px;text-align:left}.player-switch .portrait{width:43px;height:43px;border:2px solid #e5b96c;border-radius:50%}.player-switch small{display:block;font-size:9px;color:#a5c3c9;margin-top:3px}.game-viewport{position:relative;overflow-x:auto;overflow-y:hidden;min-height:calc(100vh - 88px)}.world-scene{position:relative;height:max(720px,calc(100vh - 88px));width:max(100%,1080px,calc((100svh - 88px)*1.5));isolation:isolate;overflow:hidden;background:#85adb3}.world-paint{position:absolute;inset:0;background:url(../world/adventure-world.jpg) center/100% 100% no-repeat;z-index:-3}.world-vignette{position:absolute;inset:0;z-index:-2;background:linear-gradient(#11394c19 45%,transparent 65%,#102f3c44)}.world-heading{position:absolute;top:26px;left:35px;text-shadow:0 2px 12px #294557,0 1px 2px #234455}.world-heading h1{font-size:35px;margin:9px 0;color:#fff8df}.world-heading h1 em{font-style:normal;color:#ffdf91}.world-heading p{font-size:12px;color:#fff3dc;margin:0}.map-trails{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.38}.map-trails path{fill:none;stroke:#fff2bf;stroke-width:3;stroke-dasharray:2 14;stroke-linecap:round}.map-trails .trail-glow{stroke:#fff7e5;stroke-width:5;stroke-dasharray:2 180;animation:trail-flow 8s linear infinite}.island-pin{position:absolute;background:none;display:grid;justify-items:center;padding:0;color:#3b3929;min-width:190px;transform:translate(-50%,-50%);filter:drop-shadow(0 6px 10px #112b3a66);z-index:2}.island-pin:active{transform:translate(-50%,-50%) scale(.97)}.pin-memory{left:23%;top:54%}.pin-math{left:54%;top:35%}.pin-sequence{left:81%;top:59%}.island-beacon{display:grid;place-items:center;width:47px;height:47px;border-radius:50%;color:#fff6cc;border:2px solid #ffedb3;background:linear-gradient(145deg,#e9bb64,#af6a33);box-shadow:0 0 0 7px #ffdf812b,0 0 25px #ffe6a27a,inset 0 2px 5px #fff8b9;animation:beacon-bob 3.5s ease-in-out infinite;margin-bottom:9px}.island-pin.selected .island-beacon{box-shadow:0 0 0 10px #ffe4a332,0 0 34px #fff3a6}.island-plaque{display:grid;gap:4px;justify-items:center;padding:11px 22px 8px;background:linear-gradient(#fff0c9,#f0d7a3);border:2px solid #b28a4f;border-radius:12px;box-shadow:inset 0 0 0 2px #fff4db,0 4px #785b39;min-width:210px;position:relative}.island-plaque:before,.island-plaque:after{content:"";position:absolute;height:6px;width:6px;border-radius:50%;background:#a27740;top:16px;box-shadow:inset 0 1px #fff7cf}.island-plaque:before{left:9px}.island-plaque:after{right:9px}.island-plaque small{font-size:7px;letter-spacing:1.6px;color:#a17942}.island-plaque strong{font-size:15px}.pin-stars{display:flex;gap:5px}.pin-stars i{width:18px;opacity:.35;filter:grayscale(.9)}.pin-stars i.earned{opacity:1;filter:none}.locked-island{display:flex;gap:8px;align-items:center;position:absolute;right:4%;top:15%;background:#284658b8;border:1px solid #b1cad063;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:10px 13px;color:#e4e3db;border-radius:11px;font-size:11px}.locked-island small{display:block;font-size:8px;color:#c0d1ce;padding-top:3px}.map-character{position:absolute;bottom:42px;left:40px;width:180px;height:206px;border-radius:90px 90px 28px 28px;border:3px solid #eecb86;box-shadow:0 12px 25px #062c4f77,0 0 0 6px #123d4655;animation:character-arrive .7s ease-out both;background:#578d88}.map-character>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.character-tag{position:absolute;bottom:-16px;left:-12px;right:-12px;text-align:center;background:linear-gradient(#fbe8ba,#dbb877);color:#54432c;padding:7px;border:2px solid #a37b45;border-radius:10px;font-size:17px;font-weight:900;box-shadow:0 4px #715739}.character-tag small{display:block;font-size:8px;color:#87734e}.map-quest{position:absolute;bottom:45px;left:50%;transform:translate(-36%);display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#153e4df0,#1d4654e8);border:1px solid #d5b47b;border-radius:17px;box-shadow:0 9px 22px #14363c66;padding:11px 15px;width:400px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.quest-art{width:55px;height:55px;flex-shrink:0}.map-quest>div{display:grid;gap:4px}.map-quest small{font-size:7px;letter-spacing:1.3px;color:#b8c7b8}.map-quest strong{font-size:16px;color:#ffe6b0}.map-quest>div>span{font-size:9px;color:#b6cbd1}.map-quest button{margin-left:auto;background:linear-gradient(#ffdfa0,#d6a556);color:#603c20;border-radius:50%;height:40px;width:40px;display:grid;place-items:center;border-bottom:3px solid #99703a}.map-hint{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:7px;align-items:center;font-size:9px;text-shadow:0 1px 5px #15343b;color:#fff4d8}.world-status{position:absolute;z-index:3;bottom:0;left:0;right:0;pointer-events:none;display:flex;justify-content:space-between;color:#fff5d896;font-size:8px;padding:4px 15px;background:linear-gradient(transparent,#0c293244)}.cloud{position:absolute;width:200px;height:70px;background:radial-gradient(ellipse,#fff8df77,transparent 70%);filter:blur(12px);pointer-events:none}.cloud-a{top:38%;left:35%;animation:cloud-drift 25s ease-in-out infinite}.cloud-b{top:12%;left:67%;animation:cloud-drift 30s ease-in-out infinite reverse}.waterfall{position:absolute;pointer-events:none;filter:blur(2px);background:repeating-linear-gradient(180deg,transparent 0,#d5ffff33 20px,transparent 42px);background-size:100% 84px;animation:water-flow 2s linear infinite;-webkit-mask-image:linear-gradient(transparent,#000 20%,#000 60%,transparent);mask-image:linear-gradient(transparent,#000 20%,#000 60%,transparent);border-radius:50%;mix-blend-mode:screen}.waterfall-a{width:3.6%;height:29%;left:27%;top:52%}.waterfall-b{width:1%;height:22%;left:75%;top:65%}.fireflies{position:absolute;inset:0;pointer-events:none}.fireflies i{position:absolute;height:4px;width:4px;border-radius:50%;background:#fff7bd;box-shadow:0 0 12px 3px #ffdf98;animation:firefly 5s ease-in-out infinite}.travel-veil{pointer-events:none;position:fixed;inset:0;z-index:50;display:grid;place-items:center;opacity:0;background:radial-gradient(circle,#fff5cfcc,#8bd3eedd);transition:opacity .35s}.is-travelling .travel-veil{opacity:1}.portal-ring{height:230px;width:230px;border:12px solid #fff2b4;border-radius:50%;box-shadow:0 0 45px #fff5c3,inset 0 0 45px #fff5c3;transform:scale(.5);transition:transform .5s}.is-travelling .portal-ring{transform:scale(4)}.scene-enter{animation:scene-arrive .55s ease-out both}.notice{position:fixed;top:102px;right:20px;z-index:20;display:flex;gap:12px;align-items:center;max-width:min(470px,90vw);background:linear-gradient(135deg,#fff0c9,#eac581);color:#624828;border:2px solid #d1a354;border-radius:15px;padding:13px 17px;box-shadow:0 8px 30px #08283955;font-size:12px;animation:reward-arrive .5s ease-out}.notice>svg{width:28px;height:28px;animation:star-pop .6s ease-out}.notice button{background:transparent;color:#816139;font-size:20px;padding:0 5px}.gold-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:15px 26px;border-radius:13px;border:1px solid #ffe1a0;border-bottom:4px solid #976431;background:linear-gradient(160deg,#ffe7ad,#ecbd66);color:#59401f;box-shadow:0 5px 15px #1d2b4533,inset 0 2px 1px #fff9d7}.gold-button:disabled{opacity:.6}.welcome{min-height:100vh;display:grid;place-items:center;position:relative;padding:35px 20px;isolation:isolate;overflow:hidden;background:#314d59}.welcome-landscape{position:absolute;inset:0;background:linear-gradient(#173d5188,#173d5180),url(../world/adventure-world.jpg) center/cover;z-index:-2;filter:saturate(.9)}.welcome:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse,#152f45b3,transparent 70%)}.welcome-content{text-align:center;width:100%;max-width:700px}.brand{font-size:9px;letter-spacing:3px;color:#f3d6a2;margin-bottom:20px}.welcome h1{font-size:58px;color:#ffedbf;text-shadow:0 4px 0 #6c563c,0 7px 22px #162f44;margin:0 0 28px}.welcome h1 span{display:block;font-size:27px;font-weight:700;letter-spacing:2px;color:#f3d7ac;margin-top:10px;text-shadow:0 2px 6px #17344a}.welcome p{font-size:15px;color:#ede6d4}.profile-picker{display:flex;justify-content:center;gap:28px;margin:30px 0 24px}.profile-picker button{position:relative;padding:0;background:linear-gradient(#d9be87,#8c663d);border:3px solid #e6c88b;border-radius:95px 95px 25px 25px;box-shadow:0 8px #4e4434,0 16px 30px #102c4480;overflow:hidden;color:#392b21;width:210px}.picker-portrait{display:block;width:100%;height:215px;overflow:hidden}.pick-name{display:block;padding:12px;background:linear-gradient(#ffedc5,#e9ca8f);font-size:21px}.pick-name small{display:block;font-size:9px;color:#957248;padding:3px}.profile-picker button:hover{transform:translateY(-7px);filter:brightness(1.06)}.demo-label{font-size:10px;color:#d7d6c5}.welcome footer{font-size:10px;color:#d5cdbb;margin-top:30px;letter-spacing:1px}.login{display:grid;gap:15px;max-width:340px;margin:25px auto;text-align:left;background:#173c4acc;border:1px solid #c3a26d7a;padding:25px;border-radius:18px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}label{display:grid;gap:8px;font-size:12px;font-weight:800}input,textarea,select{font:inherit;border:1px solid #9fbea899;border-radius:9px;padding:12px;width:100%;color:#2a4247;background:#fff4da}textarea{min-height:140px;resize:vertical}.arrow-forward{transform:rotate(180deg)}.loading-world{min-height:80vh;display:grid;place-content:center;text-align:center;gap:20px}.loading-orb{height:80px;width:80px;margin:auto;border:3px solid #e9ce94;border-radius:50%;box-shadow:0 0 40px #ffd57a66;animation:beacon-bob 2s infinite}.game-stage{min-height:calc(100vh - 88px);position:relative;background:#182d49}.back{position:absolute;top:20px;left:25px;z-index:4;display:flex;gap:8px;align-items:center;border:1px solid #b7c8da50;border-radius:20px;color:#f5e7ce;background:#1b354a99;padding:9px 15px;font-size:11px}.game-panel{position:relative;isolation:isolate;min-height:calc(100vh - 88px);padding:35px 30px 36px;text-align:center;overflow:hidden}.game-atmosphere{position:absolute;inset:0;z-index:-3}.theme-math .game-atmosphere{background:radial-gradient(ellipse at 50% 70%,#435d91 0,transparent 55%),radial-gradient(ellipse at 80% 10%,#78609755,transparent 40%),#13243f}.theme-math:before,.theme-math:after{content:"";position:absolute;inset:0;z-index:-2;background-image:radial-gradient(circle,#fff5ce 1px,transparent 2px),radial-gradient(circle,#b7d5f3 1px,transparent 2px);background-size:89px 113px,157px 173px;background-position:10px 20px,50px 90px;opacity:.55}.theme-math:after{background-size:223px 191px;animation:stars-twinkle 6s ease-in-out infinite;opacity:.8}.mini-header{position:relative;z-index:1;max-width:650px;margin:auto}.mini-header h1{font-size:36px;margin:10px 0;color:#fff0cf}.mini-header p{font-size:13px;color:#d0dcde;margin-bottom:16px}.flight-scene{position:relative;max-width:940px;height:235px;margin:0 auto 3px}.flight-orbit{position:absolute;left:9%;right:9%;top:55%;border-top:2px dashed #b3b9cb6b;transform:rotate(-5deg)}.space-planet{position:absolute;border-radius:50%;box-shadow:inset -24px -20px 30px #172d4f77,0 0 40px #54c2db11}.planet-home{height:94px;width:94px;background:radial-gradient(ellipse at 30% 25%,#a6e4c9 0 12%,transparent 13%),radial-gradient(ellipse at 70% 55%,#74c2b6 0 20%,transparent 21%),linear-gradient(135deg,#98dbe1,#3b7da9);left:0;bottom:23px}.planet-destination{height:120px;width:120px;right:0;top:12px;background:radial-gradient(ellipse at 35% 25%,#ffe3a8 0 10%,transparent 11%),linear-gradient(135deg,#ebbf9c,#a286ba)}.planet-destination>span{position:absolute;left:-30%;width:160%;top:42%;height:22%;border:9px solid #cda9b988;border-radius:50%;transform:rotate(-27deg)}.flying-rocket{position:absolute;width:95px;height:155px;top:16px;transform:rotate(58deg);transition:left .8s cubic-bezier(.2,.8,.3,1);filter:drop-shadow(-10px 15px 14px #10203b55);z-index:2}.flying-rocket svg{height:100%;width:100%}.rocket-flame{transform-origin:75px 165px;animation:flame-pulse .18s ease-in-out infinite alternate}.flight-label{position:absolute;font-size:9px;font-weight:800;color:#d5d4d4;bottom:0}.flight-label.start{left:2%}.flight-label.end{right:0}.flight-checkpoint{position:absolute;top:56%;width:22px;height:22px;opacity:.25;filter:grayscale(1)}.flight-checkpoint.passed{opacity:1;filter:none;animation:star-pop .45s ease-out}.arrived .flying-rocket{transform:rotate(0) scale(.7);top:-2px;transition:left .8s,transform 1.2s,top 1.2s}.arrived .rocket-flame{opacity:0;transition:opacity 1s}.arrived .planet-destination{box-shadow:inset -24px -20px 30px #172d4f77,0 0 65px #ffd9a75c}.puzzle-area{position:relative;max-width:780px;margin:auto}.fuel-meter{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:12px;font-size:10px;color:#c4cddb;letter-spacing:1px}.fuel-meter>div{display:flex;gap:5px}.fuel-meter i{display:block;width:29px;height:9px;border:1px solid #7996b0;border-radius:3px;background:#0c233b}.fuel-meter i.charged{background:linear-gradient(#c3ffe5,#5fcba9);box-shadow:0 0 9px #77e2be88;border-color:#b0ecd8}.fuel-meter b{color:#e8d3a5}.equation{font-size:62px;color:#fff6df;font-weight:900;display:flex;align-items:center;justify-content:center;gap:24px;margin:19px auto 22px;text-shadow:0 4px 0 #243f68}.equation>span{color:#a6bcd6;font-size:39px}.equation>i{font-style:normal;color:#ffe3a5}.answers{display:flex;gap:22px;justify-content:center}.answers button{font-size:32px;border-radius:20px;width:100px;height:82px;color:#4d3d39;background:linear-gradient(145deg,#fff5d5,#dfc39c);border:2px solid #fff0c7;border-bottom:7px solid #9c7c62;box-shadow:0 8px 20px #0c203e55,inset 0 3px #fff9e6}.answers button:hover{transform:translateY(-4px);box-shadow:0 10px 30px #dbbe7b40}.game-feedback{font-size:13px;min-height:25px;margin:19px 0 0;color:#ffe8aa}.theme-memory .game-atmosphere{background:linear-gradient(#163a3499,#102f2ad9),url(../world/adventure-world.jpg) 0 50%/220% auto no-repeat}.theme-memory:after{content:"";position:absolute;inset:0;z-index:-1;box-shadow:inset 0 0 160px #102e2e;pointer-events:none}.theme-memory .mini-header{margin-top:12px}.progress-runes{display:flex;gap:8px;justify-content:center;margin:20px}.progress-runes i,.sequence-progress i{height:11px;width:11px;display:block;transform:rotate(45deg);border:1px solid #c5cfa366;background:#102f3955;box-shadow:0 2px 5px #071f29}.progress-runes i.filled,.sequence-progress i.filled{background:#e8d68d;border-color:#fff4b4;box-shadow:0 0 13px #e9dc7e88}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;max-width:560px;margin:20px auto}.cards button{position:relative;aspect-ratio:1;border-radius:18px;padding:8px;border:2px solid #d9b97d;background:linear-gradient(145deg,#6d8569,#2b554b);border-bottom:6px solid #153b35;box-shadow:0 10px 18px #0b25264d,inset 0 0 0 5px #ddbd6a22;perspective:500px}.tile-back,.tile-face{position:absolute;inset:8px;display:grid;place-items:center;backface-visibility:hidden;transition:transform .4s;border-radius:10px}.tile-face{transform:rotateY(-180deg);background:radial-gradient(#ffedc5,#cfb478)}.tile-face svg{width:90%;height:90%;filter:drop-shadow(0 4px 3px #74512d44)}.tile-back{border:1px solid #d5c59155;background:radial-gradient(ellipse at 40% 20%,#97ad7c44,transparent)}.rune-diamond{height:35px;width:35px;transform:rotate(45deg);border:3px solid #e7d397;box-shadow:0 0 0 7px #c7c59222,inset 0 0 12px #e0d17e44}.flipped .tile-face{transform:rotateY(0)}.flipped .tile-back{transform:rotateY(180deg)}.cards button.matched{box-shadow:0 0 20px #f1d47b55;border-color:#e6db98}.game-instruction{font-size:11px;color:#c5d9c8}.theme-sequence .game-atmosphere{background:linear-gradient(#283047b3,#243348d9),url(../world/adventure-world.jpg) 100% 50%/200% auto no-repeat}.theme-sequence .mini-header{margin-top:20px}.sequence-progress{display:flex;justify-content:center;align-items:center;gap:10px;margin:25px}.sequence-progress span{font-size:10px;margin-left:10px;color:#c1ccdf}.sequence-cue{color:#f4e1b3;font-size:15px}.crystals{display:flex;align-items:flex-end;justify-content:center;gap:25px;max-width:680px;margin:5px auto 28px;padding:15px 10px 5px}.crystal{position:relative;width:125px;height:205px;background:none;isolation:isolate;--gem:#6bd5b5;--light:#d1ffdf;--dark:#255d68}.crystal-violet{--gem:#ba8cf4;--light:#f6d5ff;--dark:#694994}.crystal-amber{--gem:#ffc260;--light:#fff7c2;--dark:#af7139}.crystal-blue{--gem:#7cddeb;--light:#e2ffff;--dark:#3c6ea7}.crystal-body{position:absolute;width:62%;height:70%;left:19%;top:8%;clip-path:polygon(50% 0,90% 25%,100% 75%,50% 100%,0 75%,10% 25%);background:conic-gradient(from 150deg at 50% 40%,var(--dark),var(--gem) 100deg,var(--light) 170deg,var(--gem) 210deg,var(--dark) 300deg);filter:brightness(.85);transition:transform .2s,filter .2s}.crystal-body:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 45%,#ffffff6b 47%,transparent 52%);clip-path:polygon(50% 0,50% 40%,100% 75%,50% 100%,0 75%,50% 40%)}.crystal-base{position:absolute;left:4%;width:92%;height:24%;bottom:15%;border-radius:50%;background:linear-gradient(#f5d9a1 0 24%,#b99b6f 25% 40%,#8c795d 41% 70%,#bd9b68 71%);box-shadow:0 10px 16px #0a243b66;z-index:-1}.crystal-glow{position:absolute;inset:0;background:radial-gradient(ellipse,var(--gem),transparent 65%);opacity:.12;transition:opacity .15s}.crystal-label{position:absolute;bottom:0;left:0;right:0;color:#c8d2d9;font-size:11px}.crystal.lit .crystal-body{filter:brightness(1.7);transform:translateY(-12px) scale(1.06)}.crystal.lit .crystal-glow{opacity:.75}.crystal.lit .crystal-label{color:#fff4c9}.music-controls{display:flex;justify-content:center;gap:12px}.soft-button{display:inline-flex;align-items:center;gap:8px;border-radius:20px;padding:10px 17px;color:#eddfbb;background:#1d374b99;border:1px solid #a6b0c255;font-size:11px}.soft-button:disabled{opacity:.45}.victory{max-width:600px;margin:10px auto 0;position:relative;padding:10px 20px 25px;isolation:isolate}.victory-art{width:100px;height:100px;margin:auto;filter:drop-shadow(0 0 25px #ffcc77aa);animation:trophy-rise .65s ease-out both}.victory-rays{position:absolute;inset:-80px 0;z-index:-1;background:repeating-conic-gradient(from 10deg,#fff2b60d 0deg 13deg,transparent 13deg 26deg);-webkit-mask-image:radial-gradient(#000,transparent 65%);mask-image:radial-gradient(#000,transparent 65%);animation:rays-turn 45s linear infinite}.victory h2{font-size:30px;color:#ffe6a2;margin:5px 0 7px}.victory p{font-size:12px;color:#d8e4dc}.victory-stars{display:flex;gap:9px;justify-content:center;margin:16px auto 22px}.victory-stars span{width:32px;height:32px;animation:star-pop .5s ease-out both}.game-won .flight-scene{height:180px}.treasure-scene{position:relative;min-height:calc(100vh - 88px);padding:35px 35px 55px;background:radial-gradient(ellipse at 50% 25%,#60615a44,transparent 65%),linear-gradient(#163a43eb,#182b3dec),url(../world/adventure-world.jpg) center/cover}.scene-title{text-align:center;position:relative;z-index:1}.scene-title h1{font-size:37px;margin:12px 0;color:#ffebbf}.scene-title p{font-size:12px;color:#cbcdc1}.artifact-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 45px;max-width:950px;margin:30px auto}.relic{background:none;color:#f6dfaa;text-align:center;position:relative;isolation:isolate;min-height:190px;padding:10px 15px 0}.medallion{width:110px;height:110px;margin:0 auto 12px;padding:8px;border:6px solid #d2a054;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#ffecb9,#bd8943);box-shadow:inset 0 0 0 3px #fff1b8,0 6px #7b5e38,0 8px 20px #091f2b99;position:relative;transition:transform .25s}.medallion>svg{width:100%;height:100%;filter:drop-shadow(0 3px 1px #71402155)}.unlocked .medallion{animation:relic-float 5s ease-in-out infinite}.relic-halo{position:absolute;width:190px;height:190px;top:-20px;left:50%;transform:translate(-50%);background:radial-gradient(#e2c17a44,transparent 68%);z-index:-1}.relic-pedestal{display:block;width:140px;height:25px;background:linear-gradient(#8c8470 0 35%,#5f655c 36% 65%,#737868 66%);border-radius:50%;margin:-11px auto 12px;box-shadow:0 10px 10px #0a202c55}.relic strong{display:block;font-size:14px}.relic>small{font-size:9px;color:#bbbaa3;display:block;margin:6px 0}.relic.sealed .medallion{filter:grayscale(1) brightness(.36)}.relic.sealed .medallion>svg:first-child{filter:brightness(0);opacity:.5}.relic.sealed .relic-halo{opacity:0}.relic.sealed .relic-lock{position:absolute;width:26px;height:26px;top:37%;left:37%;color:#fff;filter:none!important}.relic-description{display:block;font-weight:600;font-size:10px;color:#e8dfbf;background:#102c3c;border:1px solid #bba06b66;border-radius:10px;padding:10px;margin-top:10px;line-height:1.5;animation:scene-arrive .25s}.relic-description b{display:block;margin-top:5px}.adventure-log{max-width:800px;margin:25px auto 0;border:1px solid #b69c6866;border-radius:12px;padding:15px;background:#0d29344d;font-size:12px;color:#d6d8c8}.adventure-log summary{cursor:pointer;font-weight:900}.adventure-log p{border-top:1px solid #bcc6be22;padding-top:8px;display:flex;gap:15px;font-size:10px}.adventure-log b{margin-left:auto;color:#f1d48f}.letters-scene{min-height:calc(100vh - 88px);padding:36px 20px 70px;background:radial-gradient(ellipse at 50% 40%,#f7ce9855,transparent 55%),linear-gradient(125deg,#374b54db,#1c3d51ed),url(../world/adventure-world.jpg) center/cover}.envelope-scene{max-width:680px;margin:20px auto 0;text-align:center;perspective:900px}.envelope{position:relative;width:310px;height:190px;margin:45px 0 17px;background:none;padding:0;filter:drop-shadow(0 17px 15px #0c243e44);isolation:isolate}.envelope-back{position:absolute;inset:0;background:#bd9565;border:2px solid #d5b57c;border-radius:8px}.envelope-paper{position:absolute;inset:8px 17px 10px;background:linear-gradient(#fffae9,#f5e3bf);border-radius:6px;color:#947b54;font-family:Georgia,serif;padding-top:18px;font-size:20px;transition:transform .65s .15s;z-index:1;line-height:1.7}.envelope-paper em{font-size:12px}.envelope-front{position:absolute;inset:0;border-radius:7px;background:linear-gradient(30deg,#e8c795,#f2d7a5);clip-path:polygon(0 0,50% 52%,100% 0,100% 100%,0 100%);z-index:2;box-shadow:inset 0 -15px 40px #8d5c2722}.envelope-front:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,transparent 49.5%,#d2ae7844 50%,transparent 50.5%)}.envelope-flap{position:absolute;inset:0 0 auto;height:115px;background:linear-gradient(#f8dfac,#d9b17a);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transition:transform .65s;z-index:3}.wax-seal{position:absolute;left:calc(50% - 24px);top:87px;width:48px;height:48px;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#dba47e,#ab6156);border:3px double #d9a37b;color:#f5ce9e;font-family:Georgia,serif;display:grid;place-items:center;font-size:24px;box-shadow:0 3px 4px #64492b66;z-index:4;transition:opacity .2s,transform .3s}.envelope:hover{transform:translateY(-4px)}.is-open .envelope-flap{transform:rotateX(180deg);z-index:0}.is-open .envelope-paper{transform:translateY(-65px)}.is-open .wax-seal{opacity:0;transform:scale(.5)}.envelope-hint{display:block;font-size:11px;color:#d4d7c9}.postcard{position:relative;background:linear-gradient(125deg,#fffae7,#f3dfb6);color:#705639;border:1px solid #d5ac70;border-radius:12px;padding:35px 40px;margin-top:25px;box-shadow:0 18px 35px #102b3d55,inset 0 0 0 7px #fff5db;animation:letter-rise .6s ease-out;text-align:left}.postcard-heading{font-family:Georgia,serif;font-style:italic;color:#a58049;font-size:16px;padding-bottom:20px;border-bottom:1px solid #c9ad7666}.postcard p{white-space:pre-wrap;font-size:16px;line-height:1.9;padding-top:15px}.postcard-sign{text-align:right;font-family:Georgia,serif;font-size:20px;font-style:italic;color:#aa7c44}.attachment-link{display:inline-block;color:#6d7148;margin-top:15px;font-size:13px}.renew{display:block;background:none;color:#836e44;font-size:11px;margin-top:10px;text-decoration:underline}.empty-letter{text-align:center;margin:80px}.admin-scene{padding:35px;min-height:calc(100vh - 88px);background:linear-gradient(#274950ee,#143b4bee),url(../world/adventure-world.jpg) center/cover}.admin-scene h1{font-size:30px}.admin-form{display:grid;gap:20px;max-width:550px;margin-top:30px}.admin-form button{padding:13px;background:#e4c184;color:#4f442f;border-radius:10px}.reward-grid{display:flex;gap:20px}.reward{background:#173d4b;border:1px solid #baa470;border-radius:15px;text-align:center;padding:20px}.admin-portrait{display:block;width:90px;height:90px;border-radius:50%;overflow:hidden;margin:auto}.reward h3{margin:12px 0 0}.reward p{font-size:12px;margin:7px 0 0}@keyframes beacon-bob{50%{transform:translateY(-6px)}}@keyframes cloud-drift{50%{transform:translate(90px)}}@keyframes firefly{0%,to{opacity:.1;transform:translate(0)}50%{opacity:.9;transform:translate(15px,-23px)}}@keyframes water-flow{to{background-position:0 84px}}@keyframes trail-flow{to{stroke-dashoffset:-182}}@keyframes character-arrive{0%{opacity:0;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}@keyframes scene-arrive{0%{opacity:0;transform:scale(1.018)}to{opacity:1;transform:scale(1)}}@keyframes reward-arrive{0%{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}@keyframes star-pop{0%{opacity:0;transform:scale(.1) rotate(-40deg)}70%{transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes flame-pulse{to{transform:scaleY(.75)}}@keyframes stars-twinkle{50%{opacity:.25}}@keyframes trophy-rise{0%{opacity:0;transform:translateY(35px) scale(.7)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes rays-turn{to{transform:rotate(360deg)}}@keyframes relic-float{50%{transform:translateY(-5px)}}@keyframes letter-rise{0%{opacity:0;transform:translateY(-20px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@media(min-width:1600px){.world-heading{top:40px;left:50px}.world-heading h1{font-size:45px}.map-character{width:210px;height:235px;left:55px;bottom:50px}.island-plaque strong{font-size:18px}.island-plaque{padding:14px 25px 10px}.island-beacon{height:57px;width:57px}.map-quest{bottom:60px}.game-panel{padding-top:50px}.flight-scene{height:280px}.equation{font-size:75px}}@media(max-width:1050px){.game-hud{padding:0 18px;gap:12px}.wordmark{font-size:15px}.wordmark small{font-size:6px}.game-hud nav button{padding:10px;font-size:10px;gap:5px}.hud-player{gap:10px}.player-switch>span{display:none}.world-heading h1{font-size:29px}.world-heading{left:24px;top:22px}.world-heading p{font-size:10px}.island-plaque{min-width:180px;padding:9px 16px 7px}.island-plaque strong{font-size:13px}.map-character{width:150px;height:170px;bottom:45px;left:25px}.map-quest{width:345px;transform:translate(-35%)}.artifact-shelf{gap:20px}.mini-header h1{font-size:30px}}@media(max-width:700px){.game-hud{height:116px;flex-wrap:wrap;gap:0;padding:10px 13px 0;align-content:space-between}.wordmark{font-size:14px}.wordmark small{font-size:5px;letter-spacing:1.8px}.brand-sigil{width:34px;height:34px;font-size:23px}.brand-sigil>span{font-size:15px}.hud-player{margin-left:auto}.star-counter{font-size:14px;padding:5px 9px}.star-counter svg{height:19px;width:19px}.player-switch .portrait{height:35px;width:35px}.player-switch>svg{display:none}.game-hud nav{order:3;flex:1;justify-content:center;background:none;padding:4px 0 6px}.game-hud nav button{padding:8px 14px;font-size:10px;gap:7px}.game-hud nav button svg{height:16px;width:16px}.game-viewport{min-height:calc(100vh - 116px);overflow-x:auto;overscroll-behavior-x:contain}.world-scene{width:1000px;height:730px;min-height:calc(100svh - 116px);touch-action:pan-x pan-y}.world-heading{top:20px;left:20px}.world-heading h1{font-size:27px}.world-heading p{font-size:11px}.world-heading:after{content:"Проведи по карте, чтобы увидеть все острова →";display:block;background:#183e4da8;border:1px solid #e7d4a255;border-radius:12px;padding:7px 10px;font-size:9px;margin-top:12px;color:#ffe7b0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.map-character{left:22px;width:140px;height:155px;bottom:48px}.map-quest{left:230px;bottom:44px;transform:none;width:330px}.map-hint{display:none}.island-beacon{width:43px;height:43px}.locked-island{top:14%;right:3%}.world-status{position:fixed;bottom:0;font-size:7px;padding:3px 10px;z-index:8;background:#183c4be6}.game-stage,.game-panel{min-height:calc(100svh - 116px)}.back{top:12px;left:13px;font-size:9px;padding:7px 11px}.game-panel{padding:60px 15px 35px}.mini-header h1{font-size:29px;letter-spacing:-1px}.mini-header .eyebrow{font-size:7px;letter-spacing:1.7px}.mini-header p{font-size:11px;max-width:320px;margin:0 auto 15px}.flight-scene{height:190px;margin-bottom:8px}.flying-rocket{width:68px;height:115px;top:26px}.planet-home{width:58px;height:58px;bottom:32px}.planet-destination{height:72px;width:72px;top:25px}.planet-destination>span{border-width:6px}.flight-label{font-size:7px;bottom:14px}.flight-checkpoint{height:15px;width:15px;top:58%}.flight-orbit{top:60%}.fuel-meter{gap:9px;font-size:8px;letter-spacing:.5px}.fuel-meter i{width:19px;height:8px}.fuel-meter>div{gap:4px}.equation{font-size:48px;gap:15px;margin:22px auto}.equation>span{font-size:28px}.answers{gap:15px}.answers button{width:78px;height:70px;font-size:28px;border-radius:16px}.game-feedback{font-size:11px;margin:17px auto 0;max-width:310px}.cards{gap:10px;margin:20px auto;max-width:440px}.cards button{border-radius:12px;border-bottom-width:4px}.tile-back,.tile-face{inset:5px;border-radius:7px}.rune-diamond{width:23px;height:23px;border-width:2px;box-shadow:0 0 0 4px #c7c59222}.game-instruction{font-size:9px}.crystals{gap:2px;margin:0 auto 18px;padding:0;max-width:400px}.crystal{width:24%;height:165px}.crystal-label{font-size:9px}.sequence-cue{font-size:12px}.sequence-progress{margin:21px 0}.music-controls{gap:7px}.soft-button{padding:9px 12px;font-size:9px}.victory{padding:5px 10px 20px}.victory h2{font-size:27px}.victory p{font-size:11px}.victory-art{width:90px;height:90px}.game-won .flight-scene{height:150px}.treasure-scene{padding:30px 13px 55px;min-height:calc(100svh - 116px)}.scene-title h1{font-size:28px;letter-spacing:-1px}.scene-title .eyebrow{font-size:8px;letter-spacing:1.3px}.scene-title p{font-size:11px;max-width:300px;margin:auto}.artifact-shelf{grid-template-columns:repeat(2,1fr);gap:20px 4px;margin-top:25px}.relic{padding:9px 4px 0;min-height:170px}.medallion{width:94px;height:94px;border-width:5px}.relic strong{font-size:11px}.relic>small{font-size:8px}.relic-pedestal{width:120px;height:22px}.relic-halo{width:150px;height:150px}.relic-description{font-size:9px}.adventure-log{font-size:11px;padding:12px}.adventure-log p{display:block;font-size:10px}.adventure-log p b{padding:0 8px}.letters-scene{padding:30px 13px 55px;min-height:calc(100svh - 116px)}.envelope{width:270px;height:166px;margin-top:40px}.envelope-flap{height:100px}.wax-seal{top:75px;height:42px;width:42px;left:calc(50% - 21px)}.postcard{padding:25px 24px}.postcard p,.postcard-heading{font-size:14px}.postcard-sign{font-size:18px}.envelope-hint{font-size:10px}.welcome{padding:30px 15px;min-height:100svh}.welcome h1{font-size:40px;letter-spacing:-1px;margin-bottom:22px}.welcome h1 span{font-size:20px;letter-spacing:1px}.brand{font-size:7px;letter-spacing:1.6px}.welcome p{font-size:13px}.profile-picker{gap:17px;margin:25px 0}.profile-picker button{width:43%;max-width:190px;border-width:2px}.picker-portrait{height:180px}.pick-name{font-size:18px;padding:10px 6px}.pick-name small{font-size:8px}.welcome footer{font-size:9px}.notice{top:125px;right:10px;font-size:10px;padding:10px 12px;gap:7px}.admin-scene{padding:25px 15px}.admin-scene h1{font-size:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.scene-enter{opacity:1}.is-travelling .portal-ring{transform:none}.crystal.lit .crystal-body{transform:none;filter:brightness(1.7)}}@media(max-width:1050px){.world-heading:after{content:"Проведи по карте, чтобы увидеть все острова →";display:block;background:#183e4da8;border:1px solid #e7d4a255;border-radius:12px;padding:7px 10px;font-size:9px;margin-top:12px;color:#ffe7b0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}}@media(pointer:coarse){.game-hud nav button,.soft-button{min-height:44px}}.mission-preparation{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:75px!important;isolation:isolate}.mission-preparation .mini-header{max-width:650px;position:relative;z-index:1}.mission-object{height:125px;width:100px;margin:0 auto 15px;position:relative;filter:drop-shadow(0 12px 22px #001b3366)}.mission-object svg{height:100%;width:100%}.mission-scroll{width:min(650px,100%);padding:24px 30px;background:linear-gradient(145deg,#fff2c9,#e4c887);color:#50381f;border:2px solid #fff7d3;border-radius:25px;box-shadow:0 12px #7c542d,0 24px 45px #0005;position:relative;z-index:1;text-align:center}.mission-scroll>strong{font-size:19px}.mission-scroll>p{line-height:1.5;margin:8px 0 18px;font-size:14px}.difficulty-picker{margin:18px 0;border:0;padding:0;display:flex;gap:9px;text-align:left}.difficulty-picker legend{font-size:12px;font-weight:800;margin-bottom:10px;text-align:center;width:100%;text-transform:uppercase;letter-spacing:1px}.difficulty-picker label{flex:1;position:relative;display:flex;align-items:flex-start;gap:7px;border:2px solid #bd9758;border-radius:13px;padding:13px 9px;background:#fff7e1;cursor:pointer;transition:transform .15s,background .15s;min-width:0}.difficulty-picker label.chosen{background:#d5efc2;border-color:#507a4b;box-shadow:0 3px #63804c;transform:translateY(-2px)}.difficulty-picker input{width:16px;height:16px;flex:none;accent-color:#456d43;margin:1px 0}.difficulty-picker b{display:block;font-size:12px}.difficulty-picker small{display:block;font-size:10px;line-height:1.4;margin-top:5px;font-weight:500}.mission-detail{min-height:42px}.mission-reward{display:block;margin-top:15px;font-size:11px}.mission-scroll .gold-button{font-size:16px}.scene-task{font-size:14px;min-height:24px;color:#fff4c9;text-align:center;margin:12px auto}.hint-button{display:block;margin:22px auto 0;border:1px solid #96d5ef66;border-radius:20px;padding:10px 18px;background:#244e74;color:#d9f4ff;font-size:12px;min-height:44px;cursor:pointer}.navigator-hint{max-width:550px;margin:14px auto 0;padding:12px 18px;background:#112d55e6;border:1px solid #6ed0f780;border-radius:18px;color:#ecfaff;font-size:14px;text-align:center;line-height:1.6}.navigator-hint p{margin:0}.counting-stars{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:12px}.counting-stars>span{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;max-width:45%}.counting-stars svg{height:21px;width:21px}.counting-stars>span:last-child{filter:hue-rotate(140deg)}.melody-notes{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;min-height:23px;margin:6px auto 15px}.melody-notes span{font-size:10px;padding:4px 8px;border-radius:10px;background:#c4aff230;color:#fff1d3}.forest-wings{position:absolute;inset:0;pointer-events:none;overflow:hidden;opacity:.75}.forest-wings i{position:absolute;bottom:-20px;width:100px;height:75%;background:linear-gradient(90deg,#0d302d,#1d6250 50%,#092d29);border-radius:65% 45% 0 0;box-shadow:12px 0 30px #001d2e55}.forest-wings i:before{content:"";position:absolute;width:320px;height:290px;border-radius:50%;background:radial-gradient(ellipse at 60% 70%,#3d8b58,#133e37 70%);bottom:50%;left:-100px;box-shadow:0 0 60px #5adf7555}.forest-wings i:nth-child(1){left:-55px;transform:rotate(9deg)}.forest-wings i:nth-child(2){right:-55px;transform:rotate(-9deg)}.forest-wings i:nth-child(3){left:-80px;height:45%;filter:brightness(.6)}.forest-wings i:nth-child(4){right:-80px;height:40%;filter:brightness(.6)}.music-ripples{position:absolute;inset:40% -20% 0;pointer-events:none;overflow:hidden;opacity:.5}.music-ripples i{position:absolute;left:15%;right:15%;height:170px;border:2px solid #bcd5ff44;box-shadow:0 0 30px #aa8aff44,inset 0 0 35px #8be6f733;border-radius:50%;bottom:10%;transform:scale(1.2)}.music-ripples i:nth-child(2){bottom:17%;transform:scale(.9)}.music-ripples i:nth-child(3){bottom:24%;transform:scale(.6)}.game-panel>.mini-header,.game-panel>.puzzle-area,.game-panel>.victory{position:relative;z-index:1}@media(max-width:700px){.mission-preparation{padding:65px 15px 40px!important;justify-content:flex-start}.mission-object{height:85px;width:75px;margin-bottom:10px}.mission-scroll{padding:18px 14px;border-radius:20px}.mission-scroll>strong{font-size:15px}.mission-scroll>p{font-size:12px}.difficulty-picker{flex-direction:column;margin:15px 0;gap:8px}.difficulty-picker label{padding:10px 12px;min-height:48px;align-items:center}.difficulty-picker label span{display:flex;flex:1;align-items:center;gap:12px;justify-content:space-between}.difficulty-picker b{font-size:12px}.difficulty-picker small{font-size:10px;max-width:145px;margin:0;text-align:right}.mission-detail{min-height:0}.mission-scroll .gold-button{font-size:14px}.scene-task{font-size:11px;max-width:310px}.navigator-hint{font-size:12px;padding:12px}.counting-stars svg{width:16px;height:16px}.forest-wings{opacity:.4}.melody-notes span{font-size:9px}}@media(prefers-reduced-motion:reduce){.difficulty-picker label{transition:none}}.pin-dragon-maze{left:48%;top:69%;z-index:5}.pin-dragon-maze:before{content:"";position:absolute;width:170px;height:65px;left:50%;top:4px;transform:translate(-50%);border-radius:50%;background:radial-gradient(ellipse at 50% 20%,#b2e295,#3f8268 65%,#234957 67%);box-shadow:0 14px 0 -3px #244e58,0 24px 18px #1e435755;z-index:-1}.pin-dragon-maze .island-beacon{background:linear-gradient(#d4ffc1,#73c88b);color:#285a53}@media(max-width:600px){.pin-dragon-maze{left:53%;top:72%}.pin-dragon-maze .island-plaque strong{font-size:12px}.pin-dragon-maze:before{width:125px}}
