.is-beam{background:#080e19;overflow:hidden;font-size:16px;line-height:1.5}.beam-demo{--beam-ink:#e7e7da;--beam-muted:#b8c5d5;--beam-line:#46586d;position:relative;width:100%;height:100dvh;padding:18px 24px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;color:var(--beam-ink);background:#0b1422;isolation:isolate;overflow:hidden}.beam-demo [hidden]{display:none!important}.beam-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;z-index:4}.beam-wordmark p{font-size:11px;color:var(--beam-muted);letter-spacing:.06em}.beam-heading h1{font-size:24px;line-height:1.25;color:#e9d4a8}.beam-level{font-family:var(--display);font-size:12px;color:#d3dddf;letter-spacing:.05em}.beam-heading a{min-height:44px;display:flex;align-items:center;font-size:14px;color:#c8d9e0}.beam-heading a:hover{color:#fff0c8}.beam-play{display:grid;grid-template-columns:minmax(126px,1fr) minmax(0,800px) minmax(126px,1fr);gap:18px;min-width:0;min-height:0}.beam-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:0}.beam-stage{min-width:0;min-height:0;display:grid;place-items:center;container-type:size}.beam-board{position:relative;width:min(100cqw,116.6667cqh);height:min(85.7143cqw,100cqh);max-width:896px;max-height:768px}.beam-board canvas{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:manipulation}.beam-demo button{display:flex;justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:10px 12px;border:1px solid #728396;background:#223247;color:#e3e7e2;font:inherit;font-size:14px;line-height:1.3;touch-action:manipulation}.beam-demo button:hover{background:#30465c;border-color:#d0c7a9}.beam-demo button:active{background:#3c536a;transform:translateY(1px)}.beam-demo button:disabled{cursor:default;opacity:.45}.beam-demo :focus-visible{outline:2px solid #f3d19b;outline-offset:3px}.beam-demo kbd{font:inherit;font-size:16px;color:#f0d9a9}.beam-dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}.beam-dpad button{padding:0;font-family:monospace;font-size:23px}.beam-dpad [data-beam-move="0"]{grid-column:2}.beam-dpad [data-beam-move="3"]{grid-column:1;grid-row:2}.beam-dpad [data-beam-move="2"]{grid-column:2;grid-row:2}.beam-dpad [data-beam-move="1"]{grid-column:3;grid-row:2}.beam-key-hint{font-size:11px;color:var(--beam-muted);white-space:nowrap}.beam-demo .beam-interact{flex-direction:column;width:76px;min-height:76px;border-color:#bdab86;background:#3d4145}.beam-interact kbd{font-size:23px;line-height:1}.beam-tools{display:flex;gap:6px}.beam-tools button{flex-direction:column;min-width:54px;padding:7px;gap:1px;font-size:12px}.beam-tools kbd{font-size:14px}.beam-unlock{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.beam-unlock svg{display:block;width:100%;height:100%}.beam-unlock path{fill:none;stroke:#d8e4b2;stroke-width:3;stroke-linejoin:miter;stroke-dasharray:18 298;animation:beam-unlock .65s ease-out both}@keyframes beam-unlock{0%{stroke-dashoffset:316;opacity:1}to{stroke-dashoffset:0;opacity:0}}.beam-launch,.beam-win{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:76px 24px 20px;background:#0b1422}.beam-launch-content{width:min(620px,100%)}.beam-eyebrow{color:#b8c5d5;font-size:12px;letter-spacing:.08em}.beam-launch h2,.beam-win h2{color:#ecd9b3;font-size:44px;line-height:1.3;margin-top:10px}.beam-intro{font-size:17px;color:#d1dce0;margin-top:12px}.beam-instructions{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;border-block:1px solid #3c4e63;padding-block:22px;margin-block:28px 16px}.beam-instructions>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:14px}.beam-instructions>div:first-child{grid-column:1 / -1}.beam-instructions dt{font-size:15px;color:#f0d9a9}.beam-instructions dd{margin:0;color:#d1dce0;font-size:14px}.beam-instructions>div:nth-child(2){grid-column:1 / -1}.beam-touch-note{color:var(--beam-muted);font-size:13px;margin-bottom:22px}.beam-demo .beam-primary{justify-content:space-between;gap:38px;color:#162331;background:#e0c99f;border-color:#e0c99f;padding:12px 18px;font-size:16px;min-width:180px}.beam-demo .beam-primary:hover{background:#f2dfba;border-color:#fff0d1}.beam-win-content{width:min(460px,100%);text-align:center}.beam-win h2{font-size:34px}.beam-win-content>p[data-beam-win-text]{color:#d1dce0;font-size:17px;margin-top:16px}.beam-win-actions{display:flex;flex-direction:column;gap:10px;margin-top:30px}.beam-win:focus{outline:none}.beam-rotate-note{display:none}.beam-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.beam-demo[data-phase=start] .beam-play,.beam-demo[data-phase=instructions] .beam-play{visibility:hidden}.beam-demo noscript{position:absolute;inset:0;z-index:6;display:grid;place-items:center;padding:24px;background:#0b1422}.beam-demo noscript p{max-width:40ch;color:#e7e7da;font-size:16px}@media(max-width:1000px){.beam-demo{padding:10px 16px;gap:6px}.beam-play{grid-template-columns:140px minmax(0,1fr) 122px;gap:10px}}@media(max-height:540px)and (orientation:landscape){.beam-demo{padding:6px 12px 10px;gap:2px}.beam-heading{min-height:44px}.beam-wordmark p{display:none}.beam-heading h1{font-size:19px}.beam-heading a{font-size:12px}.beam-level{font-size:10px}.beam-play{grid-template-columns:minmax(140px,1fr) minmax(0,448px) minmax(122px,1fr);gap:8px}.beam-side{gap:10px}.beam-launch,.beam-win{padding:54px 24px 12px}.beam-launch-content{width:min(640px,100%);display:grid;grid-template-columns:1fr 1fr;gap:6px 32px;align-items:start}.beam-launch-content .beam-eyebrow{grid-column:1;font-size:11px}.beam-launch h2{grid-column:1;font-size:36px;margin:0}.beam-intro{grid-column:1;font-size:14px;margin:0}.beam-instructions{grid-column:2;grid-row:1 / 5;display:flex;flex-direction:column;gap:11px;padding-block:10px;margin:0}.beam-instructions>div{gap:12px}.beam-instructions dt,.beam-instructions dd{font-size:12px}.beam-touch-note{grid-column:1;font-size:11px;margin:3px 0 8px}.beam-launch .beam-primary{grid-column:1;width:100%;padding:10px 14px}.beam-win h2{font-size:27px}.beam-win-content>p[data-beam-win-text]{font-size:14px;margin-top:8px}.beam-win-actions{margin-top:16px;flex-direction:row;justify-content:center}.beam-win-actions button{flex:1}}@media(orientation:portrait)and (max-width:700px){.beam-demo{padding:10px}.beam-heading{gap:10px}.beam-heading h1{font-size:20px}.beam-heading a{font-size:12px}.beam-wordmark p{display:none}.beam-level{font-size:9px}.beam-play{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) 112px;gap:4px 8px;padding-bottom:36px}.beam-stage{grid-column:1 / -1;grid-row:1}.beam-side-left{grid-column:1;grid-row:2}.beam-side-right{grid-column:2;grid-row:2;flex-direction:row;gap:8px}.beam-side-right .beam-tools{flex-direction:column;gap:4px}.beam-tools button{flex-direction:row;min-width:44px}.beam-key-hint{display:none}.beam-rotate-note{position:absolute;bottom:10px;inset-inline:10px;display:block;text-align:center;font-size:12px;color:#d9c7a5;z-index:4;pointer-events:none}.beam-launch,.beam-win{padding:72px 24px 48px}.beam-launch h2{font-size:36px}.beam-intro{font-size:15px}.beam-instructions{margin-block:22px 14px;gap:16px 22px;padding-block:18px}.beam-instructions dt{font-size:13px}.beam-instructions dd,.beam-touch-note{font-size:12px}}@media(prefers-reduced-motion:reduce){.beam-unlock path{animation:none;stroke-dasharray:none;opacity:.7}.beam-demo button:active{transform:none}}
