:root{--accent:#a6573f}.size-switch{display:flex;border:1px solid #c9ccbf;flex-shrink:0}.size-switch button{background:transparent;border:0;min-width:60px;min-height:44px;font:12px ui-monospace,monospace;padding:8px}.size-switch button[aria-pressed=true]{color:#f4f0e7;background:#596650}.picture-frame{background:#e7e4db;padding:17px 17px 11px;border:1px solid #c9c5b9;box-shadow:0 4px 0 #d8d2c3}.slide-board{display:grid;grid-template-columns:repeat(var(--size,3),1fr);gap:5px;background:#555f4b;border:5px solid #555f4b;position:relative;width:100%;aspect-ratio:1;user-select:none;border-radius:1px;touch-action:manipulation}.tile{position:relative;display:flex;align-items:flex-start;justify-content:flex-start;aspect-ratio:1;border:0;background-image:url('garden.svg');background-size:calc(var(--size)*100%) calc(var(--size)*100%);background-position:var(--bx) var(--by);padding:6px;box-shadow:inset 0 0 0 1px #fff4,inset 0 -3px 0 #523f2a22,0 1px 2px #17211240;min-width:0;min-height:0;border-radius:1px;transition:filter .13s,transform .13s}.tile span{display:flex;align-items:center;justify-content:center;min-width:22px;height:24px;background:#f4eddbdf;border:1px solid #f5edda66;border-radius:1px;font:15px/1 var(--serif);color:#393d32;box-shadow:0 1px 0 #433e2b22}.tile.movable{cursor:pointer}.tile:not(.movable){cursor:default}.tile.movable:hover{filter:brightness(1.08)}.tile.movable:active{transform:scale(.97)}.tile.hinted{outline:3px solid #a33f28;outline-offset:-4px;z-index:2;animation:hint-pulse 1.2s ease-in-out 2}.tile.target{outline:3px dashed #f4e8c8;outline-offset:-5px;z-index:1}.tile.empty{background-image:none;background-color:#56634d;box-shadow:inset 0 0 0 1px #c9d1bc20;align-items:center;justify-content:center;cursor:default}.tile.empty::after{content:'+';font:25px/1 var(--serif);color:#c0c9b24d}.slide-board.solved .tile.empty{background-image:url('garden.svg');background-position:100% 100%;background-size:calc(var(--size)*100%) calc(var(--size)*100%)}.slide-board.solved .tile.empty::after{content:none}.slide-board.solved .tile{filter:saturate(1.08)}.picture-caption{display:flex;justify-content:space-between;gap:10px;font:8px/1.5 ui-monospace,monospace;color:#777568;letter-spacing:.13em;margin-top:11px}.below-picture{display:flex;justify-content:space-between;align-items:center;padding:22px 3px 9px;gap:18px}.move-details{display:flex;flex-direction:column;gap:6px}.move-count{font-size:11px;color:var(--muted)}.move-count b{font:34px/1.2 var(--serif);margin-right:6px;color:var(--ink);font-variant-numeric:tabular-nums}.move-details>span:not(:first-child){font-size:10px;color:var(--muted)}.preview-button{padding:0;display:flex;flex-direction:column;align-items:center;background:transparent;border:0;gap:7px;font-size:9px;color:var(--muted);min-width:84px}.preview-button img{height:77px;width:77px;border:4px solid #e0dccc;outline:1px solid #b9baab}.preview-button:hover img{outline-color:#596650}.status-line{font-size:11px;min-height:34px;display:flex;align-items:center;margin:8px 0}.game-toolbar{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.game-toolbar>.button{padding:9px 4px;min-height:45px;font-size:11px}.progress-note{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-top:16px;margin-top:18px;font-size:10px;gap:14px;color:var(--muted)}.slide-sketch{display:grid;grid-template-columns:repeat(3,30px);gap:3px;width:max-content;transform:rotate(7deg);margin:30px 0 0 14px}.slide-sketch span,.slide-sketch i{display:grid;place-items:center;font:14px var(--serif);height:30px;border:1px solid #9fa48f;background:#e3e6d8;color:#6b735d}.slide-sketch i{border:1px dashed #afb49d;background:transparent}.completion{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #b2baa3;border-bottom:1px solid #b2baa3;margin:12px 0}.completion h3{font-size:18px;font-weight:500;letter-spacing:-.5px;margin:7px 0}.completion p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.completion button{white-space:nowrap;padding:11px}.goal-preview{display:grid;grid-template-columns:repeat(var(--size,3),1fr);border:1px solid #b2b59f;gap:2px;background:#dedacb}.goal-preview .tile{border-radius:0;aspect-ratio:1;box-shadow:none}.goal-preview .empty{background-image:url('garden.svg');background-position:100% 100%;background-size:calc(var(--size)*100%) calc(var(--size)*100%)}.goal-preview .empty::after{content:'빈칸';font-family:inherit;font-size:11px;color:#f4f0e5;background:#4d594cbb;padding:4px 7px;border-radius:2px}.goal-preview .empty{opacity:.6}.goal-preview .tile span{font-size:12px;min-width:20px;height:21px}.tile:focus-visible{outline:3px solid #a6573f;outline-offset:-3px;z-index:4}@keyframes hint-pulse{50%{filter:brightness(1.25)}}
@media(max-width:700px){.game-intro .tagline br{display:none}.picture-frame{padding:13px 13px 9px}.picture-caption{font-size:7px;letter-spacing:.08em;margin-top:9px}.slide-board{gap:4px;border-width:4px}.tile{padding:5px}.tile span{font-size:14px;min-width:21px;height:22px}.below-picture{padding-top:20px}.size-switch button{min-width:55px}.progress-note{font-size:9px}.game-toolbar{display:grid}.completion h3{font-size:16px}.completion button{font-size:11px}.status-line{margin-bottom:5px;min-height:33px}.play-panel{max-width:470px;margin:auto}}
@media(max-width:360px){.header-note{display:none}.picture-frame{padding:10px 10px 8px}.tile{padding:4px}.tile span{min-width:19px;height:20px;font-size:12px}.picture-caption{font-size:6px}.size-switch button{min-width:49px;font-size:11px}.stage-bar h2{font-size:15px}.stage-bar p{font-size:9px}.slide-board{gap:3px;border-width:3px}.game-toolbar>.button{font-size:10px;padding:8px 3px}.preview-button img{height:65px;width:65px}.move-count b{font-size:31px}.move-details{gap:5px}.below-picture{padding-top:16px}.completion h3{font-size:14px}.completion button{padding:8px}.tile.empty::after{font-size:20px}}
@media(max-height:550px) and (min-width:701px){.game-layout{grid-template-columns:minmax(200px,1fr) minmax(0,385px);padding-top:24px}.game-intro h1{font-size:45px}.picture-frame{max-width:340px;margin:auto}.slide-sketch{display:none}.game-intro .rules{margin-top:18px}.below-picture{padding-top:14px}.preview-button img{width:58px;height:58px}}
@media(max-height:700px) and (max-width:700px){.game-header{min-height:48px}.game-layout{padding-top:12px}.game-intro{margin-bottom:8px}.game-intro .eyebrow,.game-intro .tagline{display:none}.game-intro h1{font-size:27px;margin:0}.stage-bar{min-height:45px;margin-bottom:7px}.picture-frame{max-width:242px;margin:auto;padding:9px 9px 7px}.picture-caption{font-size:6px;letter-spacing:.02em;margin-top:7px;gap:4px}.slide-board{gap:3px;border-width:3px}.tile{padding:3px}.tile span{font-size:12px;min-width:17px;height:18px}.below-picture{padding:12px 2px 1px}.move-count b{font-size:25px}.move-details{gap:3px}.move-details>span:not(:first-child){font-size:9px}.preview-button img{width:44px;height:44px;border-width:2px}.preview-button{gap:4px;min-width:70px;font-size:8px}.status-line{font-size:10px;min-height:28px;margin:6px 0 4px}.game-toolbar{margin-top:7px;margin-bottom:7px}.progress-note{margin-top:12px;padding-top:10px}.completion{padding:10px 0;margin:8px 0}}
