@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#242c33;--muted:#7f8589;--orange:#f56c43;--paper:#f8faf7;--line:#e3e7e1;--display:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;--body:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button{transition:background .18s,transform .18s,box-shadow .18s}button:hover{transform:translateY(-2px)}button:active{transform:translateY(0)}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #2476c5;outline-offset:4px}button:disabled{cursor:default;transform:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button[hidden],[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.site-header{height:86px;max-width:1440px;margin:auto;padding:0 56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-family:var(--display);font-size:28px;font-weight:800;letter-spacing:-.5px}.brand-sling{color:var(--orange);margin-left:5px}.brand-mark{display:grid;place-items:center;background:var(--orange);color:white;border-radius:10px;font-family:Arial;font-size:34px;width:39px;height:39px;transform:rotate(-7deg)}.edition{font-family:var(--body);font-size:10px;font-weight:800;letter-spacing:1.1px;border:1px solid #dce1d8;border-radius:5px;padding:6px;margin-left:8px;color:#7d857b}.header-right{display:flex;align-items:center;gap:28px}.header-tag{font-size:13px;color:var(--muted)}.icon-btn{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent;font-weight:700}.help-button.icon-btn{font-size:17px}main{max-width:1440px;margin:auto;padding:29px 56px 0}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;display:flex;align-items:center;gap:9px}.tiny-spark{color:var(--orange);font-size:15px}.eyebrow-divider{color:#b6bdb6;margin:0 3px}h1{font-family:var(--display);font-size:48px;line-height:1;margin:9px 0 0;font-weight:700;letter-spacing:-.5px}h1>span{color:var(--orange)}.light-button,.primary-button{border:1px solid var(--line);border-radius:9px;padding:13px 18px;display:inline-flex;gap:11px;align-items:center;justify-content:center;background:#fff;font-size:14px;font-weight:600;color:var(--ink)}.light-button:hover{background:#f0f3ed}.level-select{margin-top:10px}.muted{color:#91968f;font-weight:400}.chevron{margin-left:13px;color:var(--muted)}.game-shell{border:1px solid #d6ded7;border-radius:15px;box-shadow:0 4px 0 #e7ebe4;overflow:hidden;background:white}.battlefield{position:relative;aspect-ratio:1280/590;background:#bee7e5;isolation:isolate}.battlefield canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px}.hud{position:absolute;top:26px;pointer-events:none;display:flex}.hud-left{left:26px;gap:12px;align-items:center}.level-chip{background:#fff7e1;border:1px solid #ffedbf;box-shadow:0 3px 0 #d2bb89;border-radius:9px;display:grid;place-items:center;width:42px;height:42px;font-weight:800;font-size:17px}.hud-left>div{display:flex;flex-direction:column;gap:5px}.hud-label{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#37595c}.hud-left strong{font-size:13px;font-weight:700}.hud-score{left:50%;transform:translateX(-50%);align-items:center;flex-direction:column;gap:4px}.hud-score>strong{font-family:var(--display);font-size:38px;line-height:1;letter-spacing:1px;color:#23494d;text-shadow:0 1px 0 #fff}.score-stars{color:#e3af44;font-size:19px;letter-spacing:5px;filter:drop-shadow(0 1px 0 #fff9);line-height:1.3}.game-actions{position:absolute;right:24px;top:25px;display:flex;gap:8px}.glass-button{width:37px;height:37px;border:1px solid #ffffffc9;background:#ffffffad;color:#315f60;border-radius:10px;display:grid;place-items:center;box-shadow:0 2px 0 #4c7e7c17}.glass-button:hover{background:#fff}.glass-button.muted-sound{opacity:.58}.glass-button.muted-sound:after{content:'';position:absolute;width:25px;height:2px;background:#315f60;transform:rotate(-45deg)}.drag-hint{position:absolute;left:8%;top:38%;transform:rotate(-5deg);pointer-events:none;display:flex;flex-direction:column;gap:7px}.drag-hint>span{font-family:var(--display);font-weight:700;font-size:20px;color:#2c6561}.drag-hint small{font-size:11px;color:#57847a;padding-left:16px}.bottom-hud{position:absolute;left:22px;bottom:19px;right:22px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.shots-pill,.target-pill{display:flex;align-items:center;gap:8px;background:#fff9edee;color:#5f5b46;padding:9px 13px;border-radius:8px;font-size:10px;font-weight:600;letter-spacing:.7px;border:1px solid #e9dfbc}.shots-pill b{margin-left:3px}.shots-pill #shotsDots{color:var(--orange);font-size:12px;letter-spacing:3px}.target-pill{font-size:12px;letter-spacing:0}.target-symbol{font-size:20px;color:#8470aa;line-height:13px}.game-toolbar{min-height:62px;padding:10px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px}.toolbar-tip{display:flex;align-items:center;gap:12px;font-size:12px;color:#838780}.toolbar-tip b{font-weight:600;color:#505a55}.pointer-icon{font-size:25px;color:#596959;transform:rotate(-12deg)}.text-button{background:none;border:0;color:#747b73;font-size:12px;display:inline-flex;align-items:center;gap:7px;padding:8px 0}.text-button:hover{color:var(--orange)}.aim-controls{padding:15px 23px;border-top:1px solid var(--line);display:flex;gap:30px;align-items:center;background:#fafbf8}.aim-controls label{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;flex:1;max-width:360px}.aim-controls output{margin-left:auto;font-weight:700}.aim-controls input{width:100%;accent-color:var(--orange);cursor:pointer}.primary-button{background:var(--orange);color:white;border-color:var(--orange);box-shadow:0 3px 0 #ca4b2a}.primary-button:hover{background:#e95c32}.primary-button:disabled{opacity:.5}.squad-section{margin-top:26px}.squad-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.squad-heading h2{font-size:11px;letter-spacing:1.6px;font-weight:800;margin:0}.squad-heading h2 span{font-size:12px;letter-spacing:0;font-weight:400;color:#838983;margin-left:11px}.squad-hint{font-size:11px;color:#8b928b}.squad{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.character-card{position:relative;display:flex;align-items:center;text-align:left;padding:14px 13px 14px 10px;gap:5px;background:white;border:1px solid var(--line);border-radius:11px;min-width:0;min-height:142px;overflow:hidden}.character-card.active{border:1.5px solid var(--orange);box-shadow:0 0 0 3px #f56c4310;background:#fffdf9}.character-art{width:111px;height:109px;display:grid;place-items:center;flex-shrink:0;position:relative}.character-art:before{content:'';position:absolute;width:82px;height:82px;background:#fbefda;border-radius:50%;left:10px;top:15px}.character-art.ocean:before{background:#e5f3f8}.character-art.forest:before{background:#eef2de}.character-art img{position:relative;max-width:110px;max-height:113px;object-fit:contain;z-index:1;filter:drop-shadow(0 5px 3px #00000015);transition:transform .2s}.character-card:hover img{transform:translateY(-4px) rotate(-4deg)}.character-info{display:flex;flex-direction:column;gap:7px;min-width:0}.character-tag{font-size:9px;letter-spacing:1px;font-weight:800}.orange{color:#ca7749}.blue{color:#568db3}.green{color:#7f9544}.character-info>strong{font-family:var(--display);font-size:23px;font-weight:700;letter-spacing:-.2px;white-space:nowrap}.character-description{font-size:11px;color:#94968e}.character-ability{display:flex;gap:4px;align-items:center;font-size:10px;font-weight:600;color:#777d72;margin-top:4px}.character-ability svg{width:12px;height:12px}.character-number{position:absolute;right:12px;top:11px;font-size:10px;color:#c5c8bf}.selected-mark{display:none;position:absolute;bottom:12px;right:12px;background:var(--orange);width:16px;height:16px;border-radius:50%;text-align:center;line-height:16px;color:white;font-size:10px}.active .selected-mark{display:block}.character-card.used{opacity:.45;background:#f0f1ed}.character-card.used:after{content:'LAUNCHED';position:absolute;right:10px;bottom:10px;font-size:9px;font-weight:800;color:#66705f;letter-spacing:1px}.character-card:disabled:not(.used){opacity:.78}footer{display:flex;justify-content:space-between;align-items:center;padding:22px 0 16px;font-size:11px;color:#959b92;gap:20px}.footer-spark{color:var(--orange);margin-left:5px;font-size:16px}.desktop-hint{display:flex;gap:5px;align-items:center;font-size:10px}.desktop-hint>span{padding:0 5px}kbd{font:9px var(--body);padding:3px 4px;border:1px solid #e1e5dc;border-radius:4px;background:#fff;color:#8c9686;min-width:17px;text-align:center}.ability-button{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#f76e43;border:2px solid #fff5df;color:white;box-shadow:0 4px 0 #b44c30,0 4px 20px #cc532355;border-radius:11px;padding:13px 19px;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.6px;animation:pop .25s}.ability-button:hover{transform:translateX(-50%) translateY(-2px)}.ability-button kbd{background:#ff9569;color:white;border-color:#ffb894}.result-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#214d526b;backdrop-filter:blur(5px);z-index:5;padding:15px}.result-card{background:#fffcf3;border-radius:22px;border:3px solid white;box-shadow:0 12px 0 #28545c44;padding:25px 35px;text-align:center;min-width:360px;animation:pop .25s}.result-emoji{font-size:34px;color:var(--orange);line-height:1}.result-stars{font-size:35px;letter-spacing:10px;color:#ffc54c;text-shadow:0 3px 0 #db9228;margin:5px 0 12px}.result-card .eyebrow{justify-content:center;font-size:9px;color:#83976b}.result-card h2{font-family:var(--display);font-size:44px;margin:8px 0}.result-card>p:not(.eyebrow){font-size:12px;color:#818676}.result-score{font-family:var(--display);font-size:37px;margin:15px 0;color:#3b7569}.result-buttons{display:flex;gap:12px;justify-content:center}.result-buttons button{font-size:12px;padding:12px 14px}.loading{position:absolute;inset:0;background:#c2e8e3;z-index:7;display:flex;gap:15px;align-items:center;justify-content:center;font-weight:600;font-size:15px;color:#36726b}.loader{width:25px;height:25px;border:3px solid #ffffff70;border-top-color:#f56c43;border-radius:50%;animation:spin 1s linear infinite}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}dialog{border:1px solid #e6e7de;border-radius:20px;background:#fffcf5;color:var(--ink);box-shadow:0 20px 80px #22372b30;width:min(520px,calc(100% - 30px));padding:40px}dialog::backdrop{background:#183e4a70;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:18px;top:18px;background:white}.dialog-kicker{font-size:10px;letter-spacing:1.7px;color:var(--orange);font-weight:800}dialog h2{font-family:var(--display);font-size:46px;line-height:1.1;margin:15px 0 24px}.instructions{list-style:none;counter-reset:steps;padding:0;display:grid;gap:22px}.instructions li{position:relative;padding-left:43px;counter-increment:steps;display:flex;flex-direction:column;gap:6px}.instructions li:before{content:counter(steps);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:8px;background:#fee5d2;color:#c57448;font-weight:700;display:grid;place-items:center}.instructions b{font-size:15px}.instructions span,.dialog-note{font-size:13px;color:#818779;line-height:1.6}.dialog-note{margin:20px 0}dialog .primary-button{width:100%;margin-top:4px}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:23px}.level-tile{border:1px solid #e3e6d7;background:white;border-radius:12px;padding:20px 7px;display:flex;flex-direction:column;align-items:center;gap:8px}.level-tile strong{font-family:var(--display);font-size:37px}.level-tile span{font-size:10px;color:#7c8876}.level-tile em{font-style:normal;font-size:17px;color:#ebbd64;letter-spacing:3px}.level-tile.current{border-color:var(--orange);background:#fff3e4}.game-shell:fullscreen{background:#152d30;display:flex;justify-content:center;flex-direction:column;max-width:none;width:100%;border:0;border-radius:0}.game-shell:fullscreen .battlefield{width:min(100vw,calc((100vh - 63px) * 1280 / 590));align-self:center}.game-shell:fullscreen .game-toolbar{background:white}.game-shell:fullscreen .aim-controls{max-height:90px}.game-shell.expanded{position:fixed;inset:0;z-index:50;border:0;border-radius:0;display:flex;flex-direction:column;justify-content:center;background:#183d42}.game-shell.expanded .battlefield{max-height:calc(100dvh - 64px);width:100%;aspect-ratio:1280/590}.game-shell.expanded .game-toolbar{background:white}.game-shell.expanded .aim-controls{background:white}@keyframes pop{from{opacity:0;scale:.92}to{opacity:1;scale:1}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){main{padding-top:38px}.game-heading{margin-bottom:26px}.squad-section{margin-top:32px}}@media(max-width:1100px){.site-header{padding:0 28px}main{padding:25px 28px 0}.character-art{width:82px}.character-art img{max-width:88px;max-height:98px}.character-art:before{width:64px;height:64px;top:22px;left:6px}.character-info>strong{font-size:19px}.character-card{padding:12px 8px;gap:2px}.character-description{font-size:10px}.character-tag{font-size:8px}.character-number{display:none}.tip-detail{display:none}.hud{top:18px}.hud-left{left:18px}.hud-left strong{font-size:11px}.hud-label{font-size:9px}.hud-score>strong{font-size:30px}.game-actions{top:18px;right:18px}.drag-hint>span{font-size:16px}.drag-hint small{font-size:9px}.desktop-hint{display:none}}@media(max-width:700px){.site-header{height:69px;padding:0 18px}.brand{font-size:24px;gap:7px}.brand-mark{width:32px;height:32px;font-size:27px}.edition{font-size:8px;padding:4px;margin-left:4px}.header-tag{display:none}main{padding:22px 14px 0}.eyebrow{font-size:9px;gap:6px;letter-spacing:1px}h1{font-size:39px}.game-heading{margin-bottom:18px}.level-select{padding:10px;font-size:11px;gap:6px}.level-select svg{width:15px}.chevron{margin-left:2px}.game-shell{border-radius:12px}.battlefield{aspect-ratio:1280/690}.hud{top:12px}.hud-left{left:12px;gap:7px}.level-chip{width:28px;height:28px;font-size:12px;border-radius:6px}.hud-left strong{display:none}.hud-label{font-size:7px;letter-spacing:1px}.hud-score>strong{font-size:23px}.hud-score{gap:2px}.score-stars{font-size:12px;letter-spacing:3px}.game-actions{right:10px;top:10px;gap:4px}.glass-button{width:27px;height:27px;border-radius:7px}.glass-button svg{width:14px;height:14px}.hud-left .hud-label{display:none}.drag-hint{top:34%;left:6%}.drag-hint>span{font-size:12px}.drag-hint small{display:none}.bottom-hud{bottom:8px;left:9px;right:9px}.shots-pill,.target-pill{padding:5px 7px;font-size:8px;gap:3px;border-radius:5px}.shots-pill #shotsDots{font-size:8px;letter-spacing:1px}.target-symbol{font-size:13px}.game-toolbar{padding:9px 12px;min-height:52px}.toolbar-tip{gap:5px;font-size:10px}.pointer-icon{font-size:18px}.text-button{font-size:10px}.squad-section{margin-top:23px}.squad-hint{display:none}.squad-heading h2{font-size:10px}.squad-heading h2 span{font-size:10px;margin-left:7px}.squad{gap:8px}.character-card{flex-direction:column;min-height:194px;text-align:center;padding:6px 5px 12px;gap:0;justify-content:flex-start}.character-art{height:82px;width:100%}.character-art:before{width:58px;height:58px;top:13px;left:calc(50% - 29px)}.character-art img{max-height:83px;max-width:90px}.character-info{gap:5px;align-items:center}.character-tag{font-size:7px;letter-spacing:.5px;white-space:nowrap}.character-info>strong{white-space:normal;font-size:18px;line-height:1.05;min-height:38px;display:flex;align-items:center}.character-description{display:none}.character-ability{font-size:8px;margin-top:4px;gap:2px}.character-ability svg{width:9px;height:9px}.selected-mark{bottom:5px;right:5px;width:12px;height:12px;line-height:12px;font-size:8px}.character-card.used:after{font-size:7px;right:calc(50% - 23px);bottom:5px}footer{padding-top:18px;font-size:10px}.result-card{min-width:0;width:85%;max-width:330px;padding:14px}.result-emoji{display:none}.result-stars{font-size:22px;margin:0}.result-card h2{font-size:30px;margin:5px}.result-card>p:not(.eyebrow){font-size:10px;margin:4px}.result-card .eyebrow{font-size:7px;margin:5px}.result-score{font-size:25px;margin:7px}.result-buttons{gap:7px}.result-buttons button{font-size:10px;padding:7px 9px}.result-buttons svg{width:13px;height:13px}.ability-button{bottom:9px;padding:7px 9px;font-size:8px;gap:4px;border-width:1px}.ability-button svg{width:12px;height:12px}.ability-button kbd{display:none}.aim-controls{gap:14px;padding:12px;flex-wrap:wrap}.aim-controls label{font-size:11px;min-width:80px}.aim-controls .primary-button{padding:9px 11px;font-size:12px}dialog{padding:29px 23px}dialog h2{font-size:37px}.instructions{gap:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Readable labels at desktop and compact widths. */
.header-tag,.toolbar-tip,.character-description,.character-ability,.text-button{font-size:12px}.squad-heading h2,.squad-heading h2 span,.squad-hint,footer,.desktop-hint{font-size:12px}.character-tag{font-size:10px}.character-card{gap:8px}.character-info>strong{white-space:normal;line-height:1.05}.character-info{gap:8px}.character-description{line-height:1.3}.hud-left strong{font-size:14px}.dialog-note,.instructions span{font-size:14px}.instructions b{font-size:16px}.level-tile span{font-size:12px}.light-button,.primary-button{min-height:44px}.character-ability{font-size:12px}.character-card.active .character-ability{color:#bb603f}
@media(max-width:1100px){.character-tag{font-size:9px}.character-description{font-size:11px}.character-ability{font-size:11px}.squad-hint{font-size:11px}.squad-heading h2 span{font-size:11px}}
@media(max-width:700px){.squad-heading h2,.squad-heading h2 span{font-size:11px}.squad-heading h2 span{display:block;margin:5px 0 0}.character-tag{font-size:8px;white-space:normal;min-height:18px}.character-card{min-height:208px;gap:0}.character-info{gap:6px}.character-info>strong{font-size:18px}.character-ability{font-size:10px;min-height:24px}.toolbar-tip{font-size:11px}.text-button{font-size:11px}.squad{gap:7px}.hud-left strong{display:none}footer{font-size:11px}}
.character-art.rose:before{background:#fbe3ee}.pink{color:#b56594}.world-group{margin-top:26px}.world-group h3{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:17px;margin:0 0 12px}.world-group h3>span{font-size:10px;letter-spacing:1px;color:#a18967}.world-group h3>em{font-size:9px;letter-spacing:1px;font-style:normal;margin-left:auto;border-radius:5px;background:#f1e8db;padding:5px;color:#a1784f}.world-group .level-grid{margin-top:10px;grid-template-columns:repeat(6,1fr);gap:9px}.world-group .level-tile{padding:12px 5px}.world-group .level-tile>strong{font-size:29px}.world-group .level-tile>span{font-size:10px;min-height:25px}.world-group .level-tile>em{font-size:14px;letter-spacing:1px}#levelsDialog{width:min(770px,calc(100% - 30px));max-height:90dvh}.squad .character-card{min-height:132px}.squad .character-art{height:106px}.squad .character-art img{max-height:108px}.squad .character-info>strong{font-size:22px}
@media(max-width:700px){.world-group .level-grid{grid-template-columns:repeat(3,1fr)}.world-group h3>em{font-size:8px}.squad .character-card{min-height:203px}.squad .character-art{height:86px}.squad .character-art img{max-height:87px}.squad .character-info>strong{font-size:18px}.squad .character-description{display:none}.world-group h3>span{font-size:9px}}
