.arcade-page{max-width:1120px}.arcade-page .game-top{align-items:center}.switch-game{font-size:14px;white-space:nowrap;font-weight:700}.arcade-page .page-intro{margin:12px 0 24px}.arcade-hud{display:flex;align-items:center;gap:32px;background:#e8eddf;padding:17px 23px;border-radius:14px;margin-bottom:20px}.arcade-hud>div:not(.hud-actions){display:grid;gap:4px;min-width:70px}.arcade-hud span{font-size:12px;color:#50685c}.arcade-hud strong{font-size:22px;font-variant-numeric:tabular-nums}.hud-actions{margin-left:auto;display:flex;gap:8px}.hud-actions .reset{background:#faf8f0}.reset:disabled{opacity:.45}.catch-mission{display:flex;gap:18px;align-items:center;margin-bottom:18px}.catch-mission>div:first-child{width:64px;flex-shrink:0}.catch-mission span{font-size:12px;color:#50685c}.catch-mission p{font-size:22px;font-weight:750;margin:5px 0 8px;line-height:1.6}.catch-mission strong{font-size:15px}.catch-field{position:relative;overflow:hidden;border-radius:18px;border:1px solid #c6d7bd}.catch-field canvas{width:100%;height:420px;display:block;touch-action:none;cursor:grab}.catch-field canvas:active{cursor:grabbing}.catch-toast{position:absolute;left:15%;right:15%;top:13px;text-align:center;background:#fffdf0e8;border-radius:9px;padding:9px 13px;font-size:13px;pointer-events:none;line-height:1.6}.arcade-overlay{position:absolute;inset:0;background:#f9f8eef5;z-index:12;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px}.arcade-overlay[hidden]{display:none}.arcade-overlay h2{font-size:29px;margin:8px 0 10px;line-height:1.4}.arcade-overlay p{max-width:420px;font-size:16px;line-height:1.9;margin:0 0 22px}.arcade-overlay .text-link{margin-top:20px;font-size:14px}.overlay-sprout .sprout{width:65px;height:72px}.slow-option{font-size:14px;margin-top:20px;display:flex;gap:9px;align-items:center}.slow-option input{accent-color:#194e42;width:18px;height:18px}.catch-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px}.move-button{border:1px solid #bcccae;border-radius:12px;background:#e5edda;color:#194e42;font-size:30px;min-width:90px;height:56px;touch-action:none;user-select:none}.move-button:active{background:#b5d29e}.catch-controls p{text-align:center;font-size:15px;margin:0;line-height:1.7}.catch-controls p span{font-size:12px;color:#50685c}.arcade-note{font-size:13px;line-height:1.9;color:#50685c;margin:23px 0 0}.build-intro h2{font-size:25px;margin:8px 0}.build-intro p{margin:0 0 18px;font-size:15px;line-height:1.8}.build-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:15px}.build-toolbar .button{font-size:14px;padding:10px 17px}.build-toolbar span{font-size:13px;margin-left:auto}.build-toolbar .button:disabled{background:#738c7a}.bridge-world{position:relative;width:100%;height:555px;border-radius:18px;overflow:hidden;background:#edf4ed;border:1px solid #c6d7bd;isolation:isolate}.river{position:absolute;top:170px;left:0;right:0;height:145px;background:#c2e0e5;border-bottom:12px solid #b2d5db}.river:before,.river:after{content:'';position:absolute;left:15%;width:70%;height:1px;background:#e7f5f6;top:65px;box-shadow:40px 30px #e7f5f6,-40px 60px #e7f5f6}.bank{position:absolute;top:var(--grid-y);height:180px;width:var(--grid-x);background:#c3d9ad;border-top:10px solid #8bad72}.bank-left{left:0;border-radius:0 14px 20px 0}.bank-right{right:0;border-radius:14px 0 0 20px}.bridge-targets span{position:absolute;border:2px dashed #607a69;background:#fffdf066;z-index:1;border-radius:5px}.bridge-walker{position:absolute;z-index:6;pointer-events:none}.bridge-walker .sprout{width:43px;height:48px}.finish-flag{position:absolute;right:13px;top:95px;font-size:12px;font-weight:700;border-bottom:2px solid #194e42;padding:5px}.tray-label{position:absolute;left:20px;bottom:228px;font-size:13px;color:#526b58}.bridge-piece{position:absolute;border:0;background:none;padding:0;touch-action:none;cursor:grab;z-index:3;user-select:none;-webkit-user-select:none;outline-offset:4px}.bridge-piece.selected{z-index:5;filter:drop-shadow(0 4px 4px #194e422d)}.bridge-piece.dragging{cursor:grabbing;z-index:10}.bridge-piece .wood-cell{position:absolute;display:block;background:var(--block-color);border:2px solid #fff3d5;border-radius:6px;box-shadow:inset 0 -5px #194e421c;pointer-events:none}.wood-cell i{position:absolute;width:12px;height:12px;border-radius:50%;left:calc(50% - 6px);top:calc(50% - 6px);border:1px solid #194e4233;background:#fff8dc33}.bridge-piece.selected .wood-cell{border-color:#194e42}.bridge-piece.placed .wood-cell{border-color:#fff9e3}.build-feedback{font-size:15px;line-height:1.9;background:#e5eddb;padding:14px 18px;border-radius:12px;min-height:58px}.game-panel .game-copy h3{white-space:normal}.game-preview-tag{display:inline-block;font-size:12px;padding:4px 8px;border:1px solid #94aa85;border-radius:6px;margin:0 0 12px}
@media(max-width:700px){.arcade-page{padding:22px 15px 40px}.arcade-page .game-top{display:block}.arcade-page h1{font-size:30px}.switch-game{display:inline-block;font-size:13px;margin:0 0 20px}.arcade-hud{padding:14px;gap:20px;flex-wrap:wrap;margin-bottom:18px}.arcade-hud>div:not(.hud-actions){min-width:65px;flex:1}.arcade-hud strong{font-size:19px}.hud-actions{width:100%;margin:0;justify-content:flex-end}.hud-actions .reset{flex:1;padding:8px;font-size:12px;min-height:40px}.catch-mission{gap:12px}.catch-mission>div:first-child{width:49px}.catch-mission p{font-size:17px;line-height:1.7}.catch-mission strong{font-size:13px}.catch-field canvas{height:400px}.catch-toast{left:10px;right:10px;font-size:12px;padding:7px 10px}.arcade-overlay h2{font-size:24px}.arcade-overlay p{font-size:14px}.arcade-overlay{padding:23px}.catch-controls{gap:10px}.move-button{min-width:58px;height:52px}.catch-controls p{font-size:13px}.catch-controls p span{font-size:11px}.arcade-note{font-size:12px}.build-intro h2{font-size:23px}.build-intro p{font-size:14px}.build-toolbar{gap:8px;flex-wrap:wrap}.build-toolbar span{width:100%;margin:3px 0 0;font-size:12px}.build-toolbar .button,.build-toolbar .reset{font-size:13px}.bridge-world{height:500px}.tray-label{bottom:180px;left:14px;font-size:12px}.build-feedback{font-size:13px}.bridge-walker .sprout{width:36px;height:42px}.finish-flag{font-size:11px;right:7px}.bridge-piece .wood-cell{border-width:1.5px}}

.bridge-preview{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(3,1fr);gap:2px;aspect-ratio:1.6;align-self:center;transform:rotate(-4deg)}.bridge-preview span{background:#e8b65b;border-radius:4px;border:1px solid #fff8e1;box-shadow:inset 0 -4px #b9824233}.bridge-preview span:nth-child(3n){background:#79b4b5}.bridge-preview span:nth-child(3n + 1){background:#dd977b}

.build-toolbar{position:sticky;top:8px;z-index:15;background:var(--paper);padding:8px 0}
