:root{--navy: #121B3B;--indigo: #1C1F63;--indigo-2: #2B3190;--indigo-3: #474DB5;--purple: #7758D9;--purple-dark: #4E37A3;--lavender: #D9CEFF;--yellow: #FFD21F;--yellow-dark: #D19B00;--yellow-soft: #FFF4C2;--green: #43D13A;--green-dark: #2E9E27;--green-soft: #C8F5C2;--sky: #4FC3F7;--sky-dark: #1E88C7;--sky-soft: #D7F0FF;--pink: #FF8FB8;--pink-dark: #E05C8E;--pink-soft: #FFE0EC;--orange: #FF9F43;--moon: #B8BCC6;--moon-dark: #6B7080;--moon-shadow: #5B606C;--cream: #FFFFFF;--ink-soft: #3B4366;--font-display: "Baloo 2", "Nunito", system-ui, sans-serif;--font-body: "Nunito", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{font-family:var(--font-body);background:#0b1030;color:#fff;-webkit-font-smoothing:antialiased}button{font:inherit}.app-shell{min-height:100%;display:flex;justify-content:center;background:radial-gradient(circle at 20% 10%,#2B3190 0,transparent 40%),radial-gradient(circle at 80% 80%,#1C1F63 0,transparent 45%),#0b1030}.screen{position:relative;width:100%;max-width:430px;min-height:100vh;min-height:100dvh;overflow:hidden;background:var(--indigo);display:flex;flex-direction:column}@media(min-width:640px){.app-shell{padding:24px 0}.screen{min-height:844px;border-radius:32px;box-shadow:0 20px 60px #00000080}}.screen--navy{background:var(--navy)}.screen--moon{background:var(--moon-dark)}.screen.scroll{overflow-y:auto}.pad{padding:20px 22px 30px;display:flex;flex-direction:column;gap:14px;flex:1;position:relative}.display{font-family:var(--font-display);font-weight:800;margin:0}.kicker{font-weight:800;font-size:13px;letter-spacing:1px}.muted{color:var(--ink-soft)}.btn{border:0;cursor:pointer;font-family:var(--font-display);font-weight:800;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .08s ease;color:var(--navy)}.btn:active{transform:translateY(5px)}.btn:focus-visible,a:focus-visible,input:focus-visible{outline:4px solid var(--sky);outline-offset:3px}.btn-yellow{background:var(--yellow);box-shadow:0 7px 0 var(--yellow-dark);border-radius:26px;height:70px;font-size:25px}.btn-white{background:#fff;color:var(--indigo);box-shadow:0 5px #a9aee0;border-radius:20px;height:56px;font-size:18px}.btn-soft{background:#eef0ff;border-radius:20px;height:52px;font-size:18px}.btn-disabled{background:var(--moon);box-shadow:0 6px #8e939e}.btn-round{width:48px;height:48px;border-radius:50%;padding:0;flex:none}.btn-back{width:50px;height:50px;border-radius:50%;background:#fff;box-shadow:0 4px #a9aee0;flex:none;padding:0}.card{background:#fff;color:var(--navy);border-radius:22px;padding:12px 14px}.pill{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:15px;font-weight:800;font-size:14px;color:var(--navy)}.chip-gain{background:var(--green-soft)}.chip-cost{background:#ffd3e3}.backdrop{position:absolute;inset:0;background:#0a0e28a3;display:flex;align-items:flex-end;z-index:50}.sheet{width:100%;background:#fff;color:var(--navy);border-radius:30px 30px 0 0;padding:22px 20px 26px;display:flex;flex-direction:column;gap:12px;max-height:92%;overflow-y:auto;animation:lkq-rise .3s ease-out both}.speech{background:#fff;color:var(--navy);border-radius:20px 20px 20px 4px;padding:10px 12px;font-weight:800;font-size:15px;line-height:20px}@keyframes lkq-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes lkq-twinkle{0%,to{opacity:1}50%{opacity:.25}}@keyframes lkq-pop{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.15);opacity:1}to{transform:scale(1);opacity:1}}@keyframes lkq-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes lkq-pulse{0%{transform:scale(.8);opacity:.95}to{transform:scale(1.45);opacity:0}}@keyframes lkq-walk{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-7px) rotate(4deg)}}@keyframes lkq-idle{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes lkq-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes lkq-hop{0%,to{transform:translateY(0) rotate(0)}30%{transform:translateY(-12px) rotate(-6deg)}60%{transform:translateY(0) rotate(5deg)}}@keyframes lkq-sunarc{0%{transform:translateY(40px)}50%{transform:translate(150px,-6px)}to{transform:translate(290px,40px)}}@keyframes lkq-glow{0%,to{filter:drop-shadow(0 0 0 rgba(255,210,31,0))}50%{filter:drop-shadow(0 0 7px rgba(255,210,31,1))}}@keyframes lkq-bubble{0%{transform:translateY(0);opacity:0}20%{opacity:1}to{transform:translateY(-40px);opacity:0}}@keyframes lkq-shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes lkq-storm{0%{transform:translate(0);opacity:0}15%{opacity:1}to{transform:translate(-220px,160px);opacity:0}}@keyframes lkq-blink{0%,to{opacity:1}50%{opacity:.2}}@keyframes lkq-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lkq-hurry{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes lkq-fall{0%{transform:translateY(-40px) rotate(0);opacity:0}10%{opacity:1}to{transform:translateY(420px) rotate(320deg);opacity:0}}@keyframes lkq-spin-slow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes lkq-glowbtn{0%,to{box-shadow:0 7px 0 var(--yellow-dark),0 0 #ffd21f8c}50%{box-shadow:0 7px 0 var(--yellow-dark),0 0 0 12px #ffd21f00}}.a-float{animation:lkq-float 3.4s ease-in-out 1}.a-twinkle{animation:lkq-twinkle 2.2s ease-in-out 1}.a-pop{animation:lkq-pop .45s ease-out both}.a-pop-2{animation:lkq-pop .45s ease-out .25s both}.a-pop-3{animation:lkq-pop .45s ease-out .5s both}.a-pop-4{animation:lkq-pop .45s ease-out .75s both}.a-rise{animation:lkq-rise .35s ease-out both}.a-pulse{animation:lkq-pulse 1.5s ease-out 1}.a-walk{animation:lkq-walk .35s ease-in-out 1}.a-idle{animation:lkq-idle 2.4s ease-in-out 1}.a-bob{animation:lkq-bob 1.2s ease-in-out 1}.a-hop{animation:lkq-hop 1.6s ease-in-out 1}.a-sunarc{animation:lkq-sunarc 3.2s ease-in-out both}.a-glow{animation:lkq-glow 1s ease-in-out 1}.a-bubble{animation:lkq-bubble 1.6s ease-out 1}.a-shake{animation:lkq-shake .3s ease-in-out 1}.a-storm{animation:lkq-storm 1.4s linear 1}.a-blink{animation:lkq-blink .8s ease-in-out 1}.a-spin{animation:lkq-spin 1.2s linear 1}.a-hurry{animation:lkq-hurry .8s ease-in-out 1}.a-fall{animation:lkq-fall 3.2s linear 1}.a-spin-slow{animation:lkq-spin-slow 24s linear 1;transform-origin:50% 50%}.a-glowbtn{animation:lkq-glowbtn 2s ease-in-out 1}.move{transition:left 1.2s ease-in-out,top 1.2s ease-in-out}.bar{transition:width .7s cubic-bezier(.3,1.4,.5,1)}.fade{transition:opacity 1.2s ease}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media(min-width:1000px)and (min-height:640px){.screen--game{max-width:1180px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto 1fr}.screen--game>:nth-child(1),.screen--game>:nth-child(2){grid-column:1 / -1}.screen--game>:nth-child(3){grid-column:1;grid-row:3;align-self:start;border-radius:0 0 0 32px}.screen--game>:nth-child(4){grid-column:2;grid-row:3;margin-top:0!important;border-radius:26px 0 0!important}.screen--game .backdrop{align-items:center;justify-content:center}.screen--game .sheet{max-width:600px;border-radius:30px;max-height:88%}.screen--game .speech{font-size:17px;line-height:23px}}.learning-card{background:#fff;color:#17234a;border:2px solid #dce5ff;border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:10px}.learning-card p{margin:0;line-height:1.5}.learning-eyebrow{font-weight:900;font-size:12px;letter-spacing:.08em;color:#4d4190}.learning-preview{background:#edf6ff;border-color:#acdaff}.learning-result{border-color:#a5dfad}.resource-transfers,.learning-actions{display:flex;flex-wrap:wrap;gap:8px}.transfer{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;padding:8px 10px;border-radius:12px;font-size:14px}.transfer-gain{background:#e0f7df;border-bottom:3px solid #87be81}.transfer-cost{background:#fff0e0;border-bottom:3px solid #d9a971}.flow-track{display:flex;align-items:center;justify-content:center;font-size:24px;gap:10px;min-height:42px}.flow-arrow{animation:lkq-flow 1s ease-out 1}@keyframes lkq-flow{0%{transform:translate(-12px);opacity:.4}to{transform:translate(0);opacity:1}}.learning-actions .btn{min-height:46px;height:auto;padding:10px 14px;font-size:15px}.discovery{padding:12px;border-radius:14px;background:#f2edff;color:#17234a}.learning-report{margin:14px;flex-shrink:0}.comparison-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:8px;padding:10px;background:#edf6ff;border-radius:14px;font-size:14px}.comparison-row{display:contents}.tutorial-base{border-radius:20px;background:#17224e;min-height:120px;display:flex;align-items:center;justify-content:space-evenly;color:#fff;font-size:30px}.tutorial-base img{width:130px}.tutorial-coach{display:flex;align-items:center;gap:10px}.growth-timeline{padding:12px;border-radius:18px;background:#e7f9dc;color:#193623;line-height:1.6}.meter-segments{display:flex;width:100%;gap:2px;margin-top:2px}.meter-segments i{height:5px;flex:1;background:#6971a8;border-radius:1px}.meter-segments .filled{background:var(--meter-color)}.btn{min-height:44px;touch-action:manipulation}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:4px solid #ffcf22;outline-offset:4px;box-shadow:0 0 0 7px #17234a}button:disabled{opacity:.55;cursor:not-allowed}.screen--game{overflow:visible}.sheet{overscroll-behavior:contain}@media(max-width:380px){.resource-transfers{flex-direction:column}.learning-card{padding:10px}}@media(prefers-reduced-motion:reduce){.flow-arrow{animation:none}}.btn{min-width:44px}.sheet>.btn{flex-shrink:0;height:auto;min-height:56px;padding:12px 16px;line-height:1.25}.flash-deck{display:flex;flex-direction:column;gap:12px;width:100%;color:var(--navy)}.flash-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.flash-count{background:#edf1ff;padding:5px 12px;border-radius:20px;font-weight:900;white-space:nowrap}.flash-face{background:#f0f6ff;border:2px solid #d1def4;border-radius:25px;padding:14px;min-height:240px;display:flex;flex-direction:column;justify-content:center;gap:12px;animation:card-turn .25s ease-out}.flash-face h2{font-size:24px;line-height:1.15;text-align:center}.flash-back{background:#fff4ce;border-color:#e9cf7c;justify-content:flex-start}.flash-explanation{display:flex;align-items:flex-start;gap:10px}.flash-explanation p{margin:0;font-size:21px;line-height:1.45;font-weight:800;flex:1}.flash-caption{margin:0;text-align:center;font-weight:800;font-size:15px;line-height:1.4}.flash-source{font-size:15px;line-height:1.55;text-align:left}.flash-source summary,.compact-consequence summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer;color:#403778}.flash-source summary:before{content:"＋";margin-right:8px}.flash-source[open] summary:before{content:"−"}.source-links{display:flex;flex-direction:column;gap:12px}.flash-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px}.flash-navigation .btn{min-height:52px;height:auto;padding:10px 14px;font-size:18px}.flash-navigation>.btn:last-child{flex:1}.flash-dots{display:flex;flex-wrap:wrap;gap:4px;max-width:70px}.flash-dots i{width:7px;height:7px;border-radius:50%;background:#a8b6d4}.flash-dots .current{background:#5f46b0;transform:scale(1.3)}.flash-flip{font-size:17px;width:100%}.flash-screen{padding:16px;background:#e9f0ff;gap:16px}.flash-screen>.btn-back{align-self:flex-start}.flash-screen .flash-deck{flex:1;justify-content:center}.picture-resources{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.picture-resource{border:2px solid #d7e4f7;border-radius:15px;background:#fff;padding:8px;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:75px;color:#17234a}.picture-resource>span{font-size:25px;line-height:1.2}.picture-resource b{font-size:18px;white-space:nowrap}.picture-resource small{font-size:12px;font-weight:800;max-width:90px;text-align:center}.compact-consequence{gap:5px;padding:10px}.compact-consequence .picture-resource{flex:1;min-width:58px;padding:5px}.compact-consequence .picture-resource span{font-size:19px}.compact-consequence .picture-resource b{font-size:15px}.compact-consequence summary{font-size:13px;min-height:36px}.crew-needs,.ready-picture{display:flex;justify-content:space-evenly;align-items:center;padding:40px 0;font-size:50px}.briefing-picture{position:relative}.briefing-picture img{position:absolute;width:95px;right:20px;bottom:15px}.briefing-crew,.report-crew{display:block;width:135px;margin:0 auto}.choice-picture{display:flex;flex-wrap:wrap;gap:8px;font-weight:800;font-size:14px}.choice-picture span{flex:1;min-width:110px;background:#fff;padding:10px;border-radius:12px}.discovery-pictures{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.discovery-pictures span{padding:8px;border-radius:14px;background:#fff2bf;font-weight:800;font-size:14px}.plan-table{border-collapse:collapse;width:100%;font-size:15px}.plan-table th,.plan-table td{padding:12px 8px;border-bottom:2px solid #d8e5fa;text-align:center}.plan-table th:first-child{text-align:left}.machine-drawing{display:block;width:100%;max-height:215px;border-radius:20px}.equipment-story{display:flex;flex-direction:column;gap:8px}.machine-effects{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.machine-effects span{font-weight:900;font-size:15px;padding:5px 8px;background:#e5f3ff;border-radius:10px;color:#17234a}.animation-actions{display:flex;justify-content:center;gap:8px}.animation-actions .btn{height:auto;min-height:44px;padding:6px 9px;font-size:13px}.machine-theatre{border-radius:22px;background:#fff;color:#17234a;padding:12px}.machine-theatre>strong{display:block;font-size:20px;text-align:center;margin-bottom:10px}.machine-theatre .learning-actions{max-height:100px;overflow:auto;margin-top:10px}.machine-theatre .learning-actions .btn{font-size:13px}.machine-idle{background:#fff;border-radius:22px;padding:12px;color:#17234a;text-align:center}.machine-mini{width:58px;flex:none}.machine-mini .machine-drawing{border-radius:9px;height:48px;object-fit:cover}.machine-switch{gap:8px!important}.math-coach{display:flex;align-items:center;gap:10px;font-size:23px}.math-expression{text-align:center;font-family:var(--font-display);font-size:40px;font-weight:900;background:#edf5ff;border-radius:18px;padding:12px}.math-feedback{font-weight:800;font-size:17px;line-height:1.4;margin:0}.playtest-page{color:#17234a;background:#edf3ff}.playtest-page label{display:flex;flex-direction:column;font-weight:800;gap:8px}.playtest-page select,.playtest-page textarea{width:100%;min-height:48px;padding:10px;border:2px solid #99abd2;border-radius:12px;font:inherit;background:#fff;color:#17234a}.playtest-page h2{margin:0;font-size:21px}.playtest-page blockquote{margin:0;border-left:4px solid #7758d9;padding:10px;background:#f2edff;line-height:1.5}@keyframes card-turn{0%{transform:rotateY(-12deg);opacity:.3}to{transform:rotateY(0);opacity:1}}@keyframes energy-pass{to{stroke-dashoffset:-34}}@keyframes water-pass{0%{transform:translate(-12px);opacity:0}25%{opacity:1}to{transform:translate(32px);opacity:0}}@keyframes filter-pass{0%{transform:translate(-10px);opacity:0}25%{opacity:1}to{transform:translate(20px);opacity:0}}@keyframes oxygen-rise{0%{transform:translateY(18px);opacity:0}30%{opacity:1}to{transform:translateY(-25px);opacity:0}}@keyframes level-down{to{transform:scaleY(.65)}}@keyframes level-up{0%{transform:scaleY(.35)}to{transform:scaleY(1)}}@keyframes plant-stages{0%{transform:scaleY(.45)}50%{transform:scaleY(.7)}to{transform:scaleY(1)}}@keyframes shelter-stop{0%{transform:translate(-12px,-10px);opacity:0}45%{opacity:1}to{transform:translate(18px,15px);opacity:0}}@keyframes drill-work{50%{transform:translateY(7px)}}@keyframes lamp-glow{50%{opacity:.4}}.machine-running .energy-wire{animation:energy-pass .7s linear 1}.machine-running .water-travel{animation:water-pass 1.1s ease-in 1}.machine-running .filter-in,.machine-running .filter-out{animation:filter-pass 1.3s linear 1}.machine-running .filter-out{animation-delay:.5s}.machine-running .air-rise,.machine-running .heat-rise{animation:oxygen-rise 1.2s ease-out 1}.machine-running .water-level{transform-box:fill-box;transform-origin:bottom;animation:level-down 2s ease-out forwards}.machine-running .clean-level{transform-box:fill-box;transform-origin:bottom;animation:level-up 2s ease-out forwards}.machine-running .plant-grow{animation:plant-stages 2.5s ease-in-out forwards}.machine-running .plant-drop{animation:oxygen-rise 1s reverse 1}.machine-running .lamp-beam{animation:lamp-glow 1s ease-in-out 1}.machine-running .storm-deflect{animation:shelter-stop 1.3s linear 1}.machine-running .radio-wave{animation:lamp-glow 1s ease-out 1}.machine-running .battery-charge{animation:level-up 1s ease-out both;transform-box:fill-box;transform-origin:bottom}.machine-running .bike-pedal,.machine-running .drill-arm{animation:drill-work .5s ease-in-out 1}.machine-running .ice-carry{animation:water-pass 1.3s reverse 1}@media(max-width:380px){.flash-face{padding:10px;min-height:215px}.flash-face h2{font-size:22px}.flash-explanation p{font-size:19px}.machine-mini{width:45px}.flash-navigation .btn{font-size:16px}.sheet{padding:16px 12px}.machine-drawing{max-height:175px}}@media(prefers-reduced-motion:reduce){.machine-running *,.flash-face{animation:none!important;transform:none!important}}.machine-mini-effects{display:flex;flex-wrap:wrap;font-weight:800;font-size:13px;line-height:1.4}.equipment-units{color:#354768;font-size:11px;text-align:center}.flash-face .machine-drawing{max-height:155px}.flash-face .picture-resource{min-width:54px;flex:1;padding:5px}.flash-face .picture-resource small{font-size:11px;max-width:70px}.flash-face .picture-resource span{font-size:22px}.flash-face .picture-resource b{font-size:17px}.flash-face{gap:10px}@media(max-height:700px){.sheet{padding:14px 12px}.flash-deck{gap:8px}.flash-face{min-height:205px;padding:10px;gap:8px}.flash-face h2{font-size:22px}.flash-face .machine-drawing{max-height:130px}.flash-navigation .btn,.flash-flip{min-height:44px;height:44px}}.reward-picture{text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.reward-picture img{width:110px}.reward-picture h2{font-size:28px}.reward-picture p{margin:0;font-weight:800}.reward-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.reward-badges span{padding:8px 12px;background:#edf3ff;border-radius:12px;font-size:15px;font-weight:800}.reward-picture{position:relative;overflow:hidden;border-radius:20px;padding:6px}:root{--gain-color: #64F000;--loss-color: #FF3333;--tradeoff-ink: #101010}.tradeoff-gain,.chip-gain,.transfer-gain,.picture-resource.tradeoff-gain,.choice-picture .tradeoff-gain,.machine-effects .tradeoff-gain{background:var(--gain-color);color:var(--tradeoff-ink);border-color:var(--gain-color)}.tradeoff-loss,.chip-cost,.transfer-cost,.picture-resource.tradeoff-loss,.choice-picture .tradeoff-loss,.machine-effects .tradeoff-loss{background:var(--loss-color);color:var(--tradeoff-ink);border-color:var(--loss-color)}.tradeoff-neutral{background:#edf1f7;color:#17234a}.machine-mini-effects>.tradeoff-gain,.machine-mini-effects>.tradeoff-loss,.machine-mini-effects span>.tradeoff-gain,.machine-mini-effects span>.tradeoff-loss{padding:2px 4px;margin:1px;border-radius:6px}.machine-switch .tradeoff-loss,.machine-switch .tradeoff-gain{padding:2px 4px;border-radius:6px}.plan-table td small{display:block;font-weight:800}.result-number,.picture-resource b,.machine-effects .tradeoff-gain,.machine-effects .tradeoff-loss,.plan-table td{font-weight:900}.spot-legend{display:grid;gap:6px;margin:0;padding:0;list-style:none}.spot-legend li,.spot-legend>span{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;background:#eef4ff;font-weight:700;font-size:14px;line-height:18px}.side-quest-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;background:#ffd21f;color:#121b3b;font-weight:900;font-size:12px;letter-spacing:.04em}.sun-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.telescope-btn{position:absolute;left:10px;bottom:24px;z-index:3;min-width:56px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:18px;border:3px solid #fff;background:#121b3b;color:#fff;font-weight:900;font-size:12px;cursor:pointer;box-shadow:0 4px #00000040}.telescope-btn:focus-visible{outline:4px solid #FFD21F;outline-offset:2px}.sun-scope{position:relative;width:150px;height:150px;margin:4px auto;border-radius:50%;background:#050a24;border:6px solid #2b3768;overflow:hidden}.sun-disc{position:absolute;left:35px;top:35px;width:80px;height:80px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#fff3a0,#ffb347 60%,#ff7a1a);box-shadow:0 0 30px #ffb347;animation:sun-pulse 2.4s ease-in-out infinite}.scope-ring{position:absolute;inset:14px;border-radius:50%;border:2px dashed #83dfff}@keyframes sun-pulse{50%{transform:scale(1.06)}}.data-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font-weight:900;font-size:13px}.data-badge.recent{background:var(--gain-color, #64F000);color:#121b3b}.data-badge.archived{background:#e6e0ff;color:#3d2a8a}.sun-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sun-facts span{display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:12px;background:#eef4ff;font-size:14px;line-height:18px}.sun-facts b{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#4a5078}.storm-prep strong{line-height:1.3}.prep-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prep-choice{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px;border-radius:18px;border:4px solid #D5D8F0;background:#fff;color:#17234a;font:inherit;font-size:14px;text-align:center;cursor:pointer;overflow:hidden}.prep-choice.on{border-color:#ffd21f;background:#fffbe6}.prep-choice:focus-visible{outline:4px solid #4FC3F7;outline-offset:2px}.prep-choice .tradeoff-gain,.prep-choice .tradeoff-loss,.ghost-diffs span{padding:3px 6px;border-radius:8px;border:2px solid transparent}.prep-picture .machine-drawing{width:100%;height:auto;display:block;border-radius:12px}.energy-flow{position:absolute;left:0;right:0;top:0;height:8px;pointer-events:none}.energy-flow i{position:absolute;top:1px;left:-10px;width:8px;height:8px;border-radius:50%;background:#ffd21f;box-shadow:0 0 8px #ffe16c;animation:energy-travel 1.4s linear infinite}.energy-flow i:nth-child(2){animation-delay:.45s}.energy-flow i:nth-child(3){animation-delay:.9s}@keyframes energy-travel{0%{left:-10px}to{left:100%}}.prep-note{margin:0;font-weight:800;font-size:14px}.ghost-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-base{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:18px;background:#fff;color:#17234a;border:3px solid #dce5ff;min-width:0}.mini-base.ghost{border-style:dashed;border-color:#b9a6ff;background:#f6f3ff}.mini-scene{position:relative;height:70px;border-radius:12px;background:linear-gradient(#14234a 55%,#a3a8b3 55%);overflow:hidden}.mini-shelter{position:absolute;left:6px;top:18px;font-size:26px;line-height:1}.mini-shelter b{position:absolute;right:-8px;top:-6px;min-width:20px;height:20px;border-radius:10px;background:#4fc3f7;color:#121b3b;font-size:13px;line-height:20px;text-align:center;border:2px solid #fff}.mini-wall{position:absolute;left:42px;top:28px;font-size:20px}.mini-crew{position:absolute;width:24px;height:24px;border-radius:50%;background:#fff;object-fit:cover;border:2px solid #FF9F43;top:40px}.mini-crew.z-wall{border-color:#b9a6ff;left:calc(66px + var(--i) * 12px);top:30px}.mini-crew.z-out{right:calc(4px + var(--i) * 14px)}.mini-base small{font-weight:800;font-size:12px;line-height:15px}.mini-base .picture-resources{transform-origin:top left}.ghost-diffs{display:flex;flex-wrap:wrap;gap:6px;font-size:15px}.strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.strategy-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:16px;text-align:center;font:inherit;font-size:13px;line-height:16px;min-height:96px}.strategy-card>span{font-size:28px;line-height:32px}.strategy-card.got{background:#fff2bf;border:3px solid #FFD21F;color:#17234a;cursor:pointer}.strategy-card.got:focus-visible{outline:4px solid #4FC3F7;outline-offset:2px}.strategy-card.locked{background:#eef0ff;border:3px dashed #c8cdf0;color:#4a5078}.strategy-card.locked small{font-size:12px;line-height:15px}.strategy-hero{font-size:64px;text-align:center;line-height:1}.strategy-new{background:#fff2bf;color:#17234a}.new-day .learning-actions{display:grid;grid-template-columns:1fr}.new-day .btn{width:100%;height:auto;min-height:62px;padding:8px;flex-direction:column;line-height:1.2}.new-day .btn small{font-family:var(--font-body);font-weight:800;font-size:12px}@media(max-width:380px){.strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ghost-grid,.sun-facts{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.energy-flow i{animation:none;left:auto;position:static;display:inline-block;margin:0 3px}.energy-flow{display:flex;justify-content:center}.sun-disc{animation:none}}.report-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.report-actions .btn{height:auto;min-height:60px;padding:8px 10px;font-size:19px;line-height:22px;border-radius:20px}@media(max-width:380px){.report-actions .btn{font-size:17px}}.full-report{display:flex;flex-direction:column;gap:10px;outline:none}.full-report h2{margin:0}.report-row{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;line-height:19px}.report-row>span:first-child{flex:1}.report-row .pill{flex:none;height:auto;min-height:26px;padding:2px 8px;font-size:14px}.report-choice{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:2px solid #dce5ff}.report-choice:first-of-type{border-top:0;padding-top:0}.report-choice p{font-size:15px}.quest-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.quest-list li{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:16px;background:#fff2bf;border:3px solid #FFD21F;color:#17234a}.quest-list li.locked{background:#eef0ff;border:3px dashed #c8cdf0;color:#4a5078}.quest-list li>span:first-child{font-size:26px;line-height:30px;flex:none}.quest-list b{font-size:16px}.quest-list em{font-style:normal;font-weight:900;color:#1d7a00}.quest-list small{display:block;font-size:14px;line-height:18px;font-weight:700}.chip-info,.picture-resource.chip-info,.machine-effects .chip-info,.choice-picture .chip-info{background:#fff;color:#17234a;border:2px solid #c8cdf0}.machine-mini-effects .chip-info,.machine-switch .chip-info{padding:1px 4px;margin:1px;border-radius:6px;border-width:1.5px}.machine-effects .chip-info{font-weight:900}.prep-choice .chip-info{padding:3px 6px;border-radius:8px}.machine-mini-effects{display:flex;flex-wrap:wrap;gap:2px}.machine-mini-effects .chip-info{display:inline-block;white-space:nowrap;font-size:12px;line-height:16px}.flash-top-right{display:flex;align-items:center;gap:8px}.flash-skip{min-height:44px;min-width:44px;padding:6px 14px;border-radius:999px;border:2px solid #c8cdf0;background:#fff;color:#17234a;font:inherit;font-weight:900;font-size:15px;cursor:pointer}.flash-skip:focus-visible{outline:4px solid #4FC3F7;outline-offset:2px}.header-back{position:relative;z-index:60}.machine-switch{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;min-width:0;overflow:hidden}.machine-top{display:flex;align-items:center;gap:8px;min-width:0}.machine-text{display:flex;flex-direction:column;gap:2px;min-width:0}.machine-name{font-weight:800;font-size:14px;line-height:17px;overflow-wrap:anywhere}.machine-status{font-weight:800;font-size:13px;line-height:18px;color:#3d2a8a}.machine-mini-effects{min-width:0}.machine-mini-effects .chip-info{white-space:normal;max-width:100%;overflow-wrap:anywhere}.flash-explanation>div{flex:1;display:flex;flex-direction:column;gap:4px}.did-notice{display:block;font-family:var(--font-display, inherit);font-size:20px;color:#5b41b8}.btn-yellow,.btn-white{height:auto!important;min-height:60px!important;padding:8px 16px;font-size:20px!important;line-height:1.15!important;border-radius:20px!important}.btn-soft{height:auto!important;min-height:52px!important;padding:8px 14px;font-size:17px!important;line-height:1.2!important;border-radius:18px!important}.flash-navigation .btn-white{min-height:60px!important;min-width:56px}.btn-yellow small,.btn-white small,.btn-soft small{font-size:13px}@media(max-width:380px){.btn-yellow,.btn-white{font-size:18px!important}.btn-soft{font-size:16px!important}}.picture-meter{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;border:2px solid #d7e4f7;background:#fff;color:#17234a;min-width:0;flex:1 1 150px;text-align:left}.picture-meter.tradeoff-gain{background:var(--gain-color);border-color:var(--gain-color);color:var(--tradeoff-ink)}.picture-meter.tradeoff-loss{background:var(--loss-color);border-color:var(--loss-color);color:var(--tradeoff-ink)}.pm-icon{font-size:24px;line-height:1;flex:none}.pm-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.pm-body b{font-size:15px;line-height:18px;font-weight:900}.pm-bar{display:block;height:8px;border-radius:4px;background:#0000002e;overflow:hidden}.pm-bar i{display:block;height:100%;background:#fff;border-radius:4px;animation:pm-fill .9s ease-out}.picture-meter.chip-info .pm-bar i{background:#5b41b8}@keyframes pm-fill{0%{width:0}}.battery-left{background:#fffbe6;border-color:#ffd21f}.cells-row{display:flex;flex-wrap:wrap;gap:3px}.cells-row i{width:12px;height:16px;border-radius:3px;background:#d5d8e6}.cells-row i.left{background:#ffd21f;box-shadow:inset 0 0 0 1.5px #c99a00}.tradeoff-picture{display:flex;flex-direction:column;gap:8px;color:#17234a}.tp-machines{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}.tp-machine{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;border-radius:12px;text-align:center;font-size:12px;line-height:14px}.tp-machine b{font-size:12px;overflow-wrap:anywhere}.tp-machine small{font-weight:900;font-size:11px}.tp-machine.on{background:#fffbe6;border:2px solid #FFD21F;box-shadow:0 0 #ffd21f99;animation:tp-glow 1.8s ease-in-out infinite}.tp-machine.off{background:#eceef4;border:2px dashed #c8cdf0;color:#6a6f9e;filter:grayscale(1)}.tp-icon{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e3e6f2}@keyframes tp-glow{50%{box-shadow:0 0 0 4px #ffd21f59}}.tp-crew{display:flex;flex-wrap:wrap;gap:6px}.tp-zone{flex:1 1 90px;display:flex;flex-direction:column;gap:4px;padding:6px;border-radius:12px;background:#eef4ff;text-align:center}.tp-zone.z-out{background:#ffe3cc}.tp-zone.z-wall{background:#e6e0ff}.tp-zone.z-shelter{background:#d7f0ff}.tp-zone small{font-weight:900;font-size:12px}.tp-zone img{width:30px;height:30px;border-radius:50%;background:#fff;object-fit:cover;border:2px solid #fff;margin:0 1px}.tp-plants{display:flex;justify-content:center;gap:14px;font-size:34px}.tp-plants span{display:flex;flex-direction:column;align-items:center}.tp-plants small{font-size:12px;font-weight:900}.tp-plants .thirsty{filter:saturate(.4)}.result-words{display:flex;flex-wrap:wrap;gap:6px}.result-words span{padding:6px 10px;border-radius:12px;font-weight:900;font-size:15px;line-height:18px;border:2px solid transparent}.flash-face .tradeoff-picture .picture-meter{flex:1 1 100%}@media(prefers-reduced-motion:reduce){.pm-bar i,.tp-machine.on{animation:none}}.flash-source a{display:block;margin:6px 0;overflow-wrap:anywhere}.flash-source .source-links a{margin:0}.flash-source .btn{width:100%;margin-top:8px}.flash-source h3{margin:14px 0 4px}.flash-source .source-links{margin:6px 0 16px;gap:10px}.backdrop{align-items:center!important;justify-content:center;padding:12px;box-sizing:border-box}.backdrop>.sheet{border-radius:28px!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto;box-shadow:0 18px 50px #00000059}@supports not (height: 100dvh){.backdrop>.sheet{max-height:calc(100vh - 24px)!important}}.backdrop>.sheet:after{content:"";display:block;min-height:4px;flex:none}
