.studio-game #game-area{display:block;position:relative;padding:20px}.studio-game .board{margin:18px auto;max-width:580px}.studio-help{font-size:13px;line-height:1.6;color:#445777;max-width:680px;margin:0 auto 14px}.studio-mini{font-size:13px;text-align:center;font-weight:700;color:#2540a1}.studio-tools,.studio-bottom{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:14px 0}.studio-tools button,.studio-bottom button{min-height:42px;font-size:13px}.studio-tools [aria-pressed=true]{background:#244be8;color:white}.studio-game .pixel-board{touch-action:none;border:2px solid #14244d;overflow:hidden;border-radius:6px}.studio-game .pixel-board .cell{min-height:0;aspect-ratio:1;border:1px solid #14244d18!important;border-radius:0!important;transition:none!important}.studio-game .pixel-board.no-grid .cell{border:0!important}.pixel-preview-wrap{display:flex;align-items:center;gap:20px;justify-content:center;flex-wrap:wrap;margin:20px auto}.pixel-preview{width:96px;height:96px;image-rendering:pixelated;border:1px solid #c5cde0}.pixel-preview-wrap label{display:grid;gap:8px;font-size:12px}.studio-share{border:2px solid #14244d;border-radius:18px;width:min(560px,90vw);padding:28px}.studio-share::backdrop{background:#14244dbb}.studio-share textarea{width:100%;resize:vertical;font:13px/1.6 monospace;padding:12px;margin:15px 0;box-sizing:border-box}.studio-share h2{font-size:24px}.studio-game .pipe-connected .pipe-svg path{stroke:#11977b}.studio-game .pipe-connected{background:#e4faf2!important}.studio-game .pipe-svg{transition:stroke .2s}.studio-game .maze-board{touch-action:none;gap:0!important;border:3px solid #14244d;overflow:hidden;border-radius:12px;max-width:560px}.studio-game .maze-board .cell{min-height:0;border-radius:0;font-size:clamp(12px,2vw,22px);padding:0;aspect-ratio:1}.studio-game .maze-board .visited{background:#e4eaff}.studio-game .maze-board .current{background:#244be8;color:#fff;text-shadow:0 1px 4px #0005}.studio-game .sudoku-board .peer{background:#edf0ff}.studio-game .sudoku-board .same-digit{background:#d2dbff;color:#132fb1}.studio-game .sudoku-board .selected{background:#ffe34c!important;color:#14244d}.studio-game .binary-zero{background:#e3ebff;color:#1746ce}.studio-game .binary-one{background:#fff0b5;color:#6b4600}.studio-game .binary-empty{background:white}.studio-game .given{font-weight:900;box-shadow:inset 0 -3px #14244d35}.studio-game .clue-complete{color:#087c62;background:#def7ec;text-decoration:line-through}.studio-game .plain-tiles .cell:not(.blank){background:#edf0ff!important;color:#14244d}.studio-game .plain-tiles .cell span{background:transparent;color:#14244d;font-size:clamp(22px,4vw,42px);font-weight:900}.studio-game .movable{cursor:pointer;box-shadow:inset 0 0 0 2px #3155e7}.studio-game [data-near="1"]{color:#244be8}.studio-game [data-near="2"]{color:#078260}.studio-game [data-near="3"]{color:#c23747}.studio-game [data-near="4"]{color:#814ec7}.studio-pause{position:absolute;inset:55px 0 0;z-index:20;background:#eef1ff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;border-radius:16px}.studio-pause strong{font-size:32px}.studio-game{position:relative}.studio-win{padding:20px;margin:16px;background:#fff0a5;border-radius:16px;border:2px solid #14244d;text-align:center}.studio-win h2{font-size:24px}.studio-win button{margin:5px}.studio-game .tile2048{transition:background .18s,color .18s}.studio-game #game-message:empty{display:none}.studio-game .numberpad{margin:15px auto}.studio-game [data-studio=result]{background:#244be8;color:white}@media(max-width:600px){.studio-game #game-area{padding:12px}.studio-help{font-size:11px}.studio-game .board{width:100%;margin:10px auto}.studio-tools{gap:5px}.studio-tools button{font-size:11px;padding:8px 10px}.studio-game .maze-board .cell{font-size:14px}.studio-bottom{padding:0 12px}.studio-win{margin:12px}.studio-game .palette{gap:6px;flex-wrap:wrap}.studio-game .palette button{width:28px;height:28px}.studio-game .nonogram-table{width:100%}.studio-share{padding:18px}.studio-game .plain-tiles .cell span{font-size:26px}}@media(prefers-reduced-motion:reduce){.studio-game *{animation:none!important;transition:none!important}}@media print{.studio-help,.studio-tools,.studio-bottom,.studio-win,.studio-pause,.pixel-preview-wrap,.studio-mini{display:none!important}}

.studio-game .picture-board{touch-action:none;user-select:none}.studio-game .palette{max-width:580px;margin:16px auto}.studio-game .tile2048{will-change:transform}.studio-game .game-bottom{justify-content:center}@media(max-width:600px){.studio-game .game-stats{font-size:11px}}

.studio-game .board>.cell{min-height:0!important;padding:0!important;aspect-ratio:1}.studio-game .picture-board{aspect-ratio:1!important;grid-auto-rows:1fr}.studio-game .picture-board .cell{height:auto!important}.studio-game .sudoku-board .cell{font-size:clamp(16px,4.5vw,28px)}.studio-game .sudoku-board .notes{font-size:10px}.studio-game .arrows{margin:14px auto}

.studio-game .plain-tiles .cell span{inset:0!important;display:grid!important;place-items:center;border:0!important;padding:0!important;width:100%;height:100%;border-radius:0}.studio-game .plain-tiles .blank{background:#14244d!important}
