*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:#eeece5}body{color:#3d4338;font-family:Arial,Helvetica,sans-serif}button{font:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}button:focus-visible{outline:2px solid #7c513e;outline-offset:5px}main{min-height:100svh;display:grid;place-items:center;padding:38px 16px;background:radial-gradient(ellipse at 48% 43%,#f7f5ef 0,#eeece5 65%,#e7e5de 100%)}.device-stage,.handheld{width:460px;height:690px;position:relative}.handheld{border-radius:27px 27px 65px 27px;background:linear-gradient(115deg,#ece9dd,#e9e5d8 50%,#ddd9cb);border:1px solid #d5d1c4;box-shadow:inset 2px 3px 3px #fffdf4,inset -3px -5px 5px #bcb9aa,5px 13px 17px #77726222,17px 36px 48px #6e675c24,0 3px 4px #736c6040;-webkit-user-select:none;user-select:none}.handheld:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.28' filter='url(%23n)'/%3E%3C/svg%3E")}.top-seam{position:absolute;left:22px;right:22px;top:12px;height:1px;background:#c3bfb155;box-shadow:0 1px #fff8}.power-control{position:absolute;top:25px;left:35px;display:flex;align-items:center;gap:8px;font-size:8px;font-weight:700;letter-spacing:1px;color:#74776a}.power-control button{width:44px;height:17px;padding:2px;border:1px solid #a6a697;border-radius:5px;background:#77796e;box-shadow:inset 1px 2px 3px #353a3466}.power-control button>span{display:block;width:21px;height:11px;border-radius:2px;background:repeating-linear-gradient(90deg,#a3a698 0 2px,#c0c1b4 2px 3px);box-shadow:0 1px 2px #262e2a;transition:transform .13s}.power-control button[aria-checked=true]>span{transform:translateX(16px)}.power-control>i{height:4px;width:4px;border-radius:50%;background:#90927f;margin-left:3px}.top-model{position:absolute;right:34px;top:29px;font-family:monospace;font-size:8px;letter-spacing:1.8px;color:#969789}.screen-bezel{position:absolute;top:64px;left:29px;width:400px;height:322px;background:linear-gradient(135deg,#555b50,#454d43);border-radius:13px 13px 34px 13px;padding:32px 28px 31px;border:1px solid #3e483b;box-shadow:0 2px 2px #fff9,inset 1px 2px 3px #313c3366,0 -1px 1px #929282}.bezel-top{position:absolute;top:14px;left:28px;right:28px;justify-content:space-between;font-size:7px;letter-spacing:1.7px;color:#b7bbae}.bezel-top,.bezel-top>div{display:flex;align-items:center}.bezel-top>div{gap:6px;font-size:6px;letter-spacing:1px}.bezel-top i{width:5px;height:5px;background:#343e32;border-radius:50%;box-shadow:inset 0 1px 2px #172014}.bezel-top i.lit{background:#b9c477;box-shadow:0 0 4px #c8d67b66}.lcd{height:258px;width:342px;background:#a9ae85;position:relative;overflow:hidden;color:#39452f;border:2px solid #323d30;box-shadow:inset 3px 4px 9px #303b3840,0 1px #9ca38c88;transition:background .25s}.lcd.powered{background:#c9cf83}.lcd.effects:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(0deg,transparent 0 2px,#39452f09 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#39452f08 2px 3px);mix-blend-mode:multiply;opacity:.55}.lcd-content{height:100%;padding:13px 13px 10px;display:flex;flex-direction:column;font-family:Courier New,monospace;font-weight:700;text-transform:uppercase;font-size:12px;letter-spacing:.25px}.lcd header{justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #718053;font-size:11px}.lcd header,.lcd header>span{display:flex;align-items:center}.lcd header>span{gap:8px;font-size:9px}.battery{display:inline-block;width:15px;height:7px;border:1px solid #39452f;position:relative;background:linear-gradient(90deg,#39452f 75%,transparent 0);box-shadow:inset 0 0 0 1px #c9cf83}.battery:after{content:"";position:absolute;right:-3px;top:1px;width:2px;height:3px;background:#39452f}.screen-main{flex:1 1;min-height:0;position:relative}.lcd footer{border-top:1px solid #718053;padding-top:8px;letter-spacing:0;white-space:nowrap}.menu{padding-top:12px}.menu-row{display:flex;align-items:center;min-height:34px;padding:0 7px 0 2px;gap:9px}.menu-row.selected{background:#71805321}.cursor{width:12px;font-size:10px}.menu-value{margin-left:auto}.game-preview{display:flex;align-items:center;gap:24px;margin:25px 17px;font-size:9px;line-height:1.7;opacity:.8}.mini-snake{font-size:25px;line-height:.5;letter-spacing:-2px}.memory-note{font-size:9px;line-height:1.8;margin:45px 24px 0;color:#718053}.about{padding:21px 10px}.about>strong{display:block;font-size:22px;letter-spacing:-1px}.about>span{font-size:8px}.about p{font-size:10px;line-height:1.8;margin-top:22px}.bezel-bottom{position:absolute;bottom:12px;left:29px;right:29px;display:flex;justify-content:space-between;font-size:6px;letter-spacing:2px;color:#a2aa98}.bezel-bottom>span:last-child{font-size:8px;font-style:italic}.brand{position:absolute;left:35px;top:405px}.brand>div{font-weight:800;font-size:24px;letter-spacing:-1.3px;color:#424b3e}.brand>div>span{font-weight:400}.brand i{font-size:9px;vertical-align:top;position:relative;top:3px;margin-left:5px;font-style:normal}.brand p{font-size:6px;letter-spacing:2.5px;margin:5px 0;color:#7d8172}.control-deck{position:absolute;left:38px;right:32px;top:478px;height:128px}.dpad{position:absolute;left:0;top:0;width:122px;height:122px;filter:drop-shadow(0 5px 2px #54574b55)}.dpad:before{content:"";position:absolute;inset:-7px;background:#d0d0c255;border-radius:50%;box-shadow:inset 0 1px 3px #979b8a26,0 1px 1px #fff7}.direction,.dpad-center{position:absolute;background:#343e36;border:0;box-shadow:inset 1px 2px 1px #677065,inset -1px -2px 1px #232d27;color:#737d6a}.dpad-center{left:40px;top:40px;width:42px;height:42px;box-shadow:none;z-index:2}.dpad-center:after{content:"";position:absolute;inset:10px;border-radius:50%;background:linear-gradient(135deg,#2b352e,#404b3f);box-shadow:inset 1px 1px 2px #222b2555,1px 1px 1px #727c5633}.direction{display:grid;place-items:center;width:42px;height:42px}.direction.up{top:0;left:40px;border-radius:5px 5px 0 0}.direction.down{bottom:0;left:40px;border-radius:0 0 5px 5px}.direction.left{top:40px;left:0;border-radius:5px 0 0 5px}.direction.right{top:40px;right:0;border-radius:0 5px 5px 0}.direction span{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid #77806a;opacity:.45}.direction.down span{transform:rotate(180deg)}.direction.left span{transform:rotate(-90deg)}.direction.right span{transform:rotate(90deg)}button[data-pressed=true]{transform:translateY(2px);filter:brightness(.86)}.action-buttons{position:absolute;right:0;top:0;width:148px;height:121px}.action-buttons:before{content:"";position:absolute;left:0;top:20px;width:153px;height:67px;transform:rotate(-25deg);border-radius:40px;background:#cecabe66;box-shadow:inset 1px 2px 3px #a7a69644,1px 2px 2px #faf7ed77}.action-unit{position:absolute;text-align:center}.action-b{left:5px;top:43px}.action-a{right:1px;top:7px}.action{width:57px;height:57px;border-radius:50%;background:linear-gradient(135deg,#894656,#703548);border:1px solid #633141;color:#c2929c;font-size:18px;font-weight:700;box-shadow:inset 1px 2px 2px #b1768277,inset -2px -3px 2px #522b3a,0 4px 0 #532d3b,0 6px 5px #5b514b66;text-shadow:0 1px #4d283477}.action-unit>span{display:block;margin-top:10px;color:#7e8071;font-size:9px;font-weight:700;transform:rotate(-22deg)}.system-buttons{position:absolute;top:611px;left:159px;display:flex;gap:18px;transform:rotate(-13deg)}.system-buttons>div{display:flex;flex-direction:column;align-items:center;gap:8px}.system-buttons button{width:39px;height:12px;border:1px solid #757d6b;border-radius:8px;background:linear-gradient(#a0a594,#858e7a);box-shadow:inset 0 1px 1px #d0d3ba,0 3px 0 #636e5e,0 4px 3px #797d6955}.system-buttons span{font-size:6px;letter-spacing:1px;color:#757d6b;font-weight:700}.speaker{position:absolute;right:38px;bottom:35px;display:flex;gap:7px;transform:rotate(-27deg)}.speaker i{display:block;width:5px;height:42px;border-radius:3px;background:#b0b3a1;box-shadow:inset 1px 2px 2px #6c745cbb,1px 1px 0 #f8f6e9}.speaker i:first-child,.speaker i:last-child{height:30px;margin-top:6px}.bottom-detail{position:absolute;bottom:24px;left:34px;font-size:5px;letter-spacing:1.1px;color:#989b8b}.bottom-detail i{display:block;margin-top:8px;width:21px;height:2px;background:#a7ad9699;border-radius:2px}.shell-line{position:absolute;bottom:13px;left:20px;width:260px;border-top:1px solid #a5a89333;box-shadow:0 1px #fffa}.boot{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Courier New,monospace}.boot strong{font-size:30px;letter-spacing:-2px;margin-top:10px}.boot>span{font-size:9px;font-weight:700}.boot small{font-size:9px;margin-top:32px}.boot-mark{font-size:17px;letter-spacing:3px}.boot-block{width:10px;height:14px;background:#39452f}.effects.flicker{animation:flicker .32s steps(2)}@keyframes flicker{0%,40%{opacity:.65}20%,65%,to{opacity:1}}.game-zone{height:100%;padding:7px 0}.scoreline{display:flex;justify-content:space-between;font-size:9px;margin-bottom:6px}.board{position:relative;border:1px solid #718053;line-height:0}.board svg{width:100%;display:block;max-height:143px}.food,.snake-head,.snake-pixel{fill:#39452f}.snake-head{fill:#202a20}.food-center{fill:#c9cf83}.ghost{display:none;fill:#718053;opacity:.16}.effects .ghost{display:block}.pause{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;background:#c9cf83e8;line-height:1}.pause strong{font-size:20px}.pause span{font-size:9px}.game-over{padding-top:20px;text-align:center}.game-over>strong{font-size:23px;letter-spacing:-1px}.game-over>div{display:flex;justify-content:center;gap:42px;margin-top:18px;font-size:9px}.game-over b{display:block;font-size:23px;margin-top:5px}.game-over p{font-size:9px;margin-top:19px}@media (max-height:800px) and (min-width:600px){main{padding:25px}.device-stage{zoom:.88}}@media (max-height:690px) and (min-width:600px){.device-stage{zoom:.76}}@media (max-width:510px){main{padding:24px 12px}.device-stage{zoom:calc((100vw - 32px) / 460px)}}@media (prefers-reduced-motion:reduce){*,:after{transition:none!important;animation:none!important}}.power-control button,.system-buttons button{position:relative}.power-control button:after{content:"";position:absolute;inset:-14px -5px}.system-buttons button:after{content:"";position:absolute;inset:-21px -8px}@media (max-width:510px){.lcd-content{font-size:13px}.lcd header{font-size:12px}.lcd footer{font-size:10px}.menu-row{min-height:34px}}.scroll-menu{position:relative;padding-top:6px;padding-right:12px;height:100%}.menu-window{height:170px;overflow:hidden}.menu-track{transition:transform 85ms linear}.scroll-menu .menu-row{height:34px;min-height:34px;white-space:nowrap}.scroll-indicator{position:absolute;right:-5px;top:14px;bottom:8px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-size:7px;color:#718053}.scroll-indicator>span:nth-child(2){writing-mode:vertical-rl;letter-spacing:1px}.lcd footer{white-space:normal;line-height:1.3;min-height:29px;max-height:33px;padding-top:5px;font-size:9px}.lcd header{flex-shrink:0}.lcd header strong{max-width:220px;overflow:hidden;white-space:nowrap}.lcd header>span{flex-shrink:0}.lcd-content{padding-top:10px;padding-bottom:7px}.lcd .screen-main{overflow:hidden}.collection{padding:18px 14px 0}.collection>strong{font-size:16px}.collection dl{margin:14px 0 10px;font-size:11px}.collection dl>div{display:flex;justify-content:space-between;padding:5px 0}.collection dd{margin:0}.collection small{display:flex;justify-content:space-between;font-size:9px;color:#718053}.reset-screen{padding:30px 8px;font-size:12px;text-align:center}.reset-screen>strong{font-size:15px}.reset-screen p{margin:22px 0}.lcd .about{padding-top:16px}.lcd .about>span{font-size:8px}.lcd .about p{margin-top:15px;line-height:1.7}.game-zone{padding:5px 0 0}.game-zone .scoreline{margin-bottom:4px}.game-zone .board svg{height:134px;max-height:134px;fill:#39452f}.game-hud{font-size:9px;line-height:13px;text-align:center;white-space:nowrap;padding-top:2px}.board .pixel{fill:#39452f}.board .pixel-muted{fill:#718053}.board .pixel-line{fill:none;stroke:#39452f;stroke-width:1.5}.board svg text{fill:#39452f;font-family:inherit;font-size:8px;font-weight:700}.board .cell-hidden{fill:#aab66f;stroke:#718053;stroke-width:.7}.board .cell-open{fill:#c9cf83;stroke:#aab66f;stroke-width:.5}.board .mine-number{font-size:12px}.board .cursor-outline{fill:none;stroke:#202a20;stroke-width:2}.board .goal{fill:none;stroke:#39452f;stroke-width:1}.board .box-cross{fill:none;stroke:#c9cf83;stroke-width:1}.board .river{fill:#718053;opacity:.3}.board .log{fill:#aab66f;stroke:#39452f;stroke-width:1}.board .car-window{fill:#c9cf83}.ready{gap:12px}.ready strong{font-size:19px}.ready span{font-size:10px}.ready span:last-child{margin-top:3px}.game-over{padding-top:17px}.game-over>strong{font-size:20px}.game-over p{margin-top:15px}.game-over>div{margin-top:16px;gap:32px}.lcd[lang=zh] .boot,.lcd[lang=zh] .lcd-content{font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;letter-spacing:.5px}.lcd[lang=zh] .menu-row{font-size:13px}.lcd[lang=zh] .about>span,.lcd[lang=zh] footer{font-size:10px}.lcd[lang=zh] .about p{font-size:11px}@media (max-width:510px){.lcd footer{font-size:9px}.lcd header{font-size:11px}}.desk-return{position:fixed;left:22px;top:16px;z-index:50;display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:8px 14px;border:1px solid #a1a592;border-radius:24px;background:#eeece5ed;color:#465143;text-decoration:none;font:600 10px/1.2 system-ui,sans-serif;letter-spacing:.08em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.desk-return>span{font-size:19px}.desk-return:focus-visible,.desk-return:hover{background:#465143;color:#eeece5}.desk-return:focus-visible{outline:3px solid #80384e;outline-offset:3px}@media(max-width:600px){.desk-return{left:12px;top:10px;min-height:36px;padding:5px 11px;font-size:8px}main{padding-top:58px!important}}