@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#e9edf4;background:#10151e;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 42%,#19233255,transparent 65%);min-height:100vh}main{max-width:1040px;padding:30px 40px 22px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff10;padding-bottom:24px}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:3px;font-size:20px}.brand-icon{color:#99dfc1;font-size:29px}.edition{font:10px 'DM Sans',sans-serif;letter-spacing:1px;color:#697689;margin-left:12px}button{background:#1b2431;border:1px solid #303a49;color:#cbd3df;border-radius:6px;padding:9px 14px;font:12px inherit;cursor:pointer}button:hover{background:#29384a}button:focus-visible{outline:2px solid #99dfc1;outline-offset:3px}#pause{display:flex;gap:8px;align-items:center}.intro{text-align:center;margin:30px 0 26px}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#91cdb4;font-weight:700}h1{font:500 38px 'Space Grotesk',sans-serif;letter-spacing:-1.5px;margin:9px 0}.intro p{font-size:12px;color:#7d8a9c;margin:0}.game-layout{display:grid;grid-template-columns:184px 302px 184px;justify-content:center;gap:28px}.left,.right{padding-top:28px}.panel{border:1px solid #293340;background:#151d28;border-radius:8px;padding:17px}h2{font-size:10px;letter-spacing:1.5px;font-weight:600;margin:0;color:#97a4b7}.panel h2{display:flex;align-items:center;justify-content:space-between}kbd{font-family:inherit;display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:20px;border:1px solid #354151;border-radius:4px;font-size:10px;letter-spacing:0;color:#9eabbe;padding:0 5px}canvas{display:block}#hold{width:100%;height:88px}.hint{font-size:10px;color:#667488;text-align:center;white-space:nowrap;margin-top:2px}.stats{margin-top:18px}.stats label{display:block;color:#6f7d90;font-size:9px;letter-spacing:1.5px;margin:24px 0 8px}.stats strong{font:500 29px 'Space Grotesk',sans-serif;letter-spacing:1px}.stat-row{display:flex;gap:39px}.stat-row label{margin-top:22px}.stat-row b{font:500 22px 'Space Grotesk',sans-serif}.best{padding:20px 5px;display:flex;justify-content:space-between;font-size:9px;color:#6c7b90;letter-spacing:.7px}.best b{color:#b6c2d2}.board-top,.board-bottom{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;color:#607086;height:28px}.board-top i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#99dfc1;margin-right:5px}.board-top>span:first-child{color:#9eb4ac}.playfield{position:relative;border:1px solid #374354;background:#0b1018;box-shadow:0 14px 50px #0004;border-radius:3px;overflow:hidden}#board{width:300px;height:600px}.board-bottom{font-size:7px;height:30px}.right .panel{padding-bottom:6px}#next{width:100%;height:350px}.panel h2>span{color:#566477}.controls{margin-top:24px;padding:0 3px}.controls h2{font-size:9px;margin-bottom:16px}.controls>div{display:flex;align-items:center;justify-content:space-between;margin:10px 0;font-size:10px;color:#718197}.controls kbd{height:19px;min-width:20px;font-size:9px}footer{display:flex;justify-content:space-between;border-top:1px solid #ffffff0c;margin-top:25px;padding-top:19px;font-size:10px;color:#546276}footer>span:last-child{font-size:8px;letter-spacing:1px}footer i{color:#99dfc1;margin-left:9px;font-style:normal}#overlay{position:absolute;inset:0;background:#0c121bea;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;backdrop-filter:blur(5px)}#overlay[hidden]{display:none}#overlay h2{font:500 32px 'Space Grotesk',sans-serif;color:#eff5fa;letter-spacing:-1px;margin-top:14px}#overlay p{font-size:12px;color:#8999ad;margin-bottom:26px}#overlay button{background:#99dfc1;color:#132a24;border:0;font-weight:700;padding:13px 22px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.touch{display:none}@media(max-width:760px){main{padding:18px 14px}.game-layout{grid-template-columns:90px minmax(180px,300px) 85px;gap:10px}.panel{padding:10px 6px}.left,.right{padding-top:28px}.hint,.controls,.best{display:none}.stats strong{font-size:20px}.stat-row{gap:12px;flex-wrap:wrap}.stats label{font-size:8px}.panel h2{font-size:8px;letter-spacing:.5px}#board{width:100%;height:auto}.board-wrap{min-width:0}#next{height:250px}#hold{height:70px}.intro{margin:22px 0}h1{font-size:30px}.touch{display:flex;gap:8px;justify-content:center;margin-top:15px;flex-wrap:wrap}.touch button{touch-action:manipulation;padding:12px 17px}footer{margin-top:22px}footer>span:last-child{display:none}.board-top,.board-bottom{font-size:6px;letter-spacing:.4px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
@media(min-width:761px) and (max-height:1000px){main{padding-top:20px}.intro{margin:20px 0}.game-layout{grid-template-columns:184px clamp(210px,calc((100dvh - 310px)/2),300px) 184px}#board{width:100%;height:auto}#next{height:250px}.controls{margin-top:18px}footer{margin-top:16px;padding-top:14px}}
@media(max-width:400px){.game-layout{grid-template-columns:65px minmax(155px,1fr) 60px;gap:6px}.edition{display:none}.panel{padding:8px 4px}.panel h2 kbd{min-width:16px;padding:0 2px}.stats strong{font-size:16px}.stat-row{gap:4px}.stats label{letter-spacing:0}.stat-row b{font-size:17px}}
