.studio-shell{min-height:calc(100vh - 70px);background-image:linear-gradient(color-mix(in srgb,var(--ink) 6%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--ink) 6%,transparent) 1px,transparent 1px);background-size:34px 34px}.studio-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:1480px;margin:auto;padding:34px clamp(20px,5vw,72px) 20px}.eyebrow,.step{margin:0;color:var(--orange);font:800 11px monospace;letter-spacing:.15em}.studio-heading h1{margin:10px 0 0;font-size:clamp(42px,5vw,72px);line-height:.9;letter-spacing:-.06em;text-transform:uppercase}.studio-heading h1 span{color:var(--orange)}.studio-heading>p{max-width:470px;margin:0;color:var(--muted);font-size:15px;line-height:1.55}.studio-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.65fr);max-width:1480px;margin:auto;padding:0 clamp(18px,4vw,60px) 46px;gap:20px}.drawing-panel,.studio-controls{border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--panel) 96%,transparent);box-shadow:0 22px 60px #0003}.drawing-panel{min-width:0;overflow:hidden}.board-scene{min-height:590px;display:grid;place-items:center;padding:34px;background:radial-gradient(circle at 50% 48%,color-mix(in srgb,var(--orange) 10%,transparent),transparent 45%)}.studio-board{position:relative;height:510px;aspect-ratio:897/1200;filter:drop-shadow(0 28px 25px #0005);transition:height .25s ease,aspect-ratio .25s ease}.studio-board.size-small{height:390px;aspect-ratio:993/1200}.board-art{display:block;width:100%;height:100%}.draw-surface{position:absolute;z-index:2;left:20.5%;top:14%;width:59%;height:70%;cursor:crosshair;touch-action:none}.draw-surface.eraser-active{cursor:cell}.draw-toolbar{display:flex;align-items:center;gap:9px;min-height:74px;padding:12px 16px;border-top:1px solid var(--line);background:var(--panel)}.marker-colors{display:flex;gap:7px;padding-right:7px;border-right:1px solid var(--line)}.marker-color{width:28px;height:28px;padding:0;border:2px solid transparent;border-radius:50%;background:var(--marker);box-shadow:inset 0 0 0 1px #0003;cursor:pointer}.marker-color[aria-pressed=true]{border-color:var(--orange);outline:2px solid var(--paper);outline-offset:-4px}.width-control{display:grid;gap:4px;min-width:120px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.width-control input{width:120px;accent-color:var(--orange)}.draw-toolbar>button{min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--ink);font-size:11px;font-weight:800;cursor:pointer}.draw-toolbar>button:hover:not(:disabled),.draw-toolbar>button[aria-pressed=true]{border-color:var(--orange);color:var(--orange)}.draw-toolbar>button:disabled{opacity:.35;cursor:not-allowed}.draw-toolbar .danger-button{margin-left:auto}.studio-controls{padding:clamp(26px,3.5vw,48px);align-self:stretch}.studio-controls h2{margin:13px 0 9px;font-size:clamp(30px,3vw,44px);line-height:1;letter-spacing:-.045em}.intro{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.fields{display:grid;gap:17px;margin-top:27px}.field{display:grid;gap:8px;color:var(--ink);font-size:11px;font-weight:800}.field select{width:100%;height:48px;padding:0 38px 0 13px;appearance:none;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:700}.color-select{position:relative}.color-select i{position:absolute;z-index:1;left:13px;top:13px;width:22px;height:22px;border:1px solid #0003;border-radius:6px}.color-select select{padding-left:46px}.share-button,.buy-button{width:100%;min-height:62px;margin-top:22px;padding:10px 14px;border-radius:10px;display:flex;align-items:center;gap:12px;text-align:left}.share-button{border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer}.share-button>span:nth-child(2){display:grid;gap:3px}.share-button small{color:var(--muted)}.share-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:color-mix(in srgb,var(--orange) 14%,transparent);color:var(--orange);font-size:19px}.share-button>b,.buy-button>b{margin-left:auto;color:var(--orange);font-size:19px}.buy-button{margin-top:10px;background:var(--orange);color:#fff;text-decoration:none;font-size:12px;font-weight:700}.buy-button>b{color:#fff}.shop-mark{width:35px;height:35px;flex:0 0 35px;background:url('../../the-extruder-logo.svg') center/contain no-repeat;filter:brightness(0) invert(1)}.share-note,.status{margin:12px 6px 0;color:var(--muted);font-size:10px;line-height:1.4;text-align:center}.status{min-height:14px;color:#35a97d}
@media(max-width:1050px){.studio-workspace{grid-template-columns:1fr}.studio-controls{padding:32px}.fields{grid-template-columns:repeat(3,minmax(0,1fr))}.board-scene{min-height:530px}.studio-board{height:450px}.studio-board.size-small{height:345px}}
@media(max-width:650px){.studio-heading{display:block;padding-top:24px}.studio-heading>p{margin-top:14px}.studio-workspace{padding-inline:12px}.board-scene{min-height:400px;padding:22px 10px}.studio-board{height:350px}.studio-board.size-small{height:270px}.draw-toolbar{flex-wrap:wrap}.marker-colors{width:100%;justify-content:center;padding:0 0 10px;border:0;border-bottom:1px solid var(--line)}.width-control{flex:1}.draw-toolbar .danger-button{margin-left:0}.studio-controls{padding:25px 18px}.fields{grid-template-columns:1fr;gap:13px}.studio-heading h1{font-size:43px}.studio-heading>p{font-size:13px}}
@media(max-width:390px){.studio-board{height:315px}.studio-board.size-small{height:245px}.board-scene{min-height:360px}.draw-toolbar>button{padding-inline:9px}}

