@import url('./arcade-base.css?v=18');
body.arcade-game{--game-accent:#d9fc74;margin:0;color:var(--arc-text);background:var(--arc-bg);font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;overscroll-behavior:none}body.game-miner{--game-accent:#edc96d}body.game-pelican{--game-accent:#a4e1de}body.game-boom{--game-accent:#ffa17d}body.game-pvz{--game-accent:#d9fc74}.arcade-game [hidden]{display:none!important}.arcade-game a{color:var(--game-accent);text-decoration:none}.arcade-game button,.arcade-game select{font-family:inherit;border:1px solid var(--arc-border);border-radius:4px;background:var(--arc-surface);color:var(--arc-text);min-height:42px;font-size:14px;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}.arcade-game button:hover:not(:disabled){background:#343c2b;border-color:var(--game-accent)}.arcade-game button:active:not(:disabled){transform:translateY(2px)}.arcade-game button:disabled{opacity:.38;cursor:default}.arcade-game :is(button,a,select,summary):focus-visible{outline:2px solid var(--game-accent);outline-offset:4px}.arcade-game .arcade-header{max-width:1400px;margin:auto;height:88px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 4%;border-bottom:1px solid var(--arc-border);background:var(--arc-bg)}.arcade-home{display:flex;align-items:center;gap:11px;min-height:44px;font-size:12px;color:var(--arc-muted)!important}.arcade-home b{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--game-accent);border-radius:50%;font:bold 31px/1 Georgia,serif;letter-spacing:-4px;padding-right:5px;color:var(--game-accent)}.arcade-home:hover{color:var(--arc-text)!important}.arcade-title{display:flex;align-items:center;gap:16px;margin-right:auto;margin-left:18px}.arcade-title h1{font-size:23px;margin:0;letter-spacing:-.04em;color:var(--arc-text);line-height:1.3}.arcade-title small{font-size:11px;letter-spacing:.08em;color:var(--arc-muted);display:block;margin-top:4px}.arcade-number{font-size:12px;align-self:stretch;display:flex;align-items:center;color:var(--game-accent);border-right:1px solid var(--arc-border);padding-right:16px}.arcade-header .header-meta{font-size:12px;color:var(--arc-muted)}.arcade-game footer{color:var(--arc-muted);font-size:12px;line-height:1.6;max-width:1200px;margin:16px auto;padding:0 22px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;height:auto}.arcade-game footer a{font-size:12px}.arcade-game #game-shell{background:var(--arc-bg);padding:15px 22px 0;max-width:1200px;margin:auto}.game-miner #checkpoint-status{font-size:12px!important;color:var(--arc-muted)!important;min-height:30px!important;padding:9px 15px 0;line-height:1.6}.game-miner #game-shell .game-actions{width:min(100%,960px);justify-content:flex-end;gap:8px;padding-bottom:12px;align-items:center}.game-miner .game-actions:before{content:'键盘 ↓ 出钩 · ↑ 炸药';font-size:12px;color:var(--arc-muted);margin-right:auto}.game-miner #game-shell #stage{width:min(100%,960px,calc((100dvh - 295px)*1.375));box-shadow:0 0 0 1px #6a6645,0 18px 60px #0005;background:#070807;aspect-ratio:550/400;min-height:0}.game-miner #status{background:#20231b;color:var(--arc-text);font-size:15px;line-height:1.7}.game-miner #status:not([hidden]):before{content:'GOLD MINER';letter-spacing:.2em;font-size:12px;color:var(--game-accent);margin-bottom:12px}.game-miner .touch-controls{max-width:650px;padding:17px 0 8px;gap:10px}.game-miner .touch-controls button{border-radius:5px;font-size:14px;min-height:52px;box-shadow:0 3px 0 #080a06}.game-miner .touch-controls .hook{background:var(--game-accent);color:#242311;border-color:var(--game-accent);font-size:16px}.game-miner .touch-controls button.held{background:#f9e4a5;color:#171914;box-shadow:none;transform:translateY(3px)}.game-miner #game-shell:fullscreen{max-width:none;width:100%;height:100%;padding:10px max(12px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.game-miner #game-shell:fullscreen #stage{width:min(100%,calc((100dvh - 142px)*1.375))}.game-miner #game-shell:fullscreen .game-actions{padding-bottom:7px}.game-miner #game-shell:fullscreen .touch-controls{padding:10px 0 0}.arcade-instructions{max-width:900px;margin:14px auto 20px;padding:0 22px;color:var(--arc-muted);font-size:14px;line-height:1.8}.arcade-instructions summary{cursor:pointer;width:fit-content;color:var(--game-accent);padding:8px 0}.arcade-instructions p{margin:5px 0 12px}.game-boom #game-shell{padding-top:12px}.game-boom .settings{width:100%;justify-content:flex-start;font-size:12px;padding:0 0 13px;gap:14px}.game-boom .settings select{font-size:12px;padding:6px 8px;min-height:38px}.game-boom .settings nav{margin-left:auto;gap:6px}.game-boom .settings nav button{padding:7px 12px;min-height:38px;font-size:12px}.game-boom #roster{color:var(--game-accent);font-size:12px}.game-boom #screen{width:min(100%,960px,calc((100dvh - 300px)*1.6));border-radius:3px;box-shadow:0 0 0 1px #625145,0 18px 60px #0005;overflow:hidden}.game-boom #start-screen{background:linear-gradient(90deg,#151912f2,#151912d9),url('./covers/mrboom.png') center/cover;color:var(--arc-text);gap:12px}.game-boom #start-screen h2{font-size:clamp(27px,4vw,52px);letter-spacing:-.05em;color:var(--arc-text)}.game-boom #start-screen .bomb-icon{display:none}.game-boom #start-screen p{color:var(--arc-muted);font-size:14px}.game-boom #launch{background:var(--game-accent);border-color:var(--game-accent);color:#211b15;font-size:16px;min-height:49px}.game-boom #lobby{color:var(--arc-text);background:#252b22;font-size:14px;min-height:42px}.game-boom #status{color:var(--arc-muted);font-size:12px}.game-boom #controls{padding:16px 0 10px;gap:14px;max-width:960px}.game-boom .actions{gap:8px}.game-boom .actions button{font-size:14px;min-height:56px;padding:8px 12px}.game-boom .actions small{font-size:11px;line-height:1.5;margin-top:4px}.game-boom .actions .drop{background:var(--game-accent);border-color:var(--game-accent);color:#211b15;min-width:124px}.game-boom .dpad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,42px);gap:4px}.game-boom .dpad button{min-height:42px}.game-boom #hint{font-size:12px;line-height:1.7;color:var(--arc-muted);padding:0 0 8px}.game-boom #help{font-size:14px;max-width:1004px;margin:10px auto;padding:0 22px;color:var(--arc-muted);line-height:1.8}.game-boom #help summary{color:var(--game-accent);padding:8px 0}.game-boom #game-shell:fullscreen{max-width:none;width:100%;height:100%;padding:10px max(12px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.game-boom #game-shell:fullscreen #screen{width:min(100%,calc((100dvh - 210px)*1.6))}
/* PvZ's reserved toolbar is inside the actual fullscreen/sizing container. */
.game-pvz #canvas-container{background:var(--arc-bg);padding:calc(env(safe-area-inset-top) + 86px) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.game-pvz #save-toolbar{top:env(safe-area-inset-top);left:0;right:0;max-width:none;min-height:72px;gap:10px;padding:12px 24px;border-bottom:1px solid var(--arc-border);background:var(--arc-bg);flex-wrap:nowrap}.game-pvz #save-toolbar .arcade-home{margin:0;padding:0;min-width:0;white-space:nowrap}.game-pvz #save-toolbar .arcade-title{margin-left:8px;margin-right:auto}.game-pvz #save-toolbar h1{font-size:20px;margin:0}.game-pvz #save-toolbar button{font-size:13px;padding:8px 15px;color:var(--arc-text);background:var(--arc-surface);border-color:var(--arc-border);border-radius:4px;white-space:nowrap}.game-pvz #boot-status{background:var(--arc-bg);color:var(--arc-text);font-family:inherit;gap:16px}.game-pvz #boot-status:before{border-top-color:var(--game-accent)}.game-pvz #boot-status:after{content:'植物大战僵尸 / MIKEY PLAYROOM';color:var(--arc-muted);font-size:11px;letter-spacing:.06em}.game-pvz #boot-text{font-size:16px}.game-pvz #boot-retry{background:var(--game-accent);color:#171914;border-color:var(--game-accent)}.game-pvz #mobile-hint{bottom:3px;font-size:11px;color:var(--arc-muted)}
/* Pelican retains its full-size 3D scene. Dark glass HUD, lighter racing controls. */
.game-pelican #arena{height:calc(100dvh - 128px);min-height:0;background:#8ccbd0}.game-pelican .top-hud,.game-pelican .leaderboard,.game-pelican .energy{background:#171e1cee;border:1px solid #c3e8e32c;color:#f2f3eb;border-radius:5px;box-shadow:0 8px 32px #07110d20}.game-pelican .top-hud{top:24px;padding:16px 0;left:3%}.game-pelican .stat{border-color:#49534a;padding:0 22px}.game-pelican .stat small,.game-pelican .stat em,.game-pelican .leaderboard>small,.game-pelican .position,.game-pelican .energy small{color:#b6c9c0}.game-pelican .stat small{font-size:12px}.game-pelican .camera-tools{top:24px;right:3%}.game-pelican .camera-tools button{background:#171e1cee;color:#f2f3eb;border-radius:4px;font-size:12px;box-shadow:none}.game-pelican .camera-tools button.active{background:var(--game-accent);color:#132522}.game-pelican .panel{background:#171e1cf2;color:#f2f3eb;left:3%;border:1px solid #cedec23b;border-radius:6px;padding:26px;box-shadow:0 12px 50px #07110d40;max-height:calc(100% - 240px);overflow:auto}.game-pelican .panel .tag{color:var(--game-accent);font-size:11px;font-weight:500}.game-pelican .panel h1{font-size:48px;line-height:1.15;color:#f2f3eb;margin:18px 0;letter-spacing:-.05em}.game-pelican .panel h1 span{color:var(--game-accent)}.game-pelican .panel p{color:#b6c9c0;font-size:14px}.game-pelican .rule{font-size:13px;gap:9px;grid-template-columns:110px 1fr}.game-pelican .rule b{font-size:12px;border:1px solid #4a5d50;background:#293a30;color:var(--game-accent);border-radius:3px}.game-pelican .primary{background:var(--game-accent);color:#14221c;border:1px solid var(--game-accent);border-radius:4px;box-shadow:0 3px 0 #091c12;font-weight:750}.game-pelican .primary:hover{background:#c4f3e5}.game-pelican .intro-tip{font-size:11px;color:#b6c9c0}.game-pelican .leaderboard{right:3%;top:98px}.game-pelican .leaderboard li{font-size:13px}.game-pelican .speed{color:#13362e;text-shadow:0 1px 12px #ffffff80}.game-pelican .speed #boost-status{color:#17362c;background:#edf5e5cc;border-radius:3px;padding:3px 6px}.game-pelican .bar{background:#41594b;border-radius:2px}.game-pelican .bar i{background:var(--game-accent);border-radius:2px}.game-pelican .energy small{font-size:11px}.game-pelican .camera-tip{color:#193d30;border-radius:4px;background:#eff5e7cc}.game-pelican .touch-controls button{border-radius:5px;border:1px solid #57796a;box-shadow:0 4px 0 #15352760;font-size:15px}.game-pelican .touch-controls #pedal{background:#182d24;color:#f2f3eb}.game-pelican .touch-controls #boost{background:#e6f2a4;color:#26341c}.game-pelican .steer button{background:#e8f1e7;color:#17332a}.game-pelican .pedals small{font-size:11px}.game-pelican .result{left:50%;top:50%;max-height:90%}.game-pelican .result h2{color:var(--arc-text)}.game-pelican #help-dialog{background:var(--arc-bg);color:var(--arc-text);border:1px solid var(--arc-border);border-radius:6px;padding:30px}.game-pelican #help-dialog p{font-size:14px;color:var(--arc-muted)}.game-pelican #help-dialog::backdrop{background:#060b08b0;backdrop-filter:blur(7px)}.game-pelican #loading{background:#182b22;color:#d2ecd8;font-size:15px}.game-pelican #progress-track{background:#ffffff40}.game-pelican #progress{background:var(--game-accent)}
@media(max-width:760px){.arcade-game .arcade-header{height:68px;padding:10px 16px;gap:12px}.arcade-home{gap:8px;font-size:11px}.arcade-home b{width:34px;height:34px;font-size:27px}.arcade-title{margin-left:0;gap:10px}.arcade-title h1{font-size:18px}.arcade-title small,.arcade-header .header-meta,.arcade-number{display:none}.arcade-game footer{padding:0 16px;margin:10px auto;justify-content:center;text-align:center;font-size:11px}.arcade-game #game-shell{padding:12px 14px 0}.game-miner #game-shell #stage{width:min(100%,calc((100dvh - 250px)*1.375))}.game-miner #game-shell .game-actions{gap:6px;padding-bottom:12px}.game-miner .game-actions button{font-size:12px;padding:7px 10px;min-height:38px}.game-miner .game-actions:before{font-size:11px;max-width:40%;line-height:1.5}.game-miner .touch-controls{gap:7px;padding:13px 0 5px}.game-miner .touch-controls button{padding:8px;min-width:44px}.game-boom .settings{gap:8px;justify-content:space-between;padding-bottom:12px}.game-boom .settings label{gap:5px;font-size:11px}.game-boom .settings select{font-size:11px;max-width:190px;min-height:36px}.game-boom .settings nav{margin-left:0}.game-boom .settings nav button{font-size:11px;min-height:36px;padding:6px 9px}.game-boom #roster{font-size:11px}.game-boom #screen{width:100%}.game-boom #controls{gap:12px;padding:13px 0 10px;align-items:center}.game-boom .dpad{grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,44px)}.game-boom .dpad button{min-height:44px}.game-boom .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:220px;flex:1}.game-boom .actions button{font-size:12px;min-height:48px;padding:5px 6px;min-width:0}.game-boom .actions small{font-size:10px;line-height:1.4}.game-boom .actions .drop{min-width:0;grid-column:1/-1}.game-boom #hint{font-size:12px;text-align:left}.game-boom #start-screen{gap:8px;padding:14px}.game-boom #start-screen h2{font-size:29px}.game-boom #start-screen p{font-size:12px}.game-boom #launch{font-size:14px;min-height:42px;padding:8px 15px}.game-boom #lobby{min-height:36px;font-size:12px}.game-boom #status{font-size:10px}.game-pvz #canvas-container{padding-top:calc(env(safe-area-inset-top) + 74px);padding-right:8px;padding-left:8px}.game-pvz #save-toolbar{min-height:62px;padding:8px 12px;gap:7px}.game-pvz #save-toolbar .arcade-home span{display:none}.game-pvz #save-toolbar .arcade-title{margin-left:0}.game-pvz #save-toolbar h1{font-size:16px}.game-pvz #save-toolbar button{font-size:11px;min-height:38px;padding:7px 9px}.game-pelican #arena{height:calc(100dvh - 100px);min-height:0}.game-pelican .top-hud{top:12px;left:12px;padding:11px 0}.game-pelican .stat{padding:0 12px;min-width:64px}.game-pelican .stat small{font-size:11px}.game-pelican .stat strong{font-size:22px}.game-pelican .time strong{font-size:18px}.game-pelican .fish-stat{padding:0 12px;font-size:18px}.game-pelican .camera-tools{top:96px;right:12px}.game-pelican .camera-tools button{font-size:11px;padding:7px 10px;min-height:36px}.game-pelican .panel:not(.result){left:12px;top:144px;width:240px;max-height:calc(100% - 240px);padding:17px}.game-pelican .panel h1{font-size:32px;margin:10px 0}.game-pelican .panel p{font-size:12px;margin-bottom:12px}.game-pelican .rule{font-size:12px;grid-template-columns:94px 1fr;gap:7px;margin-bottom:16px}.game-pelican .rule b{font-size:11px}.game-pelican .leaderboard{right:12px;top:148px;min-width:100px;padding:10px}.game-pelican .leaderboard li{font-size:11px}.game-pelican .bottom-hud{left:12px;right:12px;bottom:89px}.game-pelican .energy{max-width:170px;padding:10px 12px}.game-pelican .energy small{font-size:10px;white-space:normal}.game-pelican .touch-controls{left:12px;right:12px}.game-pelican .touch-controls button{font-size:14px}.game-pelican .result{max-height:90%;width:90%}.game-pelican footer{height:32px;margin:0}}
@media(max-width:650px) and (orientation:portrait){.game-miner #game-shell #stage{width:100%}.game-pelican .leaderboard{display:none}.game-boom #controls{align-items:center}.arcade-game .arcade-header .header-meta{display:none}}
@media(max-height:540px) and (orientation:landscape){.arcade-game .arcade-header{height:42px;padding:5px 14px}.arcade-home b{width:29px;height:29px;font-size:24px}.arcade-title h1{font-size:16px}.arcade-title small,.arcade-header .header-meta,.arcade-number{display:none}.arcade-game footer,.arcade-game .arcade-instructions,.game-boom #help{display:none}.game-miner #checkpoint-status{padding:4px 8px 0;min-height:22px!important;font-size:10px!important}.arcade-game #game-shell{padding:5px 12px 0}.game-miner #game-shell .game-actions{padding-bottom:6px;gap:6px}.game-miner .game-actions button{min-height:32px;font-size:11px;padding:4px 10px}.game-miner #game-shell #stage{width:min(100%,calc((100dvh - 172px)*1.375))}.game-miner .touch-controls{padding:8px 0 0;max-width:560px}.game-miner .touch-controls button{min-height:40px;font-size:13px}.game-miner #game-shell:fullscreen #stage{width:min(100%,calc((100dvh - 116px)*1.375))}.game-boom .settings{padding-bottom:5px;gap:7px;flex-wrap:nowrap}.game-boom .settings label{font-size:10px;gap:4px}.game-boom .settings select{min-height:30px;font-size:10px;padding:4px;max-width:167px}.game-boom .settings nav{margin-left:auto}.game-boom .settings nav button{min-height:30px;padding:4px 8px;font-size:10px}.game-boom #roster{display:none}.game-boom #screen{width:min(100%,calc((100dvh - 183px)*1.6))}.game-boom #controls{padding:7px 0 4px;gap:12px;width:100%;max-width:950px}.game-boom .dpad{grid-template-columns:repeat(3,38px);grid-template-rows:repeat(2,33px);gap:3px}.game-boom .dpad button{min-height:33px;font-size:12px}.game-boom .actions{display:flex;gap:5px;max-width:none;flex:0}.game-boom .actions button{min-height:45px;padding:5px 7px;font-size:11px}.game-boom .actions small{font-size:9px}.game-boom #hint{font-size:10px;line-height:1.5;padding:0 0 3px}.game-boom #start-screen h2,.game-boom #start-screen p{display:none}.game-boom #start-screen{gap:6px;padding:8px}.game-boom #launch{min-height:35px;font-size:12px}.game-boom #lobby{min-height:31px;font-size:11px;padding:5px 10px}.game-boom #status{font-size:9px}.game-boom #game-shell:fullscreen #screen{width:min(100%,calc((100dvh - 150px)*1.6))}.game-pvz #canvas-container{padding-top:calc(env(safe-area-inset-top) + 49px);padding-bottom:env(safe-area-inset-bottom)}.game-pvz #save-toolbar{min-height:43px;padding:4px 12px}.game-pvz #save-toolbar h1{font-size:15px}.game-pvz #save-toolbar button{min-height:32px;font-size:11px;padding:4px 10px}.game-pelican #arena{height:calc(100dvh - 42px)}.game-pelican .top-hud{top:8px;left:12px;padding:6px 0}.game-pelican .stat{padding:0 10px;min-width:58px}.game-pelican .stat small{font-size:9px;margin-bottom:4px}.game-pelican .stat strong,.game-pelican .time strong{font-size:18px}.game-pelican .camera-tools{top:8px;right:12px}.game-pelican .camera-tools button{min-height:32px;padding:6px 9px;font-size:10px}.game-pelican .panel:not(.result){left:12px;top:64px;width:245px;padding:12px;max-height:calc(100% - 135px)}.game-pelican .panel h1{font-size:23px;margin:3px 0 10px}.game-pelican .panel p,.game-pelican .panel .tag,.game-pelican .panel .rule{display:none}.game-pelican .leaderboard{top:52px;right:12px;padding:8px}.game-pelican .leaderboard li{font-size:10px}.game-pelican .bottom-hud{left:50%;right:auto;bottom:76px;gap:10px}.game-pelican .energy{width:130px;padding:7px 10px}.game-pelican .energy small{display:none}.game-pelican .touch-controls button{min-height:45px;font-size:13px}.game-pelican .result{max-height:94%}.game-pelican .result p{display:block}}

/* Primary race action precedes secondary instructions, including short screens. */
.game-pelican #intro #start{margin:2px 0 17px;flex:none}.game-pelican #intro{display:flex;flex-direction:column}.game-pelican #intro[hidden]{display:none!important}@media(max-width:760px){.game-pelican #intro .tag{display:none}.game-pelican #intro h1{font-size:28px;margin:2px 0 12px}.game-pelican #intro #start{margin:0 0 13px;min-height:44px}.game-pelican #intro{padding:14px}}@media(max-height:540px) and (orientation:landscape){.game-pelican #intro h1{font-size:21px;margin:0 0 8px}.game-pelican #intro h1 br{display:none}.game-pelican #intro #start{min-height:40px;margin:0;padding:7px 12px}}
