.table-sokoban .soko-play{background:#39493d;border-radius:16px;overflow:hidden;box-shadow:0 12px 34px #3c4a3326}.soko-hud{color:#fff0d4;background:#4b5744;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 15px;padding:12px 16px;display:flex}.soko-hud strong{letter-spacing:-.4px;font-size:19px}.soko-hud>span{font-size:12px}.table-sokoban .soko-hud .table-subline{color:#eee7cd;width:100%;margin:0}.table-sokoban .sokoban-surface{background:radial-gradient(at 50% 40%,#8a977a,#3c5143 85%);border:0;border-radius:0;width:100%;max-width:none;height:clamp(290px,43svh,440px);margin:0;padding:0;position:relative;container-type:size}.miniature-renderer{pointer-events:none;position:absolute;inset:0}.table-sokoban .sokoban-grid{outline-offset:-4px;background:0 0;border-radius:0;width:100%;max-width:none;height:100%;margin:0;padding:0;display:block;position:absolute;inset:0}.table-sokoban .sokoban-grid:focus-visible{outline:3px solid #ffe0a4}.table-sokoban .miniature-fallback{width:min(95cqw, calc(95cqh * var(--soko-ratio)));height:min(calc(95cqw / var(--soko-ratio)), 95cqh);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.table-sokoban .sokoban-grid:has(.miniature-renderer[data-ready=true]) .miniature-fallback{opacity:0;pointer-events:none}.table-sokoban .soko-map{grid-template-columns:repeat(var(--cells), minmax(0, 1fr));background:#c5cbae;gap:2px;height:100%;padding:5px;display:grid}.table-sokoban .soko-cell{width:auto;min-width:0;height:auto;min-height:0}.soko-console{background:#e8e8d9;padding:12px}.table-sokoban .soko-console .soko-pad{justify-content:center;gap:6px;margin:0 auto;display:flex}.table-sokoban .soko-pad button{width:48px;height:48px}.table-sokoban .soko-console .expansion-actions{margin:8px 0 0}.table-sokoban .soko-console .expansion-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.soko-feedback{text-align:center;color:#355341;min-height:17px;margin:8px 0 0;font-size:12px;line-height:1.4}.soko-play[data-status=won] .soko-hud{background:#567454}.game-is-fullscreen.table-sokoban{overflow:hidden}.game-is-fullscreen.table-sokoban .classic-play{padding:0}.game-is-fullscreen.table-sokoban .classic-play>:is(.table-score,.classic-controls,.classic-message){display:none}.game-is-fullscreen.table-sokoban .soko-play{height:calc(var(--game-view-height,100dvh) - 68px);grid-template-rows:auto minmax(0,1fr) auto;display:grid}.game-is-fullscreen.table-sokoban .sokoban-surface{height:100%}.game-is-fullscreen.table-sokoban .expansion-result{z-index:8;background:#f1f1df;width:min(300px,80vw);position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 25px #263d3066}.soko-paused{color:#fff0d4;z-index:5;background:#344b3cbb;place-content:center;justify-items:center;gap:14px;display:grid;position:absolute;inset:0}.soko-paused button{color:#244333;min-height:44px;font:inherit;background:#e8e8d9;border:1px solid #d2d6bf;border-radius:7px;padding:9px 20px}@media (max-width:540px){.table-sokoban .sokoban-surface{height:clamp(190px,100svh - 570px,300px)}.game-is-fullscreen.table-sokoban .sokoban-surface{height:100%}.soko-hud{padding:10px 12px}.soko-hud strong{font-size:17px}}@media (max-height:500px) and (min-width:541px){.game-is-fullscreen.table-sokoban .soko-play{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) 170px}.game-is-fullscreen.table-sokoban .soko-hud{grid-column:1;padding:7px 12px}.game-is-fullscreen.table-sokoban .soko-hud .table-subline{width:auto}.game-is-fullscreen.table-sokoban .sokoban-surface{grid-area:2/1}.game-is-fullscreen.table-sokoban .soko-console{grid-area:1/2/3;padding:8px;overflow:auto}.game-is-fullscreen.table-sokoban .soko-console .soko-pad{grid-template-columns:48px 48px;display:grid}.game-is-fullscreen.table-sokoban .expansion-actions{gap:5px;display:grid}.game-is-fullscreen.table-sokoban .expansion-actions button{padding:7px}}.soko-import{border:1px solid var(--site-line);border-radius:10px;margin:14px 0;padding:12px 16px}.soko-import summary{cursor:pointer;min-height:44px;font-weight:600}.soko-import label{gap:10px;display:grid}.soko-import input{max-width:100%;min-height:44px}.soko-import button{min-height:44px;margin:6px 8px 6px 0}.table-sokoban:not(.game-is-fullscreen) .classic-layout{grid-template-columns:minmax(0,1000px);gap:24px;padding-top:18px}.table-sokoban:not(.game-is-fullscreen) .classic-heading{margin-bottom:10px}.table-sokoban:not(.game-is-fullscreen) .classic-heading h1{margin:0 0 4px;font-size:32px}.table-sokoban .classic-category,.table-sokoban .table-score{display:none}.table-sokoban .soko-levelbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 0 12px;display:flex}.table-sokoban .campaign-level-controls,.table-sokoban .expansion-level{margin:0}.table-sokoban .expansion-level select{max-width:100%}.table-sokoban .soko-share{margin:0;font-size:13px}.table-sokoban .soko-share a{color:#244e3d;text-underline-offset:4px;align-items:center;min-height:44px;display:inline-flex}.table-sokoban:not(.game-is-fullscreen) .sokoban-surface{background:#dbe3d5;height:clamp(340px,55svh,640px)}.table-sokoban .soko-hud{color:#fff4d9;background:#233f34}.table-sokoban .soko-console{background:#edf0e6}.table-sokoban .soko-map{background:#5f625c;gap:0}.table-sokoban .soko-cell{background:0 0;border:0;border-radius:0;overflow:visible}.soko-legend{color:#365044;flex-wrap:wrap;justify-content:center;gap:12px 24px;margin:14px 0;font-size:12px;display:flex}.soko-legend>span{align-items:center;gap:7px;display:inline-flex}.soko-legend i{width:26px;height:26px;display:inline-block}.table-sokoban:not(.game-is-fullscreen) .classic-aside{border-top:1px solid #d4dece;padding-top:16px;display:block}.table-sokoban .classic-aside ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 32px}.table-sokoban .classic-aside h2{margin-top:0;font-size:20px}.table-sokoban .soko-import{margin:12px 0;padding:0 12px}@media (max-width:600px){.table-sokoban:not(.game-is-fullscreen){padding-left:12px;padding-right:12px}.table-sokoban:not(.game-is-fullscreen) .classic-layout{padding-top:10px}.table-sokoban:not(.game-is-fullscreen) .classic-heading h1{font-size:25px}.table-sokoban .classic-heading{gap:6px}.table-sokoban .soko-levelbar{gap:2px;margin-bottom:6px}.table-sokoban .expansion-level{gap:4px;font-size:12px}.table-sokoban .expansion-level select{min-width:0;max-width:72vw;padding:8px;font-size:12px}.table-sokoban .soko-share a{min-height:32px}.table-sokoban:not(.game-is-fullscreen) .sokoban-surface{height:clamp(280px,48svh,520px)}.table-sokoban .classic-aside ol{grid-template-columns:1fr}.soko-legend{gap:8px 12px;font-size:11px}.table-sokoban .soko-console{padding:8px}.table-sokoban .soko-pad button{width:48px;height:48px}}.game-is-fullscreen.table-sokoban :is(.soko-levelbar,.soko-legend){display:none}@media (max-width:600px){.table-sokoban:not(.game-is-fullscreen) .sokoban-surface{height:clamp(200px,100svh - 430px,360px)}.table-sokoban .campaign-level-controls{flex-wrap:nowrap;gap:8px;width:100%}.table-sokoban .campaign-level-controls .expansion-level{flex:1;min-width:0}.table-sokoban .expansion-level select{width:100%;max-width:none}.table-sokoban .soko-levelbar{margin-bottom:4px}}@media (orientation:portrait){.game-is-fullscreen.game-mobile-landscape.table-sokoban .soko-play{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) 170px}.game-is-fullscreen.game-mobile-landscape.table-sokoban .soko-hud{grid-column:1;padding:7px 12px}.game-is-fullscreen.game-mobile-landscape.table-sokoban .soko-hud .table-subline{width:auto}.game-is-fullscreen.game-mobile-landscape.table-sokoban .sokoban-surface{grid-area:2/1}.game-is-fullscreen.game-mobile-landscape.table-sokoban .soko-console{grid-area:1/2/3;padding:8px;overflow:auto}.game-is-fullscreen.game-mobile-landscape.table-sokoban .soko-console .soko-pad{grid-template-columns:48px 48px;display:grid}.game-is-fullscreen.game-mobile-landscape.table-sokoban .expansion-actions{gap:5px;display:grid}.game-is-fullscreen.game-mobile-landscape.table-sokoban .expansion-actions button{padding:7px}}.sokoban-grid{touch-action:none}.table-sokoban .soko-hud:has(.lp-stat){align-items:center;padding-block:8px}.table-sokoban .soko-hud .table-subline:has(.lp-stat){flex:auto;justify-content:flex-end;align-items:center;gap:6px;width:auto}.table-sokoban .soko-hud .lp-stat.lp-stat.lp-stat{--lp-stat-bg:#1d3529;--lp-stat-edge:#0f2219;--lp-stat-ink:#f6ecd2;--lp-stat-label:#9fc49a;font-size:12px}@media (max-width:560px){.table-sokoban .soko-hud .soko-campaign{display:none}}[data-game-screen].game-immersive.table-sokoban .soko-console .soko-pad{grid-template-rows:repeat(2,44px);grid-template-columns:repeat(3,44px);gap:2px;margin:0;display:grid}[data-game-screen].game-immersive.table-sokoban .soko-console .soko-pad button{width:44px;height:44px}[data-game-screen].game-immersive.table-sokoban .soko-pad button:first-child{grid-area:1/2}[data-game-screen].game-immersive.table-sokoban .soko-pad button:nth-child(n+2){grid-row:2}
