:root{--ink:#243b4d;--muted:#63747c;--paper:#fbf8ee;--blue:#4ba4bd;--blue-dark:#26778e;--coral:#ee755e;--yellow:#f3c65a;--green:#78aa86;--line:#dddcd0;--gap:6px;--size:4;color-scheme:light;font-family:ui-rounded,"Trebuchet MS",Verdana,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,select:focus-visible{outline:3px solid #1b6177;outline-offset:4px}button{touch-action:manipulation}button,select{-webkit-tap-highlight-color:transparent}button[hidden],[hidden]{display:none!important}main{max-width:1160px;margin:auto;padding:24px 36px 0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 0 22px;border-bottom:1px solid var(--line)}.brand{border:0;background:none;font-size:11px;font-weight:800;letter-spacing:1.25px;padding:6px 0;display:flex;align-items:center;gap:9px;text-align:left}.brand-mark{font-size:28px;color:var(--coral);line-height:1}.star-counter{flex-shrink:0;border:1px solid #e8d39a;background:#fff2c9;border-radius:100px;padding:7px 14px;color:#755715;font-weight:800}.hero{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:30px;padding:40px 0 36px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;line-height:1.7;color:var(--blue-dark)}h1{font-size:clamp(45px,6vw,72px);letter-spacing:-3px;line-height:1.03;margin:17px 0 21px;font-weight:800}h1 em{font-style:normal;color:var(--blue-dark);position:relative}h1 em:after{content:"";position:absolute;bottom:-7px;left:0;width:92%;height:5px;border-radius:50%;background:var(--yellow);transform:rotate(-2deg)}.hero-copy>p{font-size:16px;line-height:1.7;max-width:390px;margin:0 0 20px}.note-pill{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#6c634a;padding:10px 13px;background:#f4eddc;border-radius:8px}.note-pill>span{font-size:20px;color:#9a7833}.hero-art{transform:rotate(1deg);border-radius:34px 12px 32px 16px;overflow:hidden;background:#fff6dd;border:1px solid #eddfb9}.hero-art img{display:block;width:100%;height:auto;aspect-ratio:680/460}.choose-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:12px}h2{font-size:27px;letter-spacing:-.8px;margin:6px 0 0}.grade-picker{display:flex;gap:10px}.grade-picker button{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);background:#fffdf7;border-radius:12px;padding:12px 17px;min-height:51px;font-size:12px}.grade-picker b{font-size:22px}.grade-picker button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.grade-description{margin:12px 0 23px;font-size:13px;color:var(--muted);line-height:1.5}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.game-card{display:flex;flex-direction:column;text-align:left;border:1.5px solid var(--line);background:#fffdf6;padding:23px 22px 21px;border-radius:17px;min-width:0;transition:transform .18s,border-color .18s,box-shadow .18s}.game-card:hover{transform:translateY(-4px);border-color:var(--blue);box-shadow:0 7px 0 #263b4d0c}.path-card{background:#edf5f3;border-color:#ccdfd8}.debug-card{background:#fff0e8;border-color:#eed6c9}.rhythm-card{background:#fff6d9;border-color:#e8dcae}.card-art{height:76px;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:17px}.card-art>i{font-style:normal}.route-art>i,.debug-art>i{display:flex;align-items:center;justify-content:center;width:43px;height:46px;border:2px solid #467885;background:#fffdf6;border-radius:8px;font-size:30px;font-weight:bold;transform:rotate(-5deg);box-shadow:0 3px 0 #9abebf}.route-art>i:nth-child(2),.debug-art>i:nth-child(3){transform:rotate(5deg)}.tiny-house{font-size:49px;color:var(--coral);margin-left:4px}.debug-art .wrong-arrow{position:relative;color:#b14734;border-color:#c36249;transform:rotate(-11deg);box-shadow:0 3px 0 #deb19d}.wrong-arrow>span{position:absolute;right:-12px;top:-13px;width:24px;height:24px;background:var(--yellow);border:2px solid #a57421;border-radius:50%;font-size:15px;line-height:20px}.card-number{font-size:9px;font-weight:800;letter-spacing:1.4px;color:var(--muted);margin-bottom:11px}.game-card strong{font-size:20px;letter-spacing:-.5px;line-height:1.25}.card-copy{font-size:13px;line-height:1.6;margin:12px 0 20px;flex:1}.card-link{font-size:9px;letter-spacing:1.2px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #243b4d23;padding-top:15px}.card-link>span{font-size:22px;line-height:1}.shape{display:inline-block;width:36px;height:36px;background:var(--tile-color);border:2px solid #243b4d70;flex-shrink:0}.circle{border-radius:50%}.square{border-radius:4px;transform:rotate(-3deg)}.triangle{clip-path:polygon(50% 0,100% 100%,0 100%);border:0;filter:drop-shadow(0 1px 0 #243b4d)}.star{clip-path:polygon(50% 0,61% 34%,98% 36%,69% 59%,79% 95%,50% 75%,21% 95%,31% 59%,2% 36%,39% 34%);border:0}.red{--tile-color:#e97560}.blue{--tile-color:#4e9eba}.yellow{--tile-color:#f0bd45}.green{--tile-color:#76a482}.shapes-art>.shape:nth-child(odd){transform:translateY(-5px)}.shapes-art>.shape:nth-child(even){transform:translateY(5px) rotate(4deg)}.teacher-note{display:flex;align-items:center;gap:15px;margin:25px 0 12px;padding:17px 21px;border:1px dashed #c7cfc3;border-radius:12px;background:#f4f5e9}.teacher-note>span{font-size:30px;color:#b59037}.teacher-note p{font-size:12px;line-height:1.7;margin:0}.teacher-note strong{display:block;font-size:13px}footer{text-align:center;font-size:11px;color:var(--muted);padding:28px 10px 26px;line-height:1.7}footer>span{color:var(--coral);padding-left:4px}
.play-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:30px 0 24px}.play-heading h2{font-size:31px}.quiet-button{border:1px solid var(--line);background:#fffdf7;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:700;min-height:42px}.play-toolbar{display:flex;align-items:center;gap:15px}.compact-grades{display:flex;gap:6px}.compact-grades button{background:#fffdf7;border:1px solid var(--line);border-radius:8px;min-width:45px;min-height:43px;font-size:17px;font-weight:800}.compact-grades button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}#progress{font-size:12px;font-weight:700;margin-left:auto}.listen-button>span{margin-right:4px;font-size:17px}.progress-track{height:7px;background:#e4e8dc;border-radius:7px;margin:15px 0 24px;overflow:hidden}.progress-track>div{height:100%;width:0;background:var(--green);border-radius:7px;transition:width .3s}.mode-picker{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 22px}.mode-picker button{border:1px solid #dfd2a8;border-radius:9px;background:#fffdf6;font-size:12px;font-weight:700;padding:11px 14px;min-height:43px}.mode-picker button[aria-pressed=true]{background:#f6ce6c;border-color:#d6a73f}.instruction-row{display:flex;align-items:center;gap:15px;margin-bottom:20px}.instruction-row>div{flex:1}.instruction-row h3{font-size:21px;margin:0 0 7px;line-height:1.3;letter-spacing:-.3px}.instruction-row p{color:var(--muted);font-size:13px;line-height:1.6;margin:0;max-width:720px}.help-button{border:1px solid #e2d6ae;background:#fff3d3;border-radius:100px;font-size:19px;min-height:43px;padding:8px 13px;font-weight:800;flex-shrink:0}.help-button>span{font-size:11px;margin-left:4px}.path-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:24px;align-items:start}.board-wrap{padding:20px;background:#e9f0e5;border:1px solid #cddaca;border-radius:17px}.board{display:grid;grid-template-columns:repeat(var(--size),1fr);gap:var(--gap);position:relative;border:5px solid #d0deca;border-radius:10px;background:#d0deca;overflow:hidden;width:100%;aspect-ratio:1}.cell{aspect-ratio:1;min-width:0;background:#fffdf1;border-radius:4px;display:flex;align-items:center;justify-content:center;position:relative;transition:background .2s}.cell:after{content:"";width:4px;height:4px;border-radius:50%;background:#cdcfc0;position:absolute}.cell.wall{background:#b9d5a4}.cell.wall:after,.cell.goal:after{display:none}.wall-art{width:75%;height:75%}.goal-art{width:77%;height:77%}.cell.visited{background:#f6da84}.cell.failed{background:#f4b5a5}.cell.goal{background:#ffeec2}.robot-marker{position:absolute;z-index:2;width:calc(76% / var(--size));height:calc(76% / var(--size));transform:translate(-50%,-50%);transition:left .38s ease,top .38s ease;pointer-events:none;filter:drop-shadow(0 3px 0 #263b4d1f)}.robot-marker svg{width:100%;height:100%;display:block}.board-legend{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-top:13px;color:#607257}.board-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:10px;height:10px;border-radius:3px;display:inline-block;background:#b9d5a4}.legend-dot.house{background:#ee755e}.legend-dot.bot{background:#4ba4bd}.program-panel{border:1px solid var(--line);border-radius:17px;background:#fffdf6;padding:22px;min-width:0}.panel-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;margin-bottom:12px}.panel-label>span{font-size:11px;font-weight:400;color:var(--muted)}.program-slots{min-height:125px;padding:12px;border:1px dashed #d0d3c9;border-radius:11px;background:#f5f4e9;display:flex;gap:7px;flex-wrap:wrap;align-content:flex-start}.empty-program{font-size:13px;line-height:1.6;color:var(--muted);margin:auto;text-align:center;max-width:200px;padding:16px 0}.command-chip{position:relative;display:flex;align-items:center;justify-content:center;min-width:45px;height:52px;background:#fffdf7;border:1.5px solid #adc7c9;border-radius:7px;font-size:26px;font-weight:800}.command-chip>.chip-index{position:absolute;left:4px;top:2px;font-size:8px;line-height:1;color:#74858a;font-weight:400}.command-chip>.times{font-size:12px;margin-left:2px;color:var(--blue-dark)}.command-chip.selected{border:3px solid var(--blue-dark);background:#e3f2f4}.command-chip.executing{background:#f7d270;border-color:#b78e2e}.command-chip>button{border:0;background:none;padding:2px 4px;margin-top:25px;font-size:11px;color:#89594b;border-radius:4px}.command-chip.debug-command{padding:4px 11px}.command-controls{padding-top:16px}.repeat-control{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:12px}.repeat-control select{border:1px solid var(--line);border-radius:7px;padding:9px;background:#fff;min-height:40px}.arrow-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.arrow-button{display:flex;flex-direction:column;align-items:center;gap:3px;border:1.5px solid #bad3d5;background:#eaf4f5;border-radius:9px;padding:8px 2px;min-height:69px}.arrow-button b{font-size:29px;line-height:1.1}.arrow-button span{font-size:9px;font-weight:700}.arrow-button:hover{background:#d5ebee}.program-tip{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0 17px}.program-actions{display:flex;gap:8px;flex-wrap:wrap}.primary-button{background:var(--blue-dark);border:1px solid var(--blue-dark);border-bottom:3px solid #195c6f;color:#fff;border-radius:9px;padding:11px 18px;font-size:14px;font-weight:800;min-height:46px}.primary-button:hover{background:#205f73}.primary-button:disabled{opacity:.55}.feedback-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:65px;margin-top:18px}#feedback{font-size:14px;line-height:1.5;margin:0;color:var(--muted)}#feedback.success{color:#326648;font-weight:800}#feedback.retry{color:#aa4c36}.hint-box{padding:13px 17px;background:#fff2c7;border:1px dashed #d9bd70;border-radius:9px;font-size:13px;line-height:1.6;margin-top:17px}.finish{text-align:center;background:#fff5d8;border:1px solid #e3d49f;border-radius:20px;padding:48px 25px}.finish-badge{font-size:53px;color:#c08d23}.finish h3{font-size:29px;margin:18px 0 10px}.finish p{font-size:14px;line-height:1.7;max-width:470px;margin:0 auto 23px}.finish-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.rhythm-desk{background:#fff5d6;border:1px solid #e1d4a6;border-radius:18px;padding:26px}.sequence-label{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#8a7140;margin-bottom:15px}.sequence{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:96px;padding:17px 10px;background:#fffdf5;border:1px dashed #d9c99d;border-radius:12px}.tile{width:64px;height:70px;display:flex;align-items:center;justify-content:center;border:1px solid #e2dacc;background:#fffdf6;border-radius:9px;box-shadow:0 3px 0 #e4d7ba;position:relative;flex-shrink:0}.tile .shape{width:38px;height:38px}.tile.gap{border:2px dashed #c69d41;background:#fff0bd;box-shadow:none;font-size:31px;font-weight:800;color:#9d7624}.tile.selectable:hover{background:#fff1bd}.tile.selected{border:3px solid var(--blue-dark);background:#e4f2f3}.tile.corrected{border-color:#6d9f72;background:#eff8e8}.tile-group{display:flex;gap:5px;align-items:center}.tile-group .tile{width:43px;height:51px;box-shadow:none}.tile-group .shape{width:26px;height:26px}.tile-group.gap{width:auto;min-width:110px;height:70px;display:flex;justify-content:center;border:2px dashed #c69d41;border-radius:9px;background:#fff0bd;font-size:29px;color:#9d7624}.rhythm-prompt{text-align:center;font-size:13px;line-height:1.6;margin:22px 0 14px}.pattern-answers{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.pattern-answer{border:1.5px solid #d9c99d;background:#fffdf5;padding:9px 12px;border-radius:11px;min-width:77px;min-height:83px;display:flex;align-items:center;justify-content:center}.pattern-answer .shape{width:40px;height:40px}.pattern-answer:hover{background:#fff0b5;border-color:#b49b4f}.pattern-answer.wrong-choice{border-color:#c76d57;background:#fce3d8}.pattern-answer.right-choice{border-color:#568567;background:#e5f2df}.pattern-answer:disabled{opacity:.65}.pattern-answer.right-choice:disabled{opacity:1}.maker-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}.maker-panel{background:#fffdf5;border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.maker-panel h4{margin:0 0 13px;font-size:15px}.maker-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.maker-palette button{display:flex;align-items:center;justify-content:center;background:#f8f5e9;border:1px solid var(--line);border-radius:9px;min-width:0;height:53px}.maker-palette .shape{width:28px;height:28px}.maker-unit{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-height:89px;padding:12px;background:#faf4df;border-radius:9px;margin-bottom:12px}.maker-unit .tile{width:47px;height:54px}.maker-unit .shape{width:28px;height:28px}.maker-unit .empty-program{padding:0}.maker-repeat{display:flex;align-items:center;gap:10px;font-size:12px;flex-wrap:wrap;margin-top:16px}.maker-repeat select{min-height:43px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px}.maker-output{margin-top:23px}.maker-output .sequence{gap:5px;justify-content:flex-start}.maker-output .tile{width:45px;height:50px}.maker-output .shape{width:27px;height:27px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1400px){main{padding-top:28px}.hero{padding-top:48px}}@media(max-width:820px){main{padding:20px 24px 0}.hero{gap:22px;padding-top:30px}.hero-copy>p{font-size:14px}.hero-art{border-radius:23px 10px 24px 12px}h1{font-size:53px}.grade-picker button{padding:10px 12px}.game-card{padding:19px 16px}.game-card strong{font-size:18px}.card-art{gap:6px}.route-art>i,.debug-art>i{width:34px;height:40px;font-size:26px}.tiny-house{font-size:38px}.shapes-art>.shape{width:29px;height:29px}.path-layout{gap:17px}.board-wrap{padding:14px}.program-panel{padding:17px}.tile{width:53px;height:59px}.tile .shape{width:32px;height:32px}.sequence{gap:7px}.rhythm-desk{padding:22px}.maker-layout{gap:16px}}
@media(max-width:640px){main{padding:17px 17px 0}.topbar{padding-bottom:15px}.brand{font-size:10px;letter-spacing:1px}.brand-extra{display:none}.brand-mark{font-size:25px}.hero{grid-template-columns:1fr;gap:24px;padding:29px 0 25px}.hero-copy{max-width:470px}h1{font-size:55px;line-height:1;margin:14px 0 20px}.hero-copy>p{font-size:15px;max-width:420px}.hero-art{max-width:460px;justify-self:center;width:100%;transform:rotate(.7deg)}.choose-row{align-items:flex-start;flex-direction:column;gap:15px}h2{font-size:25px}.grade-picker{width:100%;gap:8px}.grade-picker button{flex:1;justify-content:center;padding:10px 8px}.grade-picker b{font-size:23px}.grade-picker span{font-size:11px}.grade-description{margin:14px 0 20px}.game-grid{grid-template-columns:1fr;gap:14px}.game-card{padding:20px 22px;display:grid;grid-template-columns:90px 1fr;column-gap:18px;align-items:start}.card-art{grid-column:1;grid-row:1/5;align-self:center;height:90px;gap:5px;flex-wrap:wrap;margin:0}.route-art>i,.debug-art>i{width:34px;height:38px;font-size:23px}.tiny-house{font-size:36px}.shapes-art .shape{width:32px;height:32px}.card-number,.game-card strong,.card-copy,.card-link{grid-column:2}.game-card strong{font-size:20px}.card-number{font-size:8px;margin-bottom:8px}.card-copy{font-size:12px;margin:9px 0 14px}.card-link{font-size:8px;letter-spacing:.8px;padding-top:12px}.teacher-note{padding:15px;gap:12px;margin-top:19px}.teacher-note>span{font-size:25px}.teacher-note p{font-size:11px}.play-heading{margin:25px 0 20px;align-items:flex-start}.play-heading h2{font-size:26px;line-height:1.15}.play-heading>.quiet-button{font-size:10px;padding:9px 10px;white-space:nowrap}.play-heading .eyebrow{font-size:9px}.play-toolbar{gap:8px}.compact-grades{gap:5px}.compact-grades button{min-width:38px;min-height:40px;font-size:16px}.listen-button{font-size:11px;padding:7px 10px;min-height:40px}#progress{font-size:11px}.instruction-row{align-items:flex-start;gap:10px}.instruction-row h3{font-size:19px}.instruction-row p{font-size:12px}.help-button{padding:8px 12px;min-height:40px}.help-button>span{display:none}.path-layout{grid-template-columns:1fr;gap:15px}.board-wrap{max-width:440px;width:100%;justify-self:center;padding:15px}.board{border-width:4px}.board-legend{font-size:10px}.program-panel{padding:18px}.program-slots{min-height:80px}.arrow-button{min-height:65px}.feedback-row{align-items:flex-start;flex-direction:column;gap:12px;min-height:60px}#feedback{font-size:13px}.feedback-row .primary-button{font-size:12px;min-height:42px}.rhythm-desk{padding:17px 12px}.sequence{gap:6px;padding:14px 8px;min-height:90px}.tile{width:45px;height:51px}.tile .shape{width:29px;height:29px}.tile.gap{font-size:27px}.tile-group.gap{height:52px;min-width:85px}.tile-group .tile{width:31px;height:39px}.tile-group .shape{width:22px;height:22px}.mode-picker{gap:6px}.mode-picker button{font-size:10px;flex:1;padding:9px 6px;line-height:1.4;min-height:43px}.pattern-answers{gap:8px}.pattern-answer{min-width:57px;min-height:65px;padding:9px}.pattern-answer>.shape{width:33px;height:33px}.pattern-answer .tile-group{gap:4px}.pattern-answer .tile-group .tile{width:27px;height:34px}.pattern-answer .tile-group .shape{width:19px;height:19px}.rhythm-prompt{font-size:12px;margin:17px 0 12px}.maker-layout{grid-template-columns:1fr;gap:14px}.maker-panel{padding:17px}.maker-palette button{height:52px}.finish{padding:32px 20px}.finish h3{font-size:25px}.finish p{font-size:13px}footer{font-size:10px;padding:25px 4px}}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}.game-card{grid-template-columns:70px 1fr;column-gap:13px;padding:18px 16px}.card-art{gap:3px}.route-art>i,.debug-art>i{width:29px;height:34px;font-size:21px}.shapes-art .shape{width:27px;height:27px}.game-card strong{font-size:18px}.card-copy{font-size:11px}.grade-picker button{gap:5px}.grade-picker span{font-size:10px}.play-heading h2{font-size:23px}.listen-button{font-size:10px;padding:7px 8px}.listen-button>span{display:none}.compact-grades button{min-width:34px}#progress{font-size:10px}.tile{width:39px;height:46px}.tile .shape{width:25px;height:25px}.pattern-answer{min-width:52px;padding:8px}.pattern-answer .tile-group .tile{width:23px;height:31px}.pattern-answer .tile-group .shape{width:16px;height:16px}.pattern-answer .tile-group{gap:3px}}
.debug-watch{margin-bottom:17px}.debug-watch h4,.debug-step-heading{display:flex;align-items:center;gap:9px;font-size:15px;line-height:1.4;margin:0 0 9px}.step-number{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:white;font-size:14px;flex-shrink:0}.debug-watch p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#51684d}.debug-watch .primary-button{font-size:12px}.debug-layout .panel-label{margin-top:17px}.debug-layout .program-slots{min-height:104px;padding:16px 12px}.debug-command{min-width:55px;height:63px;font-size:30px;background:#fffdf6;box-shadow:0 3px 0 #ccd9d3}.debug-command>.chip-index{font-size:11px;top:5px;left:6px;font-weight:800}.debug-command.selected{box-shadow:0 3px 0 #6d929a}.problem-command{border-color:#c7664d;background:#fce5d8}.problem-badge{position:absolute;right:-6px;top:-9px;font-size:13px;background:#bd573e;color:white;width:21px;height:21px;border-radius:50%;line-height:21px;text-align:center}.debug-replace-heading{margin-top:5px;margin-bottom:13px;padding:12px;background:#f2f0e7;border-radius:9px}.debug-replace-heading.ready{background:#e1f1f2}.debug-replace-heading h4{font-size:14px}.debug-replace-heading p{font-size:12px;line-height:1.6;margin:0}.debug-layout .arrow-button:disabled{opacity:.4}.debug-layout #run:disabled{opacity:.45}.debug-layout .program-actions{flex-direction:column;align-items:stretch}.debug-layout #reset-program{font-size:11px}.debug-layout #program-tip{font-size:12px;line-height:1.7}.debug-layout .program-panel{background:#fffaf1;border-color:#e7d8bd}
@media(max-width:640px){.debug-layout .board-wrap{padding:16px}.debug-command{min-width:53px;height:60px}.debug-watch h4,.debug-step-heading{font-size:14px}}
@media(min-width:641px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#feedback.success{animation:compliment-in .35s ease-out}@keyframes compliment-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.command-chip>button{min-width:24px;min-height:24px;font-size:14px;padding:2px 5px}
#sequence>.tile-group:not(.gap){padding:6px;background:#f8f0da;border:1px solid #e3d4ab;border-radius:8px}
.tile-group.corrected{padding:6px;border:1px solid #6d9f72;background:#eff8e8;border-radius:8px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

.figure-game-card{background:#eef6e8;border-color:#cbdcbe}.figure-home-art>.circle{width:46px;height:46px}.figure-home-art>.square{width:25px;height:25px}.figure-home-question{font-size:43px;color:#638252;font-weight:800;line-height:1;margin:0 9px}
@media(min-width:641px){.figure-game-card{grid-column:1/-1;display:grid;grid-template-columns:180px 1fr;column-gap:26px}.figure-game-card .card-art{grid-column:1;grid-row:1/5;align-self:center;margin:0}.figure-game-card .card-number,.figure-game-card strong,.figure-game-card .card-copy,.figure-game-card .card-link{grid-column:2}.figure-game-card .card-copy{margin-bottom:15px}}
@media(max-width:640px){.figure-home-art>.circle{width:33px;height:33px}.figure-home-art>.square{width:21px;height:21px}.figure-home-question{font-size:26px;margin:0 1px}}
@media(max-width:360px){.figure-home-art>.circle{width:25px;height:25px}.figure-home-art>.square{width:17px;height:17px}.figure-home-question{font-size:22px;margin:0}}
.machine-game-card{background:#edf1fa;border-color:#d1d9e8}.machine-home-art>.shape{width:38px;height:38px}.machine-home-art>span{font-size:31px;color:#617996;font-weight:800}
@media(max-width:640px){.machine-home-art>.shape{width:24px;height:24px}.machine-home-art>span{font-size:20px}}
@media(max-width:360px){.machine-home-art>.shape{width:22px;height:22px}.machine-home-art>span{font-size:18px}}
