*{box-sizing:border-box}html,body{color:#f3fffb;background:#000;width:600px;height:600px;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}body{touch-action:none}button{font:inherit;color:inherit;cursor:pointer}.app-root{background:#000;width:600px;height:600px;position:relative;overflow:hidden}canvas{width:600px;height:600px;display:block;position:absolute;inset:0}.screen{pointer-events:none;position:absolute;inset:24px}.screen button,.screen input,.screen select{pointer-events:auto}#heading{height:64px;position:relative}.eyebrow{letter-spacing:2px;color:#a9e0ce;margin:0 0 4px;font-size:12px;font-weight:700}h1{letter-spacing:-.6px;max-width:520px;margin:0;font-size:26px;line-height:1.15}h2{margin:0;font-size:22px}.subtitle{color:#c1dadc;margin:6px 0 0;font-size:15px}.resource-chip{color:#e7ffd3;background:#14252b;border:1px solid #719989;border-radius:8px;padding:4px 8px;font-size:12px;position:absolute;top:0;right:0}.with-resources h1{max-width:430px}#information{pointer-events:none;position:absolute;inset:78px 0 0}.copy{color:#e6f4f7;overflow-wrap:anywhere;margin:0 0 8px;font-size:18px;line-height:1.4}.feedback{background:#17272f;border:1px solid #6a9396;border-radius:15px;padding:13px 16px;box-shadow:0 0 14px #7bbfa51a}.feedback p{margin:0}.status-line{color:#e2f2ed;font-size:14px}.dialogue-bubble{background:#1c313c;border:2px solid #b2edde;border-radius:18px;padding:18px 20px;font-size:22px;line-height:1.35;position:absolute;top:72px;left:24px;right:24px;box-shadow:0 0 20px #62c7b525}.dialogue-bubble:after{content:"";background:#1c313c;border-bottom:2px solid #b2edde;border-right:2px solid #b2edde;width:22px;height:22px;position:absolute;bottom:-13px;left:46%;transform:rotate(45deg)}.dialogue-bubble p{margin:0}.field-hint{color:#b6e0d7;justify-content:space-between;font-size:14px;display:flex;position:absolute;top:346px;left:0;right:0}.field-hint span{background:#16282c;border:1px solid #436763;border-radius:8px;padding:4px 9px}.field-hint .habitat{color:#f0fba9;border-color:#d5d881}.bot-stat{background:#152730;border:1px solid #789baf;border-radius:12px;width:238px;padding:11px 13px;position:absolute}.bot-stat.foe{top:6px;left:0}.bot-stat.ally{top:142px;right:0}.stat-name{justify-content:space-between;align-items:baseline;gap:7px;font-size:20px;font-weight:750;line-height:1.1;display:flex}.stat-name small{white-space:nowrap;color:#d8e6f2;font-size:14px}.hp-bar{background:#354350;border:1px solid #82919b;border-radius:6px;height:8px;margin:8px 0 6px;overflow:hidden}.hp-bar i{background:#a4f9cf;height:100%;display:block}.stat-numbers{color:#e9f5f5;justify-content:space-between;font-size:15px;display:flex}.battle-feedback{color:#eafaf7;white-space:nowrap;text-overflow:ellipsis;background:#172c35;border:1px solid #527479;border-radius:7px;height:32px;padding:6px 10px;font-size:15px;line-height:1.2;position:absolute;top:255px;left:0;right:0;overflow:hidden}.menu-copy{pointer-events:auto;scrollbar-width:thin;scrollbar-color:#8bd5bd #1a2c38;max-width:100%;max-height:128px;overflow:auto}.menu-copy p{margin:0 0 5px;font-size:18px;line-height:1.32}.menu-copy.with-portrait{max-width:314px;max-height:162px}.menu-battle .menu-copy{background:#1a2d37;border:1px solid #91b2b3;border-radius:12px;padding:12px}.action-list{pointer-events:auto;scrollbar-width:none;flex-direction:column;gap:10px;max-height:356px;scroll-padding:5px;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden auto}.action-list::-webkit-scrollbar{display:none}.action-list.has-scroll{-webkit-mask-image:linear-gradient(#0000,#000 4px calc(100% - 7px),#0000);mask-image:linear-gradient(#0000,#000 4px calc(100% - 7px),#0000)}.focusable{isolation:isolate;text-align:left;background:#1b2b37;border:2px solid #536f7f;border-radius:16px;outline:none;flex-direction:column;flex-shrink:0;justify-content:center;width:100%;min-height:88px;padding:13px 17px;transition:border-color .15s,background-color .15s;display:flex;position:relative;overflow:hidden}.focusable:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(135deg,#49768933,#0000);border-radius:13px;position:absolute;inset:0}.focusable .label{overflow-wrap:anywhere;font-size:21px;font-weight:700;line-height:1.16}.focusable .detail{color:#c5dbe3;overflow-wrap:anywhere;margin-top:5px;font-size:14px;line-height:1.3;display:block}.focusable:focus-visible,.focusable.is-focused{background:#254452;border-color:#b5ffe4;box-shadow:inset 5px 0 #bdffe5,0 0 16px #7ce8c01e}.focusable:active{background:#376073}.focusable[aria-disabled=true]{color:#bdc9cb;background:#202b31}.focusable[aria-disabled=true] .detail{color:#b9c4c6}.focusable[data-tone=danger]{border-color:#e2a4a1}.focusable[data-tone=primary]{border-color:#9cbcb4}.field .action-list,.dialogue .action-list,.result .action-list{flex-direction:row;max-height:98px}.field .focusable .label{font-size:23px}.field .focusable .detail{font-size:15px}.field .focusable{flex:1}.starter #heading{height:95px}.starter h1{font-size:32px}.starter #information{top:386px}.starter .action-list{grid-template-columns:repeat(3,1fr);gap:10px;max-height:130px;display:grid}.starter .focusable{text-align:center;min-height:118px;padding:14px 12px}.starter .focusable .label{font-size:21px}.starter .focusable .detail{font-size:14px}.starter-description{max-height:62px;margin:0;font-size:17px;line-height:1.35;overflow:auto}.battle .action-list{grid-template-columns:1fr 1fr;gap:10px;max-height:194px;display:grid}.battle .focusable{height:88px;padding:10px 13px}.battle .focusable .label{font-size:20px}.battle .focusable .detail{max-height:36px;font-size:14px;overflow:hidden}.battle .focusable:first-child:last-child{grid-column:1/-1}.result .feedback,.dialogue .feedback{max-height:250px;overflow:auto}.error .action-list{max-height:194px}.error .feedback{margin-top:25px;font-size:22px}.busy-marker{color:#e6edbe;background:#263b40;border-radius:6px;padding:4px 8px;font-size:12px;position:absolute;top:2px;right:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.large-text h1{font-size:32px}.large-text .copy,.large-text .menu-copy p,.large-text .focusable .label{font-size:28px}.large-text .focusable .detail{font-size:22px}.large-text .action-list{max-height:270px}.large-text .focusable{min-height:116px}.large-text .battle .action-list{grid-template-columns:1fr;max-height:238px}.large-text .battle-feedback{top:218px}.large-text .bot-stat{padding:8px}.large-text .menu-copy{max-height:202px}.large-text .starter .action-list{max-height:146px;display:flex}.large-text .field .action-list,.large-text .dialogue .action-list,.large-text .result .action-list{max-height:124px}.large-text .dialogue-bubble{font-size:28px}.large-text .stat-numbers{font-size:20px}body.preview{background:radial-gradient(at 50% 38%,#18373b,#0a121b 70%);place-content:center;width:100vw;min-width:650px;height:auto;min-height:100vh;padding:115px 24px 35px;display:grid;overflow:auto}.preview .app-root{isolation:isolate;border-radius:22px;box-shadow:0 0 0 1px #6ab6a444,0 22px 90px #0009}.preview-heading{text-align:center;position:absolute;top:25px;left:0;right:0}.preview-heading h2{letter-spacing:-.5px;font-size:24px}.preview-caption{color:#9db9bd;text-align:center;letter-spacing:.6px;font-size:12px}.preview-controls{justify-content:center;gap:10px;margin-top:23px;display:flex}.preview-controls button{color:#e2fbf3;background:#213e46;border:1px solid #517c7e;border-radius:10px;min-width:50px;height:44px;padding:0 15px}.preview-controls button:hover{background:#315d63}.menu-battle .action-list{max-height:194px}.menu-battle .menu-copy{max-height:47px;padding:6px 9px;position:absolute;top:240px;left:0;right:0}.menu-battle .menu-copy p{font-size:15px}.battle-context.dialogue .dialogue-bubble{max-height:124px;padding:12px 16px;font-size:18px;top:254px;left:0;right:0;overflow:auto}.battle-context.dialogue .dialogue-bubble:after{display:none}.battle-context.result .menu-copy{max-height:124px;padding:10px 16px;position:absolute;top:254px;left:0;right:0}.battle-context.result .menu-copy p{font-size:18px}.dialogue .action-list,.result .action-list{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:10px;scroll-padding:0;display:grid}.large-text #heading{height:124px}.large-text h1{max-width:552px;font-size:52px;line-height:1.05}.large-text .eyebrow{letter-spacing:1px;font-size:24px}.large-text #information{top:138px}.large-text .focusable .label{font-size:42px;line-height:1.08}.large-text .focusable .detail{max-height:none;font-size:28px;line-height:1.2}.large-text .focusable{height:auto;min-height:166px;padding:12px 17px;overflow:visible}.large-text .action-list{max-height:326px;scroll-padding:0}.large-text .menu-copy{max-height:72px;overflow:hidden}.large-text .menu-copy p,.large-text .copy{font-size:36px;line-height:1.15}.large-text .dialogue .action-list,.large-text .result .action-list{flex-direction:column;max-height:172px;display:flex}.large-text .dialogue-bubble,.large-text .battle-context.dialogue .dialogue-bubble{max-height:204px;padding:12px 16px;font-size:36px;line-height:1.15;left:0;right:0;overflow:hidden;top:0!important}.large-text .battle-context.dialogue .bot-stat,.large-text .battle-context.result .bot-stat{display:none}.large-text .battle-context.result .menu-copy{max-height:204px;top:0}.large-text .battle-context.result .menu-copy p{font-size:36px}.large-text .battle .action-list,.large-text .menu-battle .action-list{flex-direction:column;max-height:178px;display:flex}.large-text .battle .focusable{height:auto;min-height:166px}.large-text .battle .focusable .label{font-size:40px}.large-text .battle .focusable .detail{max-height:none;font-size:28px;overflow:visible}.large-text .bot-stat{width:100%;padding:7px 12px}.large-text .bot-stat.foe{top:0}.large-text .stat-name small{font-size:28px}.large-text .stat-numbers{white-space:nowrap;font-size:30px}.large-text .hp-bar{height:7px;margin:5px 0}.large-text .battle-feedback{display:none}.large-text .field .action-list{max-height:166px}.large-text .field-hint{font-size:28px;top:245px}.large-text .field-hint span:last-child{display:none}.large-text .starter h1{font-size:52px}.large-text .starter #information{top:262px}.large-text .starter-description{max-height:89px;font-size:28px}.large-text .starter .action-list{max-height:180px}.large-text .starter .focusable .label{font-size:42px}.large-text .starter .focusable .detail{font-size:28px}.large-text .starter .focusable{min-height:166px}.large-text .error .action-list{max-height:326px}.large-text .error .feedback{max-height:132px}.large-text .stat-name{font-size:40px}.large-text .bot-stat.ally{top:118px}.large-text .menu-battle .bot-stat{display:none}.large-text .menu-battle .menu-copy{max-height:166px;padding:12px 16px;top:0}.large-text .menu-battle .menu-copy p{font-size:36px}.large-text .starter-description{max-height:105px}.app-root{isolation:isolate}#world{z-index:0}#interface{z-index:1}.dialogue-bubble:after{left:var(--speaker-tail,46%)}.battle .focusable.program-move{height:auto;min-height:88px}.battle .focusable.program-move .detail{max-height:none;overflow:visible}
