@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--ink:#253e36;--muted:#6d7c73;--paper:#f8f7f0;--green:#286348;--line:#dfe5d8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #e6ad35;outline-offset:4px}header{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;align-items:center;gap:10px;font-family:Outfit,sans-serif;font-size:28px;font-weight:700;letter-spacing:-1px;color:var(--ink);text-decoration:none}.brand-icon{color:#e0a346;font-size:39px}.tag{font:600 9px 'DM Sans',sans-serif;letter-spacing:1px;background:#e8ecdf;padding:6px 9px;border-radius:5px;margin-left:12px}.quiet{border:0;background:transparent;color:var(--green);font-weight:600;font-size:13px;padding:10px}.quiet span{border:1px solid #b9c7b4;border-radius:50%;margin-left:8px;padding:2px 6px}main{max-width:1370px;margin:auto;padding:40px 5% 18px}.intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#678064}h1{font-family:Outfit,sans-serif;font-size:42px;letter-spacing:-1.5px;line-height:1.1;margin:12px 0}h1 span{color:#d69738}.intro p{color:var(--muted);font-size:14px;margin:0}.level{display:flex;flex-direction:column;gap:8px}.level label{font-size:11px;color:var(--muted);font-weight:600}.level select{background:#fffdf7;border:1px solid #d4ddcb;border-radius:10px;padding:12px;color:var(--ink);font-size:13px}.game-shell{position:relative;border:6px solid white;border-radius:22px;overflow:hidden;box-shadow:0 12px 35px #29433312;background:#b3dbcb}.world-top{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;z-index:1;gap:8px;pointer-events:none}.place,.stars{display:flex;align-items:center;gap:9px;border-radius:30px;background:#fffdf4e8;box-shadow:0 3px 10px #203b2910;padding:10px 15px;font-size:10px;font-weight:700;letter-spacing:.7px}.place i{width:7px;height:7px;border-radius:50%;background:#668d54}.place span{color:#c1c9b9}.stars{font-size:20px;color:#c38c29;letter-spacing:3px}.stars b{font-size:10px;letter-spacing:0;color:#577152}canvas{width:100%;aspect-ratio:1200/540;display:block;touch-action:none}.world-bottom{padding:12px 18px;background:#f5f8ef;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#68806f}.world-bottom span{display:flex;align-items:center;gap:5px}kbd{border:1px solid #d2ddcb;border-radius:4px;padding:2px 4px;background:#fff;font-size:10px}.divider{margin:0 9px;color:#c4ceba}#interact{position:absolute;bottom:65px;left:50%;transform:translateX(-50%);border:0;border-radius:30px;background:#254a35;color:#fff;padding:12px 22px;box-shadow:0 5px 20px #203b2940;font-size:13px}#interact span{margin-left:10px;color:#c7dca9}#toast{position:absolute;top:76px;left:50%;transform:translateX(-50%);background:#fff9e8;border-radius:15px;padding:12px 20px;box-shadow:0 4px 15px #24473520;text-align:center;font-size:13px;max-width:90%;width:max-content}#toast:empty{display:none}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 15px}h2{font-family:Outfit,sans-serif;font-size:21px;letter-spacing:-.4px;margin:0}.section-heading>span{font-size:11px;color:var(--muted)}.quests{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quest{display:flex;align-items:center;text-align:left;gap:13px;padding:19px 15px;background:#fffdf8;border:1px solid var(--line);border-radius:14px;color:var(--ink);transition:transform .2s,box-shadow .2s}.quest:hover{transform:translateY(-3px);box-shadow:0 6px 18px #284a3310}.quest>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.quest small{font-size:8px;letter-spacing:1px;color:#7c896e;font-weight:700}.quest strong{font-family:Outfit,sans-serif;font-size:17px;font-weight:600}.quest span span{font-size:10px;color:var(--muted)}.quest b{margin-left:auto;font-size:20px;color:#72876c}.avatar{flex-shrink:0;display:grid;place-items:center;width:50px;height:56px;font-size:29px;border-radius:12px;background:#fae8cc}.rabbit{background:#e9eddf}.bear{background:#e9dfce}.quest.done{background:#edf3e7;border-color:#9cba8b}footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:#899181;font-size:10px}dialog{border:0;border-radius:25px;padding:32px;max-width:470px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 100px #16362650;text-align:center;background:#fffdf6}dialog::backdrop{background:#163c315f;backdrop-filter:blur(5px)}.close{position:absolute;right:15px;top:12px;background:none;border:0;color:#81917e;font-size:27px}.big-avatar{font-size:53px;margin-bottom:10px}dialog h2{font-size:29px;margin:12px 0}dialog p{font-size:14px;color:#6a7c6b;line-height:1.7}#equation{font-family:Outfit,sans-serif;font-size:43px;font-weight:600;background:#eef2e5;border-radius:16px;padding:18px;margin:22px 0}label[for=answer]{display:block;text-align:left;font-size:12px;margin-bottom:8px}.answer-row{display:flex;gap:10px}input{width:100px;min-width:0;flex:1;border:1px solid #bfd0b4;border-radius:10px;padding:10px;font-size:22px;text-align:center}.primary{border:0;background:var(--green);color:#fff;border-radius:10px;font-size:13px;font-weight:600;padding:15px 20px}#feedback{min-height:24px;margin:13px 0 0}#feedback.success{color:#28714a;font-weight:600}#hint-content{background:#fff0cf;border-radius:10px;padding:15px;font-size:14px;line-height:1.7;margin-top:12px}.note{font-size:12px!important}button[hidden],div[hidden],form[hidden]{display:none!important}@media(max-width:800px){header{height:70px}.tag{display:none}main{padding-top:26px}h1{font-size:32px}.intro{align-items:flex-start;flex-direction:column;gap:18px}.level{flex-direction:row;align-items:center;width:100%;justify-content:space-between}.level select{padding:9px}.world-top{top:10px;left:10px;right:10px}.place{font-size:8px;padding:8px}.stars{font-size:15px;padding:8px}.stars b{display:none}canvas{aspect-ratio:1.6;object-fit:cover}.world-bottom>span:last-child{display:none}.section-heading{align-items:flex-start;gap:9px;flex-direction:column}.quests{grid-template-columns:1fr}.quest{padding:12px 16px}.quest small{font-size:9px}.quest span span{font-size:12px}.quest strong{font-size:18px}.avatar{height:48px}.brand{font-size:25px}footer{gap:15px}#interact{bottom:48px;white-space:nowrap;padding:10px 15px}#toast{top:52px;font-size:11px;padding:10px}dialog{padding:25px}.world-bottom{padding:10px;font-size:9px}}
/* Illustrated fantasy direction */

