#gameBoyButton{left:1150px;top:488px;width:78px;height:56px;z-index:7}#gameBoyButton svg{overflow:visible}.is-dark #gameBoyButton svg{filter:brightness(.22)}.is-dark #gameBoyButton .gb-screen{fill:#dbc051;filter:drop-shadow(0 0 3px #efc23888)}
.blocks-dialog{box-sizing:border-box;padding:0;width:min(570px,calc(100vw - 20px));max-width:none;max-height:calc(100dvh - 20px);border:2px solid #282521;border-radius:22px;background:#f5f3ef;color:#282521;box-shadow:7px 9px 0 #efc238;overflow:auto;overscroll-behavior:contain;font-family:Arial,Helvetica,sans-serif}.blocks-dialog::backdrop{background:#211e1b99;backdrop-filter:blur(5px)}.blocks-dialog[open]{display:block}.blocks-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px;gap:12px}.blocks-heading h2{font-size:21px;letter-spacing:-.04em;margin:0}.blocks-heading button{width:38px;height:38px;border:0;border-radius:50%;background:#efc238;color:#282521;font-size:25px;flex:none}.blocks-layout{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:16px;padding:0 18px}.blocks-board-wrap{position:relative;min-width:0;justify-self:center;width:100%;max-width:min(280px,calc((100dvh - 210px)/2))}.blocks-board{display:block;width:100%;height:auto;aspect-ratio:1/2;border:3px solid #282521;border-radius:7px;background:#302d28;touch-action:none}.blocks-sidebar{font-size:12px}.blocks-sidebar p{margin:0 0 16px;line-height:1.4}.blocks-sidebar strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.blocks-next{width:88px;height:88px;display:block;background:#e9e3d8;border-radius:8px;margin:6px 0 16px}.blocks-sidebar button,.blocks-overlay button{width:100%;min-height:40px;border:1px solid #282521;border-radius:8px;background:#efc238;color:#282521;font-size:12px;font-weight:600;padding:8px;margin-bottom:8px}.blocks-sidebar button.secondary{background:#fffdf8}.blocks-overlay{position:absolute;inset:3px;background:#282521de;color:#fffdf8;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:22px;text-align:center;border-radius:4px}.blocks-overlay strong{font-size:25px;letter-spacing:-.04em}.blocks-overlay p{font-size:13px;line-height:1.5;margin:0}.blocks-overlay button{max-width:180px;font-size:14px;margin:0}.blocks-controls{display:flex;justify-content:center;gap:8px;padding:14px 18px 0}.blocks-controls button{display:grid;place-items:center;min-width:46px;min-height:44px;border:1px solid #282521;border-radius:10px;background:#efc238;color:#282521;font-weight:bold;font-size:20px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.blocks-controls button[data-game-action=rotate]{min-width:72px;font-size:13px}.blocks-controls button[data-game-action=drop]{font-size:12px;min-width:68px}.blocks-controls button:active{background:#fffdf8;transform:translateY(1px)}.blocks-help{font-size:11px;line-height:1.55;color:#716a62;text-align:center;padding:10px 18px 15px;margin:0}.blocks-dialog button:focus-visible{outline:3px solid #b18512;outline-offset:2px}body.blocks-open{overflow:hidden}.blocks-open .studio-chat-launcher,.blocks-open #backToTop{visibility:hidden}
@media(max-width:600px){.blocks-dialog{width:min(430px,calc(100vw - 18px));border-radius:16px;box-shadow:4px 5px 0 #efc238}.blocks-heading{padding:10px 12px 8px}.blocks-heading h2{font-size:19px}.blocks-layout{grid-template-columns:minmax(0,1fr) 94px;gap:12px;padding:0 12px}.blocks-board-wrap{max-width:min(250px,calc((100dvh - 225px)/2))}.blocks-sidebar strong{font-size:23px}.blocks-sidebar p{margin-bottom:10px}.blocks-next{width:70px;height:70px;margin:4px 0 10px}.blocks-controls{padding:10px 10px 0;gap:6px}.blocks-controls button{min-width:42px;min-height:44px}.blocks-controls button[data-game-action=rotate]{min-width:64px}.blocks-controls button[data-game-action=drop]{min-width:62px}.blocks-help{padding:8px 12px 10px;font-size:10px}}@media(max-height:500px) and (orientation:landscape){.blocks-dialog{width:590px}.blocks-layout{grid-template-columns:160px 150px;justify-content:center}.blocks-board-wrap{max-width:135px}.blocks-help{padding:5px}.blocks-heading{padding:6px 12px}.blocks-controls{padding-top:6px}}
