@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#18382e;--muted:#637269;--green:#27664c;--lime:#d6f16b;--paper:#f6f7ef;--border:#dce2d3}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}header{max-width:1200px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:1px;color:var(--ink);text-decoration:none;display:flex;gap:12px;align-items:center}.logo{display:grid;place-items:center;background:var(--green);color:var(--lime);width:38px;height:38px;border-radius:12px;font-size:32px}.header-right{display:flex;align-items:center;gap:24px;font-size:14px}button{font:inherit;cursor:pointer;border:1px solid var(--border);border-radius:12px;padding:13px 19px;background:white;color:var(--ink);font-weight:600;transition:transform .15s,background .15s}button:hover{transform:translateY(-2px);background:#eff4df}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b87b16;outline-offset:4px}button:disabled{cursor:default;opacity:.65;transform:none}.quiet{background:transparent}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#174a34}.lime{background:var(--lime);border-color:var(--lime)}main{max-width:1200px;margin:auto;padding:36px 32px 70px}h1,h2,h3{font-family:'Space Grotesk',sans-serif;line-height:1.06}h1{font-size:clamp(40px,5.5vw,68px);letter-spacing:-3px;margin:23px 0}h2{font-size:32px;letter-spacing:-1px}h3{font-size:22px;line-height:1.2;margin:16px 0 9px}p{line-height:1.65}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:700;display:flex;gap:9px;align-items:center}.dot{width:8px;height:8px;border-radius:50%;background:#88b341}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;padding:20px 0 42px}.hero p{font-size:17px;max-width:465px;color:var(--muted);margin-bottom:26px}.hero-art{background:#e9eddc;border-radius:30px;position:relative;overflow:hidden;min-height:360px;display:grid;place-items:center;background-image:radial-gradient(#c5cfb5 1px,transparent 1px);background-size:20px 20px}.hero-art svg{width:95%;max-height:350px}.tag{position:absolute;background:white;padding:9px 13px;border-radius:10px;font-size:12px;box-shadow:0 5px 20px #203b2610}.tag.one{top:23px;left:23px}.tag.two{bottom:24px;right:23px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:8px 0 20px}.section-head h2{font-size:25px;margin:0}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-height:240px}.card:hover{border-color:#7b9b67}.card p{font-weight:400;font-size:14px;margin:0 0 24px;color:var(--muted)}.card .bottom{margin-top:auto;width:100%;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.icon{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:var(--tile);font-size:25px}.cardtop{display:flex;width:100%;justify-content:space-between;align-items:center}.badge{font-size:12px;color:var(--green)}.strip{background:#e9eedf;padding:18px 24px;border-radius:15px;display:flex;gap:12px;margin-top:25px;font-size:14px}.gamehead{margin:25px 0}.gamehead h1{font-size:44px;margin:15px 0}.gamehead p{color:var(--muted);max-width:700px}.panel{background:white;border:1px solid var(--border);padding:30px;border-radius:22px;margin:20px 0}.play-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.controls{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.controls button{flex:1;min-width:100px}.feedback{padding:16px 20px;background:#edf2e4;border-radius:12px;line-height:1.6;margin-top:18px;min-height:56px}.feedback.good{background:#dff3d6}.feedback.try{background:#fff1d6}.bigitem{text-align:center;padding:35px 10px;font-size:34px;font-family:'Space Grotesk';min-height:180px;display:grid;place-items:center}.meter{height:7px;background:#e6ebdf;border-radius:10px;overflow:hidden;margin:14px 0}.meter i{display:block;height:100%;background:var(--green);transition:width .3s}.stats{display:flex;gap:12px;flex-wrap:wrap}.stat{padding:15px;border:1px solid var(--border);border-radius:12px;flex:1;text-align:center}.stat b{font-size:25px;display:block}.atom{height:285px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse,#eff5df,transparent 65%)}.nucleus{background:#e6b9a2;border:8px solid #f4dac8;border-radius:50%;padding:25px;text-align:center;z-index:1;font-size:14px}.ring{position:absolute;width:260px;height:180px;border:2px dashed #a2b99c;border-radius:50%;transform:rotate(-28deg)}.electron{position:absolute;width:30px;height:30px;border-radius:50%;background:#27664c;color:white;display:grid;place-items:center;font-size:20px;left:calc(50% + var(--x));top:calc(50% + var(--y));transform:translate(-50%,-50%)}.small{font-size:13px;color:var(--muted)}svg{max-width:100%}.circuit{background:#f1f5e9;border-radius:18px}.livewire{stroke:#779c45;stroke-dasharray:10 8;animation:flow 1.4s linear infinite}@keyframes flow{to{stroke-dashoffset:-36}}.choice{display:block;width:100%;text-align:left;margin:10px 0}.order{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.order span{background:#e9eedf;padding:12px;border-radius:10px}.win{text-align:center;padding:35px}.win .medal{font-size:70px}.guide{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide .panel{margin:0}.guide h3{margin-top:0}footer{max-width:1136px;margin:auto;padding:25px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted);display:flex;justify-content:space-between}label{display:block;margin:12px 0}select{font:inherit;padding:10px;border:1px solid var(--border);border-radius:8px;max-width:100%}@media(max-width:760px){header{padding:18px}.header-right{gap:8px}.header-right>span{display:none}main{padding:20px 18px 40px}.hero,.play-layout{grid-template-columns:1fr}.hero{gap:20px}.hero-art{min-height:260px}.grid{grid-template-columns:1fr 1fr}.card{padding:18px}.guide{grid-template-columns:1fr}h1{letter-spacing:-2px}.section-head{align-items:start;gap:15px}.section-head .muted{font-size:12px}.panel{padding:20px}footer{padding:20px;gap:15px}}@media(max-width:450px){.grid{grid-template-columns:1fr}.card{min-height:195px}.gamehead h1{font-size:35px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.circuit-table{overflow-x:auto}.circuit-table table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.circuit-table th,.circuit-table td{padding:14px 12px;border-bottom:1px solid var(--border);line-height:1.5}.circuit-table thead{background:#edf2e4}.circuit-table tbody th{font-weight:600;width:28%}
.hero-energy{width:100%;height:100%;object-fit:cover}.energy-banner{margin-top:40px;background:#e7eddb;border-radius:24px;padding:28px}.energy-teasers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.energy-teasers button{padding:0;overflow:hidden}.energy-teasers img{width:100%;display:block}.energy-teasers b{display:block;padding:12px}.energy-grid .card{padding:0;overflow:hidden;gap:10px}.energy-grid .card img{width:100%;aspect-ratio:1.78;object-fit:cover}.energy-grid .card>:not(img){margin-left:20px;margin-right:20px}.energy-grid .card>span{margin-bottom:22px}.energy-grid h3{margin-top:3px;margin-bottom:0}.energy-grid p{margin-bottom:8px}.moving-scene{position:relative;border-radius:24px;overflow:hidden;background:#f8f1e4}.moving-scene>img{width:100%;display:block}.picture-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.rotor{animation:spin var(--motion-time,4s) linear infinite}.energy-stream{fill:none;stroke:#ffe283;stroke-width:5;stroke-dasharray:4 18;animation:stream var(--motion-time,3s) linear infinite;filter:drop-shadow(0 0 3px #956826)}.sun-pulse{animation:sun 2s ease-in-out infinite alternate}.energy-chain{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:25px 0}.energy-chain span{background:#edf2e4;border:1px solid #c9d8b9;border-radius:12px;padding:14px;flex:1;min-width:100px;text-align:center;font-weight:600}.energy-chain b{display:block;font-size:22px;color:#618248;margin-bottom:5px}.chain-arrow{font-style:normal;color:#b18420;animation:sun var(--motion-time,3s) ease-in-out infinite alternate}.paused *,.stopped .rotor{animation-play-state:paused!important}.generator-shell{background:#f0f4e9;border:1px solid var(--border);border-radius:24px;padding:14px}.current-motion{visibility:hidden}.powered .current-motion{visibility:visible;animation:ac .9s ease-in-out infinite alternate}.home-load.lit{background:#eff29a;box-shadow:0 0 15px #dfe97680}.quiz-picture{width:100%;border-radius:20px;align-self:start}.controls button[aria-pressed=true]{background:#d6f16b}@keyframes spin{to{transform:rotate(360deg)}}@keyframes stream{to{stroke-dashoffset:-110}}@keyframes sun{from{opacity:.35}to{opacity:1}}@keyframes ac{from{transform:translateX(-8px)}to{transform:translateX(8px)}}@media(max-width:760px){.energy-teasers{grid-template-columns:1fr}.energy-grid{grid-template-columns:1fr}.header-right{flex-wrap:wrap;justify-content:flex-end}.header-right button{padding:8px;font-size:12px}.brand{font-size:12px}.generator-shell{overflow-x:auto}.generator-shell svg{min-width:650px}.energy-chain{gap:7px}.energy-chain span{min-width:110px;font-size:13px}}@media(prefers-reduced-motion:reduce){.rotor,.energy-stream,.sun-pulse,.chain-arrow,.current-motion{animation:none!important}}

.charge-flow{fill:none;stroke:#f5b92e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 23;animation:chargeTravel var(--flow-time,1.2s) linear infinite;pointer-events:none;filter:drop-shadow(0 0 1px #714900)}.charge-flow.flow-double{stroke-dasharray:1 11}.charge-flow.flow-paused{animation-play-state:paused}.flow-status{display:flex;align-items:center;gap:10px;background:#f5efd9;border-radius:12px;padding:13px 15px;margin-top:16px;line-height:1.5;font-weight:600;font-size:14px}.flow-key{flex:0 0 10px;height:10px;border-radius:50%;background:#d79813}.energy-types{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.energy-types .panel{margin:0}.energy-types h2{font-size:25px;margin-top:0}@keyframes chargeTravel{to{stroke-dashoffset:-24}}@media(max-width:760px){.energy-types{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.charge-flow{animation:none!important}}

.puzzle-slots{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;align-items:center;gap:5px;margin:26px 0}.puzzle-slot,.puzzle-piece{padding:12px 8px;position:relative;min-width:0;background:#f0f5e8}.puzzle-slot{min-height:182px;border:2px solid #b5c6a4}.puzzle-slot.empty{border-style:dashed;background:#fafbf6}.slot-number{display:grid;place-items:center;background:#27664c;color:white;border-radius:50%;width:26px;height:26px;font-size:13px}.puzzle-slot svg,.puzzle-piece svg{display:block;width:100%;height:95px}.puzzle-slot b,.puzzle-piece b{font-size:13px;display:block;line-height:1.3}.slot-placeholder{display:block;font-size:38px;color:#90a47e}.slot-placeholder small{font-size:12px;display:block}.puzzle-arrow{text-align:center;color:#7c9670}.puzzle-tray{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;padding:18px;background:#e8eee0;border-radius:16px;min-height:50px}.puzzle-tray:empty{display:none}.puzzle-piece{width:160px;background:white;cursor:grab;box-shadow:0 4px 0 #c7d5ba}.town-powered .puzzle-slot{background:#eef4b9;border-color:#82a34b;opacity:1}.town-powered .puzzle-arrow{animation:sun 1s ease-in-out infinite alternate;color:#b78a18}.town-reward{display:flex;gap:18px;align-items:center;justify-content:center;background:#244e3c;color:#f2de73;border-radius:16px;margin-top:18px;padding:18px}.town-reward span{font-size:55px;text-shadow:0 0 14px #ffde49}.puzzle-slot:focus-visible{outline:3px solid #b87b16}.puzzle-piece:hover{box-shadow:0 6px 0 #c7d5ba}@media(max-width:760px){.puzzle-slots{grid-template-columns:1fr;gap:7px}.puzzle-slot{min-height:100px;display:flex;align-items:center;gap:12px}.puzzle-slot svg{width:120px;height:80px}.puzzle-slot b{font-size:15px}.puzzle-arrow{transform:rotate(90deg)}.slot-placeholder{font-size:24px;display:flex;gap:15px;align-items:center}.puzzle-piece{width:130px}.town-reward{gap:10px}}
.word-banner{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding:28px;background:#e4ecd6;border:1px solid #c6d6b4;border-radius:24px;margin-bottom:30px}.word-banner h2{margin:12px 0}.word-banner p{margin:10px 0}.word-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}.word-preview .word-visual{border-radius:18px}.word-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.word-card{padding:0 0 18px;overflow:hidden;text-align:left;background:white}.word-title{font-family:'Space Grotesk',sans-serif;font-size:21px;font-weight:700;display:block;padding:16px 16px 7px}.word-card>.small{display:block;padding:0 16px;font-size:11px}.word-visual{position:relative;width:100%;aspect-ratio:1;background:#fbf1e2;overflow:hidden}.word-visual.atlas{background-size:300% 300%;background-repeat:no-repeat}.word-visual img{display:block;width:100%;height:100%;object-fit:cover}.visual-symbol{position:absolute;right:12px;top:12px;background:#fffef5e8;border:1px solid #c2cdb7;padding:8px 12px;min-width:44px;border-radius:12px;font-size:26px;text-align:center;font-weight:700}.word-options{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.word-answer{padding:0;position:relative;overflow:hidden;background:#fff}.word-answer .answer-letter{position:absolute;left:12px;top:12px;background:#254e3a;color:white;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}.word-answer>b{display:block;padding:12px}.word-answer:disabled{opacity:1}.word-answer.correct-picture{outline:4px solid #679c39;outline-offset:2px}.word-answer.missed-picture{opacity:.45}.word-detail{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.word-detail .word-visual{border-radius:20px}.puzzle-slot .word-visual{height:110px;aspect-ratio:auto;margin:8px 0;border-radius:8px}.puzzle-slot .word-visual.atlas{aspect-ratio:1;height:auto;max-height:145px}.puzzle-piece .word-visual{height:auto;aspect-ratio:1;border-radius:8px;margin-bottom:8px}@media(max-width:900px){.word-grid{grid-template-columns:repeat(3,1fr)}.word-options{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.word-banner,.word-detail{grid-template-columns:1fr}.word-preview{max-width:360px}.word-grid{grid-template-columns:repeat(2,1fr)}.puzzle-slot .word-visual,.puzzle-slot .word-visual.atlas{width:100px;height:100px;flex:0 0 100px}.word-detail h1{font-size:38px}.word-banner{padding:20px}.word-title{font-size:18px}}@media(max-width:400px){.word-grid{gap:10px}.word-title{font-size:16px}.word-options{gap:10px}}
