:root{color:#263c36;font-synthesis:none;--ink:#263c36;--brass:#e9b34f;background:#e9e4d5;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-height:100%}body{background:radial-gradient(85% 55% at 50% 0,#fff7e9 0%,#eae4d300 100%),repeating-linear-gradient(96deg,#695f3a05 0 1px,#0000 1px 5px),#e9e4d5;min-width:300px;min-height:100svh;margin:0}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline-offset:3px;outline:3px solid #235e92}[hidden]{display:none!important}svg{flex:none;width:23px;height:23px}.masthead{color:#fbefd4;background:linear-gradient(102deg,#234d46,#163b38);border-bottom:1px solid #14332f}.masthead-inner{justify-content:space-between;align-items:center;gap:12px;max-width:1260px;min-height:66px;margin-inline:auto;padding:0 32px;display:flex}.brand,.header-actions,.header-button{align-items:center;display:flex}.brand{letter-spacing:-.025em;white-space:nowrap;gap:11px;font-size:19px;font-weight:750}.brand-mark{color:#24423b;background:#e9b557;border-radius:11px 11px 12px 12px;place-content:center;width:38px;height:38px;display:grid;transform:rotate(-6deg);box-shadow:inset 0 0 0 1px #fff5cc78,0 2px #102d2d85}.header-actions{gap:6px}.header-button{color:#faeed3;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:0 11px;font-size:14px}.header-button:hover{background:#fbefd41a}.header-button:focus-visible{outline-color:var(--brass)}.header-button svg{width:20px;height:20px}.game{width:min(1090px,100% - 46px);padding-bottom:env(safe-area-inset-bottom);margin:22px auto 26px}.stage{isolation:isolate;background:radial-gradient(at 54% 34%,#f9efd6 0%,#ecdfbf 65%,#dfcfab 100%);border:1px solid #b3a482;border-radius:25px 25px 12px 12px;height:clamp(375px,100svh - 276px,670px);position:relative;overflow:hidden;box-shadow:0 1px 2px #49371926,0 12px 34px -23px #322513a0,inset 0 1px #fff8df}.stage:before{content:"";z-index:-1;opacity:.66;pointer-events:none;background:radial-gradient(at 42% 30%,#fff9e43d,#0000 66%,#74563030),url(/assets/packing-mat-4b5Z4aOy.webp) 50%/cover;position:absolute;inset:0}.stage:after{content:"";z-index:-1;border-radius:inherit;pointer-events:none;border:1px solid #87614035;position:absolute;inset:5px;box-shadow:inset 0 1px #fff9e33b}.canvas,.grid{width:100%;height:100%;position:absolute;inset:0}.canvas,.grid,.turn-knob,.item{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.canvas{display:block}.grid{pointer-events:none}.cell[data-occupied],.item:not(:disabled){cursor:grab}.stage[data-held] .cell{cursor:crosshair}[data-dragging] :is(.canvas,.item,.tray),[data-dragging] .stage .cell{cursor:grabbing}.level-tag{z-index:2;pointer-events:none;background:#f8f0dc;border:1px solid #c3b387;border-radius:4px 9px 9px 6px;min-width:131px;padding:11px 15px 12px 23px;position:absolute;top:24px;left:27px;transform:rotate(-3deg);box-shadow:0 3px 4px #604b203b,inset 0 0 0 3px #fff6df}.tag-eyelet{background:#e7d7b7;border:2px solid #af8552;border-radius:50%;width:8px;height:8px;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.tag-eyelet:before{content:"";border:2px solid #927651;border-radius:50%;width:23px;height:9px;position:absolute;transform:translate(-19px,-2px)rotate(-23deg);box-shadow:0 1px 1px #6f593143}.tag-stage{letter-spacing:.17em;color:#6a6451;font:650 11px/1.1 ui-monospace,monospace}#level-title{letter-spacing:-.035em;margin:3px 0 0;font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.16}#level-title:focus{outline:none}.layer-controls{z-index:2;gap:7px;display:grid;position:absolute;top:50%;right:clamp(10px,3.4vw,35px);transform:translateY(-50%)}.layer-controls button{background:#f5ead3;border:1px solid #b7a987;border-radius:8px 9px 9px 6px;justify-content:center;align-items:center;gap:6px;min-width:70px;min-height:45px;padding:5px 9px;font-size:13px;font-weight:700;display:flex;box-shadow:0 2px 1px #57432430}.layer-controls button[aria-pressed=true]{background:#eab74e;border-color:#a37828;box-shadow:0 2px 1px #664a1c44,inset 0 1px #ffe3a9}.layer-controls svg{width:18px;height:18px}.layer-pocket{color:#783f4e;background:#f4d7ae;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;display:none}.layer-controls button[data-pocket-layer] .layer-pocket{display:inline-flex}.layer-controls button[data-guide-pocket]{box-shadow:0 0 0 2px #975365,inset 0 1px #fff4de}.layer-controls .layer-pocket svg{width:14px;height:14px}.layer-controls button[data-guide-layer],[data-action][data-guided]{outline-offset:2px;outline:2px solid #a86b32}.feedback{z-index:3;color:#6d2d1e;pointer-events:none;white-space:nowrap;background:#fff0d9;border:1px solid #c98b62;border-radius:7px;margin:0;padding:6px 12px;font-size:14px;font-weight:720;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 2px 5px #694a1928}.feedback:empty{opacity:0}[data-view="3d"] .flat-case{display:none}[data-view="3d"] .cell{color:#0000;pointer-events:auto;touch-action:none;background:0 0;border:0;padding:0;position:absolute}[data-view="3d"] .cell:focus-visible{background:#fff6b950;outline:0;box-shadow:inset 0 0 0 3px #1c6099}[data-seeking-cell] .cell:after{content:"";pointer-events:none;background:#fff5d99c;border:1px solid #887150;border-radius:50%;width:6px;height:6px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.latch-spot{background:0 0;border:0;border-radius:13px;width:44px;height:44px;position:absolute;transform:translate(-50%,-26%)}@media (hover:hover){.latch-spot:hover{background:radial-gradient(at 50% 26%,#fbc65760,#0000 57%)}}[data-phase]:not([data-phase=packing]) .grid,[data-phase]:not([data-phase=packing]) .canvas,[data-phase]:not([data-phase=packing]) .cell{pointer-events:none}[data-view="2d"]{--flat-w:min(51%, 395px)}.flat-case{width:calc(var(--flat-w) + 24px);pointer-events:none;height:76%;position:absolute;bottom:14%;left:50%;transform:translate(-50%)}.flat-lid,.flat-shell{background:#d1c6a6;border:8px solid #275653;border-radius:18px;position:absolute;inset:auto 0 0;box-shadow:0 3px #173a38,0 8px 12px #534d3244,inset 0 0 0 3px #f7e9c9}.flat-lid{transform-origin:bottom;background:#c7b99a;top:0;bottom:48%;transform:perspective(410px)rotateX(-21deg)}.flat-lid span{background:repeating-linear-gradient(0deg,#ab9b7933 0 1px,#0000 1px 4px);border:1px dashed #6c6145;border-radius:8px;position:absolute;inset:20% 14%}.flat-shell{background:#eddfbd;height:52%}[data-view="2d"] .grid{width:var(--flat-w);grid-template-columns:repeat(var(--cols), minmax(0, 1fr));grid-template-rows:repeat(var(--rows), minmax(0, 1fr));height:calc(39.52% - 18px);display:grid;inset:auto auto calc(14% + 9px) 50%;transform:translate(-50%)}[data-view="2d"] .cell{overflow-wrap:anywhere;pointer-events:auto;touch-action:none;background:#fffae345;border:1px solid #a89775;border-radius:3px;padding:1px;font-size:clamp(9px,1.75vw,13px);font-weight:800;line-height:1.12;position:relative;overflow:hidden}[data-view="2d"] .cell[data-support=solid]{background:repeating-linear-gradient(135deg,#8b806147 0 2px,#0000 2px 8px)}[data-view="2d"] .cell[data-support=fragile]{background:repeating-linear-gradient(135deg,#9c50394c 0 2px,#0000 2px 8px)}[data-view="2d"] .cell[data-wheel]{background:repeating-linear-gradient(135deg,#38544b 0 5px,#456359 5px 9px);border:2px solid #263d38;box-shadow:inset 0 2px #8fa69670}[data-view="2d"] .cell[data-pocket]:where(:not([data-occupied])){color:#803e4b;background-color:#f2d4a4;border:2px dashed #803e4b}.cell svg{display:none}[data-view="2d"] .cell[data-pocket] svg{vertical-align:middle;width:20px;height:20px;display:inline-block}[data-seeking-cell] .cell:is([data-wheel],[data-pocket],[data-occupied]):after,[data-seeking-pocket] .cell:after,[data-upper-layer] .cell:not([data-support=solid]):after{display:none}[data-view="2d"] .cell[data-guide-cell]:before,.stage[data-intro]:is([data-guide=rotation],[data-guide=shape]) .cell:not([data-occupied]):before{content:"";pointer-events:none;background:#edb54f17;border:1px dashed #8e5c25;border-radius:4px;animation:.82s ease-in-out 2 guide-glow;position:absolute;inset:4px}[data-view="2d"][data-guide=support] .cell[data-guide-cell]:before{background:#82a77a38;border-color:#38694d}.stage[data-intro]:is([data-guide=rotation],[data-guide=shape]) .cell:not([data-occupied]):before{animation:1.9s ease-in-out both intro-grid-glow}@keyframes intro-grid-glow{0%,to{opacity:0}44%{opacity:1}}.stage .cell[data-landing]:after{content:"";pointer-events:none;background:#ffefba58;border:1px solid #fff4ce;border-radius:4px;width:auto;height:auto;animation:.19s ease-out both settle-glint;position:absolute;inset:4px;transform:none}@keyframes settle-glint{0%{opacity:1}to{opacity:0}}.stage[data-seeking-pocket] .cell[data-pocket]:before{content:"";pointer-events:none;border:2px dashed #8c4859;border-radius:4px;position:absolute;inset:3px}@keyframes guide-glow{0%,to{opacity:.68}50%{opacity:1}}[data-view="2d"] .cell[data-occupied]{background:var(--tile,#c6b587);box-shadow:inset 0 2px #fff5,inset 0 -2px #0002}[data-view="2d"] .cell[data-tall]{border-style:double;border-width:3px}.cell-art{object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #3d322845);width:66%;height:60%;position:absolute;top:20%;left:17%}[data-view="2d"] .cell[data-preview=valid]{background:#b7ce9e;border:2px solid #366848}[data-view="2d"] .cell[data-preview=invalid],[data-view="2d"] .cell[data-blocked]{background:repeating-linear-gradient(135deg,#a448342e 0 3px,#f0bf9a 3px 8px);border:2px solid #a44834}[data-view="2d"] .cell[data-anchor]{box-shadow:inset 0 0 0 2px #fffae5}[data-view="2d"][data-phase=finished] .grid{opacity:0}[data-view="2d"][data-phase=finished] .flat-lid{z-index:1;background:#28565b;top:48%;bottom:0;transform:none}[data-view="2d"][data-phase=finished] .flat-lid span{background:0 0;border-color:#ece4c46e}[data-tone=sage]{--tile:#a9bf9c}[data-tone=coral]{--tile:#e9a58e}[data-tone=blue]{--tile:#a6c0c0}[data-tone=ochre]{--tile:#ddbb7f}[data-tone=ink]{--tile:#c49a76}[data-tone=mauve]{--tile:#cda5b0}[data-tone=gold]{--tile:#d2c481}[data-tone=wine]{--tile:#c98a91}.workbench{background:linear-gradient(165deg,#faf1dce8,#eee0c3ed),#f3ead4 url(/assets/packing-mat-4b5Z4aOy.webp) 50%/cover;border:1px solid #c5b896;border-radius:12px 12px 20px 20px;margin-top:10px;box-shadow:0 3px #b9aa8a5e,0 11px 26px -20px #4a3a26c7}.tray{border-bottom:1px dashed #ac9973;justify-content:center;align-items:stretch;gap:clamp(6px,2vw,31px);min-height:100px;margin:0 12px;padding:8px 8px 6px;display:flex;position:relative}.tray:after{content:"";pointer-events:none;border:1.5px dashed #0000;border-radius:10px;position:absolute;inset:3px 0 2px}.tray[data-return]:after{border-color:#6d8972}.tray[data-return=over]{background:#dce3cb;border-radius:10px}.tray[data-return=over]:after{border-color:#446a51}.item{background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;flex:0 115px;justify-content:center;align-items:center;gap:7px;min-width:59px;min-height:77px;padding:4px;display:flex;position:relative}.item[aria-pressed=true]{background:#e4dcbf;border-color:#a99562;box-shadow:inset 0 1px 3px #3f3f2a21}@media (hover:hover){.item:hover:not(:disabled){border-color:#c5b691}}.item-name{text-align:center;text-wrap:balance;overflow-wrap:break-word;max-width:100%;font-size:13px;font-weight:650;line-height:1.14}.item-check{color:#285949;display:none;position:absolute;top:7px;right:8px}.item-check svg{width:17px;height:17px}.item-hinge{color:#426377;pointer-events:none;position:absolute;top:4px;left:5px}.item-hinge svg{width:16px;height:16px}.fragile-mark{color:#964c3f}.item[data-guide-item]{background:#f0daaa;border-color:#b48d50;box-shadow:inset 0 1px #fff4d5}.item[data-guide-item][aria-pressed=false]:not(.is-lifted) .toy{animation:.95s ease-in-out 2 guide-lift}.item[data-guide-item=fragile] .fragile-mark{animation:.82s ease-in-out 2 guide-glow}.item[data-guide-item=layers] .toy--shoebox:after,.item[data-guide-item=support] .toy:after{content:"";pointer-events:none;position:absolute}.item[data-guide-item=layers] .toy--shoebox:after{background:linear-gradient(#8e5c25 7%,#0000 7% 47%,#8e5c25 47% 53%,#0000 53% 93%,#8e5c25 93%);border-right:1px solid #8e5c25;width:5px;inset:3px -6px 5px auto}.item[data-guide-item=support] .toy:after{background:linear-gradient(90deg,#618772 45%,#0000 45% 55%,#618772 55%);border-radius:2px;height:6px;inset:auto 6px -5px}@keyframes guide-lift{45%{transform:translateY(-6px)rotate(1deg)}}.item.is-packed .toy{opacity:.38;transform:translateY(-5px) rotate(var(--turns,0deg))}.item.is-packed .item-check{display:block}.item.is-lifted{border-style:dashed;border-color:#aa9871}.item.is-missing .toy{animation:.34s ease-in-out both lift-missing}@keyframes lift-missing{45%{transform:translateY(-7px)rotate(-5deg)}}.toy{--base:#85a88c;--edge:#45694f;--glint:#afc4a1;border:1px solid var(--edge);background:var(--base);width:54px;height:32px;box-shadow:inset 0 2px 0 var(--glint), inset 0 -4px 0 var(--edge), 0 5px 5px #5d49213b;border-radius:8px;transition:transform .15s,opacity .15s;display:inline-block;position:relative;transform:rotate(-7deg)}.item[aria-pressed=true] .toy{transform:translateY(-5px) rotate(var(--turns,0deg))}.item.is-lifted .toy{opacity:.27;transform:translateY(-5px) rotate(var(--turns,0deg));box-shadow:inset 0 0 0 1px var(--edge)}.tone--coral{--base:#c77e59;--edge:#984f38;--glint:#e7aa85}.tone--blue{--base:#568e97;--edge:#345b60;--glint:#90babc}.tone--ochre{--base:#d4a76c;--edge:#996941;--glint:#ecc58b}.tone--ink{--base:#a77e58;--edge:#765b43;--glint:#c29a77}.tone--mauve{--base:#c298a3;--edge:#8a6272;--glint:#e3bac3}.tone--gold{--base:#c1aa66;--edge:#897641;--glint:#e5d48c}.tone--wine{--base:#874c59;--edge:#56323c;--glint:#c78184}.toy--passport{border-radius:3px 5px 5px 3px;width:30px;height:35px}.toy--passport i{background:linear-gradient(#0000 46%,#e7c17c 46% 57%,#0000 57%);border:1.5px solid #e7c17c;border-radius:50%;width:13px;height:13px;position:absolute;top:7px;left:8px}.toy--passport i:after{content:"";border:1px solid #e7c17c;border-radius:50%;position:absolute;inset:0 3px}.toy--passport b{background:#ddac70;width:13px;height:1px;position:absolute;bottom:7px;left:8px}.toy--towel{background:repeating-linear-gradient(0deg, #e8dfbe84 0 2px, transparent 2px 6px, #dad9b766 6px 7px, transparent 7px 15px), var(--base);border-radius:4px;width:48px;height:30px}.toy--towel i,.toy--towel b{opacity:0;background:#294856;border-radius:1px;width:5px;height:auto;position:absolute;top:-1px;bottom:1px}.toy--towel i{left:11px}.toy--towel b{right:11px}[data-rolled] .toy--towel{border-radius:10px;width:51px;height:18px;margin-block:6px}[data-rolled] .toy--towel :is(i,b){opacity:1}.toy--tin{border-radius:50% 50% 37% 37%/21%;width:30px;height:33px}.toy--tin i{background:#d8bc77;border:1px solid #80714a;border-radius:50%;height:10px;position:absolute;top:-1px;left:-1px;right:-1px}.toy--tin b{background:#ede1b2;border:1px solid #ccaf69;border-radius:2px;position:absolute;inset:14px 5px 6px}.toy--umbrella{border-radius:8px 5px 5px 8px;width:48px;height:16px;margin-block:7px}.toy--umbrella i{background:#3c6e5c;width:6px;position:absolute;inset:0 auto 2px 21px}.toy--umbrella b{border:2px solid #9b7c4f;border-left:0;border-radius:0 7px 7px 0;width:7px;height:9px;position:absolute;top:1px;right:-5px}.toy--sweater{background:repeating-linear-gradient(90deg, #ffffff18 0 1px, transparent 1px 4px), var(--base)}.toy--sweater i{border:2px solid var(--edge);background:#e1a182;border-top:0;border-radius:0 0 9px 9px;width:30%;height:13px;position:absolute;top:2px;left:35%}.toy--scarf{background:repeating-linear-gradient(90deg, var(--base) 0 11px, var(--glint) 11px 13px, var(--base) 13px 15px);border-radius:4px;width:60px;height:18px;margin-block:7px}.toy--scarf i{background:repeating-linear-gradient(0deg, var(--edge) 0 1px, transparent 1px 3px);width:6px;position:absolute;inset:2px -6px 3px auto}.toy--book{width:56px;height:23px;box-shadow:inset 0 2px var(--glint), inset 0 -5px #faf1bc, inset 4px 0 var(--edge), 0 4px 3px #5d492148;border-radius:4px;margin-block:3px}.toy--book i{border-top:2px solid #c2d3be;border-bottom:1px solid #c2d3be;width:16px;height:6px;position:absolute;top:7px;left:16px}.toy--shoebox,.toy--boot-box{width:40px;height:36px;box-shadow:inset 0 6px var(--glint), inset 0 -5px var(--edge), 0 4px 4px #49321344;border-radius:4px}.toy--boot-box{width:51px}.toy--shoebox i,.toy--boot-box i{background:#f5e1b7;border-radius:1px;width:13px;height:7px;position:absolute;top:15px;right:5px}.toy--organizer i,.toy--hard-case i,.toy--garment-bag i{border:1px dashed var(--glint);border-radius:5px;position:absolute;inset:4px 5px 6px}.toy--hard-case b,.toy--charger b{background:#e0a958;border-radius:2px;width:9px;height:7px;position:absolute;bottom:1px;right:11px}.toy--charger{width:46px;height:22px;margin-block:5px}.toy--camera{border-radius:6px;width:45px;transform:rotate(5deg)}.toy--camera i{background:#1f3237;border:3px solid #b9ac8c;border-radius:50%;width:20px;height:18px;position:absolute;top:5px;left:10px;box-shadow:0 1px 2px #0008}.toy--camera b{background:#e8bb74;border-radius:1px;width:6px;height:5px;position:absolute;top:4px;right:3px}.toy.has-art,.item.is-lifted .toy.has-art{box-shadow:none;background:0 0;border-color:#0000}.toy-art{object-fit:contain;filter:drop-shadow(0 3px 2px #30261a45);pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.toy-art--rolled,[data-rolled] .toy--towel .toy-art:not(.toy-art--rolled){visibility:hidden}[data-rolled] .toy-art--rolled{visibility:visible}.drag-object .toy-art{filter:none}.toolbar{justify-content:space-between;align-items:center;gap:7px;min-height:64px;padding:7px 13px;display:flex}.utilities{align-items:center;gap:5px;display:flex}.utilities,.toolbar .close-button{flex-shrink:0}.hint-button{color:#765121}.hint-note{color:#654722;min-width:0;max-width:320px;margin:0 auto 0 0;font-size:13px;font-weight:650;line-height:1.4}.hint-note:empty{width:1px;height:1px;position:absolute;overflow:hidden}.tool,.close-button,.next,.skip-button{white-space:nowrap;background:#f9efda;border:1px solid #bcac89;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-width:44px;min-height:44px;padding:0 9px;font-size:13px;font-weight:760;display:inline-flex;box-shadow:inset 0 1px #fff9e7,0 2px #b6a47966}.tool:hover:not(:disabled){background:#efe0bd}.tool:active:not(:disabled),.next:active,.close-button:active:not(:disabled){transform:translateY(1px)}.tool:disabled{opacity:.44}.tool svg,.close-button svg,.next svg,.skip-button svg{width:19px;height:19px}.icon-only{width:44px;padding:0}.close-button,.next{color:#302c1e;background:#e9b34f;border:1px solid #9b722a;border-radius:7px 7px 11px 11px;padding:0 17px;box-shadow:inset 0 2px #ffe4a4,inset 0 -3px #c08a35,0 3px #8f6d36a0}.close-button{background:radial-gradient(circle at 6px,#9c6e32 0 1px,#f8d488 1.5px 2px,#0000 2.5px),radial-gradient(circle at calc(100% - 6px),#9c6e32 0 1px,#f8d488 1.5px 2px,#0000 2.5px),#e9b34f;padding-inline:17px}.close-button:hover:not(:disabled),.next:hover{background:#f1c263}.close-button:disabled{opacity:.42}.skip-button{z-index:4;position:absolute;bottom:12px;right:12px}.result{z-index:4;color:#254b43;background:linear-gradient(145deg,#fff7de,#f3dfac);border:1px solid #a89061;border-radius:10px;justify-items:center;gap:7px;min-width:174px;padding:12px 20px 14px;animation:.22s ease-out both reveal;display:grid;position:absolute;bottom:16px;left:50%;transform:translate(-50%)rotate(-2deg);box-shadow:0 5px 12px #54422346,inset 0 0 0 3px #e8d8ab}.result:before{content:"";pointer-events:none;border:1px dashed #ae905666;border-radius:6px;position:absolute;inset:5px}@keyframes reveal{0%{opacity:0;transform:translate(-50%,8px)rotate(1deg)}to{opacity:1}}.result-stamp{outline-offset:2px;border:1px solid;border-radius:50%;outline:1px solid #41675150;place-content:center;width:29px;height:29px;animation:.25s cubic-bezier(.22,.66,.28,1) both ink-stamp;display:grid;transform:rotate(-9deg)}@keyframes ink-stamp{0%{opacity:0;transform:translateY(-6px)scale(1.38)rotate(-19deg)}64%{opacity:1;transform:scale(.92)rotate(-9deg)}to{opacity:1;transform:rotate(-9deg)}}.result-stamp svg{width:18px;height:18px}.result-title{white-space:nowrap;font-size:18px}.next{min-width:122px}.levels-dialog{width:min(380px,100% - 36px);max-height:calc(100svh - 36px);color:var(--ink);background:#f7efd9;border:1px solid #a99975;border-radius:16px;padding:14px;box-shadow:0 14px 40px #24281c55}.levels-dialog::backdrop{background:#152d2b9c}.dialog-heading{justify-content:space-between;align-items:center;margin:0 0 10px 6px;display:flex}.dialog-heading h2{margin:0;font-size:22px}.dialog-title{align-items:baseline;gap:12px;display:flex}.campaign-progress{color:#627367;font:650 12px ui-monospace,monospace}.levels-list{gap:7px;display:grid}.level-choice{text-align:left;background:#fdf4db;border:1px solid #c2b38d;border-radius:8px;grid-template-columns:32px 1fr auto;align-items:center;min-height:50px;padding:9px 12px;font-weight:700;display:grid}.level-choice[aria-current],.level-choice:hover{background:#ebddaf}.level-choice[data-completed] svg{color:#2d694e}.level-number{font:700 13px ui-monospace,monospace}.level-choice svg{width:19px;height:19px}.turn-knob{z-index:10;color:#23463e;cursor:ew-resize;background:radial-gradient(circle at 34% 26%,#ffe5a2,#e7b45d 67%,#cd9851);border:1px solid #81643c;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:fixed;transform:translate(-50%,-50%);box-shadow:inset 0 0 0 2px #f6d794,inset 0 0 0 3px #b78d52,0 2px #876e48,0 4px 9px #3f352c40}.turn-knob svg{pointer-events:none;width:21px;height:21px}.turn-knob[data-guide-control] svg{animation:.85s ease-in-out 2 guide-knob}@keyframes guide-knob{48%{transform:rotate(32deg)scale(1.12)}}.turn-knob.is-turning,.turn-knob:active{color:#fff3c9;background:#3c6258;box-shadow:inset 0 0 0 2px #779585,inset 0 0 0 3px #23483d,0 1px 2px #47392355}.shape-knob{cursor:pointer;color:#315162;background:#c2d2d4;border-color:#466374;box-shadow:inset 0 0 0 2px #dfebdf,inset 0 0 0 3px #7c9eaa,0 2px #5e7d82,0 4px 9px #3f352c40}.shape-knob[aria-pressed=true]{color:#ffefd1;background:#4b7382}.drag-object{z-index:8;pointer-events:none;will-change:transform;line-height:0;position:fixed;top:0;left:0}.drag-object .toy{transform:rotate(var(--turns,0deg)) scale(1.15);filter:drop-shadow(0 3px 2px #503b284b)drop-shadow(0 7px 7px #51412c35);margin:0;transition:transform .14s cubic-bezier(.2,.72,.24,1);animation:.115s cubic-bezier(.16,.75,.3,1) pick-up;display:block}@keyframes pick-up{0%{opacity:.72;scale:.87}to{opacity:1;scale:1}}.drag-object[data-returning] .toy{filter:drop-shadow(0 4px 5px #5d815a90)}.drag-object .toy--towel{margin-block:0}.drag-footprint{--unit:8px;width:calc(var(--footprint-width,1) * var(--unit) + 1px);height:calc(var(--footprint-depth,1) * var(--unit) + 1px);background:repeating-linear-gradient(90deg,#0000 0 7px,#927b51 7px 8px),repeating-linear-gradient(0deg,#0000 0 7px,#927b51 7px 8px),#fbedd0;border:1px solid #6c5b42;border-radius:2px;display:none;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 1px 2px #362e2436}.drag-object[data-footprint] .drag-footprint{display:block}.carry-turn{cursor:pointer;touch-action:none;width:44px;height:44px}.carry-turn svg{width:18px;height:18px}@media (width<=600px){.masthead-inner{gap:8px;min-height:56px;padding-inline:12px}.brand{gap:8px;font-size:16px}.brand-mark{border-radius:8px;width:30px;height:30px}.brand-mark svg{width:20px;height:20px}.header-actions{gap:0}.header-button{padding-inline:7px}.header-button svg{width:18px;height:18px}.header-button{font-size:13px}.game{width:calc(100% - 18px);margin-block:10px 14px}.stage{border-radius:16px 16px 9px 9px;height:clamp(306px,100svh - 226px,560px)}.level-tag{min-width:108px;padding:7px 10px 8px 20px;top:13px;left:17px}.tag-stage{font-size:10px}#level-title{font-size:18px}.layer-controls{gap:4px;top:auto;bottom:11px;right:8px;transform:none}.layer-controls button{gap:3px;min-width:57px;padding-inline:5px;font-size:12px}.layer-controls svg{width:15px;height:15px}.feedback{white-space:normal;max-width:calc(100% - 24px);font-size:13px;line-height:1.18;bottom:13px}.stage:has(.layer-controls:not([hidden])) .feedback:not(:empty){max-width:calc(100% - 174px);left:9px;transform:none}.workbench{margin-top:7px}.tray{gap:3px;min-height:80px;margin-inline:8px;padding-block:4px}.item{min-height:70px}.item-name{font-size:12px}.layer-controls{display:flex}.toolbar{gap:4px;min-height:57px;padding-inline:6px}.utilities{gap:3px}.hint-note{font-size:12px}.tool{padding-inline:5px}.tool svg{width:17px}.close-button{padding-inline:8px}[data-view="2d"]{--flat-w:70%}.flat-case{height:70%;bottom:19%}.flat-lid{bottom:64%}.flat-shell{height:64%}[data-view="2d"] .grid{height:calc(44.8% - 18px);bottom:calc(19% + 9px)}[data-view="2d"][data-phase=finished] .flat-lid{top:36%}}@media (width<=470px){.skip-button{top:11px;bottom:auto;right:8px}.toolbar{grid-template-columns:1fr auto;gap:0 8px;display:grid}.toolbar .utilities{grid-area:2/1}.toolbar .close-button{grid-area:2/2}.hint-note:not(:empty){grid-area:1/1/auto/-1;max-width:none;margin:0;padding:2px 4px 6px;line-height:1.28}.game[data-large-tray] .stage{height:clamp(308px,100svh - 292px,510px)}.game[data-large-tray] .tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;display:grid}.game[data-large-tray] .item{gap:4px;min-width:44px;min-height:61px}.game[data-large-tray] .item-name{font-size:11px}}@media (width<=470px) and (height<=640px){.game[data-large-tray] .stage{height:clamp(280px,100svh - 292px,350px)}.game[data-large-tray] .item{min-height:58px}.layer-controls{flex-direction:column;top:8px;bottom:auto}.stage:has(.layer-controls:not([hidden])) .feedback:not(:empty){max-width:calc(100% - 24px);left:50%;transform:translate(-50%)}}@media (width<=365px){.masthead-inner{gap:4px;padding-inline:8px}.brand{gap:6px;font-size:15px}.level-toggle svg{display:none}.item .toy--scarf,.item .toy--book{width:49px}.item .toy--scarf i{width:4px;right:-4px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important}}
