.energy-mole{--em-ink:#173e40;box-sizing:border-box;display:grid;grid-template-rows:32px auto minmax(210px,1fr) 20px 25px 46px;gap:9px;height:var(--eco-energy-height,580px);min-height:420px;max-height:780px;max-width:850px;margin:auto;color:var(--em-ink)}.em-stats{display:flex;align-items:center;justify-content:space-between;padding:0 5px;font-size:14px}.em-stats>span{color:#ba631e}.em-urgent{color:#b9434c}.em-mission{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:18px;background:#eef9e8;border:1px solid #b6d8be}.em-mission small{font-size:10px;color:#547a63;letter-spacing:1px}.em-mission h3{font-size:20px;margin:2px 0 0;line-height:1.2}.em-word{display:flex;gap:5px;flex-shrink:0}.em-word>span{display:grid;place-items:center;width:34px;height:40px;border-radius:9px;background:#fff;border:1px solid #b1c8b5;font:bold 23px system-ui;color:#829b87}.em-word>span.done{background:#397867;color:#fff;border-color:#397867}.em-word>span.next{border:2px solid #cf862d;color:#82480c;background:#fff2c7}.energy-mole .em-arena.eco-city{position:relative;overflow:hidden;width:100%;height:auto;min-height:0;filter:none!important;border-radius:24px;border:2px solid #7fbbad;background:radial-gradient(ellipse at 50% 0%,#e8fba5,transparent 70%),linear-gradient(#b9e2e0 0%,#a9d4bc 65%,#55997d 65%);isolation:isolate}.em-cityline{position:absolute;inset:0 6% auto;height:22%;display:flex;align-items:flex-end;justify-content:space-around;opacity:.65;pointer-events:none}.em-cityline>i{width:12%;height:60%;border-radius:5px 5px 0 0;background:repeating-linear-gradient(90deg,#e4f3c7 0 3px,transparent 3px 11px),#83b3a9;border:5px solid #83b3a9}.em-cityline>i:nth-of-type(2){height:95%}.em-arena.bright .em-cityline{opacity:1}.em-arena.bright .em-cityline>i{background:repeating-linear-gradient(90deg,#fff59c 0 3px,transparent 3px 11px),#63a092;box-shadow:0 0 12px #fff1a655}.em-cityline>span{font-size:35px}.em-grid{position:absolute;inset:13% 6% 4%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:3px 14px}.em-hole{position:relative;border:0!important;min-height:44px;min-width:0;padding:0!important;background:transparent!important;cursor:pointer;touch-action:manipulation;border-radius:20px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#173e40}.em-hole>small{position:absolute;right:4px;bottom:7%;font-size:10px;color:#103c37;z-index:3;background:#ffffff9c;padding:1px 5px;border-radius:8px}.em-hole-shadow{position:absolute;left:5%;right:5%;bottom:8%;height:26%;border-radius:50%;background:#174e48;box-shadow:0 4px 0 #cdf0bd88,inset 0 5px 8px #14342a}.em-mole{position:absolute;bottom:14%;left:18%;width:64%;height:74%;max-height:108px;background:linear-gradient(115deg,#ffefbc,#d9a667);border:2px solid #b77f46;border-radius:43% 43% 35% 35%;box-shadow:inset -5px -5px 0 #b7743530;display:flex;align-items:center;justify-content:center;flex-direction:column;animation:em-pop .19s cubic-bezier(.2,1.25,.5,1);transform-origin:bottom}.em-mole>b{font:900 clamp(24px,4vw,44px)/1 system-ui;z-index:1;color:#2d483b;text-shadow:0 1px #fff9}.em-face{font:bold 17px/1 system-ui;letter-spacing:4px;color:#875325}.em-ears{position:absolute;inset:-5% 2% auto;height:23%;border-radius:50%;background:#ce925a;z-index:-1}.em-hole.hit{filter:brightness(1.12)}.em-hole.wrong{outline:3px solid #cf6464;outline-offset:-4px}.em-hole:focus-visible{outline:3px solid #0962aa;outline-offset:-4px}.em-hole:disabled{opacity:1;cursor:default}.em-overlay{position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:18px;background:#e9f8e8f5}.em-overlay h3{font-size:clamp(21px,4vw,31px);margin:0;color:#254f46}.em-overlay p{font-size:13px;line-height:1.6;margin:0;max-width:380px}.em-overlay small{font-size:11px;max-width:390px}.em-badge{font-size:34px}.em-modes{display:flex;gap:7px}.em-modes button,.em-actions button{border:1px solid #98bfb0;background:#f8fff5;color:#23493f;border-radius:12px;min-height:44px;padding:6px 12px;font-weight:700}.em-modes button[aria-pressed=true]{background:#326e5b;color:white}.energy-mole button.em-primary{border:0;border-radius:14px;background:#226957;color:white;padding:12px 25px;min-height:48px;font:bold 15px system-ui;box-shadow:0 4px #144637}.em-clear{position:absolute;z-index:4;top:10px;left:10%;right:10%;padding:10px;border-radius:14px;background:#184e46ed;color:#eeffcb;text-align:center;pointer-events:none;animation:em-pop .2s ease-out}.em-clear>*{display:block}.em-clear span{font-size:11px;margin-top:3px}.em-meter{position:relative;overflow:hidden;border-radius:20px;background:#dceadb}.em-meter>i{display:block;height:100%;background:linear-gradient(90deg,#72cbae,#b8df60);transition:width .2s}.em-meter>span{position:absolute;inset:0;text-align:center;font-size:10px;line-height:20px;font-weight:800;letter-spacing:.6px}.em-feedback{margin:0;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1.2;text-align:center;overflow:hidden}.em-actions{display:flex;gap:8px;align-items:center}.em-actions button{flex:1}.em-actions>small{font-size:10px;color:#61776b;max-width:110px}@keyframes em-pop{from{transform:translateY(80%) scale(.85);opacity:.2}to{transform:translateY(0) scale(1);opacity:1}}@media(max-width:680px){.energy-mole{gap:6px;grid-template-rows:28px auto minmax(210px,1fr) 18px 24px 44px;min-height:400px}.em-mission{padding:8px}.em-mission h3{font-size:17px}.em-word{gap:3px}.em-word>span{width:28px;height:36px;font-size:21px}.em-grid{gap:2px 8px;inset:12% 4% 3%}.em-stats{font-size:12px}.em-actions>small{display:none}.em-overlay{padding:12px;gap:8px}.em-overlay p{font-size:12px}.em-meter>span{line-height:18px}}@media(max-height:520px) and (min-width:681px){.energy-mole{min-height:280px;grid-template-columns:250px minmax(0,1fr);grid-template-rows:30px 1fr 22px 30px 46px;gap:7px}.em-arena{grid-column:2;grid-row:1/-1}.em-mission{flex-direction:column;justify-content:center;gap:8px}.em-actions{grid-column:1}.em-actions>small{display:none}.em-overlay p{font-size:11px}.em-overlay{gap:6px;padding:8px}.em-badge{display:none}.em-overlay h3{font-size:20px}.em-modes button{font-size:11px;padding:4px}.em-feedback{font-size:11px}}@media(prefers-reduced-motion:reduce){.em-mole,.em-clear{animation:none}.em-meter>i{transition:none}}
