:root{color-scheme:dark;--coral:#ff916d;--cream:#ffecd2;--teal:#8fddd6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#253443 0,#11151d 45%,#0b0d13 100%);font-family:Arial,Helvetica,sans-serif;color:var(--cream);min-height:100svh}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--teal);outline-offset:4px}button:disabled{opacity:.5;cursor:default}.shell{max-width:1640px;margin:auto;padding:0 30px}header{height:90px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:19px;font-weight:800;letter-spacing:3px;color:#ffddbf;text-decoration:none;line-height:1.05}.wordmark span{color:var(--coral);margin-left:8px}.wordmark i{display:block;font-size:8px;font-style:normal;letter-spacing:3px;color:#82949e;margin-top:9px}.tools{display:flex;gap:10px}.tools button{border:1px solid #ffffff1a;color:#b5c0c7;background:#ffffff03;border-radius:9px;padding:10px 14px;font-size:18px}.tools span{font-size:11px;margin-left:7px}.tools button:hover{border-color:#ff916d88;color:var(--cream)}.stage{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:16px;isolation:isolate;box-shadow:0 24px 90px #0008,0 0 0 1px #ffffff15;background:#152330 url('lounge.png') center/cover}.stage:fullscreen{border-radius:0;height:100%;width:100%;aspect-ratio:auto;background:#101722;display:flex;align-items:center}.stage:fullscreen canvas{object-fit:contain;width:100%;height:100%}canvas{width:100%;height:100%;display:block}.hud{position:absolute;top:3%;left:3%;right:3%;display:flex;gap:12px;pointer-events:none}.hud>div{border:1px solid #e6cab82b;background:linear-gradient(125deg,#111d2de8,#151d29c9);backdrop-filter:blur(12px);padding:10px 20px;border-radius:12px;min-width:115px;box-shadow:0 4px 15px #0003}.hud small{display:block;font-size:9px;letter-spacing:1.6px;color:#9fb0b9;margin-bottom:6px}.hud strong{font-size:26px;letter-spacing:2px;font-variant-numeric:tabular-nums}.hud .health strong{color:#ff796f;letter-spacing:5px}.hud .record{margin-left:auto}.hud .record strong{font-size:22px;color:#b9c5cd}.overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#071321aa,#07132144);backdrop-filter:blur(5px)}.overlay[hidden]{display:none}.welcome{width:520px;max-width:90%;text-align:center;background:linear-gradient(160deg,#101c2bf2,#142332ef);border:1px solid #f5c7a32b;border-radius:22px;padding:35px 38px 25px;box-shadow:0 25px 100px #0007}.overline{font-size:9px;letter-spacing:3px;color:var(--teal)}.mini-line{height:1px;width:36px;background:var(--coral);margin:18px auto}h1{font-family:Georgia,serif;font-size:clamp(40px,5vw,75px);line-height:.95;font-weight:400;letter-spacing:-3px;margin:12px 0 20px}h1 em{font-weight:400;color:var(--coral)}.welcome p{font-size:13px;line-height:1.75;color:#b5c3ca;margin:12px 0}.instructions{text-align:left;border-top:1px solid #fff1;margin:22px 0;padding-top:14px}.instructions>div{display:flex;gap:16px;align-items:center;margin:12px 0;font-size:12px;color:#d4dce0}.instructions b{font-size:10px;font-weight:400;color:#6c8491}kbd{display:inline-block;border:1px solid #8faaa84d;border-bottom:2px solid #8faaa870;border-radius:5px;background:#ffffff08;padding:4px 6px;color:#dfe8e8;font-family:inherit;font-size:10px;letter-spacing:1px;min-width:23px;text-align:center;margin-right:4px}.primary{display:block;width:100%;background:linear-gradient(110deg,#ffa078,#ed785c);color:#1b2331;font-weight:700;border:0;border-radius:9px;padding:17px 22px;font-size:14px;box-shadow:0 5px 25px #ff886c22}.primary:hover{filter:brightness(1.1)}.welcome .fine{font-size:9px;color:#8398a4;margin-bottom:0}.bottom-hint{position:absolute;bottom:2%;left:50%;transform:translateX(-50%);display:flex;gap:25px;white-space:nowrap;padding:10px 24px;background:#101b29db;backdrop-filter:blur(10px);border:1px solid #ffffff1c;border-radius:10px;font-size:9px;letter-spacing:1px;align-items:center;pointer-events:none}.combo{position:absolute;right:4%;top:18%;font-size:17px;letter-spacing:2px;color:var(--teal);text-shadow:0 2px 10px #000}.notice{position:absolute;bottom:11%;left:50%;transform:translateX(-50%);background:#101a29ed;border:1px solid #ffd9b040;padding:10px 20px;border-radius:30px;font-size:12px;text-align:center;max-width:90%;pointer-events:none;opacity:0;transition:opacity .2s}.notice.show{opacity:1}footer{display:flex;justify-content:space-between;padding:23px 1px;color:#677d8c;font-size:10px;letter-spacing:.4px}footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--coral);box-shadow:0 0 7px var(--coral);margin-right:8px}footer>span:last-child{font-size:8px;letter-spacing:1px}footer b{color:#b19a85;font-weight:400;margin-left:12px}.mobile-controls{display:none}@media(min-width:1700px){.shell{max-width:1700px}}@media(max-height:800px) and (min-width:900px){.shell{max-width:calc((100svh - 125px) * 16 / 9 + 60px)}header{height:70px}footer{padding:16px 0}.welcome{padding:22px 30px}.welcome h1{font-size:57px}.instructions{margin:12px 0}.mini-line{margin:12px auto}}@media(max-width:800px){.shell{padding:0 10px}header{height:65px}.wordmark{font-size:13px;letter-spacing:2px}.wordmark i{font-size:6px}.tools{gap:5px}.tools button{padding:8px 10px;font-size:15px}.tools span{display:none}.stage{border-radius:10px}.hud{gap:5px}.hud>div{padding:6px 9px;min-width:0;border-radius:7px}.hud strong,.hud .record strong{font-size:16px}.hud small{font-size:6px;margin-bottom:3px;letter-spacing:.6px}.hud .health strong{letter-spacing:1px}.welcome{padding:16px 22px;width:450px;max-height:96%;overflow-y:auto}.overline{font-size:7px}.mini-line{margin:9px auto}.welcome h1{font-size:40px;margin:8px 0 10px;line-height:.9}.welcome h1 br{display:none}.welcome h1 em{margin-left:10px}.welcome p{font-size:10px;margin:6px 0}.instructions{margin:8px 0;padding-top:3px}.instructions>div{font-size:9px;margin:5px 0}.primary{padding:11px}.welcome .fine{font-size:7px}.bottom-hint{font-size:6px;gap:10px;padding:5px 10px}.bottom-hint kbd{font-size:7px;padding:2px 4px;min-width:15px}.notice{font-size:9px;padding:7px 12px}.combo{font-size:11px}.mobile-controls{display:flex;gap:10px;margin-top:12px}.mobile-controls button{touch-action:manipulation;border:1px solid #53616b66;border-radius:10px;background:#1a2938;color:#f5dac4;font-size:20px;padding:13px 25px}.mobile-controls #serve{flex:1;font-size:12px;font-weight:700;color:#182332;background:var(--coral)}footer{font-size:8px}footer>span:last-child{display:none}}@media(max-width:500px) and (orientation:portrait){.stage{aspect-ratio:4/3}.stage canvas{object-fit:cover}.hud .record{display:none}.hud strong{font-size:15px}.health{margin-left:auto}.welcome{padding:15px 20px}.instructions>div{font-size:10px}.welcome h1{font-size:42px}.bottom-hint{display:none}footer{line-height:1.5}.notice{bottom:3%}}

@media(min-width:900px){.shell{max-width:min(1640px,calc((100svh - 144px)*16/9 + 60px))}}
@media(max-width:500px) and (orientation:portrait){.stage canvas{object-fit:fill}.welcome{max-height:95%}.hud{top:2%}}
