:root{--paper:#f4f2eb;--ink:#27372d;--muted:#7b8276;--line:#dce0d5;--green:#345a40;--fire:#d46643;--water:#3986ad}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,'Segoe UI',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #b78638;outline-offset:4px}button:disabled{cursor:default;opacity:.55}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.site-header{max-width:1264px;margin:auto;padding:25px 32px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:8px;align-items:center;color:var(--ink);text-decoration:none;font-weight:850;font-size:26px;letter-spacing:-1.2px;line-height:1}.brand svg{width:44px;height:42px}.amp{font-weight:400;color:#9ba28f;margin:0 3px}.brand-caption{display:block;font-size:8px;letter-spacing:3.05px;margin-top:8px;font-weight:700}.site-header nav{display:flex;align-items:center;gap:24px}.quiet{border:0;background:none;color:#626e60;font-size:12px;font-weight:600;padding:12px 0}.quiet span{margin-right:5px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:var(--ink);width:36px;height:36px;border-radius:8px;font-size:24px;line-height:1}.icon-btn:hover{background:#e5e9df}.icon-btn svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linejoin:round;stroke-linecap:round}main{max-width:1264px;margin:auto;padding:0 32px}.intro-row{display:flex;align-items:center;justify-content:space-between;padding:36px 0 25px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:750;color:#6a7b61;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#83996b}h1{font-family:Georgia,'Times New Roman',serif;font-size:38px;font-weight:500;letter-spacing:-1.6px;margin:10px 0 8px}.intro-row p{font-size:13px;color:#818577;margin:0}.chapter-count{display:flex;gap:12px;align-items:center}.chapter-count>span:first-child{font:44px Georgia,serif;color:#567054}.chapter-count>span:last-child{color:#939b8a;font-size:14px;line-height:1.5}.chapter-count small{font-size:7px;letter-spacing:1.2px}.game-card{border:1px solid #d3d7ca;border-radius:13px;overflow:hidden;background:#fffef8;box-shadow:0 10px 30px #2e3a2010}.game-toolbar{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;min-height:74px}.level-heading{display:flex;gap:12px;align-items:center}.level-number{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #d9dfce;color:#6d825e;border-radius:50%;font:17px Georgia,serif}.micro{font-size:8px;letter-spacing:1.65px;font-weight:750;color:#8a9380}.level-heading h2{font-size:14px;font-weight:650;margin:5px 0 0}.game-stats{display:flex;align-items:center;gap:19px;font-size:12px}.gem-stat{display:flex;gap:8px;align-items:center;color:#5a7651}.gem-stat b{font-weight:600;font-variant-numeric:tabular-nums}.diamond{display:inline-block;width:10px;height:13px;background:#96a983;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.time-stat{font-variant-numeric:tabular-nums;color:#929887;font-size:12px}.toolbar-line{height:20px;width:1px;background:var(--line)}.game-stats .icon-btn{width:28px;height:28px;font-size:22px;margin-left:-7px}.stage-wrap{position:relative;background:#23342c;overflow:hidden}canvas{width:100%;height:auto;display:block;touch-action:none;outline:none}.stage-tag{position:absolute;top:20px;left:23px;display:flex;align-items:center;gap:7px;color:#cbd5ac;font-size:7px;letter-spacing:1.6px;pointer-events:none}.live-dot{width:4px;height:4px;border-radius:50%;background:#aaba82}.screen{position:absolute;inset:0;background:#12261e5e;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(2px)}.screen[hidden]{display:none}.screen-card{width:350px;max-width:100%;text-align:center;color:#f5f2df;display:flex;align-items:center;flex-direction:column;padding:26px 25px 21px;background:#1d332bf2;border:1px solid #b5bd8c40;border-radius:10px;box-shadow:0 20px 60px #0a1d2450}.screen-symbol{font:26px Georgia,serif;color:#d4b477;border:1px solid #beaa7366;width:47px;height:47px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.screen-card .micro{font-size:7px;color:#adbd97;letter-spacing:1.4px}.screen-card h2{font:31px Georgia,serif;letter-spacing:-.9px;font-weight:400;margin:13px 0 9px}.screen-card p{font-size:11px;line-height:1.8;color:#c5cdb8;margin:0 0 21px;max-width:270px}.primary{background:#d7b67a;border:1px solid #e0c28b;color:#273c2b;font-size:11px;font-weight:750;padding:13px 20px;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:25px;min-width:190px}.primary:hover{background:#e4c78f}.primary span{font-size:16px;line-height:1}.text-btn{background:none;border:0;color:#566e48;font-size:10px;font-weight:650;padding:8px 0;white-space:nowrap}.text-btn:hover{color:#263c2a}.screen .text-btn{color:#d9c493;margin-top:9px}.start-note{font-size:6px;color:#859d82;letter-spacing:1.05px;margin-top:16px}.hint-bar{display:flex;align-items:center;gap:11px;padding:10px 22px;min-height:49px;background:#fcfcf6}.hint-icon{font-size:24px;color:#8ba074}.hint-bar p{font-size:11px;color:#7d8872;flex:1;margin:0;line-height:1.6}.hint-bar .text-btn{padding-left:15px;border-left:1px solid var(--line)}.below-game{display:grid;grid-template-columns:1.5fr 1fr;gap:38px;margin-top:26px}.controls-guide{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-title{grid-column:1/-1}.guide-title h3{margin:5px 0 0;font:21px Georgia,serif;font-weight:500;letter-spacing:-.5px}.key-guide{display:flex;align-items:center;gap:11px}.mini-character{width:30px;height:36px;border-radius:50% 50% 40% 40%;background:#e5b9a22b;font:18px Georgia;display:flex;align-items:center;justify-content:center}.water-text .mini-character{background:#a8d0db40}.fire-text{color:var(--fire)}.water-text{color:var(--water)}.key-guide strong{font-size:11px}.key-row{display:flex;gap:4px;align-items:center;margin-top:6px}kbd{border:1px solid #d9ddcf;border-bottom-width:2px;border-radius:4px;min-width:21px;height:20px;display:inline-flex;align-items:center;justify-content:center;background:#fafaf5;color:#6d7666;font:9px 'Segoe UI',sans-serif;padding:0 5px}.key-row>span{font-size:8px;color:#92998b;margin:0 5px 0 1px}.desktop-tip{grid-column:1/-1;font-size:9px;color:#969e8b;margin:1px 0 0;line-height:2}.desktop-tip kbd{font-size:8px;height:18px}.journey{border-left:1px solid var(--line);padding-left:30px}.journey-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.journey-top>span:last-child{font-size:8px;color:#9aa38e}.journey-steps{display:flex;gap:8px;margin:17px 0 11px}.journey-step{flex:1;border:1px solid #d5ddca;border-radius:7px;background:#eeefe6;color:#7c8871;text-align:left;padding:11px 10px;min-height:60px;position:relative}.journey-step.current{background:#e6ebdc;border-color:#a8b696}.journey-step.locked{border-style:dashed;background:transparent;opacity:.6}.journey-step strong{font-size:13px;font-weight:500;display:block}.journey-step span{display:block;font-size:7px;margin-top:5px}.journey-step i{position:absolute;right:9px;top:11px;font-size:10px;font-style:normal}.journey>p{font-size:9px;color:#9ca48e;margin:0}footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:20px 0 25px;margin-top:29px;color:#96a08c;font-size:7px;letter-spacing:1.3px}footer i{font:12px Georgia;color:#aab19f;margin:0 3px}.footer-sep{margin:0 10px;color:#c4c9bc}footer>span:last-child{letter-spacing:0}.touch-controls{display:none}dialog{border:1px solid #d3d9c9;border-radius:12px;background:var(--paper);color:var(--ink);padding:36px;max-width:480px;width:calc(100% - 30px);box-shadow:0 30px 90px #12281d50}dialog::backdrop{background:#12291ec4;backdrop-filter:blur(4px)}dialog h2{font:28px Georgia,serif;letter-spacing:-1px;font-weight:400;margin:16px 0}dialog p{font-size:12px;line-height:1.8;color:#707d65}dialog .primary{margin-top:22px}.dialog-close{position:absolute;right:10px;top:10px;font-size:25px}.rule-list{padding:7px 0}.rule-list p{display:flex;align-items:center;gap:6px;margin:8px 0;font-size:11px}.rule-dot{flex-shrink:0;width:9px;height:9px;border-radius:50%;margin-right:4px}.fire-bg{background:#d96e3e}.water-bg{background:#4ca0b8}.acid-bg{background:#a6b945}.plate-bg{background:#b59c62}.muted{color:#88917d!important;font-size:10px!important}.levels-list{display:grid;gap:8px;margin-top:20px}.level-option{display:flex;align-items:center;gap:15px;text-align:left;background:#f9faf2;border:1px solid var(--line);padding:14px;border-radius:7px;color:var(--ink)}.level-option>strong{font:22px Georgia;color:#6e845e}.level-option div{flex:1}.level-option span{display:block;font-size:12px;font-weight:650}.level-option small{display:block;font-size:9px;color:#8a957e;margin-top:5px}.level-option .result{font-size:11px;color:#74905c}body.modal-open{overflow:hidden}
@media(min-width:1500px){.site-header,main{max-width:1344px}}@media(max-width:900px){.below-game{gap:20px;grid-template-columns:1.3fr 1fr}.key-row{flex-wrap:wrap}.key-row>span{font-size:7px;margin-right:0}.journey{padding-left:20px}.journey-top{align-items:flex-start;flex-direction:column;gap:5px}.game-stats{gap:15px}}
@media(pointer:coarse),(max-width:680px){.touch-controls{display:block;margin-top:13px;border:1px solid var(--line);border-radius:10px;background:#f9f9f1;padding:11px 13px}.character-picker{display:flex;gap:7px;align-items:center}.character{border:1px solid #d7ddce;background:transparent;padding:8px 13px;border-radius:6px;display:flex;align-items:center;gap:7px;font-size:11px;color:#7c8970;min-height:36px}.character.fire.active{background:#f2ddcd;border-color:#d9aa87;color:#a55635}.character.water.active{background:#d9eaf0;border-color:#91bbc9;color:#39728c}.small-flame{width:11px;height:15px;display:block;border-radius:2px 10px 6px 6px;background:#df7c4e;transform:rotate(22deg)}.small-drop{width:11px;height:15px;display:block;background:#5aa7c4;border-radius:0 10px 8px 10px;transform:rotate(35deg)}.switch-note{font-size:8px;color:#919b86;margin-left:auto;max-width:105px;text-align:right;line-height:1.5}.touch-pad{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:11px;touch-action:none}.touch-pad button{width:60px;height:51px;background:#e9edde;border:1px solid #cdd6be;border-bottom-width:3px;border-radius:9px;color:#4f6844;font-size:25px;touch-action:none;user-select:none;-webkit-user-select:none}.touch-pad button.held{background:#cbd6bb;border-bottom-width:1px}.direction-pad{display:flex;gap:8px}.touch-pad .jump-button{width:86px;display:flex;justify-content:center;align-items:center;gap:8px}.jump-button span{font-size:8px;font-weight:750;letter-spacing:1px}.touch-selected{font-size:7px;color:#9a8064;letter-spacing:1px}.controls-guide{display:none}.below-game{display:block;margin-top:20px}.journey{border-left:0;padding-left:0}.journey-top{flex-direction:row;align-items:center}.journey-steps{margin-top:12px}.journey-step{min-height:54px}.journey>p{display:none}}
@media(max-width:680px){.site-header{padding:16px 18px}.brand{font-size:23px}.brand svg{width:36px;height:36px}.brand-caption{font-size:6px;letter-spacing:2.9px}.site-header nav{gap:13px}.quiet{font-size:10px}.icon-btn{width:28px;height:28px}main{padding:0 15px}.intro-row{padding:24px 3px 21px}.eyebrow{font-size:7px;letter-spacing:1.6px}h1{font-size:28px;letter-spacing:-1.1px;margin-top:9px}.intro-row p{font-size:10px}.chapter-count{gap:6px}.chapter-count>span:first-child{font-size:32px}.chapter-count>span:last-child{font-size:10px}.chapter-count small{font-size:5px;letter-spacing:.5px}.game-card{border-radius:10px}.game-toolbar{padding:12px 12px;min-height:64px}.level-heading{gap:8px}.level-number{width:29px;height:29px;font-size:14px}.micro{font-size:6px;letter-spacing:1.1px}.level-heading h2{font-size:11px;margin-top:5px}.game-stats{gap:9px;font-size:10px}.time-stat{font-size:9px}.gem-stat{gap:5px}.diamond{width:7px;height:10px}.toolbar-line{margin:0 2px}.game-stats .icon-btn{width:24px;height:28px;font-size:21px;margin-left:-3px}.stage-tag{top:13px;left:14px;font-size:5px;letter-spacing:1px}.screen{padding:11px}.screen-card{max-width:285px;padding:17px 18px 16px}.screen-symbol{height:31px;width:31px;font-size:19px;margin-bottom:10px}.screen-card h2{font-size:25px;margin:10px 0 8px}.screen-card p{font-size:9px;margin-bottom:14px;line-height:1.7}.screen-card .micro{font-size:5px;letter-spacing:1px}.primary{font-size:10px;padding:11px 15px;min-width:175px}.start-note{font-size:5px;letter-spacing:.8px;margin-top:12px}.hint-bar{padding:8px 12px;gap:8px;min-height:58px}.hint-bar p{font-size:9px}.hint-icon{font-size:20px}.hint-bar .text-btn{font-size:9px;padding-left:10px}footer{margin-top:23px;padding:16px 0;font-size:6px;letter-spacing:.8px}.footer-sep{margin:0 5px}dialog{padding:30px 22px}dialog h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* v8: 12-level map and expanded touch controls */
.journey-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.journey-step{min-width:0;min-height:53px}.journey-step span{font-size:8px;line-height:1.35}.journey-step i{right:6px}dialog{max-height:85vh;overflow:auto}#mechanismStatus{display:block;color:#7d7654;font-size:10px;margin-top:3px}.stage-tag{font-size:8px}
@media(pointer:coarse),(max-width:680px){.touch-selected{display:none}.direction-pad{gap:6px}.direction-pad button{width:54px;flex-shrink:0}.touch-pad{gap:6px}.touch-pad .act-button{width:52px;flex-shrink:0;font-size:9px;font-weight:700}.touch-pad .jump-button{width:70px;flex-shrink:0}.journey-step{min-height:58px}.journey-step span{font-size:8px}.journey-step strong{font-size:14px}}
@media(max-width:680px){#mechanismStatus{font-size:9px}.stage-tag{font-size:6px}.hint-bar{min-height:65px}}
/* SEO content: visible, static text and crawlable navigation below the game. */
.skip-link{position:absolute;left:16px;top:-100px;background:#345a40;color:#fff;padding:12px 18px;border-radius:7px;z-index:20}.skip-link:focus{top:10px}.content-nav{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:22px;padding:14px 0 0}.content-nav a{font-size:11px;color:#68795e;text-decoration:none;padding:6px 0}.content-nav a:hover,.content-nav a[aria-current=page]{color:#284e37;text-decoration:underline;text-underline-offset:5px}.seo-content{margin-top:35px;padding:30px 0 5px;border-top:1px solid #dce0d5;line-height:1.85;max-width:100%}.section-label{font-size:9px;letter-spacing:1.8px;font-weight:750;color:#76886b}.seo-content h2{font:29px Georgia,serif;letter-spacing:-.7px;font-weight:400;line-height:1.25;margin:12px 0 16px}.seo-content p{font-size:13px;color:#6b7763;max-width:920px;margin:10px 0 17px}.seo-content a{color:#375d40;text-underline-offset:4px}.seo-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0}.seo-grid article{background:#fbfbf4;border:1px solid #dce0d5;border-radius:10px;padding:24px}.seo-grid h3{font:21px Georgia,serif;font-weight:400;margin:10px 0}.seo-grid p{font-size:12px}.seo-grid a{font-size:11px;font-weight:650}.temple-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 30px}.temple-list span{font-size:10px;color:#78876c;background:#eaede1;padding:12px;border-radius:6px}.footer-links{display:flex;gap:15px;flex-wrap:wrap}.footer-links a{color:#718565;text-decoration:none;letter-spacing:0;font-size:9px}.guide-main{max-width:1060px;padding-bottom:25px}.breadcrumbs{margin:25px 0 22px;list-style:none;display:flex;gap:8px;padding:0;font-size:11px;color:#839277;flex-wrap:wrap}.breadcrumbs a{color:#5f7952}.guide-hero{max-width:780px;padding-bottom:20px;border-bottom:1px solid #dce0d5}.guide-hero h1{font-size:43px;line-height:1.15;max-width:780px}.guide-hero p{font-size:15px;line-height:1.8;color:#78856d}.guide-article{max-width:820px;margin:25px 0}.guide-article h2{font:27px Georgia,serif;font-weight:400;line-height:1.25;margin:28px 0 13px}.guide-article p,.guide-article li{font-size:14px;line-height:1.9;color:#6d7b64}.guide-article li{margin-bottom:12px}.guide-article a{color:#345a40}.guide-cta{background:#e8eddf;border:1px solid #d1dcc5;padding:24px;border-radius:10px;margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:15px}.guide-cta p{margin:5px 0;color:#6d7b64;font-size:12px}.guide-cta strong{font:22px Georgia}.guide-cta .primary{text-decoration:none}.guide-article kbd{height:24px;min-width:24px;font-size:11px}.guide-footer{max-width:1200px;margin:30px auto 0;flex-wrap:wrap}.noscript-note{padding:12px;background:#ede7d2;font-size:12px;color:#6d664b;border-radius:6px;margin-bottom:12px}.game-card{scroll-margin-top:16px}
@media(max-width:900px){.content-nav{padding-left:32px;padding-right:32px;gap:17px}.temple-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.content-nav{padding:9px 18px 0;gap:8px 17px;justify-content:flex-start}.content-nav a{font-size:10px}.intro-row h1{font-size:28px}.seo-content{margin-top:25px;padding-top:24px}.seo-content h2{font-size:25px}.seo-content p{font-size:12px}.seo-grid{grid-template-columns:1fr;gap:12px;margin:18px 0}.seo-grid article{padding:19px}.temple-list span{font-size:9px;padding:10px}.guide-main{padding:0 18px 20px}.breadcrumbs{font-size:10px;margin-top:22px}.guide-hero h1{font-size:33px;letter-spacing:-1px}.guide-hero p{font-size:13px}.guide-article h2{font-size:25px}.guide-article p,.guide-article li{font-size:13px}.guide-article ol{padding-left:22px}.guide-cta{flex-direction:column;align-items:flex-start;padding:20px}.guide-footer{margin-left:18px;margin-right:18px}.footer-links{gap:10px}.footer-links a{font-size:9px}}
.seo-content p,.guide-hero p,.guide-article p,.guide-article li,.guide-cta p{color:#56654e}
