*{box-sizing:border-box}body{margin:0;background:#10272c;color:#fff6df;font-family:DM Sans,sans-serif;overflow:hidden}canvas{display:block;width:100%;height:100%}#game{position:fixed;top:0;right:0;bottom:0;left:0}header{position:fixed;top:0;left:0;right:0;padding:26px 34px;display:flex;justify-content:space-between;align-items:center}a{color:inherit;text-decoration:none;font-weight:800;letter-spacing:3px}header span{font-size:12px;color:#b8c6c3}button{cursor:pointer;font:700 14px DM Sans,sans-serif;border:1px solid #ffffff40;border-radius:12px;color:inherit;background:#142e34cc;padding:12px 22px}button:hover{background:#31535b}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffc76e}button:disabled{opacity:.6;cursor:wait}#hud{position:fixed;right:34px;top:100px;display:flex;gap:30px;text-shadow:0 2px 8px #000}small{display:block;font-size:10px;letter-spacing:2px;color:#c6d7d0}strong{font:600 30px Outfit,sans-serif}#panel{position:fixed;left:5vw;top:20vh;max-width:490px;padding:28px;border-radius:24px;background:linear-gradient(120deg,#112c32f2,#112c32bf);border:1px solid #ffffff18;box-shadow:0 24px 80px #00151c50;max-height:70vh;overflow:auto}.eyebrow{font-size:10px;letter-spacing:3px;color:#ffd08b}h1{font:800 clamp(40px,5vw,72px)/1 "Outfit",sans-serif;letter-spacing:-2px;margin:20px 0}p{font-size:14px;line-height:1.7;color:#c6d7d0}.primary{background:#ffc778;color:#183338;border:0;padding:16px 30px;margin:10px 0}.primary:hover{background:#ffdfaa}.keys{font-size:11px}details{font-size:12px;color:#b8cdc8;margin-top:16px}details p{font-size:11px}label{display:block;margin:10px 0}input{max-width:100%;display:block;margin-top:8px}select{background:#19373d;color:#fff;padding:6px;border:1px solid #789;border-radius:6px}#touch{position:fixed;bottom:62px;left:50%;transform:translate(-50%);display:flex;gap:12px}#touch button{touch-action:none;min-width:65px;background:#123039dc}footer{position:fixed;bottom:20px;left:34px;right:34px;font-size:9px;letter-spacing:2px;color:#afc9c6;display:flex;justify-content:space-between}.hidden{display:none!important}@media (max-width:650px){header{padding:18px}header span{font-size:9px}#hud{top:80px;right:18px;left:18px;justify-content:space-between;gap:8px}strong{font-size:24px}small{font-size:8px}#panel{top:155px;left:18px;right:18px;padding:20px;max-height:calc(100dvh - 280px)}h1{font-size:42px;margin:14px 0}footer{left:18px;right:18px;font-size:8px}footer span{display:none}}header{gap:8px}header .game-title{margin-right:auto}header button{white-space:nowrap}@media (max-width:650px){header .game-title{letter-spacing:1px;font-size:12px}header span{display:none}header button{padding:10px;font-size:12px}}#libraryHome{font-size:13px;letter-spacing:0;font-weight:600;text-decoration:underline;text-underline-offset:4px}header .game-title{letter-spacing:1px}@media (max-width:650px){header{flex-wrap:wrap;justify-content:flex-end;row-gap:8px}header>.game-title{flex-basis:100%;font-size:16px}#hud{top:115px}#panel{top:180px;max-height:calc(100dvh - 305px)}}.game-title{font-weight:800;font-size:16px}#libraryHome{display:block;width:fit-content;margin:0 0 20px;padding:10px 12px;border:1px solid #ffd08b80;border-radius:8px;color:#ffe1a2;background:#17343b;font-size:13px;line-height:1.4;text-decoration:none}#libraryHome:hover{background:#31535b}#libraryHome:focus-visible{outline:3px solid #ffc76e;outline-offset:3px}
