*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#173e32}button{font:inherit}button:focus-visible{outline:4px solid #194e80;outline-offset:3px}.workshop{--tile:clamp(44px,7.4vh,66px);color:#402916;max-width:1000px;margin:auto;width:100%;font-family:Fredoka,sans-serif}.task-heading{text-align:center;background:#fff4dc;padding:8px 16px;border-radius:18px;width:max-content;max-width:100%;margin:0 auto 10px;font-size:clamp(19px,2.6vw,29px);font-weight:600}.work-area{display:grid;grid-template-columns:170px auto 110px;align-items:center;justify-content:center;gap:24px}.model-area{background:#fff7e8;border-radius:16px;padding:10px;text-align:center}.model-area h2{font-size:19px;margin:0 0 8px}.mini-grid{display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:1;width:100%;background:#eedbb4;border-radius:50%;padding:13px}.mini-cell{display:flex;align-items:center;justify-content:center;aspect-ratio:1}.mini-cell svg{width:100%;height:100%}.ornament-board{position:relative;display:grid;grid-template-columns:repeat(3,var(--tile));width:max-content;padding:15px;border-radius:48%;background:#ffeccb;box-shadow:0 10px 28px #38271640;border:5px solid #b98b4f}.ornament-board::before{content:'';position:absolute;left:43%;top:-16px;width:14%;height:17px;background:#c99c42;border-radius:5px 5px 0 0}.spot{height:var(--tile);width:var(--tile);border:0;padding:2px;background:transparent;border-radius:10px;touch-action:none;position:relative}.spot:empty::after{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#c3a875;margin:auto}.spot.hint{background:#f5d793;outline:2px dashed #795820;outline-offset:-5px}.spot.fixed{cursor:default}.shape-svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 1px #6a471b40)}.palette{display:flex;flex-direction:column;gap:8px;align-items:center}.palette button{width:64px;height:62px;border:0;background:#fff3d9;border-radius:13px;padding:9px;touch-action:none;box-shadow:0 4px 10px #30220e33}.palette button[aria-pressed=true]{outline:4px solid #684527;outline-offset:2px;background:#ffe2a3}.board-status{min-height:31px;font-size:18px;text-align:center;background:#fff6e5;border-radius:12px;margin:10px auto 0;padding:4px 12px;width:fit-content;max-width:100%}.recipe-row{display:flex;align-items:center;gap:5px;justify-content:center;margin:5px 0;font-size:22px}.recipe-row svg{width:32px;height:32px}.recipe-dots{display:flex;gap:3px}.recipe-dots i{height:9px;width:9px;border-radius:50%;background:#9b784c}.recipe-row.done i{background:#32653d}.demo-hand{position:fixed;z-index:40;width:65px;height:85px;pointer-events:none;object-fit:contain;display:none}.tree-gallery{position:relative;width:min(100%,470px);height:clamp(210px,33vh,370px);margin:8px auto;background:url('media/tree.webp') center/contain no-repeat}.tree-ornament{position:absolute;width:17%;aspect-ratio:1;background:#f7deaf;border:2px solid #c59a54;border-radius:50%;padding:4px}.tree-ornament .mini-grid{padding:2px;background:transparent}.final-designs{margin:8px 0}.final-designs h3{text-align:center;font-size:20px;margin:4px}.demo-label{position:absolute;z-index:5;left:50%;transform:translateX(-50%);padding:7px 14px;background:#fff5d6;border-radius:14px;pointer-events:none;white-space:nowrap;font-size:19px}.workshop[data-demo=true] .ornament-board{pointer-events:none}.wm-board-slot:has(.workshop){overflow:visible}.wm-final-image{display:none}.drag-shape{position:fixed;z-index:60;width:56px;height:56px;pointer-events:none;transform:translate(-50%,-50%)}
@media(max-width:700px){.workshop{--tile:clamp(44px,11.4vw,58px)}.work-area{grid-template-columns:85px auto;gap:9px;align-items:center}.model-area{padding:7px}.model-area h2{font-size:16px}.mini-grid{padding:5px}.palette{grid-column:1/-1;flex-direction:row;justify-content:center;gap:10px}.palette button{width:55px;height:55px;padding:8px}.task-heading{font-size:20px;margin-bottom:15px}.ornament-board{padding:6px;border-width:4px}.recipe-row{font-size:18px;gap:3px;flex-wrap:wrap}.recipe-row svg{width:25px;height:25px}.recipe-dots{width:100%;justify-content:center}.board-status{font-size:16px}.wm-board-slot:has(.workshop){padding:0 4px}}
@media(max-height:650px) and (orientation:landscape){.workshop{--tile:38px;max-width:740px}.work-area{grid-template-columns:130px auto 80px;gap:18px}.palette button{width:48px;height:46px;padding:6px}.palette{gap:3px}.task-heading{font-size:18px;margin-bottom:8px;padding:4px 12px}.board-status{font-size:16px;margin-top:5px}.ornament-board{padding:8px}.model-area h2{font-size:16px}.workshop .spot{min-height:38px;min-width:38px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#activity-root{width:100%;height:100dvh;min-height:100dvh}

.shape-svg{display:block;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #6a471b35)}
.workshop{--tile:clamp(60px,8.9vh,84px);position:relative;display:flex;flex-direction:column;justify-content:center;height:100%;padding:8px 0;gap:8px}
.reindeer-prompt{border:0;background:transparent;color:#fff3d3;display:flex;align-items:center;justify-content:center;gap:12px;max-width:650px;margin:0 auto 4px;cursor:pointer;font-family:Fredoka,sans-serif;font-size:20px;text-align:center}
.reindeer-prompt img,.reindeer-prompt video{width:88px;height:98px;object-fit:contain;flex-shrink:0}.reindeer-prompt span{background:#194f3c;border:1px solid #e7bd62;padding:10px 18px;border-radius:28px}
.task-heading{margin-bottom:8px}.spot{z-index:1;overflow:visible}.spot:has(img){z-index:2}.spot.fixed{z-index:3}.model-area .mini-grid{padding:12px}.mini-cell{overflow:visible}.mini-cell img{max-width:none!important;max-height:none!important}.tree-ornament{width:13%;padding:2px;z-index:1}.tree-ornament .mini-grid{padding:2px;overflow:visible}.tree-gallery{height:clamp(250px,38vh,390px)}.board-status{margin-top:6px}.work-area{grid-template-columns:170px auto 100px}
@media(max-width:700px) and (orientation:portrait){.workshop{--tile:clamp(60px,18vw,76px);gap:6px}.work-area{grid-template-columns:85px auto;gap:10px}.reindeer-prompt{font-size:17px;margin:0 auto 4px;gap:4px}.reindeer-prompt img,.reindeer-prompt video{width:65px;height:78px}.reindeer-prompt span{padding:9px 12px}.task-heading{font-size:20px;padding:5px 12px;margin:0 auto 8px}.palette{grid-column:1/-1;flex-direction:row}.palette button{width:54px;height:54px}.ornament-board{padding:8px}.board-status{font-size:15px;min-height:24px;padding:3px 8px}.model-area .mini-grid{padding:6px}}
@media(max-height:650px) and (orientation:landscape){.workshop{--tile:48px;max-width:900px;display:grid;grid-template-columns:minmax(145px,1fr) auto;grid-template-rows:auto auto;column-gap:12px;align-content:center;justify-content:center;padding:0 8px}.reindeer-prompt{grid-column:1;grid-row:1/3;flex-direction:column;font-size:16px;gap:3px;margin:0;max-width:235px}.reindeer-prompt img,.reindeer-prompt video{width:88px;height:98px}.reindeer-prompt span{padding:7px 10px}.work-area{grid-column:2;grid-row:1;grid-template-columns:90px auto 55px;gap:12px}.task-heading{display:none}.board-status{grid-column:2;grid-row:2;font-size:14px;margin-top:3px;min-height:20px;padding:2px 7px}.palette{grid-column:auto;flex-direction:column;gap:2px}.palette button{width:48px;height:48px;padding:5px}.ornament-board{padding:5px;border-width:3px}.model-area{padding:5px}.model-area h2{font-size:14px;margin-bottom:4px}.model-area .mini-grid{padding:6px}.recipe-row{margin:1px 0;font-size:15px}.recipe-row img{width:22px;height:22px}.recipe-dots{display:none}}

.wm-shell-root .reindeer-prompt{color:#fff4d7;font-family:Fredoka,sans-serif;font-size:20px;font-weight:600;line-height:1.25}.reindeer-prompt video{object-fit:contain;pointer-events:none}.recipe-row .shape-svg{width:32px;height:32px}.ornament-board .shape-svg{max-width:none;max-height:none}
@media(max-height:650px) and (orientation:landscape){.wm-shell-root .reindeer-prompt{font-size:16px}.recipe-row .shape-svg{width:22px;height:22px}}
@media(max-width:700px) and (orientation:portrait){.wm-shell-root .reindeer-prompt{font-size:17px}}

@media(max-height:650px) and (orientation:landscape){.palette{display:grid;grid-template-columns:repeat(2,48px);grid-auto-rows:48px;gap:3px}.work-area{grid-template-columns:90px auto 100px;gap:8px}}

.model-area .tree-gallery{width:100%;height:145px;margin:0}.reward-designs .tree-gallery{height:165px;width:250px;max-width:100%;margin:0 auto}.reward-designs h3{text-align:center;font-size:18px;margin:2px}.reward-designs .mini-grid{padding:2px}@media(max-height:650px) and (orientation:landscape){.model-area .tree-gallery{height:120px}.reward-designs .tree-gallery{height:120px}.reward-designs h3{font-size:16px}}

.tree-ornament{width:7.5%;padding:1px;border-width:1px}
