/* Shared interior: one workbench, with replaceable products and collections. */
#workshop{padding:0;background:#091626;border:0}
#workshop:before,.workshop-ready #workshop:before,.collection-page #workshop:before{display:none}
.workbench-stage{position:relative;max-width:1536px;margin:auto;height:clamp(580px,46vw,680px);isolation:isolate;background:#432514 url('workshop-scene.png') center center/cover no-repeat;border-bottom:5px ridge #b68a4a;overflow:hidden}
.workbench-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#190d086e,transparent 51%)}
.workbench-crest{display:block;position:absolute;top:6px;left:50%;transform:translateX(-50%);width:245px;aspect-ratio:317/260;background:url('mww-logo-transparent.png?v=20261114-1') center/contain no-repeat;filter:drop-shadow(0 8px 10px #170a05);z-index:2}
.workbench-stage .workshop-heading{position:absolute;left:6%;top:31%;width:35%;max-width:480px;margin:0;text-align:left;text-shadow:0 2px 5px #130b06,0 0 24px #150a05}
.workbench-stage .workshop-heading>a:first-child{font-size:.76rem;margin:0 0 15px;color:#ffe5aa}
.workbench-stage .workshop-heading .eyebrow{font-size:.67rem;letter-spacing:.18em;margin:0 0 12px}
.workbench-stage .workshop-heading h1,.workbench-stage .workshop-heading h2{font:italic 600 clamp(2.5rem,3.6vw,3.5rem)/1.03 Georgia,'Times New Roman',serif;color:#fff0cb;margin:0 0 18px}
.workbench-stage .workshop-heading p:not(.eyebrow){font:1rem/1.5 Georgia,serif;color:#f8e3bc;max-width:340px;margin:0 0 24px}
.workbench-stage .workshop-heading .gold-button{font-size:1.1rem;min-height:48px;margin:0;text-shadow:none}
.workbench-display{position:absolute;left:41%;right:5%;top:29%;bottom:12%;pointer-events:none}
.bench-item{display:block;position:absolute;pointer-events:auto;filter:drop-shadow(0 18px 9px #190900aa);transition:transform .25s}
.bench-item:hover{transform:translateY(-5px)}
.bench-item:focus-visible{outline:3px solid #ffe9aa;outline-offset:0;border-radius:12px}
.bench-art{display:block;width:100%;height:100%;object-fit:contain}
.display-pocket-games .bench-item,.display-marble-games .bench-item{inset:0}
.display-workshop .bench-item-0{left:0;top:5%;width:86%;height:80%;z-index:2;transform:rotate(-4deg)}
.display-workshop .bench-item-1{right:-2%;bottom:-4%;width:47%;height:55%;z-index:3}
.display-workshop .bench-item-2{left:10%;top:60%;width:30%;height:38%;z-index:4}
.display-wooden-toys .bench-item{left:7%;right:3%;top:0;bottom:0}
.workbench-toy{background:url('magic-cast.png') 0 0/300% 200% no-repeat;aspect-ratio:1}
.display-bigger-ideas{top:39%;bottom:15%}
.display-bigger-ideas .bench-item{width:60%;height:72%;top:5%;left:0;transform:rotate(-10deg)}
.display-bigger-ideas .bench-item-1{left:20%;top:15%;transform:rotate(2deg)}
.display-bigger-ideas .bench-item-2{left:40%;top:29%;transform:rotate(10deg)}
.design-plan{background:repeating-linear-gradient(0deg,transparent 0 19px,#9c783528 19px 20px),repeating-linear-gradient(90deg,transparent 0 19px,#9c783528 19px 20px),linear-gradient(135deg,#f2ddb3,#c6a06a);border:1px solid #b28746;border-radius:2px;color:#593c22;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;box-shadow:0 5px 8px #130a0755;font-family:Georgia,serif}
.plan-heading{font:italic 1.4rem Georgia,serif}.plan-lines{width:80%;height:45%;border:2px solid #936f3d;outline:1px solid #936f3d;outline-offset:5px;background:repeating-linear-gradient(35deg,transparent 0 25px,#9c783538 25px 26px);transform:skew(-8deg);margin:18px 0}.design-plan small{font-size:.75rem;line-height:1.3}
.workbench-caption{position:absolute;bottom:10px;left:4%;right:4%;text-align:center;font-size:.67rem;letter-spacing:.06em;color:#ffebbd;text-shadow:0 1px 4px #120803;margin:0}
#workshop .workshop-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;max-width:1380px;margin:0 auto;padding:9px 18px;position:relative;z-index:2;background:linear-gradient(110deg,#d8b27b,#fff0d1 45%,#d5ae76);border:4px double #90602e;border-radius:0 0 15px 15px;box-shadow:0 8px 18px #0006}
#workshop .workshop-navigation a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:65px;padding:12px 10px;text-align:center;border:0;border-right:1px solid #a17a43;border-radius:0;background:none;color:#4d2817;font:italic 600 clamp(.9rem,1.5vw,1.4rem)/1.2 Georgia,serif;text-shadow:0 1px #fff9df}
#workshop .workshop-navigation a:last-child{border-right:0}
#workshop .workshop-navigation a:hover,#workshop .workshop-navigation a[aria-current=page]{background:#8c57251c;color:#7e1423}
#workshop .workshop-navigation a:focus-visible{outline-color:#7e1423;outline-offset:-4px}
#collections{padding:45px max(24px,4vw) 10px;background:radial-gradient(ellipse at top,#172d43,#091626 70%);scroll-margin-top:24px}
#workshop .collection{max-width:1380px;margin:0 auto 52px}
#workshop .collection-heading{border-bottom:1px solid #a7793e;align-items:center}
#workshop .collection-heading h2,#workshop .collection-heading h3{font:italic clamp(1.8rem,3vw,2.7rem)/1.2 Georgia,serif;color:#f7ddb0}
#workshop .collection-heading a{color:#f4c784}
#workshop .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#workshop #pocket-games .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#workshop .product-card{border:2px solid #d2a35d;border-radius:10px;box-shadow:0 5px 15px #0007;background:linear-gradient(110deg,#e0bd87,#ffedc8 55%,#dbb47b);display:flex;flex-direction:column}
.product-visual{background:#382010 url('workshop-room.png') 50% 85%/cover no-repeat;aspect-ratio:1.1;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #a47439}
#workshop .product-image{width:100%;height:100%;padding:8px;object-fit:contain;background-color:transparent;background-image:none;aspect-ratio:auto;filter:drop-shadow(0 7px 5px #1b0c05b3)}
#workshop .product-image.workbench-toy{background-image:url('magic-cast.png');background-size:300% 200%;padding:0;width:85%;height:auto;aspect-ratio:1}
#workshop .product-image.design-plan{width:75%;height:72%;padding:12px;background:repeating-linear-gradient(0deg,transparent 0 19px,#9c783528 19px 20px),linear-gradient(135deg,#f2ddb3,#c6a06a)}
#workshop .product-copy{padding:18px 12px;display:flex;flex:1;flex-direction:column;text-align:center}
#workshop .product-copy h3,#workshop .product-copy h4{font:italic 600 1.35rem/1.15 Georgia,serif;margin:0 0 12px}
#workshop .product-copy p{font-size:.76rem;line-height:1.55}
#workshop .product-copy .product-status{font-size:.57rem;letter-spacing:.12em;margin-bottom:10px}
#workshop .product-copy .gold-button{font:italic .95rem Georgia,serif;min-height:40px;padding:9px 12px;margin-top:auto;gap:0}
@media(min-width:1500px){.workbench-stage .workshop-heading{top:34%}.workbench-crest{width:290px}}
@media(max-width:1100px){#workshop #pocket-games .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workbench-stage{height:620px}.workbench-stage .workshop-heading{top:34%;left:5%;width:39%}.workbench-stage .workshop-heading h1,.workbench-stage .workshop-heading h2{font-size:3rem}.workbench-display{left:43%;right:3%;top:35%;bottom:13%}.workbench-crest{width:220px}.display-bigger-ideas{top:42%;bottom:18%}.design-plan{padding:12px}.plan-heading{font-size:1.1rem}}
@media(max-width:700px){.workbench-stage{height:780px;background-size:auto 100%;background-position:52% center}.workbench-crest{top:5px;width:185px}.workbench-stage .workshop-heading{top:175px;left:7%;right:7%;width:auto;max-width:none;text-align:center}.workbench-stage .workshop-heading>a:first-child{margin-bottom:12px}.workbench-stage .workshop-heading .eyebrow{display:none}.workbench-stage .workshop-heading h1,.workbench-stage .workshop-heading h2{font-size:2.7rem;margin-bottom:12px}.workbench-stage .workshop-heading p:not(.eyebrow){margin:0 auto 18px;max-width:340px;font-size:.95rem}.workbench-stage .workshop-heading .gold-button{min-height:44px}.workbench-display{left:5%;right:5%;top:54%;bottom:7%}.display-workshop .bench-item-0{top:9%;left:0;width:86%;height:85%}.display-workshop .bench-item-1{right:0;bottom:0;width:43%;height:48%}.display-workshop .bench-item-2{left:2%;top:55%;width:32%;height:38%}.display-bigger-ideas{top:59%;bottom:9%}.workbench-caption{font-size:.59rem;bottom:12px;left:7%;right:7%;line-height:1.4}#workshop .workshop-navigation{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;gap:6px;margin:0 12px;border-radius:0 0 12px 12px}#workshop .workshop-navigation a{min-height:58px;font-size:1.05rem;border:1px solid #b48d58;border-radius:4px;padding:12px 8px}#workshop .workshop-navigation a:last-child{border:1px solid #b48d58}#collections{padding:32px 18px 0}#workshop .product-grid,#workshop #pocket-games .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#workshop .collection-heading{align-items:flex-start;flex-direction:column}.product-visual{aspect-ratio:1}#workshop .product-copy{padding:14px 10px}#workshop .product-copy h3,#workshop .product-copy h4{font-size:1.2rem}}
@media(max-width:430px){#workshop .product-grid,#workshop #pocket-games .product-grid{grid-template-columns:1fr}.product-visual{aspect-ratio:1.35}#workshop .product-copy{padding:18px}#workshop .product-copy h3,#workshop .product-copy h4{font-size:1.6rem}.workbench-stage{height:770px}.workbench-stage .workshop-heading{top:165px}.workbench-stage .workshop-heading h1,.workbench-stage .workshop-heading h2{font-size:2.55rem}}
@media(prefers-reduced-motion:reduce){.bench-item{transition:none}.bench-item:hover{transform:none}}

@media(min-width:701px){#workshop .workshop-navigation.destinations-1{grid-template-columns:1fr}#workshop .workshop-navigation.destinations-2{grid-template-columns:repeat(2,minmax(0,1fr))}#workshop .workshop-navigation.destinations-3{grid-template-columns:repeat(3,minmax(0,1fr))}#workshop .workshop-navigation.destinations-4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* The main workshop is a shared product bench, not a collection hero. */
.workshop-hub .workbench-stage{background-image:url('workshop-room.png');height:730px;background-size:100% 100%;background-position:center}
.workshop-hub .workbench-stage:before{background:linear-gradient(180deg,#180b0830,transparent 65%)}
.workshop-hub .workbench-crest{width:215px;top:8px}
.workshop-hub .workshop-heading{top:205px;left:8%;width:84%;max-width:none;text-align:center}
.workshop-hub .workshop-heading>a:first-child{position:absolute;left:0;top:-175px}
.workshop-hub .workshop-heading .eyebrow{display:none}
.workshop-hub .workshop-heading h2{font-size:clamp(2rem,3.2vw,3.1rem);margin:0 0 12px}
.workshop-hub .workshop-heading p:not(.eyebrow){max-width:none;margin:0 auto;font:1.05rem/1.5 Georgia,serif}
.workshop-hub .workshop-heading .gold-button{display:none}
.workshop-hub .display-workshop{left:7%;right:5%;top:43%;bottom:7%;pointer-events:none}
.workshop-hub .display-workshop .bench-item{position:absolute;inset:auto;transform:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-decoration:none;filter:none;z-index:auto}
.workshop-hub .display-workshop .bench-position-a{left:0;width:23%;height:83%;bottom:5%}
.workshop-hub .display-workshop .bench-position-b{left:25%;width:25%;height:88%;bottom:15%}
.workshop-hub .display-workshop .bench-position-c{left:52%;width:22%;height:76%;bottom:0}
.workshop-hub .display-workshop .bench-position-d{left:77%;width:23%;height:92%;bottom:7%}
.workshop-hub .display-workshop .workbench-toy{flex:none;max-width:100%;max-height:calc(100% - 48px);height:auto!important;aspect-ratio:1}
.workshop-hub .display-workshop .bench-art{height:calc(100% - 48px);width:100%;object-fit:contain;filter:drop-shadow(0 12px 8px #170900a0);transition:transform .2s}
.workshop-hub .display-workshop .bench-item:hover .bench-art{transform:translateY(-6px)}
.bench-label{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:42px;padding:8px 12px;background:linear-gradient(#edd2a2,#c49452);border:3px double #815321;border-radius:5px;box-shadow:0 4px 8px #16090099;color:#432411;font:italic 600 1.1rem/1.2 Georgia,serif}
@media(max-width:700px){
 .workshop-hub .workbench-stage{height:940px;background-size:auto 125%;background-position:52% bottom}
 .workshop-hub .workbench-crest{width:170px;top:10px}
 .workshop-hub .workshop-heading{top:175px;left:6%;width:88%}
 .workshop-hub .workshop-heading>a:first-child{position:static;margin-bottom:10px}
 .workshop-hub .workshop-heading h2{font-size:2rem}
 .workshop-hub .workshop-heading p:not(.eyebrow){font-size:.95rem;max-width:330px}
 .workshop-hub .display-workshop{top:37%;bottom:7%;left:5%;right:5%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:24px 12px}
 .workshop-hub .display-workshop .bench-item{position:relative;inset:auto;width:100%;height:100%;max-width:none;min-height:0}
 .workshop-hub .display-workshop .bench-art{min-height:0;height:calc(100% - 48px)}
 .bench-label{font-size:.92rem;min-height:48px;padding:6px}
}
@media(prefers-reduced-motion:reduce){.workshop-hub .display-workshop .bench-art{transition:none}.workshop-hub .display-workshop .bench-item:hover .bench-art{transform:none}}

/* The striped airship now floats separately in the window sky. */
/* A stable button keeps the sparkle orbit anchored while its artwork flies. */
.workshop-airship{position:absolute;left:17.3%;top:12.8%;width:7%;height:6.5%;min-width:44px;min-height:44px;padding:0;border:0;background:none;pointer-events:auto;z-index:1;cursor:pointer}
.workshop-airship-art{position:absolute;inset:0;display:block;background:url('workshop-airship.svg') center/100% 100% no-repeat;animation:workshop-airship-drift 11s ease-in-out infinite;transform-origin:50% 45%;filter:drop-shadow(0 2px 2px #36253840);pointer-events:none}
.workshop-airship[data-color="green"] .workshop-airship-art{background-image:url('workshop-airship-green.svg')}
.workshop-airship-art:after{content:'';position:absolute;left:32%;top:79%;width:8%;height:5%;border-radius:50%;background:#ffefad;box-shadow:0 0 5px #ffbd45,0 0 12px #ffd96a;opacity:0}
.workshop-airship[data-phase="power"] .workshop-airship-art{animation:airship-power .9s ease-in-out both}
.workshop-airship[data-phase="power"] .workshop-airship-art:after{animation:airship-engine .16s linear infinite}
.workshop-airship[data-phase="depart"] .workshop-airship-art{animation:airship-depart 3.1s cubic-bezier(.45,0,.7,1) both}
.workshop-airship[data-phase="depart"] .workshop-airship-art:after{opacity:.8}
.workshop-airship[data-phase="return"] .workshop-airship-art{animation:airship-return 1.6s ease-out both}
@keyframes workshop-airship-drift{0%,100%{transform:translate(0,0) rotate(-1deg)}33%{transform:translate(5%,-5%) rotate(1.5deg)}68%{transform:translate(-5%,4%) rotate(-1.5deg)}}
@keyframes airship-power{0%{transform:translate(0,0) rotate(-1deg)}35%{transform:translate(-2%,-3%) rotate(1deg);filter:drop-shadow(0 0 4px #ffe1a5)}70%{transform:translate(1%,-5%) rotate(-2deg)}100%{transform:translate(0,-7%) rotate(-4deg);filter:drop-shadow(0 0 5px #ffe1a5)}}
@keyframes airship-engine{50%{opacity:1;transform:scale(1.5)}100%{opacity:.6}}
@keyframes airship-depart{0%{transform:translate(0,-7%) rotate(-4deg);opacity:1}70%{opacity:.8}100%{transform:translate(40%,-85%) scale(.025) rotate(-12deg);opacity:0}}
@keyframes airship-return{0%{transform:translate(-35%,-70%) scale(.04);opacity:0}25%{opacity:.3}100%{transform:translate(0,0) scale(1) rotate(-1deg);opacity:1}}
.page-inactive .workshop-airship-art{animation-play-state:paused}
.motion-paused .workshop-airship-art{animation:none!important}
@media(prefers-reduced-motion:reduce){.workshop-airship-art{animation:none!important}}
@media(max-width:700px){
 .workshop-hub .workbench-stage{background-size:auto 100%;background-position:21% bottom}
 .workshop-hub .workshop-airship{left:calc(21% - 52px);top:12.8%;width:99px;height:61px}
 .collection-page .workshop-airship{display:none}
}

@media(max-width:700px){
 .workshop-hub .workbench-stage:after{content:'';position:absolute;left:0;right:0;top:40%;bottom:0;z-index:-1;background:url('workshop-room.png') center bottom/auto 250% no-repeat;mask-image:linear-gradient(transparent,#000 12%);pointer-events:none}
}

@media(min-width:701px){#workshop .workshop-navigation.destinations-6{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Playable arcade cards must never look like unfinished product plans. */
.arcade-preview{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;text-align:center;color:#f7e5bd;background:radial-gradient(ellipse at top,#503344,#101b30 75%);border:1px solid #c79b53;min-height:260px;text-decoration:none}.arcade-preview strong{font:italic 2rem Georgia,serif}.arcade-preview-stars{color:#e7bc68;font-size:2.5rem;letter-spacing:.3em}.arcade-preview-play{padding:9px 18px;border:1px solid #c79b53;border-radius:30px;background:#702c35}.product-visual[href]{text-decoration:none}.product-visual[href]:hover .arcade-preview{filter:brightness(1.15)}.bench-art.arcade-preview{min-height:0;gap:8px;padding:15px}.bench-art.arcade-preview strong{font-size:1.5rem}.bench-art.arcade-preview span{font-size:.85rem}#farkle .product-image{object-fit:contain;background:#f7f0dc}



/* Approved coming-soon graphic: show the whole portrait without cropping. */
#workshop .coming-soon-art{position:relative;display:block;overflow:hidden;filter:none;background:transparent}
#workshop .coming-soon-art .coming-soon-poster,#workshop .coming-soon-art .coming-soon-video{display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0}
#workshop .coming-soon-art .coming-soon-video{position:absolute;inset:0;padding:8px}
#workshop .coming-soon-poster{object-fit:contain;background:transparent}
#workshop #farkle .coming-soon-art{background:transparent}
.coming-soon-toggle{position:absolute;right:12px;bottom:12px;padding:6px 9px;min-height:36px;border:1px solid #d2a35d;border-radius:6px;background:#091626ed;color:#ffedc8;font-size:.7rem;line-height:1.2;z-index:1}
.coming-soon-toggle:disabled{opacity:.7;cursor:default}

/* Portrait announcements follow the heading in normal flow on small screens. */
@media(max-width:700px){
 .collection-page:is([data-collection="wooden-toys"],[data-collection="bigger-ideas"]) .workbench-stage{height:auto;min-height:780px;padding:175px 0 52px}
 .collection-page:is([data-collection="wooden-toys"],[data-collection="bigger-ideas"]) .workbench-stage .workshop-heading{position:relative;inset:auto;width:auto;max-width:none;margin:0 7%}
 .collection-page:is([data-collection="wooden-toys"],[data-collection="bigger-ideas"]) .workbench-display{position:relative;inset:auto;height:300px;margin:24px 5% 0}
}


/* Optional material previews live only in product cards, never on the bench. */
.material-options{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:14px 0}
.material-option{min-height:40px;padding:8px 12px;border:1px solid #82512c;border-radius:20px;background:#f9edcb;color:#4b291d;font:inherit;cursor:pointer}
.material-option[aria-pressed="true"]{background:#702c35;color:#fff0d0;border-color:#702c35}
.material-option:focus-visible{outline:3px solid #1a3952;outline-offset:3px}
