.kl-game{background:#f7edcf99;padding:9px 12px 12px;min-width:0;color:#56694d}.kl-gamebar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 7px 5px}.kl-gamebar>div{display:flex;gap:7px}.kl-gamebar .kl-tool{width:42px;height:42px;min-height:42px;padding:4px}.kl-mode{font-size:12px;letter-spacing:1px;font-weight:750}.kl-sandbox .kl-mode{color:#956c49}.kl-board{display:block;width:100%;max-height:51dvh;margin:0 auto;overflow:visible;touch-action:manipulation;font-family:inherit}.kl-board text{font-size:18px;fill:#637454;font-weight:750;pointer-events:none}.kl-board .kl-small-number{font-size:13px;fill:#8b7653}.kl-hit{cursor:pointer;outline:none}.kl-hit:focus-visible{filter:drop-shadow(0 0 4px #7b9958)}.kl-hit .kg-art,.kl-hit svg,.kl-hit path,.kl-hit rect,.kl-hit text{pointer-events:none}.kl-hit:active{filter:brightness(1.05)}.kl-materials,.kl-lost-table,.kl-post-parcels{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:9px 11px;border-radius:17px;background:linear-gradient(#f9edcf,#e3cfaa);border:1px solid #fff2d7;box-shadow:0 4px 8px #77613b20}.kl-tool{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;flex:none;width:60px;min-height:61px;padding:3px;border:1px solid #d0b995;border-radius:13px;background:linear-gradient(#fffae9,#ead9b4);box-shadow:0 3px #c5af8a;color:#62764d;font-family:inherit;cursor:pointer;touch-action:manipulation}.kl-tool>.kg-art{width:48px;height:48px}.kl-tool>b{position:absolute;right:-4px;top:-5px;min-width:24px;height:24px;border-radius:50%;background:#708958;color:#fff7db;font-size:13px;display:grid;place-items:center;border:2px solid #fff2d7}.kl-tool>span{font-size:11px;line-height:1.3;white-space:nowrap}.kl-tool.selected{background:linear-gradient(#e8efcf,#c9daae);border-color:#8da273;box-shadow:0 3px #a7ba8a}.kl-tool:active{translate:0 2px;box-shadow:0 1px #c5af8a}.kl-main-tool{background:linear-gradient(#e9efd1,#c9dbaf);min-width:76px}.kl-mission-strip{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 6px 4px;font-size:11px;color:#788164}.kl-mission-strip>.kg-art,.kl-mission-strip>.kg-portrait{width:31px;height:31px}.kl-stop-order{position:relative;display:flex;align-items:center;gap:3px}.kl-stop-order .kg-art{width:32px;height:32px}.kl-stop-order b{font-size:11px;color:#8e7852}.kl-ground-clue{margin-left:auto;font-size:10px;color:#8e8160}.kl-loss{font-size:12px;opacity:.75}.kl-drag-surface{touch-action:none}.kl-movable{cursor:grab;filter:drop-shadow(0 4px 3px #70563055);touch-action:none;outline:none}.kl-movable:active{cursor:grabbing;filter:drop-shadow(0 8px 4px #70563066)}.kl-movable:focus-visible{filter:drop-shadow(0 0 5px #668a51)}.kl-movable svg{pointer-events:none}.kl-falling{animation:kl-fall .8s ease-in forwards;transform-box:fill-box}.kl-assembly{transition:transform .8s cubic-bezier(.34,.1,.6,1.4)}.kl-dance{animation:kl-dance 1.2s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}.kl-clues{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px;margin:0 3px 12px}.kl-clue{display:flex;align-items:center;gap:6px;min-height:62px;padding:6px 9px;border:1px solid #d5bf98;border-radius:10px;background:#f8ebc9;box-shadow:1px 3px 4px #8d79582b;color:#6f7656;text-align:left;font:inherit;cursor:pointer}.kl-clue>.kg-art{width:37px;height:37px;flex:none}.kl-clue>span{font-size:12px;line-height:1.55}.kl-clue.opened{background:#fff7e2}.kl-clue.conflict{outline:2px dashed #b4826b;outline-offset:-4px}.kl-friends{display:flex;justify-content:center;gap:16px;margin:5px 0 14px}.kl-friend{position:relative;flex:1;max-width:200px;min-width:0}.kl-friend-basket{display:flex;align-items:center;flex-direction:column;width:100%;padding:5px 5px 0;background:none;border:0;color:#607452;font:inherit;cursor:pointer}.kl-friend-basket>.kg-portrait{width:89px;height:89px}.kl-friend-basket strong{font-size:12px;margin:5px 0}.kl-basket{display:grid;place-items:center;width:100%;height:105px;border:6px solid #c3a47a;border-bottom-width:11px;border-radius:12px 12px 20px 20px;background:repeating-linear-gradient(0deg,#ddc49a 0 8px,#ceb184 9px 11px);box-shadow:inset 0 4px 8px #94764b33,0 5px 7px #6e5a3920}.kl-basket>.kg-art{width:79px;height:79px}.kl-basket>i{font-style:normal;opacity:.35;font-size:35px}.kl-small-return{position:absolute;width:30px;min-height:30px;height:30px;right:-5px;bottom:-6px;border-radius:50%;padding:3px}.kl-small-return>.kg-art{width:24px;height:24px}.kl-lost-table{min-height:78px;margin-top:15px}.kl-lost-table>.kl-tool{width:70px;height:68px}.kl-lost-table>.kl-assigned{opacity:.38}.kl-post-status{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:0 15px 8px;font-size:12px}.kl-footsteps{display:flex;gap:5px}.kl-footsteps i{display:grid;place-items:center;width:16px;height:22px;border-radius:50%;font-style:normal;color:#c8bb94;background:#ede4c7;rotate:20deg;font-size:20px}.kl-footsteps i.used{background:#a7bb86;color:#5a7e50}.kl-post-parcels>.kl-tool{width:70px;height:77px}.kl-post-parcels>.kl-tool>strong{position:absolute;top:30px;left:16px;font-size:13px;rotate:22deg;color:#627449}.kl-post-parcels>.kl-tool>em{font-size:9px;color:#9a7752;font-style:normal;letter-spacing:2px}.kl-post-parcels>.kl-tool>i{position:absolute;top:8px;right:7px;color:#a17459;font-style:normal}.kl-package-space{display:grid;place-items:center;width:70px;height:77px;border:1px dashed #bcb68f;border-radius:13px;color:#85a36b}.kl-colors{display:flex;justify-content:center;gap:12px;padding:0 0 9px}.kl-colors button{width:35px;height:35px;border:4px solid #f2e2bb;border-radius:50%;background:var(--color);box-shadow:0 2px 4px #7d684630;cursor:pointer}.kl-colors button.selected{outline:2px solid #889b6c;outline-offset:2px}.kg-window:has(.kl-game) .kg-game-scene{background-size:200% 200%}.kg-window:has(.kl-game) .kg-window-foot{min-height:67px}.kg-window:has(.kl-game) .kg-held-object{bottom:88px}.kg-window:has(.kl-game) .kg-goal{margin-bottom:8px}
@keyframes kl-dance{to{translate:0 -5px;rotate:2deg}}@keyframes kl-fall{to{translate:0 var(--fall);rotate:35deg}}
@media(max-width:650px){.kl-game{padding:7px 5px 9px}.kl-gamebar{padding:0 4px 6px}.kl-mode{font-size:10px;letter-spacing:0}.kl-gamebar .kl-tool{width:37px;min-height:37px;height:37px}.kl-board{max-height:none}.kl-materials,.kl-lost-table,.kl-post-parcels{gap:7px;padding:9px 6px}.kl-tool{width:45px;min-height:47px;border-radius:10px}.kl-tool>.kg-art{width:38px;height:38px}.kl-tool>b{min-width:21px;height:21px;font-size:11px}.kl-main-tool{min-width:58px}.kl-tool>span{font-size:9px}.kl-clues{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.kl-clue{padding:5px;gap:4px;min-height:55px}.kl-clue>span{font-size:10px}.kl-clue>.kg-art{width:27px;height:27px}.kl-friends{gap:5px}.kl-friend-basket>.kg-portrait{width:58px;height:58px}.kl-basket{height:73px;border-width:4px}.kl-basket>.kg-art{width:52px;height:52px}.kl-small-return{width:25px;min-height:25px;height:25px}.kl-post-status{padding:2px 4px 5px;font-size:9px;gap:5px}.kl-footsteps{gap:2px}.kl-footsteps i{width:10px;height:15px;font-size:14px}.kl-post-parcels>.kl-tool,.kl-package-space{width:48px;height:61px;min-height:61px}.kl-post-parcels>.kl-tool>strong{top:23px;left:9px;font-size:11px}.kl-lost-table>.kl-tool{width:53px;height:58px}.kl-mission-strip{gap:5px;font-size:9px}.kl-mission-strip>.kg-art,.kl-mission-strip>.kg-portrait,.kl-stop-order .kg-art{width:24px;height:24px}.kl-ground-clue{display:none}}
@media(max-height:540px) and (orientation:landscape){.kl-board{max-height:none;width:min(100%,650px)}.kl-gamebar{padding-bottom:3px}.kl-materials{position:sticky;bottom:0;z-index:3;background:#efdfbbf5}.kl-clues{grid-template-columns:repeat(3,1fr)}.kl-friends{margin-bottom:8px}.kl-friend-basket>.kg-portrait{width:68px;height:68px}.kl-basket{height:78px}.kl-basket>.kg-art{width:64px;height:64px}}
@media(prefers-reduced-motion:reduce){.kl-movable,.kl-dance,.kl-falling{animation:none}.kl-assembly{transition:none}}
.kl-board[data-logic-surface]{touch-action:none}.kl-board .kl-movable:focus-visible{filter:drop-shadow(0 0 4px #648a58)}
.kl-hit{pointer-events:all}.kl-hit rect,.kl-hit path,.kl-hit circle,.kl-hit ellipse{pointer-events:all}.kl-movable>rect.kl-drag-hit{pointer-events:all}
@media(min-height:541px){.kl-board{max-height:min(47dvh,calc(100dvh - 395px))}} .kl-materials .kl-colors{padding:0;gap:5px;margin:0 0 0 5px}.kl-materials .kl-colors button{width:28px;height:28px;border-width:3px}
.kl-post-shelf,.kl-car-bag{border:1px solid #cbb58e;border-radius:12px;padding:5px 8px;min-height:82px;min-width:95px;background:#f6e8c6aa}.kl-car-bag{background:#dce6c5a8;border-color:#aab88d}.kl-post-shelf>small,.kl-car-bag>small{display:block;text-align:center;font-size:9px;margin-bottom:3px;opacity:.75}.kl-post-shelf>div,.kl-car-bag>div{display:flex;gap:5px;min-height:56px}.kl-post-parcels .kl-tool{width:60px;min-height:61px}.kl-post-parcels .kl-tool>strong{position:absolute;top:26px;left:14px;font-size:12px;rotate:22deg}.kl-post-parcels .kl-tool>em{font-size:9px;font-style:normal;color:#96744b}.kl-post-parcels .kl-tool>i{position:absolute;top:5px;right:6px;color:#a17b5a}.kl-car-bag .kl-tool{animation:kl-load .3s ease-out}@keyframes kl-load{from{translate:0 -18px;opacity:.3}}@media(max-width:650px){.kl-post-shelf,.kl-car-bag{padding:4px;min-width:58px;min-height:70px}.kl-post-parcels .kl-tool{width:40px;min-height:49px}.kl-post-parcels .kl-tool>.kg-art{width:34px;height:34px}.kl-post-parcels .kl-tool>strong{top:19px;left:9px;font-size:10px}.kl-post-shelf>div,.kl-car-bag>div{gap:3px;flex-wrap:wrap}}
@media(min-height:541px){.kl-board{max-height:min(47dvh,calc(100dvh - 435px))}.kg-window-post .kl-board{max-height:calc(100dvh - 470px)}} .kg-window-post .kl-board text{font-size:24px}
