
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17293d;background:#f8fbff;font-synthesis:none;--blue:#0067ff;--pale:#eaf2ff;--line:#dce6f2}
*{box-sizing:border-box}body{margin:0;background-image:linear-gradient(#eaf0f7 1px,transparent 1px),linear-gradient(90deg,#eaf0f7 1px,transparent 1px);background-size:36px 36px}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #e9a93c;outline-offset:4px}button:disabled{cursor:default;opacity:.4}.page{max-width:1320px;margin:auto;padding:30px 24px 22px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:#64748b}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}h1{font-size:clamp(28px,3.8vw,46px);font-weight:680;letter-spacing:-.055em;margin:7px 0 9px;line-height:1.04}.intro{color:#64748b;font-size:15px;margin:0;line-height:1.5}.mode{display:flex;padding:4px;border:1px solid var(--line);border-radius:15px;background:#fff;flex-shrink:0}.mode button{background:none;border:0;border-radius:11px;color:#607187;padding:11px 16px;font-size:13px;font-weight:650}.mode button[aria-pressed=true]{background:var(--blue);color:white;box-shadow:0 3px 9px #0067ff25}.moves{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:18px 0}.move{border:1px solid var(--line);background:#ffffffd9;border-radius:16px;text-align:left;min-height:76px;padding:13px 15px;color:#63758b;position:relative;transition:background .18s,color .18s,border-color .18s}.move .number{font-size:11px;letter-spacing:.08em;opacity:.75}.move strong{display:block;font-size:15px;font-weight:650;margin-top:6px;color:#233b56;white-space:nowrap}.move[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#d8e8ff;box-shadow:0 8px 20px #0067ff20}.move[aria-pressed=true] strong{color:white}.move svg{position:absolute;right:14px;top:12px;width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none}.stages{display:grid;grid-template-columns:.95fr 1.05fr;gap:16px}.stage{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 35px #183d6808;position:relative}.stage-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 12px}.stage-head strong{font-size:14px;font-weight:650;letter-spacing:-.01em}.stage-head span{font-size:11px;color:#7b8da0}.dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--blue);margin-right:6px}canvas{display:block;width:100%;height:auto;aspect-ratio:1.44;background:#f4f8fe}.stage-foot{min-height:43px;padding:13px 20px 14px;font-size:13px;color:#5f7288;background:white;display:flex;gap:8px;align-items:center}.chip{font-size:10px;font-weight:750;letter-spacing:.06em;border-radius:5px;background:#edf4ff;color:var(--blue);padding:4px 6px;white-space:nowrap}.controls{margin-top:16px;padding:16px 20px;background:white;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;gap:20px}.play{width:48px;height:48px;border:0;border-radius:100%;background:var(--blue);color:white;font-size:20px;flex-shrink:0;line-height:1}.reset{border:0;background:#f0f5fc;color:#3c5876;border-radius:12px;padding:12px 14px;font-size:13px}.scrub{flex:1;min-width:80px}.scrub input{display:block;width:100%;margin:0;accent-color:var(--blue)}.ends{display:flex;justify-content:space-between;color:#8494a7;font-size:10px;margin-top:7px}.hint{margin:17px 0 0;font-size:12px;text-align:center;color:#6b7e94}.bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:14px}.dpad{display:grid;grid-template-columns:repeat(3,39px);grid-template-rows:repeat(2,34px);gap:4px}.dpad button{border:1px solid #d9e5f4;color:#496782;background:#fff;border-radius:9px;font-size:19px;touch-action:none}.dpad button[data-key=ArrowUp]{grid-column:2}.dpad button[data-key=ArrowLeft]{grid-column:1;grid-row:2}.dpad button[data-key=ArrowDown]{grid-column:2;grid-row:2}.dpad button[data-key=ArrowRight]{grid-column:3;grid-row:2}.pad-wrap{display:flex;align-items:center;gap:12px;font-size:12px;color:#6b7e94}.keys{font-size:10px;color:#95a2b2;margin-top:4px}.credit{font-size:11px;color:#95a2b2;text-align:right;line-height:1.7}.challenge{border:1px solid #cfe0fb;background:#edf4ff;border-radius:17px;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 18px;min-height:84px}.challenge[hidden]{display:none}.challenge .eyebrow{font-size:10px;color:var(--blue)}.challenge h2{font-size:19px;line-height:1.3;letter-spacing:-.02em;margin:6px 0 4px}.challenge p{margin:0;color:#61758d;font-size:13px}.next{border:0;border-radius:12px;background:var(--blue);color:white;font-weight:650;font-size:13px;padding:12px 16px;white-space:nowrap}.success{background:#eaf8f0;border-color:#bee4cf}.success .eyebrow{color:#268957}.status{min-height:20px}.view-border{box-shadow:inset 0 0 0 1px #ffffffaa}.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(max-width:800px){.page{padding:20px 14px}.top{align-items:flex-start}.intro{font-size:13px;max-width:290px}.mode button{font-size:11px;padding:10px}.moves{gap:6px}.move{padding:11px 9px;min-height:71px;border-radius:12px}.move strong{font-size:11px;white-space:normal;line-height:1.15}.move svg{width:18px;height:18px;right:7px;top:8px}.stages{gap:10px}.stage-head{padding:12px}.stage-head strong{font-size:12px}.stage-head span{display:none}.stage-foot{font-size:11px;padding:10px 12px;min-height:48px}.stage{border-radius:15px}.controls{padding:12px;gap:12px}.bottom{gap:10px}.credit{font-size:10px}.challenge h2{font-size:16px}}
@media(max-width:540px){.top{display:block;margin-bottom:16px}.mode{width:max-content;margin-top:15px}.mode button{padding:8px 17px}.moves{gap:5px;margin:14px 0}.move{min-height:75px;padding:10px 7px}.move .number{font-size:9px}.move strong{margin-top:12px;font-size:10px}.move svg{width:15px;height:15px;right:5px;top:7px}.stages{grid-template-columns:1fr;gap:10px}.stage-head{padding:11px 15px}.stage-head span{display:block;font-size:10px}.stage canvas{aspect-ratio:1.85}.stage-foot{padding:10px 15px;min-height:37px}.controls{margin-top:12px}.play{width:41px;height:41px;font-size:17px}.reset{font-size:11px;padding:10px}.bottom{align-items:flex-start}.pad-wrap{gap:8px;font-size:10px}.dpad{grid-template-columns:repeat(3,34px);grid-template-rows:repeat(2,30px)}.credit{max-width:115px}.challenge{padding:13px}.challenge p{font-size:12px}.challenge h2{font-size:15px}.next{padding:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.siteback{display:flex;justify-content:space-between;max-width:1180px;margin:auto;padding:16px;color:#46586d;font:14px system-ui}.siteback a{color:inherit}
