:root{color-scheme:dark;--bg:#101418;--panel:#1a2025;--muted:#909a9f;--green:#c3f56b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#f2f1e9;font:15px Arial,sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}header,main,footer{max-width:1240px;margin:auto}header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b3136}.brand{font-size:25px;font-weight:900;letter-spacing:-1px}.brand>span{color:var(--green)}.brand small{font-size:10px;letter-spacing:3px;border-left:1px solid #56605e;padding-left:14px;margin-left:14px}nav{display:flex;align-items:center;gap:32px;font-size:13px}button{border:0;background:none;color:inherit}nav button:last-child{border:1px solid #39433e;border-radius:30px;padding:10px 17px}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:50px;align-items:center;padding:75px 30px 85px}.eyebrow{color:var(--green);font-size:10px;font-weight:700;letter-spacing:2.6px}h1{font-size:clamp(50px,6vw,82px);line-height:1.05;letter-spacing:-4px;margin:26px 0}h1 em{color:var(--green);font-style:normal}.intro{color:#a6aeaf;font-size:16px;line-height:1.8}.primary{display:inline-flex;background:var(--green);color:#151c12;font-weight:700;border-radius:7px;padding:17px 23px;gap:40px;margin:19px 0}.fine{font-size:9px;letter-spacing:1.2px;color:#84908a}.fine b{color:var(--green);padding:0 10px}.console{max-width:355px;width:100%;justify-self:center;background:#c1c4ac;border-radius:20px 20px 55px 20px;transform:rotate(8deg);padding:27px 26px;color:#3d4535;box-shadow:16px 22px 0 #080c0e,0 0 110px #b7e55a0e}.console-top{font-size:15px;letter-spacing:2px;font-weight:900;display:flex;justify-content:space-between}.console-top span{font-size:8px;letter-spacing:1px}.lcd{background:#98aa73;border:10px solid #454c42;border-radius:10px;margin-top:20px;padding:14px;box-shadow:inset 3px 3px 8px #27372255}.lcd small{font:10px monospace;display:flex;justify-content:space-between}.pixel-snake{font:bold 38px/22px monospace;margin:24px 0;letter-spacing:-7px}.pixel-snake i{font-size:22px;margin-left:15px}.lcd p{font:7px monospace;letter-spacing:1px}.console-controls{display:flex;align-items:center;justify-content:space-between;padding:15px 10px}.console-controls>span{font-size:70px;color:#363d38;text-shadow:2px 3px #7c826e}.console-controls div{font-size:40px;color:#6c7346;transform:rotate(-25deg)}.console-bottom{font-size:7px;letter-spacing:1.5px}.section-title{display:flex;justify-content:space-between;align-items:end}h2{font-size:30px;letter-spacing:-1px;font-weight:600;margin:10px 0 28px}h2 span{color:var(--green)}#count{color:var(--muted);font:11px monospace;margin-bottom:30px}.toolbar{display:flex;justify-content:space-between;border-bottom:1px solid #30373b;padding-bottom:20px;margin-bottom:28px;gap:15px}#filters{display:flex;gap:8px}#filters button{padding:10px 18px;border-radius:6px;color:#a5adaf;font-size:12px}#filters button.active{background:var(--green);color:#162012}input{background:#191f23;border:1px solid #30373b;border-radius:6px;padding:11px 15px;color:inherit;font:12px Arial;width:245px}#cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{border:1px solid #2d353b;border-radius:10px;background:#171d21;overflow:hidden;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-4px);border-color:#7d9954}.art{height:155px;display:grid;place-items:center;position:relative;background:var(--tint);overflow:hidden}.art::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#00000012 3px 4px)}.art .glyph{font:65px monospace;color:var(--ink);white-space:pre;text-align:center;line-height:.8;text-shadow:0 0 24px var(--ink)}.favorite{position:absolute;top:10px;right:12px;font-size:22px;color:#fff;z-index:1}.card-body{padding:19px}.meta{display:flex;justify-content:space-between;font:9px monospace;letter-spacing:1px;color:#9ba4a8}.card h3{font-size:19px;margin:12px 0 8px}.card p{font-size:11px;color:#9ba4a8;line-height:1.7;margin:0 0 17px;min-height:37px}.play{width:100%;display:flex;justify-content:space-between;border-top:1px solid #30373b;padding:13px 0 0;color:var(--green);font-size:12px}.bottom{display:flex;gap:25px;align-items:center;border-top:1px solid #30373b;border-bottom:1px solid #30373b;margin:65px 0 0;padding:35px 0}.bottom>span{color:var(--green);font-size:45px}.bottom h2{font-size:22px;margin:0 0 9px}.bottom p{font-size:12px;color:var(--muted);margin:0}.bottom b{margin-left:auto;font:9px monospace;color:var(--muted);letter-spacing:2px}footer{padding:30px 0;display:flex;justify-content:space-between;font-size:10px;color:#7d888e}dialog{max-width:520px;width:calc(100% - 24px);border:1px solid #526044;border-radius:16px;background:#171e23;padding:22px;color:inherit;max-height:95dvh;overflow:auto}dialog::backdrop{background:#050909df;backdrop-filter:blur(8px)}.player-head{display:flex;justify-content:space-between;align-items:start}.player-head h2{margin:6px 0 20px}.player-head small{color:var(--green);letter-spacing:2px;font-size:10px}.player-head button{font-size:22px}.scorebar{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:15px}.scorebar b{color:var(--green);font:18px monospace;margin-left:6px}.scorebar button{border:1px solid #485340;padding:8px;border-radius:5px}canvas{display:block;background:#a5b781;width:100%;aspect-ratio:1;image-rendering:pixelated;touch-action:none;border-radius:4px}#message{color:var(--green);text-align:center;font-size:14px;min-height:16px}#instructions{color:#abb4b7;font-size:12px;line-height:1.6;text-align:center}#touch{text-align:center;user-select:none}#touch button{width:52px;height:40px;background:#303b32;margin:3px;border-radius:6px;font-size:20px;touch-action:none}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--green);outline-offset:4px}@media(max-width:1300px){header,main,footer{margin-left:5%;margin-right:5%}}@media(max-width:800px){.hero{padding:50px 0;gap:20px}.console{max-width:270px;padding:20px}.lcd{padding:8px}.console-top span{display:none}#cards{grid-template-columns:repeat(2,1fr)}nav{gap:15px}nav>a{display:none}.bottom b{display:none}h1{letter-spacing:-2px}.toolbar{flex-wrap:wrap}}@media(max-width:500px){header{height:80px}.brand{font-size:22px}.brand small{display:none}nav{gap:7px;font-size:11px}.hero{grid-template-columns:1fr;padding:40px 0}.hero h1{font-size:57px}.console{display:none}.intro{font-size:14px}h2{font-size:25px}.section-title{align-items:center}#count{font-size:9px;white-space:nowrap}#filters button{padding:9px 12px}input{width:100%}#cards{gap:12px}.art{height:125px}.art .glyph{font-size:50px}.card-body{padding:13px}.card h3{font-size:17px}.bottom{margin-top:40px}.bottom h2{font-size:18px}footer{gap:15px;line-height:1.7}}
.game-options{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:16px;color:#b5c0b4}.game-options select{font:inherit;border:1px solid #536343;background:#263126;color:#eff8e4;padding:10px;border-radius:6px;max-width:66%}.stage{position:relative}.stage #start-game{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;box-shadow:0 4px 45px #000b;white-space:nowrap}.stage #start-game[hidden]{display:none}.game-detail{min-height:14px;text-align:center;font:10px monospace;letter-spacing:1px;color:#a1b49a}#filters{flex-wrap:wrap}#touch button{width:60px;height:48px;border:1px solid #566448}#touch button:active{background:#8ba55e;color:#10200c}.player-head button{min-width:44px;min-height:44px}.scorebar button{min-height:44px}.favorite{min-width:44px;min-height:44px}.play{min-height:44px}.brand small{letter-spacing:1px}#message{line-height:1.5}#instructions{font-size:13px}.toolbar{flex-wrap:wrap}@media(max-width:600px){dialog{padding:14px;max-height:98dvh}.game-options{margin-bottom:10px}.player-head h2{font-size:24px;margin-bottom:12px}.scorebar{margin-bottom:10px}.stage{max-width:min(100%,44dvh);margin:auto}#touch button{height:44px;width:58px}#instructions{margin:8px 0}#message{margin:8px 0}.game-detail{margin:8px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}.card:hover{transform:none}}
@media (max-width:650px){.hero{grid-template-columns:1fr}.console{display:none}.hero h1{font-size:64px}.intro br{display:none}}
@media(min-width:601px){.stage{max-width:min(100%,calc(95dvh - 330px));margin:auto}#touch{display:flex;justify-content:center;align-items:center}#touch div{display:flex}#touch button{width:48px;height:44px}}