/* The interactive layer follows the complete visible writing surface. */
.draw-surface{left:10%;top:7.5%;width:80%;height:85%}
.size-small .draw-surface{left:12.3%;top:10.3%;width:75.4%;height:79.5%}

.board-scene{position:relative;isolation:isolate;overflow:hidden}
.board-scene::before{content:"";position:absolute;z-index:0;left:50%;top:50%;width:calc(100% - 64px);height:calc(100% - 64px);max-width:980px;max-height:980px;transform:translate(-50%,-50%);background:url('../../the-extruder-logo.svg') center/contain no-repeat;opacity:.12;pointer-events:none}
html[data-theme=light] .board-scene::before{opacity:.09;filter:grayscale(1)}
.studio-board{z-index:1}
.studio-board.product-cat{height:510px;aspect-ratio:844/1200}
.product-cat .draw-surface{left:18.3%;top:42.8%;width:52.3%;height:47.5%}
.studio-board.product-dog{aspect-ratio:862/1200}
.product-dog .draw-surface{left:19.7%;top:45.2%;width:51.5%;height:47.3%}
.studio-board.product-speech-bubble{aspect-ratio:1256/1200}
.product-speech-bubble .draw-surface{left:11.5%;top:11.2%;width:77.3%;height:57.1%}
.studio-board.product-thought-bubble{aspect-ratio:1305/1200}
.product-thought-bubble .draw-surface{left:15.9%;top:16%;width:69.8%;height:53.5%}
.studio-board.product-giraffe{aspect-ratio:991/1200}
.product-giraffe .draw-surface{left:11.7%;top:47.8%;width:68.5%;height:44.3%}
.studio-board.product-skeleton{aspect-ratio:907/1200}
.product-skeleton .draw-surface{left:19%;top:49.7%;width:62.5%;height:37.2%}
.studio-board.product-dinosaur{aspect-ratio:1229/1200}
.product-dinosaur .draw-surface{left:19.6%;top:45.7%;width:53.4%;height:42.6%}
.studio-board.product-tombstone{aspect-ratio:967/1200}
.product-tombstone .draw-surface{left:24.1%;top:30.6%;width:50.4%;height:51.7%}
.field select:disabled{opacity:.72;cursor:not-allowed}
#sizeField[hidden],#frameField[hidden]{display:none}