:root{--ink:#e6e7dd;--muted:#9dafa9;--paper:#0d191d;--green:#cbb17c;--line:#b4995c2c}body{background:radial-gradient(ellipse at 65% 10%,#1b3639 0,transparent 58%),#0d191d;font-family:Manrope,'DM Sans',sans-serif;color:var(--ink)}header{height:79px;border-color:#bea77626;padding:0 5%}.brand{font-family:'Cormorant Garamond',Georgia,serif;text-transform:uppercase;font-weight:600;font-size:28px;letter-spacing:2.5px}.brand-icon{font-size:38px;color:#d4b676}.tag{background:none;border-left:1px solid #b49c6759;border-radius:0;font-size:8px;color:#9bafab;letter-spacing:2px;padding-left:20px;margin-left:17px}.quiet{color:#c3cbbd;font-size:12px;font-weight:500}.quiet span{border-color:#a18d604d;color:#d3ba84}main{max-width:1510px;padding-top:33px}.intro{margin-bottom:26px}.eyebrow{font-size:9px;color:#c9ad73;letter-spacing:2.8px;font-weight:600}h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:52px;letter-spacing:-.6px;font-weight:500;margin:9px 0 7px}.intro p{font-size:12px;color:#a8b9b4;letter-spacing:.2px}.level label{font-size:10px;color:#9badab;text-transform:uppercase;letter-spacing:1.5px}.level select{background:#17282b;border:1px solid #b198615e;border-radius:4px;color:#dfdccd;font-size:12px;padding:12px 15px;min-width:223px}.level select option{background:#17282b}.game-shell{border:1px solid #a58c535e;border-radius:7px;box-shadow:0 20px 65px #00000040;background:#152e32}.world-top{top:18px;left:19px;right:19px}.place,.stars{border:1px solid #c4ab6b45;border-radius:4px;background:#0c1b20d9;box-shadow:0 5px 20px #0003;color:#e4dbc6;padding:10px 14px;font-size:9px;letter-spacing:1.3px;backdrop-filter:blur(8px)}.place i{background:#d9be7c;box-shadow:0 0 10px #dec78480;border-radius:0;transform:rotate(45deg);height:5px;width:5px}.place span{color:#bca56f}.stars{font-size:18px;color:#d7b778;letter-spacing:5px}.stars b{color:#d5d7c6;font-size:9px;letter-spacing:.5px;font-weight:500}.world-bottom{background:#102126;border-top:1px solid #ba9c582e;color:#9eafa7;font-size:9px;padding:12px 18px}.world-bottom kbd{background:#203236;color:#d6dccd;border-color:#ab945c35;border-radius:2px}canvas{aspect-ratio:1200/540}.section-heading{margin:28px 0 15px}.section-heading h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;font-weight:500;color:#e4dcc6}.section-heading>span{font-size:10px;color:#97aaa4}.quests{gap:15px}.quest{border:1px solid #ad955439;background:linear-gradient(125deg,#203237,#14262b);border-radius:5px;padding:14px 17px;gap:16px;color:#e9e3d1;position:relative;overflow:hidden;min-height:105px}.quest:before{content:'';position:absolute;top:0;left:0;bottom:0;width:2px;background:#af935b8c}.quest:hover{background:linear-gradient(125deg,#2a4144,#1a3034);border-color:#bca06d8c;box-shadow:0 8px 25px #0004}.quest small{font-size:8px;letter-spacing:1.4px;color:#bcab84}.quest strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;line-height:1.1;font-weight:600}.quest span span{font-size:10px;color:#a9b7ac}.quest b{color:#c2a66b;font-size:20px;font-weight:400}.quest.done{background:linear-gradient(125deg,#25483e,#172d2c);border-color:#68b09a88}.avatar{width:57px;height:76px;align-self:flex-end;border-radius:0;background-image:url('assets/characters.png');background-repeat:no-repeat;background-color:transparent;background-size:420% auto;filter:drop-shadow(0 3px 5px #0008)}.fox{background-position:0 0}.rabbit{background-position:35% 0}.bear{background-position:73% 0;background-size:380% auto}footer{color:#7e948e;font-size:10px;margin-top:19px}.primary{border:1px solid #d0b97a;background:linear-gradient(135deg,#d4bd83,#a58a52);border-radius:4px;color:#15262a;font-size:12px;font-weight:700}.primary:hover{filter:brightness(1.08)}dialog{background:radial-gradient(ellipse at top,#2a4548,#14292e 65%);border:1px solid #c6ad705e;color:#eee4d0;border-radius:8px;padding:30px 34px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#040e15a6;backdrop-filter:blur(5px)}dialog h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:36px;font-weight:500}dialog p{color:#c0cdc1;font-size:13px}dialog .close{color:#c9b787}.big-avatar{color:#d8ba78}.portrait{width:97px;height:100px;background-image:url('assets/characters.png');background-size:400% auto;background-repeat:no-repeat;filter:drop-shadow(0 5px 12px #0007);margin:0 auto 17px}.portrait-0{background-position:0 0}.portrait-1{background-position:35% 0}.portrait-2{background-position:72% 0}#equation{font-family:'Cormorant Garamond',Georgia,serif;font-size:49px;font-weight:500;background:#0b1c2380;border:1px solid #b19b6240;color:#f2dfb3;border-radius:5px}input{color:#efe4ca;background:#0d2026;border:1px solid #b69c6666;border-radius:4px}#hint-content{background:#293a33;border:1px solid #c8ae684d;border-radius:4px;color:#e1d7b8;font-size:13px}#feedback.success{color:#94d6b6}#interact{background:#122a2fee;border:1px solid #d5bc79b3;border-radius:4px;color:#ebddb7;box-shadow:0 5px 30px #0007;font-size:12px}#interact span{color:#d8b971}#toast{background:#152c30ee;border:1px solid #bba06480;border-radius:4px;color:#eadfbd;box-shadow:0 5px 25px #0007}.divider{color:#8e9e91}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline-color:#e2ca8b}@media(min-width:1600px){main{padding-top:40px}.intro{margin-bottom:30px}h1{font-size:59px}}@media(max-width:800px){header{height:66px}.brand{font-size:24px}.tag{display:none}main{padding-top:24px}h1{font-size:40px;line-height:1}.intro{gap:20px}.intro p{line-height:1.6}.level label{font-size:9px}.level select{min-width:0;font-size:11px;padding:9px}.world-top{left:8px;right:8px;top:8px}.place{font-size:7px;padding:7px;letter-spacing:.5px}.stars{padding:7px;font-size:13px}.stars b{display:none}canvas{aspect-ratio:1200/660}.world-bottom{padding:10px;font-size:8px}.quest{min-height:96px;padding:12px 17px}.avatar{height:70px}.quest strong{font-size:25px}.quest span span{font-size:11px}.section-heading{gap:4px}.section-heading h2{font-size:28px}footer{font-size:9px;align-items:flex-start}.portrait{height:96px}dialog{padding:24px}#equation{margin:17px 0;font-size:43px}#toast{font-size:10px}#interact{bottom:45px;font-size:11px}}

/* Portal journey and a scrolling forest */
.objective{display:flex;align-items:center;gap:12px;border-top:1px solid #ae976a30;padding:13px 0 16px;font-size:12px;color:#d1d5c1;line-height:1.5}.objective-icon{color:#d9bc7c;font-size:24px}.objective #travel{margin-left:auto;white-space:nowrap;border:1px solid #b89e5f45;border-radius:4px;background:#223736;font-size:11px}.quest .portrait{width:58px;height:73px;flex-shrink:0;margin:0;background-size:400% auto}.forest-portrait{background-image:url('assets/forest-folk.png');background-repeat:no-repeat;background-size:420% auto}.fp-0{background-position:0 0}.fp-1{background-position:34% 0}.fp-2{background-position:69% 0}.fp-3{background-position:100% 0}.portrait.forest-portrait{height:110px}.quest .portrait.forest-portrait{height:75px}.quest:disabled{cursor:default;opacity:.65}.quest:disabled:hover{transform:none;background:#14262b;box-shadow:none;border-color:#ad955439}.unknown-portrait{width:58px;flex-shrink:0;text-align:center;font:38px Georgia;color:#86978e}#quest-intro{font-size:12px;padding-bottom:13px;border-bottom:1px solid #bb9f6230;margin:5px 0 13px;line-height:1.6}#story{margin-top:10px}#puzzle{max-height:calc(100vh - 26px);overflow-y:auto}#puzzle .portrait{height:86px;margin-bottom:12px}#puzzle h2{margin:10px 0}#puzzle #equation{font-size:39px;padding:14px;margin:15px 0}#journey-map{margin-top:17px;padding:16px 19px;background:#14272b;border:1px solid #9e89512c;border-radius:5px}.map-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a3b6ad}.map-line{height:3px;background:linear-gradient(90deg,#507569,#7eaaa1,#c7b47b);position:relative;margin:15px 0}.map-stop{position:absolute;top:-3px;height:9px;width:9px;background:#4d645c;border:1px solid #a3b393;transform:translateX(-50%) rotate(45deg)}.map-stop.done{background:#d6dca6;box-shadow:0 0 9px #c8df9c70}#journey-marker{position:absolute;top:-5px;height:13px;width:5px;background:#fff0c3;z-index:2;box-shadow:0 0 10px #edc576;transform:translateX(-50%)}.touch-controls{display:flex;gap:6px;align-items:center;margin-top:12px}.touch-controls button{touch-action:none;user-select:none;-webkit-user-select:none;width:40px;height:35px;border:1px solid #b39b6240;border-radius:4px;background:#203438;color:#e5d8b4;font-size:18px}.touch-controls button:active{background:#617a65}.touch-controls span{color:#95aaa0;font-size:10px;margin-left:6px}.quests{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}#ending .big-avatar{font-size:64px;color:#d0e9ac}canvas{touch-action:none}@media(max-width:800px){.objective{font-size:10px;gap:8px;flex-wrap:wrap}.objective-icon{display:none}.objective #travel{margin-left:0;padding:8px}.objective #objective-text{flex:1;min-width:190px}#journey-map{padding:13px}.quests{grid-template-columns:1fr}.touch-controls button{width:45px;height:40px}.portrait.forest-portrait{height:96px}.quest .portrait{height:70px}#puzzle #equation{font-size:31px}#puzzle h2{font-size:29px}.world-top .place{max-width:72%;line-height:1.4}.world-top .stars{flex-shrink:0}}

.coin-count{margin-left:9px;color:#e6d4a4!important;letter-spacing:.2px!important;font-size:9px!important;white-space:nowrap}.offer-actions{align-items:center;justify-content:center;margin-top:18px}.offer-actions .quiet{padding:12px 17px;border:1px solid #b69c6666;border-radius:4px}
