@font-face{font-family:Poppins;src:url(assets/Poppins-Regular.woff2);font-display:swap}@font-face{font-family:Poppins;src:url(assets/Poppins-Bold.woff2);font-weight:700;font-display:swap}:host{--bg:#e52336;--panel:#c91b2d;--ink:#fff;--muted:#ffe1e5;--line:#ffffff30;--red:#740c20;--lime:#fff}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#e52336;color:var(--ink);font-family:Poppins,Arial,sans-serif}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid var(--lime);outline-offset:4px}button:disabled{opacity:.3;cursor:default}[hidden]{display:none!important}.shell{height:100svh;min-height:460px;max-width:1400px;margin:auto;background:var(--bg);display:flex;flex-direction:column;overflow:hidden}header{height:68px;flex:none;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:20px}.brand img{width:64px;height:41px;object-fit:contain;filter:invert(1)}.brand>span{font-size:9px;letter-spacing:2px;color:var(--muted)}.brand b{font-weight:400;color:var(--ink)}.tools{display:flex;gap:18px;align-items:center}.tools button{background:transparent;border:0;color:var(--muted);min-height:44px;font-size:10px}#pause{width:40px;min-height:40px;border:1px solid #ffffff24;border-radius:50%;font-size:18px;color:var(--ink)}.arena{position:relative;flex:1;min-height:0;touch-action:none;user-select:none;-webkit-user-select:none;isolation:isolate}canvas{display:block;width:100%;height:100%}.hud{position:absolute;top:23px;left:36px;right:36px;display:flex;justify-content:space-between;pointer-events:none}.hud>div{display:flex;flex-direction:column}.hud span{font-size:8px;letter-spacing:2px;color:var(--muted)}.hud strong{font-size:48px;letter-spacing:-2px;line-height:1.2;font-variant-numeric:tabular-nums}.hud small{font-size:10px;margin-top:6px;color:var(--muted)}.hud .speed{text-align:right}.speed strong{font-size:30px;letter-spacing:-1px;color:var(--lime)}.speed strong small{font-size:17px;margin-left:3px;color:var(--lime)}.queue{position:absolute;top:29px;left:50%;transform:translate(-50%);text-align:center;pointer-events:none}.queue>span{font-size:7px;letter-spacing:2px;color:var(--muted)}#upcoming{display:flex;gap:8px;align-items:center;margin-top:9px}.queue-item{width:39px;height:39px;display:grid;place-items:center;border:1px solid #ffffff1e;border-radius:7px;color:#ffffff85}.queue-item:first-child{color:var(--ink);border-color:#ffffff65}.queue-item .form{transform:scale(.6)}.feedback{position:absolute;left:0;right:0;top:30%;text-align:center;pointer-events:none;font-size:22px;font-weight:700;color:var(--lime);opacity:0;transition:opacity .12s}.feedback.show{opacity:1}.feedback.bad{color:var(--red)}.lesson{position:absolute;left:50%;top:23px;transform:translate(-50%);width:90%;text-align:center}.lesson>span{font-size:8px;letter-spacing:2px;color:var(--lime)}.lesson h2{font-size:27px;letter-spacing:-1px;margin:7px 0}.lesson p{font-size:11px;color:var(--muted);margin:0}.lesson button{min-height:40px;margin-top:8px;color:var(--ink);font-size:9px;background:transparent;border:0;text-decoration:underline;text-underline-offset:5px}.screen{position:absolute;inset:0;z-index:5;background:var(--bg)}.welcome{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;padding:5% 7%;gap:5%}.eyebrow{color:var(--muted);font-size:9px;letter-spacing:2px}.welcome-copy h1{font-size:30px;line-height:1;letter-spacing:-1px;margin:22px 0;color:var(--red)}.welcome-copy h1 span{display:block;color:var(--ink);font-size:clamp(85px,10vw,150px);letter-spacing:-9px;line-height:.95;margin-top:7px}.welcome-copy>p{font-size:21px;line-height:1.5;letter-spacing:-.5px;color:#a9b0a9;margin:25px 0}.primary{display:flex;justify-content:space-between;align-items:center;gap:36px;min-height:58px;padding:14px 22px;min-width:200px;border:0;border-radius:7px;background:var(--lime);color:#c2172b;font-weight:700;font-size:14px;transition:transform .1s}.primary:hover{background:#ffe4e8}.primary:active{transform:scale(.98)}.primary span{font-size:23px;line-height:1}.welcome-copy>small{display:block;font-size:10px;color:var(--muted);margin-top:18px;line-height:1.7}.welcome-aside{text-align:center;border-left:1px solid var(--line);padding:30px 0 30px 40px}.welcome-aside>span{font-size:8px;letter-spacing:1.7px;color:var(--muted)}.demo-shapes{display:flex;justify-content:center;align-items:center;gap:20px;height:180px}.demo-shapes i{border:3px solid var(--red);display:block;border-radius:7px;width:95px;height:32px}.demo-shapes i:nth-child(2){height:66px;width:66px;background:var(--red);transform:rotate(-7deg)}.demo-shapes i:nth-child(3){height:95px;width:32px}.welcome-aside p{font-size:10px;color:var(--muted);line-height:1.8}.control-area{flex:none;padding:12px 36px 16px;border-top:1px solid var(--line)}.control-top{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:11px;gap:10px}.key-help{font-size:8px;letter-spacing:1px}.controls{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.shape-button{height:78px;display:flex;gap:18px;align-items:center;justify-content:center;background:var(--panel);border:1px solid #ffffff16;border-radius:9px;color:var(--ink);touch-action:none;user-select:none;-webkit-user-select:none;transition:background .1s,border-color .1s,transform .1s}.shape-button>span{font-size:16px;font-weight:700}.shape-button.selected{background:var(--lime);border-color:var(--lime);color:var(--bg);box-shadow:0 0 25px #d7fa5910}.shape-button:active{transform:scale(.975)}kbd{font:inherit;font-size:8px;opacity:.4;margin-left:8px;border:1px solid currentColor;padding:3px 5px;border-radius:3px}.form{display:block;border:2px solid currentColor;border-radius:4px;flex:none;width:37px;height:15px}.form.square{height:25px;width:25px}.form.tall{height:37px;width:15px}footer{height:30px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:#ffe1e5;font-size:7px;letter-spacing:1px}footer b{font-weight:400;margin-left:10px}.pause-screen{display:grid;place-items:center;text-align:center}.pause-screen h2{font-size:49px;letter-spacing:-2px;margin:15px 0 30px}.text-button{display:block;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:11px;margin:15px auto 0}.results{display:grid;place-items:center}.result-card{width:min(380px,85%);text-align:center}.result-card h2{font-size:82px;line-height:1.1;letter-spacing:-5px;margin:13px 0;color:var(--ink)}.result-card h2 small{font-size:17px;letter-spacing:-.5px;margin-left:9px;color:var(--muted)}.result-card>p{font-size:11px;color:var(--muted)}.stats{display:flex;justify-content:center;gap:35px;margin:24px 0}.stats>div{display:flex;flex-direction:column;gap:3px}.stats strong{font-size:22px;font-variant-numeric:tabular-nums}.stats span{font-size:7px;letter-spacing:1.4px;color:var(--muted)}.result-card .primary{width:100%}.ranking{text-align:left;margin-top:24px;font-size:8px;letter-spacing:1px;color:#fff}.ranking small{font-size:8px;color:var(--muted);letter-spacing:0}.ranking ol{list-style:none;padding:0;margin:8px 0 0}.ranking li{border-top:1px solid var(--line);padding:8px 0;display:flex;justify-content:space-between;font-size:10px;letter-spacing:0}.ranking li:first-child{color:var(--lime)}.shell[data-phase=ready] .control-area,.shell[data-phase=ended] .control-area{display:none}.shell[data-phase=ready] .hud,.shell[data-phase=ready] .queue,.shell[data-phase=tutorial] .hud,.shell[data-phase=tutorial] .queue,.shell[data-phase=tutorial] .feedback,.shell[data-phase=paused] .hud,.shell[data-phase=paused] .queue,.shell[data-phase=ended] .hud,.shell[data-phase=ended] .queue{visibility:hidden}@media(min-height:950px){.shell{height:920px;margin:20px auto;border:1px solid var(--line);border-radius:16px}}@media(max-width:700px){header{height:59px;padding:0 18px}.brand{gap:13px}.brand img{width:49px;height:33px}.brand>span{font-size:7px;letter-spacing:1px}.tools{gap:11px}.tools button{font-size:8px}.tools #pause{width:36px;min-height:36px}.hud{left:20px;right:20px;top:18px}.hud strong{font-size:36px}.hud span{font-size:7px}.hud small{font-size:8px}.speed strong{font-size:24px}.speed strong small{font-size:14px}.queue{top:96px}#upcoming{margin-top:6px;gap:6px}.queue-item{width:33px;height:33px}.queue>span{font-size:6px}.feedback{top:32%;font-size:19px}.control-area{padding:10px 14px 14px}.control-top{font-size:9px;margin-bottom:9px}.key-help{display:none}.controls{gap:8px}.shape-button{height:76px;flex-direction:column;gap:9px}.shape-button>span{font-size:11px}kbd{display:none}.form{width:31px;height:12px}.form.square{width:22px;height:22px}.form.tall{width:12px;height:31px}.shape-button .form{max-height:25px}.shape-button .form.wide{margin:6px 0 7px}.shape-button .form.square{margin:1px 0 2px}.shape-button .form.tall{margin:0}footer{height:26px;padding:0 18px;font-size:6px;letter-spacing:.5px}footer b{margin-left:6px}.welcome{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;padding:7% 8% 5%;gap:15px}.welcome-copy h1{font-size:21px;margin:18px 0}.welcome-copy h1 span{font-size:89px;letter-spacing:-6px}.welcome-copy>p{font-size:19px;margin:20px 0}.primary{min-height:53px;font-size:13px;padding:12px 20px}.welcome-copy .primary{width:100%}.welcome-copy>small{font-size:9px;margin-top:13px}.welcome-aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.welcome-aside>span{font-size:7px;letter-spacing:1px}.demo-shapes{height:100px;gap:21px}.demo-shapes i{width:69px;height:23px;border-width:2px}.demo-shapes i:nth-child(2){width:47px;height:47px}.demo-shapes i:nth-child(3){width:23px;height:69px}.welcome-aside p{font-size:9px;line-height:1.7;margin:6px 0}.lesson{top:18px}.lesson h2{font-size:25px;margin:7px 0}.lesson p{font-size:10px}.lesson>span{font-size:7px}.lesson button{font-size:9px;margin-top:4px}.result-card h2{font-size:61px;letter-spacing:-3px}.result-card>.eyebrow{font-size:8px}.result-card>p{font-size:10px}.stats{gap:25px;margin:20px 0}.stats strong{font-size:19px}.stats span{font-size:6px}.ranking{font-size:7px}.ranking li{font-size:9px}.pause-screen h2{font-size:41px}}@media(max-height:650px){.shell{min-height:460px}header{height:49px}.control-area{padding-top:8px;padding-bottom:9px}.shape-button{height:64px}.control-top{font-size:8px}.shape-button>span{font-size:10px}.shape-button .form.wide{margin:3px 0 1px}.shape-button .form.square{height:20px;width:20px}.shape-button .form.tall{height:24px}.shape-button{gap:5px}footer{height:22px}.welcome{padding-top:5%;padding-bottom:3%}.welcome-copy h1{margin:10px 0;font-size:17px}.welcome-copy h1 span{font-size:67px;letter-spacing:-4px}.welcome-copy>p{font-size:15px;margin:12px 0}.primary{min-height:46px}.welcome-copy>small{font-size:8px;margin-top:10px}.welcome-aside{padding-top:10px}.demo-shapes{height:70px}.demo-shapes i{width:51px;height:17px}.demo-shapes i:nth-child(2){width:37px;height:37px}.demo-shapes i:nth-child(3){width:17px;height:51px}.welcome-aside p{font-size:8px;margin:0}.hud{top:12px}.hud strong{font-size:30px}.speed strong{font-size:22px}.queue{top:82px}.queue-item{height:27px;width:27px}.queue-item .form{transform:scale(.45)}.queue>span{display:none}.lesson h2{font-size:21px}.lesson p{font-size:9px}.lesson button{min-height:33px;margin-top:0}.result-card h2{font-size:48px;margin:8px 0}.result-card>p{font-size:9px}.stats{margin:14px 0;gap:23px}.stats strong{font-size:18px}.ranking{margin-top:17px}.ranking li{padding:5px 0}.result-card .primary{min-height:46px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(min-width:701px){.feedback{left:2%;right:auto;width:46%}}@media(min-width:701px)and (max-height:650px){.queue{top:20px}.queue>span{display:block}}@media(min-width:701px)and (max-height:650px){.shape-button>span{font-size:14px}.welcome-copy h1 span{font-size:108px;letter-spacing:-7px}.welcome-copy>p{font-size:18px}.welcome-aside .demo-shapes{height:150px}.demo-shapes i{width:90px;height:30px}.demo-shapes i:nth-child(2){width:63px;height:63px}.demo-shapes i:nth-child(3){width:30px;height:90px}}.start-actions{display:flex;gap:18px;align-items:center}.secondary{border:0;background:transparent;color:var(--ink);min-height:46px;font-size:11px;text-decoration:underline;text-underline-offset:5px;padding:10px 8px;white-space:nowrap}@media(max-width:700px){.start-actions{gap:13px}.start-actions .primary{width:auto;flex:1;min-width:0}.secondary{font-size:10px;padding:8px 2px}}.nick-screen{display:grid;place-items:start center;padding:clamp(22px,7vh,70px) 22px 12px;background:linear-gradient(var(--bg) 45%,#e5233600 90%);pointer-events:none}.nick-card{width:min(360px,100%);pointer-events:auto;text-align:center}.nick-card h1{font-size:18px;letter-spacing:5px;margin:0 0 25px}.nick-card label{display:block;font-size:20px;font-weight:700;letter-spacing:-.6px;margin-bottom:15px}.nick-card input{width:100%;font:inherit;font-size:18px;border:1px solid #ffffff90;border-radius:8px;background:#c91b2d;color:#fff;padding:15px 17px;outline-offset:3px;user-select:text;-webkit-user-select:text;touch-action:auto}.nick-card input::placeholder{color:#ffffffa0}.nick-card input:focus{outline:2px solid white}.nick-card input[aria-invalid=true]{border:2px solid white}.nick-card p{font-size:9px;color:var(--muted);margin:10px 0;line-height:1.6}#nick-error{min-height:16px;color:#fff;font-size:11px}.nick-card .primary{width:100%;margin-top:12px}.nick-card .secondary{margin-top:5px}.ranking li{gap:15px}.ranking li>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ranking li>strong{white-space:nowrap;flex:none}#change-nick{margin:3px auto 0;min-height:34px;font-size:9px}.result-card .ranking{margin-top:10px}.shell[data-phase=ready] .control-area{display:block;opacity:.5;pointer-events:none}.shape-button.selected{box-shadow:none}.feedback.bad{color:#fff;background:#740c20;padding:7px;border-radius:7px}.brand>span{color:#fff;letter-spacing:2px}.primary:focus-visible{outline-color:#fff;outline-offset:5px}@media(max-height:650px){.nick-screen{padding-top:16px}.nick-card h1{margin-bottom:14px;font-size:14px}.nick-card label{font-size:18px;margin-bottom:10px}.nick-card input{padding:11px 14px}.nick-card p{margin:6px 0}.nick-card .primary{margin-top:7px}.nick-card .secondary{min-height:35px;margin-top:0}.result-card .stats{margin:10px 0}.result-card .ranking{margin-top:4px}.result-card #change-nick{min-height:28px}}.brand img{width:32px;height:27px}.brand{gap:15px}@media(max-width:700px){.brand img{width:27px;height:23px}}:host{display:block;min-width:0;color:#fff;font-family:Poppins,Arial,sans-serif;background:var(--bg)}:host .shell{height:var(--shift-height,100svh);min-height:460px;max-width:none;margin:0;border:0;border-radius:0}.nick-card h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.results{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;user-select:text;-webkit-user-select:text;display:block;padding:22px 0 30px}.result-card{margin:0 auto}.ranking h3{font-size:12px;letter-spacing:0;margin:12px 0 7px}.ranking p{font-size:10px;line-height:1.6;letter-spacing:0}.ranking li{font-size:11px;line-height:1.6}.ranking li>span{white-space:normal;overflow-wrap:anywhere}.nick-card #nick-notice{font-size:10px;line-height:1.5;min-height:0}
