body:has(#film){margin:0;background:#f5f0e7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden;color:#35513c;display:grid;place-items:center;width:100vw;height:100dvh}#demo-scene{position:fixed;width:1px;height:1px;left:-10000px;top:0;visibility:hidden}#film{display:block;max-width:100vw;max-height:100dvh;width:auto;height:auto;aspect-ratio:var(--film-aspect);object-fit:contain}#demo-tools{position:fixed;bottom:20px;left:20px;right:20px;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;z-index:10}#demo-tools:empty{display:none}#demo-tools button,#demo-tools a{font:600 14px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#fff8e8;border:none;padding:15px 22px;border-radius:14px;background:#355d47;cursor:pointer;text-decoration:none;min-height:48px;box-sizing:border-box}#demo-tools a{color:#466243;background:#fff9ed}#demo-tools button:disabled{opacity:.5;cursor:wait}#demo-tools span{padding:12px;background:#fff9eee8;border-radius:12px;max-width:90vw;font-size:13px}#demo-tools span:empty{display:none}#demo-loading{position:fixed;inset:0;display:grid;place-items:center;background:#f5f0e7;font-size:23px;text-align:center;padding:24px}:root{font-family:Inter,ui-rounded,SF Pro Rounded,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#30392f;background:#f5f0e7;font-synthesis:none;font-weight:400;--cream:#f5f0e7;--green:#315949;--sage:#80bda5;--peach:#ffc09b;--line:#34483321}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit;background:none;min-height:48px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #43856c;outline-offset:4px}a{color:inherit;text-decoration:none}#scene{position:fixed;inset:0;touch-action:none}#game-canvas{width:100%;height:100%;display:block}#sdk-mount{position:fixed!important;width:100%;height:100%;pointer-events:none;visibility:hidden}#overlay{position:fixed;inset:0;pointer-events:none}#overlay button,#overlay a,#overlay select,#overlay input,.modal,.home-panel{pointer-events:auto}#loading{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--cream);font-size:18px;z-index:100;text-align:center;padding:30px}.topbar{height:105px;padding:28px 4.3%;display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{display:flex;align-items:center;gap:19px;font-size:18px;font-weight:700;letter-spacing:-.7px}.wordmark b{font-size:23px;letter-spacing:1px;color:#f8f9f1;background:#19281f;border-radius:18px;padding:6px 11px}.wordmark b span{color:#c6ed78}.wordmark i{height:22px;width:1px;background:var(--line)}.top-actions{display:flex;gap:10px;align-items:center}.language-select{display:flex;align-items:center;gap:5px;font-size:18px}.language-select select{background:transparent;border:none;width:125px;padding:12px 8px;font-size:14px;font-weight:600;color:#475247;cursor:pointer}.icon-button{border:1px solid var(--line);border-radius:50%;width:48px;height:48px;min-width:48px;display:inline-grid;place-items:center;background:#fffaf575;font-size:21px;transition:background .2s,transform .2s}.icon-button:hover{background:#fffdfa;transform:translateY(-2px)}.home-panel{position:absolute;left:7%;top:18%;width:39%;max-width:550px;pointer-events:none}.home-panel button{pointer-events:auto}.eyebrow{font-size:11px;letter-spacing:2.2px;font-weight:750;text-transform:uppercase;color:#627567;display:flex;align-items:center;gap:9px}.tiny-dot{width:7px;height:7px;background:#7bb899;border-radius:50%;box-shadow:0 0 0 4px #88b99a1a}.logo{position:relative;width:290px;aspect-ratio:3.3;overflow:hidden;mix-blend-mode:multiply;margin:27px 0 15px}.logo img{position:absolute;width:100%;left:0;top:-104%;-webkit-user-select:none;user-select:none}.home-panel h1{font-size:clamp(38px,4.8vw,72px);line-height:1.06;font-weight:680;letter-spacing:-3.5px;margin:20px 0 22px}.description{color:#758071;font-size:16px;line-height:1.8;max-width:365px;margin:0 0 28px}.home-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.primary{padding:16px 26px;border-radius:16px;background:var(--green);color:#fffdf2;box-shadow:0 5px #203d30;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:22px;transition:transform .2s,background .2s}.primary:hover{background:#416f5b;transform:translateY(-2px)}.primary:active{transform:translateY(3px);box-shadow:0 2px #203d30}.play-button{min-width:197px;min-height:60px;font-size:18px}.play-button span{font-size:25px}.text-button{font-size:13px;font-weight:650;padding:10px 2px;display:inline-flex;align-items:center;gap:12px}.text-button:hover{color:#679b7c}.controls-note{display:flex;align-items:center;gap:13px;margin-top:36px;color:#818c7e}.drag-glyph{font-size:29px;background:#e7eadf;border:1px solid #d8e0d1;width:39px;height:49px;border-radius:14px;text-align:center;line-height:45px}.controls-note strong{font-size:12px;font-weight:500;display:block}.controls-note small{font-size:11px;display:block;margin-top:5px;color:#9a9f91}.scene-caption{position:absolute;bottom:16%;right:18%;display:flex;gap:14px;align-items:center;border-top:1px solid #717d652e;padding-top:14px;min-width:240px;justify-content:space-between}.scene-caption b{font-size:12px;font-weight:500}.scene-caption>span{font-size:10px;letter-spacing:1px;color:#7e8c7c}.home-footer{position:absolute;bottom:0;left:4.3%;right:4.3%;height:78px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#7b8878}.home-footer nav{display:flex;gap:32px}.home-footer .edition{font-size:10px;letter-spacing:1.5px}.modal-scrim{position:absolute;inset:95px 0 0;background:#f5f0e784;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center;padding:25px 20px 45px;pointer-events:auto}.modal{width:620px;max-height:100%;overflow:auto;padding:32px;border:1px solid #ffffffb0;border-radius:30px;background:#fffaf2f0;box-shadow:0 24px 90px #3240311c}.modal-heading{position:relative;margin-bottom:24px}.modal-heading h2{font-size:30px;letter-spacing:-1px;font-weight:600;margin:16px 48px 0 0}.modal-heading>.icon-button{position:absolute;right:0;top:-7px}.mode-tabs{display:flex;gap:6px;padding:5px;border-radius:16px;background:#e9eee2;flex-wrap:wrap}.mode-tabs button{flex:1;white-space:nowrap;font-size:12px;padding:0 12px;border-radius:12px;font-weight:600}.selected{background:#dcebdc!important;border-color:#6ba183!important}.mode-tabs .selected{background:#fffdf7!important;box-shadow:0 2px 7px #2c4c2520}.theme-tabs{display:flex;justify-content:space-between;gap:8px;margin:20px 0 16px}.theme-tabs button{font-size:11px;border-bottom:2px solid transparent;flex:1;background:transparent!important;padding:9px}.theme-tabs button.selected{border-radius:0;border-color:#426c50}.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.course-grid button{border:1px solid var(--line);border-radius:16px;background:#fffaf4;padding:20px;display:flex;flex-direction:column;gap:14px}.course-grid span{font-size:25px;font-weight:650}.course-grid small{color:#91b796;font-size:12px;white-space:nowrap}.modal-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.modal-bottom p{font-size:12px;line-height:1.6;color:#83917e;max-width:250px}.settings-list{display:grid;gap:0}.settings-list>label{display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding:13px 0;font-size:14px;min-height:62px}.settings-list select{max-width:190px;width:48%;border:1px solid var(--line);background:#fbfdf6;padding:11px;border-radius:10px;color:#3f5943}.settings-list input[type=range]{width:46%;accent-color:#527c5c}.settings-list input[type=checkbox]{appearance:none;width:43px;height:25px;border-radius:20px;background:#c8cfc2;position:relative;cursor:pointer;flex-shrink:0}.settings-list input[type=checkbox]:before{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:left .2s}.settings-list input:checked{background:#638f6b}.settings-list input:checked:before{left:21px}.subtle{font-size:13px;line-height:1.7;color:#7a8776}.full{width:100%;margin-top:14px}.wallet{font-size:24px;margin:20px 0;color:#517a5a}.wallet span{font-size:12px;color:#84927d;margin-left:8px}.skin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.skin-card{border:1px solid var(--line);border-radius:17px;display:flex;align-items:center;flex-direction:column;padding:20px 8px;gap:8px}.skin-card strong{font-size:14px;font-weight:600}.skin-card small{font-size:10px;color:#72856c}.skin-swatch{display:flex;align-items:center;justify-content:center;width:70px;height:64px;border-radius:22px;background:var(--skin);box-shadow:inset 3px 5px 6px #ffffff5a,inset -3px -5px 6px #30234020,0 7px 10px #465c3320;margin:6px 0 12px}.skin-swatch i{font-style:normal;font-size:21px;color:#323140}.studio-art{background:#eeeede;border-radius:18px;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:18px;margin-bottom:10px}.studio-art .logo{margin:0;width:300px}.studio-art>span{font-size:10px;letter-spacing:4px;color:#818674;margin-top:12px}.studio-actions,.button-row{display:flex;gap:10px;margin-top:24px}.button-row>button,.studio-actions>button{flex:1}.secondary{border:1px solid #c5d1bc;border-radius:14px;padding:13px 18px;font-weight:550;font-size:14px;background:#f0f2e6}.secondary:hover{background:#e5ecd9}.hud-top{position:absolute;top:max(28px,env(safe-area-inset-top));left:5%;right:5%;display:flex;align-items:flex-start;justify-content:space-between;gap:30px}.hud-course{display:flex;flex-direction:column;min-width:150px}.hud-course strong{font-size:45px;line-height:1.3;letter-spacing:-2px}.hud-course small{color:#819179;font-size:12px}.progress-wrap{max-width:370px;width:35%;padding-top:4px}.progress-label{display:flex;justify-content:space-between;font-size:11px;color:#6a7d60;margin-bottom:12px}.progress-label span:first-child{font-weight:750}.progress-track{height:7px;background:#b7c6a941;border-radius:8px;overflow:hidden}.progress-track i{background:#6e9b75;width:0;height:100%;display:block;border-radius:8px;transition:width .12s}.feedback{display:block;text-align:center;margin-top:16px;font-size:17px;color:#487b53;font-weight:600;min-height:25px}.shape-panel{position:absolute;right:7%;bottom:21%;width:174px;border:1px solid #fff7ea96;padding:20px 16px;background:#fff9eea6;border-radius:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:center}.shape-title{font-size:12px;font-weight:650;line-height:1.5}.shape-title>span{font-size:20px;display:block;margin-bottom:5px}.shape-controls{display:flex;align-items:center;flex-direction:column;gap:10px;margin:16px 0 13px}.shape-controls>span{font-size:11px;color:#809475}.slider-wrap{height:185px;width:38px;position:relative;background:#e2e8d6;border-radius:19px;border:1px solid #c9d6ba}.slider-wrap input{writing-mode:vertical-lr;direction:rtl;appearance:slider-vertical;position:absolute;inset:0;width:100%;height:100%;accent-color:#527b51;margin:0;cursor:ns-resize;opacity:.92}.slider-wrap #target-zone{position:absolute;width:100%;border:1px solid #89ad66;border-radius:5px;background:#abcc7680;pointer-events:none}.shape-panel>small{font-size:10px;line-height:1.6;display:block;color:#89947f}.play-bottom{position:absolute;bottom:7%;left:50%;transform:translate(-50%);display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;width:75%}.play-bottom>span{font-size:16px;font-weight:550}.play-bottom>small{font-size:11px;color:#7b8b73}.pause,.results{text-align:center;max-width:540px}.pause .modal-heading .eyebrow,.results .modal-heading .eyebrow{justify-content:center}.pause .modal-heading h2,.results .modal-heading h2{margin-right:0}.pause-symbol{font-size:55px;line-height:1;margin:34px;color:#99b791}.countdown{position:absolute;inset:0;display:grid;place-items:center;background:#f5f0e760;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-size:120px;font-weight:700;color:#3c6648}.result-badge{display:grid;place-items:center;margin:20px auto;width:90px;height:90px;border-radius:30px;background:#f6dfb4;color:#b99356;font-size:49px;transform:rotate(-8deg)}.result-description{color:#7a8774;font-size:14px;line-height:1.7}.result-stats{display:flex;justify-content:center;gap:35px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 12px}.result-stats>div{display:flex;flex-direction:column;gap:8px}.result-stats strong{font-size:30px;font-weight:650}.result-stats span{font-size:11px;color:#778a6d}.reward-button{color:#6f8059;text-decoration:underline;font-size:12px;margin-top:15px}.save-error{color:#b36449;font-size:12px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,30px);opacity:0;background:#2e513f;color:#fff8eb;padding:16px 24px;border-radius:16px;box-shadow:0 5px 25px #22342024;z-index:999;transition:.2s;pointer-events:none;font-size:14px;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}.reduce-motion *{animation:none!important;transition:none!important}@media(min-width:1650px){.home-panel{top:20%}.home-panel .logo{width:340px}.description{font-size:18px;max-width:420px}.controls-note strong{font-size:14px}.home-footer{height:95px;font-size:13px}.text-button{font-size:15px}}@media(max-height:750px)and (min-width:800px){.topbar{height:80px;padding-top:18px;padding-bottom:18px}.home-panel{top:15%}.home-panel .logo{width:225px;margin:15px 0 10px}.home-panel h1{font-size:46px;margin:13px 0 15px}.description{font-size:14px;line-height:1.7;margin-bottom:20px}.controls-note{margin-top:24px}.home-footer{height:64px}.modal-scrim{inset:75px 0 0;padding-top:10px;padding-bottom:15px}.modal{padding:25px}.shape-panel{bottom:16%;padding:15px}.slider-wrap{height:155px}.shape-title>span{display:none}}@media(max-width:800px){.topbar{height:80px;padding:18px 5%}.wordmark{gap:10px;font-size:15px}.wordmark b{font-size:18px}.wordmark i{display:none}.top-actions{gap:7px}.language-select select{width:99px;font-size:12px;padding:10px 2px}.language-select>span{display:none}.fullscreen{display:none}.icon-button{min-width:44px;width:44px;height:44px}.home-panel{top:13%;left:7%;width:86%;max-width:none;pointer-events:none}.home-panel>.eyebrow{font-size:9px}.home-panel .logo{width:200px;margin:15px 0 8px}.home-panel h1{font-size:43px;letter-spacing:-2px;margin:13px 0 18px;max-width:350px}.description{display:none}.home-cta{position:fixed;bottom:13%;left:7%;right:7%;justify-content:center;gap:20px}.home-cta .primary{min-width:190px;min-height:56px}.controls-note{position:fixed;bottom:23%;left:50%;transform:translate(-50%);margin:0;justify-content:center;width:90%;text-align:center}.controls-note .drag-glyph{display:none}.controls-note strong{font-size:13px;color:#607253}.controls-note small{font-size:10px}.scene-caption{display:none}.home-footer{left:5%;right:5%;height:68px;font-size:10px}.home-footer>span{display:none}.home-footer nav{width:100%;justify-content:space-between;gap:20px}.home-footer nav button{font-size:12px}.modal-scrim{inset:80px 0 0;padding:10px 12px 20px}.modal{padding:23px;border-radius:25px}.modal-heading h2{font-size:27px}.mode-tabs{gap:4px}.mode-tabs button{font-size:11px;padding:0 8px;flex-basis:25%}.theme-tabs button{font-size:10px}.course-grid button{padding:18px 8px}.course-grid span{font-size:24px}.modal-bottom{gap:15px}.modal-bottom p{font-size:11px}.modal-bottom .primary{min-width:130px;padding:15px}.settings-list>label{font-size:13px;gap:14px}.settings-list select{max-width:150px}.skin-grid{gap:8px}.skin-card{padding:15px 5px}.skin-card small{font-size:9px}.skin-swatch{width:60px;height:55px;border-radius:18px}.studio-art .logo{width:260px}.studio-actions>button{font-size:13px;padding:15px 12px}.hud-top{top:max(23px,env(safe-area-inset-top));left:6%;right:6%;gap:15px}.hud-course{min-width:95px}.hud-course strong{font-size:36px}.hud-course .eyebrow{font-size:9px;letter-spacing:1px}.hud-course small{font-size:10px}.progress-wrap{flex:1;width:auto;margin-top:3px}.progress-label{font-size:9px;gap:10px}.progress-label>span:last-child{max-width:90px;text-align:right}.feedback{font-size:13px;margin-top:13px}.shape-panel{right:6%;bottom:9%;width:104px;padding:13px 10px;border-radius:22px}.shape-title{display:none}.shape-controls{margin:0;gap:6px}.slider-wrap{height:176px;width:31px}.shape-controls>span{font-size:10px}.shape-panel>small{display:none}.play-bottom{left:6%;bottom:17%;transform:none;width:49%;text-align:left;align-items:flex-start;gap:10px}.play-bottom>span{font-size:17px;line-height:1.55}.play-bottom>small{font-size:10px;line-height:1.7}.result-stats{gap:22px}.result-stats span{font-size:10px}.button-row{flex-wrap:wrap}.button-row>button{min-width:95px}.modal-heading>.icon-button{top:-5px}.results .modal-heading h2,.pause .modal-heading h2{padding:0 20px}.settings .full{margin-top:12px}}@media(max-width:380px){.wordmark>span{display:none}.home-panel h1{font-size:37px}.home-panel .logo{width:170px}.home-cta{gap:10px}.home-cta .primary{min-width:165px}.home-cta .text-button{font-size:11px}.modal{padding:20px}.studio-art .logo{width:230px}}@media(max-height:650px)and (max-width:800px){.home-panel h1{font-size:32px}.home-panel .logo{width:155px;margin-top:8px}.home-panel{top:13%}.home-footer{height:54px}.home-cta{bottom:12%}.controls-note{bottom:23%}.modal-heading{margin-bottom:15px}.modal-heading h2{font-size:23px;margin-top:10px}.shape-panel{bottom:8%;padding:8px}.slider-wrap{height:145px}.home-panel .eyebrow{display:none}}.logo{aspect-ratio:3.05;border-radius:12px}.logo img{top:-101%}@media(max-width:800px){body[data-screen=home] #scene{top:35%;bottom:24%;height:auto}.home-cta{flex-wrap:nowrap;gap:12px}.home-cta .primary{min-width:155px;flex:1;font-size:16px}.home-cta .text-button{flex:1;justify-content:center;font-size:12px}.controls-note{bottom:23.5%}}@media(max-width:800px){body[data-screen=home] #scene{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 87%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 87%,transparent)}}@media(max-height:500px)and (min-width:650px){.topbar{height:66px;padding-top:10px;padding-bottom:10px}.home-panel{top:76px;left:5%;width:46%}.home-panel .eyebrow{font-size:8px}.home-panel .logo{width:155px;margin:9px 0}.home-panel h1{font-size:29px;line-height:1.08;letter-spacing:-1.1px;margin:9px 0 17px}.home-panel .description,.controls-note{display:none}.home-cta{gap:12px}.play-button{min-width:146px;min-height:48px;font-size:15px;padding:10px 15px}.home-cta .text-button{font-size:10px}.home-footer{height:43px}.home-footer nav{gap:18px}.home-footer .text-button{font-size:11px}.scene-caption{display:none}.modal-scrim{inset:64px 0 0;padding:8px 20px 12px}.shape-panel{bottom:11%;right:5%;width:125px;padding:10px}.shape-title{display:none}.shape-controls{margin:5px 0}.shape-controls .slider-wrap{height:145px}.shape-panel>small{display:none}.play-bottom{bottom:6%}.hud-top{top:16px}.hud-course strong{font-size:32px}}.shape-panel,.hud-top{pointer-events:auto}body[data-theme="2"] .hud-course,body[data-theme="2"] .hud-course .eyebrow,body[data-theme="2"] .hud-course small,body[data-theme="2"] .progress-label,body[data-theme="2"] .play-bottom,body[data-theme="2"] .play-bottom small{color:#f2e3be}body[data-theme="2"] .feedback{color:#e8c77d}body[data-theme="2"] .progress-track{background:#e5d5ab35}body[data-theme="2"] .progress-track i{background:#e0c384}body[data-screen=modal] .topbar{background:#f5f0e7de;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
