.gametetris-board-layout{grid-template-columns:calc(var(--sheet-col)*4) calc(var(--sheet-col)*2);width:calc(var(--sheet-col)*6);align-items:start;display:grid}.gametetris-board{outline:none;min-width:0}.gametetris-grid{width:calc(var(--sheet-col)*4*var(--tetris-scale));grid-template-columns:repeat(10,minmax(0,1fr))}.gametetris-cell{height:var(--tetris-cell-height);-webkit-user-select:none;user-select:none;touch-action:none;padding:0}.gametetris-detail{margin-left:var(--sheet-col);transform:translateY(-27px)}.gametetris-next{width:var(--sheet-col);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.gametetris-next>.play-cell{height:27px;padding:0}.gametetris-mobile{width:calc(var(--sheet-col)*6);grid-template-columns:repeat(5,minmax(0,1fr));display:none}.gametetris-mobile button{min-height:40px;font:inherit;background:#fff;border:1px solid #dce2dc}.gametetris-error{white-space:normal;height:auto;width:calc(var(--sheet-col)*6)}.gametetris-record-note{white-space:normal;grid-column:span 3;height:auto;min-height:27px;font-size:11px}.gametetris-content select{width:100%;font:inherit;color:inherit;background:0 0;border:0}@media (max-width:900px){.gametetris-board-layout{order:3;grid-template-columns:repeat(6,minmax(0,1fr));width:100%}.gametetris-board{grid-column:span 4}.gametetris-detail{grid-column:span 2;margin-left:0;transform:none}.gametetris-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important}.gametetris-mobile{order:4;width:100%;display:grid}.gametetris-error{order:5}}.gametetris-solo-ranking{left:calc(var(--sheet-col)*7);width:calc(var(--sheet-col)*7);position:absolute;top:162px}.gametetris-solo-ranking .solo-ranking{width:100%;min-width:0}@media (max-width:900px){.gametetris-solo-ranking{order:2;width:100%;margin-top:27px;position:static}}.game2048-grid{width:calc(var(--sheet-col) * 4);grid-template-columns:repeat(4,minmax(0,1fr))}.game2048-cell{color:#344b3e;-webkit-user-select:none;user-select:none;touch-action:none;justify-content:center;align-items:center;height:108px;padding:0;font-size:24px;font-weight:600;display:flex}.game2048-mobile{width:calc(var(--sheet-col) * 4);grid-template-columns:repeat(4,minmax(0,1fr));display:none}.game2048-mobile button{background:#fff;border:1px solid #dce2dc;height:40px}.game2048-error{height:auto;min-height:27px;width:calc(var(--sheet-col) * 6);white-space:normal}@media (max-width:900px){.game2048-grid{width:calc(var(--sheet-col) * 4);order:3;grid-template-columns:repeat(4,minmax(0,1fr))!important}.game2048-cell{height:72px}.game2048-mobile{order:4;display:grid}.game2048-error{order:5}}.game2048-solo-ranking{left:calc(var(--sheet-col)*7);width:calc(var(--sheet-col)*7);position:absolute;top:162px}.game2048-solo-ranking .solo-ranking{width:100%;min-width:0}.game2048-content select{width:100%;font:inherit;color:inherit;background:0 0;border:0}@media (max-width:900px){.game2048-solo-ranking{order:2;width:100%;margin-top:27px;position:static}}.office-game-layout{min-height:459px;margin-top:27px;position:relative}.office-participants-scroll{width:calc(var(--sheet-col) * 9);max-width:100%;overflow-x:auto}.office-game-shell .office-participants{width:max-content;margin-bottom:0;grid-template-columns:repeat(var(--participant-columns),var(--sheet-col))!important}.office-game-shell .office-participants .play-cell{white-space:nowrap;height:27px;min-height:27px;padding:4px 8px;line-height:19px}.office-panel{width:calc(var(--sheet-col) * 15);--office-row:27px;position:relative}.office-panel.office-typing{width:calc(var(--sheet-col) * 16)}.office-ranking.typing-ranking{width:calc(var(--sheet-col) * 4);grid-template-columns:repeat(4,var(--sheet-col))}.office-ranking .ranking-title{grid-column:1/-1}.office-main{grid-template-columns:repeat(7,var(--sheet-col));width:calc(var(--sheet-col) * 7);display:grid}.office-panel .play-cell{height:var(--office-row);box-sizing:border-box}.office-row{display:contents}.office-span-two{grid-column:span 2}.office-span-three{grid-column:span 3}.office-span-five{grid-column:span 5}.office-span-six{grid-column:span 6}.office-span-seven{grid-column:span 7}.office-panel .office-note{height:calc(var(--office-row) * 2);white-space:normal;color:#78838f;overflow-wrap:anywhere;font-size:11px;line-height:20px}.office-panel .office-source{height:calc(var(--office-row) * 2);white-space:pre-wrap;overflow-wrap:anywhere;line-height:20px}.office-char-correct{color:#137333;text-underline-offset:3px;-webkit-text-decoration:underline #b7d8c0;text-decoration:underline #b7d8c0}.office-char-wrong{color:#b3261e;text-underline-offset:3px;background:#fce8e6;text-decoration:underline}.office-fx{color:#80868b;font-style:italic}.office-entry{padding:0!important}.office-entry:focus-within{box-shadow:inset 0 0 0 2px #1a73e8}.office-entry textarea{resize:none;width:100%;height:100%;font:inherit;white-space:pre;background:0 0;border:0;outline:0;padding:4px 8px;line-height:17px;display:block;overflow:auto}.office-entry textarea:disabled{background:#f8f9fa}.office-board{grid-column:span 7;grid-template-columns:repeat(7,var(--sheet-col));outline:none;display:grid}.office-board:focus-visible{outline-offset:-1px;outline:1px solid #1a73e8}.office-lane{text-align:center;padding:5px 2px!important;font-size:11px!important}.office-desk{background:#f2f3f4}.office-player{color:#1967d2;background:#e8f0fe;box-shadow:inset 0 0 0 2px #1a73e8}.office-center,.office-panel .control-cell>button{text-align:center}.office-ranking{left:calc(var(--sheet-col) * 12);grid-template-columns:repeat(3,var(--sheet-col));width:calc(var(--sheet-col) * 3);display:grid;position:absolute;top:0}.office-ranking.ranking-finished .play-cell:not(.ranking-title){background:#fff8d6}.office-error{height:calc(var(--office-row) * 2)!important;white-space:normal!important;line-height:20px!important}.office-room-chat{left:calc(var(--sheet-col) * 8);width:calc(var(--sheet-col) * 3);position:absolute;top:0}.office-room-chat .room-chat-sheet{--chat-col:var(--sheet-col);width:100%;margin:0}.office-game-shell>.game-cell-row{width:calc(var(--sheet-col) * 9)}.developer-preview-label{color:#8a6512!important}@media (max-width:900px){.office-game-layout{min-height:0}.office-room-chat{margin-top:27px;position:static}.office-room-chat,.office-game-shell>.game-cell-row{width:calc(var(--sheet-col) * 6);max-width:100%}.office-game-shell>.game-cell-row{grid-template-columns:repeat(6,var(--sheet-col));height:auto;min-height:27px;display:grid}.office-game-shell>.game-cell-row>.play-cell{width:auto;min-width:0}.office-game-shell>.game-cell-row>.current-room-name{grid-column:span 5}}.office-panel .office-source-label{height:calc(var(--office-row) * 2)}.office-panel .punch-scene{height:calc(var(--office-row) * 11);isolation:isolate;white-space:normal;color:#fff;background:#b8c5b5;border:0;outline:none;padding:0;font-family:ui-monospace,Consolas,monospace;position:relative;overflow:hidden}.punch-scene:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8}.punch-office-background{z-index:-1;image-rendering:pixelated;background:url(/pixel-office/office.webp?v=1) 50%/cover no-repeat;position:absolute;inset:0}.punch-hud{z-index:3;letter-spacing:.3px;color:#fff;text-shadow:-1px -1px #17212b,1px -1px #17212b,-1px 1px #17212b,1px 1px #17212b,0 2px #17212b;align-items:center;height:37px;padding:0 13px;font-size:13px;font-weight:700;display:flex;position:absolute;inset:0 0 auto}.punch-hud strong{color:#fff19c;font-size:17px}.punch-hud-stats{white-space:nowrap;gap:20px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.punch-hearts{letter-spacing:3px;color:#c53d45;font-size:20px}.punch-hearts span{color:#59665c}.punch-stage{pointer-events:none;width:100%;height:calc(100% - 37px);image-rendering:pixelated;position:absolute;inset:37px 0 0;overflow:hidden}.punch-actor{width:78px;height:78px;transition:left .1s linear;position:absolute;bottom:40px;transform:translate(-50%)}.punch-actor:after{content:"";z-index:-1;background:#1c282e40;border-radius:50%;width:50%;height:7px;position:absolute;bottom:2px;left:25%}.punch-sprite{width:100%;height:100%;image-rendering:pixelated;transform-origin:50%;background-image:url(/pixel-office/characters.png?v=3);background-repeat:no-repeat;background-size:400% 300%}.punch-hero{z-index:2;width:78px;height:78px}.punch-you{color:#fff;background:#17643c;padding:1px 8px;font-size:10px;position:absolute;top:-14px;left:50%;transform:translate(-50%);box-shadow:2px 2px #113624}.punch-walking .punch-sprite{animation:.3s steps(2,end) infinite punch-bob}.punch-hurt{animation:.2s steps(2,end) infinite punch-blink}.punch-swing{color:#fff3a7;text-shadow:3px 2px #dc962f;font-size:26px;line-height:1;animation:.35s steps(2,end) infinite punch-impact;position:absolute;top:30px;right:-6px}.punch-swing-left{left:-6px;right:auto}.punch-message{z-index:3;color:#343c36;white-space:nowrap;background:#fff9e8ed;border:2px solid #665b3d;padding:7px 15px;font-size:13px;font-weight:700;position:absolute;top:56px;left:50%;transform:translate(-50%);box-shadow:3px 3px #27303140}.punch-error{z-index:4;color:#a52b1a;background:#fff0e8;padding:5px 8px;font-size:11px;position:absolute;bottom:10px;left:10px;right:10px}.punch-controls button{color:#283e38;cursor:pointer;background:#f4f4dc;border:2px solid #d0d7c6;min-width:89px;height:29px;padding:0 10px;font:700 11px ui-monospace,Consolas,monospace;box-shadow:2px 2px #070f14}.punch-controls button:active:not(:disabled){transform:translate(1px,1px);box-shadow:1px 1px #070f14}.punch-controls button:disabled{opacity:.55;cursor:default}.punch-controls button:focus-visible{outline-offset:2px;outline:2px solid #79b5ff}@keyframes punch-bob{50%{translate:0 -2px}}@keyframes punch-impact{50%{opacity:.3;scale:.65}}@keyframes punch-blink{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.punch-actor{transition:none}.punch-walking .punch-sprite,.punch-hurt,.punch-swing{animation:none}}@media (max-width:900px){.office-panel,.office-panel.office-typing{width:calc(var(--sheet-col) * 6)}.office-main-scroll{scrollbar-width:none;width:100%;overflow-x:auto}.office-main-scroll::-webkit-scrollbar{display:none}.office-ranking{width:calc(var(--sheet-col) * 6);grid-template-columns:repeat(3,calc(var(--sheet-col) * 2));margin-top:27px;position:static}.office-ranking.typing-ranking{width:calc(var(--sheet-col) * 6);grid-template-columns:var(--sheet-col) calc(var(--sheet-col) * 2) var(--sheet-col) calc(var(--sheet-col) * 2)}.typing-ranking .word-header{padding-inline:4px;font-size:10px}.typing-ranking .numeric{padding-inline:4px}}.punch-help{color:#000;font-size:11px!important}.punch-player-hearts{z-index:3;white-space:nowrap;pointer-events:none;text-shadow:-1px -1px #17212b,1px -1px #17212b,-1px 1px #17212b,1px 1px #17212b;height:24px;line-height:24px;position:absolute;bottom:122px;left:50%;transform:translate(-50%)}
