@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/font-0.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/font-1.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/font-2.ttf) format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/font-3.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/font-4.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/font-5.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/font-6.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/font-7.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/font-8.ttf) format("truetype")}@font-face{font-family:Outfit;font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/font-9.ttf) format("truetype")}:root{font-family:DM Sans,sans-serif;color:#f0e9d7;background:#102c35;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:focus-visible,select:focus-visible{outline:3px solid #ffe0a0;outline-offset:4px}button:disabled{cursor:default}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:hover:not(:disabled){filter:brightness(1.08)}button:active:not(:disabled){transform:translateY(2px)}.app{min-height:100dvh;background:radial-gradient(ellipse at 70% 45%,#244e4b88,transparent 55%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 33v4m-2-2h4' stroke='%23a8c4b7' opacity='.045'/%3E%3C/svg%3E");display:flex;flex-direction:column;padding:0 6vw}.site-header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #abc0b61c}.brand{background:none;display:flex;align-items:center;gap:10px;font-family:Outfit,sans-serif;font-size:19px;letter-spacing:3px;font-weight:600}.brand>span{color:#efce8a;font-size:34px;line-height:1}.brand small{font-family:DM Sans,sans-serif;font-size:8px;letter-spacing:2px;border-left:1px solid #71847e;padding-left:13px;max-width:68px;text-align:left;line-height:1.6}.header-right{display:flex;align-items:center;gap:28px}.edition{font-size:9px;letter-spacing:2px;color:#9ab4af}.icon-button{border:1px solid #b4cebd33;background:#23464b;color:#e9e6d5;width:42px;height:42px;border-radius:50%;font-size:21px;display:grid;place-items:center}.app>main{flex:1;display:flex;align-items:center;justify-content:center}.home-layout{width:100%;max-width:1190px;display:grid;grid-template-columns:1fr 390px 65px;gap:65px;align-items:center;padding:38px 0}.eyebrow{color:#dbbf86;font-size:10px;letter-spacing:2.8px;font-weight:700;display:flex;align-items:center;gap:10px}.eyebrow>span{height:6px;width:6px;background:#dbbf86;border-radius:50%}h1,h2,p{margin:0}h1{font-family:Outfit,sans-serif;font-size:clamp(38px,4.3vw,65px);font-weight:500;letter-spacing:-2px;line-height:1.1;margin:27px 0}h1 em{font-style:normal;color:#dfbd7e}.intro>p{color:#a8bbb4;font-size:15px;margin-top:24px}.intro-details{display:flex;gap:30px;margin-top:42px;padding-top:24px;border-top:1px solid #a8bca522;width:fit-content}.intro-details>span{font-size:19px;color:#e6d5b1}.intro-details small{display:block;font-size:10px;letter-spacing:.3px;color:#9eb2aa;margin-top:8px}.desktop-caption{margin-top:73px;display:flex;gap:15px;align-items:center;font-size:10px;line-height:2;color:#91aaa3}.desktop-caption>span{font-size:26px;color:#cbb982}.desktop-caption b{font-size:8px;letter-spacing:2px;font-weight:400}.home-card,.level-card{width:390px;height:658px;border:1px solid #9db5a780;border-radius:24px;position:relative;overflow:hidden;background:#5b8d80;box-shadow:0 30px 80px #03171b70,0 0 0 7px #739b8910}.world-art{position:absolute;inset:0;background:url(../art/world.svg) center/cover;z-index:0}.world-art:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#173f3acc 76%,#15382f)}.card-top{position:absolute;top:21px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center}.chapter-pill,.star-pill{font-size:8px;letter-spacing:1.8px;background:#173a3ba6;border:1px solid #c0d8b750;border-radius:30px;padding:9px 12px;color:#f6eacb}.star-pill{font-size:13px;color:#ffe1a0;letter-spacing:0;padding:7px 12px}.star-pill small{color:#bdcbbb;font-size:9px}.game-title{position:absolute;top:72px;width:100%;text-align:center;color:#fff2c9;filter:drop-shadow(0 3px 0 #285752)}.mini-crown{font-size:31px;color:#f5d389;line-height:1}.game-title h2{font-family:Outfit,sans-serif;font-size:49px;line-height:.95;font-weight:900;letter-spacing:-2px;margin:9px 0 13px;text-shadow:0 3px #497365}.game-title h2 span{color:#f5cd82}.title-rule{display:flex;justify-content:center;align-items:center;gap:11px;font-size:8px;letter-spacing:4px;font-weight:700}.title-rule i{width:27px;height:1px;background:#fbebbd99}.hero-king{position:absolute;width:238px;height:276px;top:216px;left:76px}.hero-king>img{width:100%;height:100%;filter:drop-shadow(0 9px 5px #112f3b40);animation:breathe 3s ease-in-out infinite}.speech{position:absolute;z-index:2;top:5px;right:-36px;transform:rotate(6deg);border-radius:13px 13px 13px 0;background:#fff4d9;color:#42594f;font-size:10px;padding:10px;box-shadow:0 3px 7px #13372f33}.home-actions{position:absolute;bottom:58px;left:30px;right:30px}.next-level{text-align:center;font-size:10px;color:#e0ddc5;margin-bottom:12px}.primary{width:100%;min-height:51px;background:linear-gradient(#f7d897,#dfb36a);color:#354b42;border:1px solid #ffe9b0;border-bottom:4px solid #ab804d;border-radius:12px;font-family:Outfit,sans-serif;font-weight:700;font-size:19px;box-shadow:0 5px 16px #102f3526;display:flex;align-items:center;justify-content:center;gap:28px}.primary span{font-size:13px}.secondary{width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:13px;border-radius:10px;background:#234b43d9;border:1px solid #a6bb9855;font-weight:500;font-size:12px;margin-top:10px}.secondary>span:last-child{font-size:10px;color:#bdc9ac}.card-foot{position:absolute;bottom:21px;left:30px;right:30px;font-size:9px;color:#b5c4a9;letter-spacing:1px;display:flex;justify-content:space-between}.card-foot span{color:#d6bf83}.side-note{height:440px;display:flex;flex-direction:column;align-items:center;gap:23px;font-size:10px;color:#8caaa0}.side-note>span{color:#d6bf83}.side-note i{width:1px;height:100px;background:#88a29444}.side-note p{writing-mode:vertical-rl;letter-spacing:2px}.site-footer{height:54px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #abc0b61c;font-size:8px;letter-spacing:1.7px;color:#9aada4}.site-footer i{font-style:normal;color:#678980;margin-left:12px;letter-spacing:0}.site-footer b{color:#c2ad78;margin-left:18px}.level-card{margin:28px 0;height:675px}.level-top{position:relative;display:flex;align-items:center;justify-content:space-between;padding:20px;color:#ffe2a1}.level-heading{position:relative;text-align:center;margin:10px 0 25px}.level-heading .eyebrow{justify-content:center;font-size:9px;color:#e5f0d5}.level-heading h2{font-family:Outfit;font-size:27px;margin:8px 0;color:#fff0ce;text-shadow:0 2px #477669}.level-heading p{font-size:11px;color:#f4ecd5}.level-grid{position:relative;display:grid;grid-template-columns:repeat(3,72px);justify-content:center;gap:18px 25px}.level-node{height:75px;border-radius:18px;background:linear-gradient(#476c61,#294c43);border:2px solid #97aa89;box-shadow:0 4px #214438;display:flex;flex-direction:column;align-items:center;justify-content:center}.level-node b{font-family:Outfit;font-size:26px}.level-node span{font-size:11px;color:#edd090;letter-spacing:3px}.level-node.current{background:linear-gradient(#f4d38d,#d3a961);color:#354c40;border-color:#ffedb4}.level-node.completed{background:linear-gradient(#8ec6a0,#4b937d)}.level-node:disabled{filter:saturate(.3);opacity:.7}.level-node:last-child{grid-column:2}.coming-soon{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:26px}.coming-soon>span{font-size:24px;color:#e1c58c}.coming-soon b{font-size:11px;font-weight:500}.coming-soon small{font-size:9px;color:#a4bbaa}.game-shell{width:392px;margin:18px 0;background:#193c42;padding:10px;border:1px solid #718f7c66;border-radius:22px;box-shadow:0 15px 70px #061d2870;display:flex;flex-direction:column;position:relative}.game-top{display:flex;align-items:center;justify-content:space-between;height:52px;flex-shrink:0;gap:12px;padding:0 3px 7px}.game-top>.icon-button{width:34px;height:34px;font-size:16px;border-radius:11px}.game-top>div:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px}.game-top small{font-size:8px;color:#b6c6b8;text-transform:uppercase;letter-spacing:1px}.game-top b{font-size:12px;font-weight:500}.counter{background:#102e35;border:1px solid #667f6c70;border-radius:9px;min-width:65px;text-align:center;padding:3px 6px;display:flex;flex-direction:column}.counter strong{font-family:Outfit;font-size:23px;color:#f3db9f;line-height:1}.counter small{font-size:6px;margin-top:4px}.counter.urgent{background:#8d4745;animation:pulse .7s infinite}.rescue-wrap{position:relative;flex-shrink:0;height:170px;border-radius:13px;overflow:hidden;border:1px solid #7b8e7655}.danger{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#698877,#344e4e 50%,#243941);isolation:isolate}.arch{position:absolute;left:22%;right:22%;height:170%;top:8%;border:20px solid #62746a;border-radius:80px 80px 0 0;background:radial-gradient(ellipse at 50% 50%,#e1c793,#667461 70%);box-shadow:0 0 0 7px #324c49,inset 0 0 25px #233f3c}.ground{position:absolute;bottom:0;left:0;right:0;height:18%;background:#857e62;border-top:5px solid #b1a37f}.king-wrap{position:absolute;height:145px;width:136px;bottom:6px;left:calc(50% - 68px);animation:breathe 2s ease-in-out infinite;z-index:2}.king-wrap>img{width:100%;height:100%}.reaction{position:absolute;top:38px;right:5px;font-family:Outfit;font-weight:800;font-size:21px;color:#fff0b5;transform:rotate(12deg)}.scared .king-wrap{animation:breathe .7s infinite}.panic .king-wrap{animation:panic .16s infinite alternate}.celebrate .king-wrap{animation:jump .6s ease-in-out infinite}.defeated .king-wrap{transform:translateY(35px) rotate(-15deg);filter:grayscale(.5);opacity:.55}.rock-wall{position:absolute;width:140px;right:calc(-85px + var(--pressure) * 80px);bottom:-15px;display:flex;flex-wrap:wrap;z-index:3;transform:scale(calc(1 - var(--progress) * .45));transition:right .6s,transform .4s}.rock-wall img{width:60px;height:60px;margin:-9px -4px}.collapse .rock-wall{width:100%;right:0;top:calc(-65px + var(--pressure) * 50px);bottom:auto;justify-content:center}.liquid{position:absolute;left:-10%;bottom:0;width:120%;height:calc(9% + var(--pressure) * 60%);z-index:3;background:linear-gradient(#f2b755dd,#d75e46);border-radius:35% 30% 0 0;border-top:4px solid #ffe591;transition:height .8s;animation:wave 2.5s ease-in-out infinite alternate}.liquid.blue{background:linear-gradient(#90e5e7cc,#31899cd9);border-color:#c7f6ee}.liquid i{display:inline-block;width:8px;height:8px;border:1px solid #fff5;margin:12px 35px;border-radius:50%}.spike-wall{position:absolute;left:calc(-45px + var(--pressure) * 58px);top:13%;bottom:0;width:55px;background:#425d62;z-index:3;transition:left .7s}.spike-wall i{display:block;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:36px solid #c4d4cf;margin-left:45px;filter:drop-shadow(0 2px #758c89)}.monster-body{position:absolute;right:calc(-64px + var(--pressure) * 85px);bottom:18px;width:90px;height:105px;border-radius:50% 50% 30% 30%;background:#86a76c;border:5px solid #416252;z-index:3;transition:right .7s;box-shadow:inset -10px -10px #678d62}.monster-body i{display:inline-block;background:#fff1cb;width:18px;height:20px;border-radius:50%;margin:27px 3px 0 12px;box-shadow:inset 5px 0 #284442}.monster-body b{display:block;text-align:center;font-size:33px;color:#284442;line-height:20px}.motes{position:absolute;inset:15px;color:#f4d79b;font-size:15px;word-spacing:60px;opacity:.5}.motes span{display:inline-block;transform:translateY(30px)}.torch{position:absolute;top:49px;width:10px;height:25px;background:#eec587;border-radius:50%;box-shadow:0 0 25px 10px #f6cb6a40;animation:pulse 1s infinite}.torch.left{left:17%}.torch.right{right:17%}.rescue-label{position:absolute;top:8px;left:0;right:0;text-align:center;font-size:10px;font-weight:700;text-shadow:0 1px 5px #16342d;color:#fff2d1}.rescue-progress{position:absolute;bottom:5px;left:26%;right:26%;height:4px;border-radius:5px;background:#102d3288;z-index:4;overflow:hidden}.rescue-progress i{display:block;height:100%;background:#f4d289;transition:width .3s}.goal-bar{display:flex;align-items:center;justify-content:space-between;min-height:45px;padding:5px}.goal-bar>small{font-size:6px;letter-spacing:1.5px;color:#adc1b1;max-width:70px}.goal-bar>div{display:flex;gap:12px}.goal{display:flex;align-items:center;gap:3px}.goal img{width:27px;height:27px}.goal b{font-family:Outfit;font-size:16px;color:#f4e8c4}.goal em{font-style:normal;font-size:11px;color:#a9b7a5;font-weight:400}.board-space{width:100%;aspect-ratio:7/8;position:relative;min-height:0}.board-host{width:100%;height:100%;touch-action:none}.board-host canvas{display:block!important;touch-action:none}.boosters{display:flex;justify-content:center;gap:16px;padding-top:9px;height:61px;flex-shrink:0}.boosters button{position:relative;width:49px;height:46px;border:1px solid #7b9e9270;background:linear-gradient(#3c6560,#25474b);border-radius:14px}.boosters img{width:39px;height:39px}.boosters span{position:absolute;bottom:-4px;right:-4px;background:#f0d494;color:#304c43;font-size:10px;font-weight:700;border-radius:50%;width:18px;height:18px;display:grid;place-items:center;border:2px solid #1b3d43}.boosters button:disabled{opacity:.4}.boosters button.armed{outline:2px solid #f5d395}.game-footer{display:flex;justify-content:space-between;color:#8fafa5;font-size:7px;letter-spacing:1px;padding:6px 4px 0}.game-footer span:nth-child(2){font-family:Outfit;letter-spacing:2px;color:#afc1ad}.toast{position:absolute;top:38%;left:8px;right:8px;text-align:center;pointer-events:none;color:#fff1c4;font-family:Outfit;font-weight:800;font-size:23px;text-shadow:0 3px #314b48,0 0 12px #17363b;background:#17383bdd;border-radius:12px;padding:16px;animation:pop .25s}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#061e29c9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:linear-gradient(145deg,#365e56,#1d4145);border:1px solid #b2b78c66;box-shadow:0 20px 100px #001c2b80;border-radius:25px;padding:28px;width:340px;max-height:calc(100dvh - 32px);overflow:auto;text-align:center;animation:pop .25s}.modal>.eyebrow{justify-content:center}.modal h2{font-family:Outfit;font-size:29px;color:#f4dfad;margin:12px 0 18px}.modal p{font-size:13px;line-height:1.7;color:#c3d1bd;margin-bottom:24px}.modal .primary{margin-top:18px;font-size:17px}.text-button{background:none;padding:12px;font-size:12px;width:100%;color:#c9d7c4}.setting-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0;background:none;border-bottom:1px solid #adc3a325;font-size:13px;text-align:left}.setting-row i{width:36px;height:21px;background:#244146;border-radius:15px;position:relative}.setting-row i:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#839c90;transition:left .2s}.setting-row i.on{background:#d9be81}.setting-row i.on:after{left:18px;background:#fff0c9}.setting-row select{border:1px solid #819b7b;border-radius:7px;background:#23464a;color:#efdfbb;font-size:12px;padding:5px}.pause-symbol{font-size:40px;color:#e0c78d}.result-king{height:165px;max-width:100%}.result-king.happy{animation:jump 1s infinite}.result-king.sad{filter:grayscale(.5);transform:rotate(-10deg)}.result-stars{font-size:39px;color:#f5d082;letter-spacing:5px;text-shadow:0 3px #ad844d}.result-stars span{color:#759385}.result-score{display:flex;justify-content:center;gap:45px;margin:20px 0}.result-score span{font-size:10px;color:#b1c5b1}.result-score b{display:block;font-family:Outfit;font-size:24px;margin-top:5px;color:#f0deb1}.tutorial-symbol{position:relative;display:flex;justify-content:center;height:110px;align-items:center}.tutorial-symbol img{width:65px;height:65px}.tutorial-symbol span{position:absolute;top:60px;font-size:40px;animation:swipe 1.5s infinite}.frozen *{animation-play-state:paused!important}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important}@keyframes breathe{50%{transform:translateY(-4px) rotate(1deg)}}@keyframes panic{to{transform:translate(2px) rotate(2deg)}}@keyframes jump{50%{transform:translateY(-11px) rotate(-3deg)}}@keyframes pulse{50%{filter:brightness(1.15)}}@keyframes wave{to{transform:translate(8px) rotate(2deg)}}@keyframes pop{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes swipe{0%,to{transform:translate(-30px)}60%{transform:translate(30px)}}@media(min-width:800px)and (max-height:850px){.site-header{height:76px}.home-layout{padding:24px 0}.home-card{height:600px;width:360px}.home-layout{grid-template-columns:1fr 360px 40px;gap:45px}.hero-king{top:190px;width:220px;left:68px}.game-title{top:64px}.game-title h2{font-size:43px}.home-actions{bottom:51px}.game-shell{width:350px;margin:10px 0}.rescue-wrap{height:135px}.king-wrap{height:126px}.game-top{height:45px}.boosters{height:55px}.goal-bar{min-height:38px}.site-footer{height:40px}}@media(max-width:900px){.side-note{display:none}.home-layout{grid-template-columns:1fr 360px;gap:30px}.home-card{width:360px}.hero-king{left:62px}h1{font-size:43px}.app{padding:0 4vw}.edition{display:none}}@media(max-width:700px){.app{padding:0 16px}.site-header{height:68px;flex-shrink:0}.brand{font-size:15px;letter-spacing:2px}.brand>span{font-size:28px}.brand small{font-size:6px;max-width:60px}.header-right .icon-button{height:34px;width:34px;font-size:19px}.home-layout{display:flex;justify-content:center;padding:18px 0}.intro,.side-note{display:none}.home-card{width:min(390px,100%);height:min(658px,calc(100dvh - 132px));min-height:490px}.game-title{top:67px}.game-title h2{font-size:43px}.hero-king{top:190px;height:240px;width:224px;left:calc(50% - 112px)}.home-actions{bottom:48px;left:24px;right:24px}.site-footer{height:40px;font-size:6px;letter-spacing:1px}.card-foot{bottom:17px}.site-footer>span:last-child{letter-spacing:0}.level-card{width:100%;height:650px;margin:18px 0}.level-grid{gap:15px 22px}.playing{height:100dvh;min-height:0;padding:env(safe-area-inset-top) 6px env(safe-area-inset-bottom);overflow:hidden}.playing .site-header,.playing .site-footer{display:none}.playing>main{min-height:0;width:100%;height:100%;align-items:center}.game-shell{height:100%;max-height:880px;width:min(100%,440px);margin:0;padding:7px;border:0;border-radius:0;box-shadow:none;align-items:center}.game-top,.rescue-wrap,.goal-bar,.boosters,.game-footer{width:100%}.game-top{height:50px}.rescue-wrap{height:clamp(120px,23dvh,205px)}.king-wrap{height:92%;width:140px;left:calc(50% - 70px)}.goal-bar{height:43px;flex-shrink:0}.board-space{flex:1;aspect-ratio:auto;width:100%;min-height:0;max-height:480px}.boosters{height:60px;padding-top:8px}.game-footer{height:20px;flex-shrink:0}.board-host{position:absolute;inset:0}.counter strong{font-size:24px}}@media(max-width:700px)and (max-height:710px){.home-card{min-height:470px}.game-title{top:58px}.game-title h2{font-size:36px}.hero-king{top:155px;height:200px}.home-actions{bottom:42px}.next-level{font-size:8px;margin-bottom:7px}.home-actions .primary{min-height:45px}.home-actions .secondary{min-height:36px;margin-top:7px}.card-top{top:14px}.card-foot{font-size:8px}.playing .game-top{height:43px}.playing .rescue-wrap{height:121px}.playing .goal-bar{height:36px;min-height:36px}.playing .boosters{height:52px;padding-top:4px}.boosters button{height:42px;width:45px}.boosters img{width:34px;height:34px}.game-footer{height:17px!important}.level-card{height:570px}.level-grid{gap:10px 25px}.level-node{height:63px}.level-heading{margin:0 0 17px}.coming-soon{margin-top:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