@media(max-width:1050px){
  .studio-workspace{display:flex;flex-direction:column;gap:0;padding:0 12px 34px}
  .drawing-panel,.studio-controls{display:contents}
  .studio-controls>.step{order:1;margin:16px 6px 0}
  .studio-controls>h2{order:2;margin:7px 6px 4px;font-size:27px}
  .studio-controls>.intro{order:2;margin:0 6px;font-size:12px}
  .fields{order:3;margin:14px 6px 18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .field:first-child{grid-column:1/-1}
  .fields.cat-fields #frameField{grid-column:1/-1}
  .fields.single-product #productField{grid-column:1/-1}
  .board-scene{order:4;border:1px solid var(--line);border-radius:16px 16px 0 0}
  .draw-toolbar{order:5;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px}
  .share-button{order:6;width:auto;margin:14px 6px 0}
  .buy-button{order:7;width:auto;margin:10px 6px 0}
  .share-note{order:8;margin:12px 12px 0}
  .status{order:9}
  .studio-board.product-cat{height:350px}
}

@media(max-width:390px){.studio-board.product-cat{height:315px}}

/* Larger drawing canvases while preserving each product's native proportions. */
.board-scene{min-height:700px}
.studio-board{height:640px}
.studio-board.size-small{height:490px}
.studio-board.product-cat{height:640px}

@media(max-width:1050px){
  .board-scene{min-height:640px}
  .studio-board{height:560px}
  .studio-board.size-small{height:430px}
  .studio-board.product-cat{height:560px}
}

@media(max-width:650px){
  .board-scene{min-height:450px}
  .studio-board{height:400px}
  .studio-board.size-small{height:320px}
  .studio-board.product-cat{height:400px}
}

@media(max-width:390px){
  .board-scene{min-height:420px}
  .studio-board{height:370px}
  .studio-board.size-small{height:290px}
  .studio-board.product-cat{height:370px}
}

/* Extra-large studio presentation. */
.board-scene{min-height:850px}
.studio-board{height:780px}
.studio-board.size-small{height:600px}
.studio-board.product-cat{height:780px}

@media(max-width:1050px){
  .board-scene{min-height:740px}
  .studio-board{height:660px}
  .studio-board.size-small{height:500px}
  .studio-board.product-cat{height:660px}
}

@media(max-width:650px){
  .board-scene{min-height:475px}
  .studio-board{height:425px}
  .studio-board.size-small{height:340px}
  .studio-board.product-cat{height:425px}
}

@media(max-width:390px){
  .board-scene{min-height:450px}
  .studio-board{height:400px}
  .studio-board.size-small{height:315px}
  .studio-board.product-cat{height:400px}
}

/* Match the established Dummy 13 purchase-button treatment. */
.buy-button{min-height:52px;padding:6px 14px 6px 9px;border:0;border-radius:9px;gap:11px;justify-content:flex-start;font:700 13px/1.25 Arial,Helvetica,sans-serif;box-shadow:0 8px 20px #f2562e33}
.buy-button .shop-mark{flex:0 0 38px;width:38px;height:38px;filter:brightness(0) invert(1) drop-shadow(0 1px 2px #0003)}
html[data-theme=light] .buy-button .shop-mark{filter:brightness(0) saturate(100%) drop-shadow(0 1px 1px #fff5)}
.buy-button .shop-copy{flex:1;text-align:center}
.buy-button .shop-copy strong{font-weight:900;letter-spacing:.055em;white-space:nowrap}
.buy-button .shop-arrow{flex:0 0 auto;margin-left:0;color:inherit;font-size:17px}
html[data-theme=dark] .buy-button{background:#ff5a1f;color:#111}
html[data-theme=light] .buy-button{background:#ed4b1a;color:#fff}

@media(max-width:650px){
  .buy-button{font-size:11px;padding-right:11px}
  .buy-button .shop-mark{flex-basis:34px;width:34px;height:34px}
  .buy-button .shop-arrow{font-size:15px}
  .board-scene::before{width:calc(100% - 28px);height:calc(100% - 28px);max-width:560px;max-height:560px}
}

/* Whiteboard activities */
.game-surface{display:none;cursor:pointer}
.game-mode #drawSurface{display:none}
.game-mode .game-surface{display:block}
.finish-mode #drawSurface,.doodle-mode #drawSurface{display:block;z-index:3}.finish-mode .game-surface,.doodle-mode .game-surface{display:block;z-index:2;pointer-events:none}.finish-mode #drawSurface,.doodle-mode #drawSurface{cursor:crosshair}
.game-result-overlay{z-index:4;display:none;place-content:center;justify-items:center;gap:7px;padding:14px;border:4px solid #8cc8ff;border-radius:14px;background:rgba(38,48,61,.94);color:#fff;text-align:center;cursor:default;pointer-events:none;box-shadow:0 0 0 4px #0003,0 18px 45px #0008,inset 0 0 35px #fff1;backdrop-filter:blur(3px)}
.game-result-overlay.is-visible{display:grid;animation:game-result-flash .72s ease-out}
.studio-board:not(.game-mode) .game-result-overlay{display:none!important}
.game-result-overlay strong{font-size:clamp(22px,4vw,46px);font-weight:1000;line-height:.95;letter-spacing:-.035em;text-transform:uppercase;text-shadow:0 3px 8px #0007}
.game-result-overlay span{max-width:26ch;font-size:clamp(12px,1.5vw,17px);font-weight:800;line-height:1.3}
.game-result-overlay small{margin-top:4px;color:#fffcc;font-size:clamp(9px,1.1vw,12px);font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.game-result-overlay.outcome-win{border-color:#50e4a8;background:rgba(16,91,64,.94)}
.game-result-overlay.outcome-loss{border-color:#ff7771;background:rgba(103,27,31,.95)}
.game-result-overlay.outcome-draw{border-color:#8cc8ff;background:rgba(38,48,61,.94)}
.game-result-overlay.outcome-start{border-color:var(--orange);background:rgba(28,31,33,.88);animation:game-start-message .42s ease-out}
.game-result-overlay.is-settled{place-content:start center;padding:8px;border-color:transparent;background:transparent;box-shadow:none;backdrop-filter:none;animation:none}
.game-result-overlay.is-settled strong{padding:8px 15px;border:2px solid currentColor;border-radius:999px;background:rgba(24,27,29,.9);font-size:clamp(13px,2vw,20px);letter-spacing:.015em;box-shadow:0 5px 16px #0007}
.game-result-overlay.is-settled span,.game-result-overlay.is-settled small{display:none}
.game-result-overlay.outcome-win.is-settled strong{color:#7df0bd}
.game-result-overlay.outcome-loss.is-settled strong{color:#ff918c}
.game-result-overlay.outcome-draw.is-settled strong{color:#a9d8ff}
@keyframes game-result-flash{0%{opacity:0;transform:scale(.78)}38%{opacity:1;transform:scale(1.05)}62%{filter:brightness(1.45)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}
@keyframes game-start-message{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.game-result-overlay.is-visible,.game-result-overlay.outcome-start{animation:none}}
.game-toolbar{display:flex;align-items:center;gap:14px;min-height:74px;padding:12px 16px;border-top:1px solid var(--line);background:var(--panel)}
.game-toolbar[hidden],.draw-toolbar[hidden]{display:none!important}
.game-mark{color:var(--orange);font:900 26px/1 Arial,Helvetica,sans-serif;letter-spacing:.08em}
.game-status{flex:1;color:var(--ink);font-size:13px;font-weight:800}
.game-toolbar button{min-height:40px;padding:0 18px;border:1px solid var(--orange);border-radius:8px;background:color-mix(in srgb,var(--orange) 14%,var(--panel));color:var(--orange);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.game-toolbar button:hover{background:var(--orange);color:#fff}
.maze-difficulty{display:grid;gap:3px;color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.maze-difficulty[hidden],.maze-metrics[hidden]{display:none}.maze-difficulty select{height:36px;padding:0 28px 0 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font-weight:800}.maze-metrics{display:grid;min-width:72px;text-align:center}.maze-metrics b{font:900 16px/1 monospace;color:var(--orange)}.maze-metrics small{margin-top:4px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}.maze-mode .game-surface{cursor:crosshair}.studio-board.maze-hit{animation:maze-hit .35s ease}@keyframes maze-hit{25%,75%{filter:drop-shadow(0 0 18px #d52d32) brightness(1.16)}50%{transform:translateX(-3px)}60%{transform:translateX(3px)}}
.dots-mode .game-surface{cursor:pointer}.studio-board.dots-hit{animation:dots-hit .45s ease}@keyframes dots-hit{35%{filter:drop-shadow(0 0 16px #d52d32) brightness(1.12)}55%{transform:scale(.992)}}
.trace-mode .game-surface{cursor:crosshair}.studio-board.trace-hit{animation:trace-hit .65s ease}@keyframes trace-hit{20%,60%{filter:drop-shadow(0 0 18px #d52d32) brightness(1.14)}40%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
.letter-mode .game-surface{cursor:crosshair}.studio-board.letter-hit{animation:trace-hit .65s ease}
.clock-mode .game-surface{cursor:crosshair}.studio-board.clock-hit{animation:trace-hit .65s ease}
.shape-choices{display:flex;flex:1;flex-wrap:wrap;justify-content:center;gap:7px}.shape-choices[hidden]{display:none}.shape-choices button{min-height:34px;padding:0 11px}.shape-choices button.is-wrong{border-color:#d52d32;background:repeating-linear-gradient(135deg,#d52d3225 0 5px,transparent 5px 10px);color:var(--muted);opacity:.72}.shape-choices button.is-correct{border-color:#159447;background:#159447;color:#fff}
.boxes-mode .game-surface{cursor:pointer}.boxes-score{display:grid;min-width:94px;text-align:center}.boxes-score[hidden]{display:none}.boxes-score b{color:#1769d2;font-size:11px}.boxes-score small{margin-top:3px;color:#d52d32;font-size:9px;font-weight:800}

@media(max-width:1050px){
  .game-toolbar{order:5;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px}
  #activityField{grid-column:1/-1}
}

@media(max-width:650px){
  .game-toolbar{gap:9px;padding-inline:12px}
  .game-mark{font-size:22px}
  .game-status{font-size:11px}
  .game-toolbar button{padding-inline:12px;font-size:10px}
  .game-toolbar:has(.maze-difficulty:not([hidden])){flex-wrap:wrap}.maze-difficulty select{height:32px}.maze-metrics{min-width:62px}
}
