:root {
  color-scheme: light;
  --navy: #12345b;
  --navy-deep: #082746;
  --sky: #22a9ef;
  --teal: #16c7c1;
  --purple: #8c5ce7;
  --blue: #3288ef;
  --green: #55c950;
  --yellow: #ffc928;
  --orange: #ff8a25;
  --pink: #f45b9c;
  --cream: #fffdf3;
  --muted: #5d7490;
  --line: #c3d7e4;
  font-family: "Avenir Next Rounded", "Nunito", "Trebuchet MS", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; min-width: 1000px; min-height: 650px; overflow: hidden; }
body { margin: 0; color: var(--navy); background: #1b9ae0; }
button { color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #0a66a7 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.lesson { height: 100%; padding: 12px; }
.studio { position: relative; height: 100%; min-height: 626px; overflow: hidden; isolation: isolate; border: 4px solid rgba(255,255,255,.7); border-radius: 32px; background: #75cdf1; box-shadow: inset 0 0 0 2px rgba(13,95,147,.25), 0 10px 0 #0876b5, 0 24px 55px rgba(5,43,79,.28); }
.world { position: absolute; z-index: -3; inset: 0; background: linear-gradient(rgba(17,138,206,.06),rgba(4,66,91,.12)), url("art/block-builder-world-01.webp") center / cover no-repeat; transform: scale(1.015); }
.studio::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0,121,201,.06), transparent 36%, rgba(28,107,44,.12)); pointer-events: none; }

.studio-hud { position: absolute; z-index: 20; left: 18px; right: 18px; top: 15px; height: 74px; display: grid; grid-template-columns: 238px minmax(220px,1fr) auto auto; align-items: stretch; gap: 12px; }
.brand-card,.goal-card,.difficulty-card,.scoreboard { border: 3px solid rgba(255,255,255,.92); border-radius: 21px; background: rgba(255,255,255,.92); box-shadow: 0 6px 0 rgba(7,77,119,.3), 0 10px 24px rgba(13,66,99,.14); backdrop-filter: blur(10px); }
.brand-card { display: flex; align-items: center; gap: 11px; padding: 8px 14px 8px 9px; }
.brand-badge { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; transform: rotate(-4deg); border: 4px solid #fff; border-radius: 15px; color: #fff; background: var(--blue); box-shadow: 0 4px 0 #0b62a9; font-size: 28px; font-weight: 1000; }
.brand-card div,.goal-card { display: flex; flex-direction: column; justify-content: center; }
.brand-card div span,.goal-card > span,.difficulty-card > span,.score span,.panel-heading span,.rule-card span { color: var(--muted); font-size: 10px; font-weight: 1000; letter-spacing: .08em; text-transform: uppercase; }
.brand-card strong { font-size: 18px; line-height: 1.05; letter-spacing: -.02em; }
.goal-card { min-width: 220px; padding: 9px 15px; }
.goal-card strong { margin-top: 2px; font-size: 16px; }
.goal-card i,.difficulty-card > i { height: 8px; margin-top: 7px; overflow: hidden; border-radius: 99px; background: #d9e8f1; }
.goal-card i b,.difficulty-card i b { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--yellow),var(--orange)); transition: width 180ms ease-out; }
.difficulty-card { width: 210px; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 9px 14px; }
.difficulty-card strong { max-width: 120px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.difficulty-card > i { grid-column: 1/-1; margin-top: 0; }.difficulty-card i b { background: linear-gradient(90deg,var(--teal),var(--blue),var(--purple)); }
.scoreboard { display: flex; padding: 6px; }
.score { min-width: 70px; display: grid; place-content: center; padding: 0 11px; text-align: center; }.score + .score { border-left: 2px solid #dce7ee; }
.score strong { display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 1px; font-size: 24px; line-height: 1; }.score strong i { color: #ff9c1a; font-size: 16px; font-style: normal; }.score small { color: var(--muted); font-size: 12px; }

.builder-bay { position: absolute; z-index: 3; left: 18px; top: 105px; bottom: 18px; width: 252px; }
.speech { position: absolute; z-index: 4; left: 4px; top: 0; width: 218px; min-height: 56px; display: grid; place-items: center; padding: 10px 17px; border: 3px solid var(--navy); border-radius: 20px 20px 20px 5px; color: var(--navy); background: #fff; box-shadow: 0 5px 0 rgba(6,47,82,.24); font-size: 13px; font-weight: 900; line-height: 1.2; text-align: center; }
.speech::after { position: absolute; left: 34px; bottom: -13px; width: 18px; height: 18px; content: ""; transform: rotate(45deg); border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); background: #fff; }
.mascot-wrap { position: absolute; z-index: 3; left: -5px; top: 55px; width: 235px; height: 260px; transform-origin: 50% 90%; transition: transform 180ms ease-out; }
.mascot { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 9px 5px rgba(5,47,77,.23)); }
.mascot-spark { position: absolute; right: 4px; top: 23px; opacity: 0; color: var(--yellow); filter: drop-shadow(0 2px 0 #9a6600); font-size: 44px; }
.mascot-wrap.is-thinking { animation: bot-bob 2.2s ease-in-out infinite; }.mascot-wrap.is-cheering { animation: bot-cheer 520ms cubic-bezier(.2,.85,.3,1.25); }.mascot-wrap.is-cheering .mascot-spark { animation: sparkle 640ms ease-out; }.mascot-wrap.is-worried { transform: rotate(-3deg) translateY(4px); }

.tables-panel { position: absolute; left: 0; right: 0; bottom: 0; min-height: 244px; padding: 13px 14px 14px; border: 3px solid #fff; border-radius: 24px; background: rgba(255,253,243,.94); box-shadow: 0 7px 0 rgba(11,76,44,.24), 0 16px 25px rgba(3,50,53,.16); }
.panel-heading { height: 45px; display: flex; align-items: center; justify-content: space-between; padding-left: 2px; }.panel-heading div { display: flex; flex-direction: column; }.panel-heading strong { font-size: 18px; }.panel-heading img { width: 50px; height: 50px; object-fit: contain; }
.table-tracker { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-top: 7px; }
.table-badge { min-height: 41px; display: grid; place-items: center; gap: 1px; padding: 4px; border: 2px solid #cbdde7; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 #cedde5; }
.table-badge strong { font-size: 14px; }.table-badge.is-mastered { border-color: #20aa65; color: #0b6440; background: #dff8e9; box-shadow: 0 3px 0 #85d5aa; }
.progress-pips { display: flex; gap: 2px; }.progress-pips i { width: 6px; height: 5px; border-radius: 4px; background: #d8e3e8; }.progress-pips i.is-earned { background: var(--teal); }
.rule-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 9px 11px; border: 2px solid #e8b41e; border-radius: 13px; background: #fff3ae; }.rule-card strong { color: #704e00; font-size: 12px; white-space: nowrap; }

.challenge-card { position: absolute; z-index: 2; left: 286px; right: 18px; top: 105px; bottom: 18px; display: grid; grid-template-rows: auto minmax(290px,1fr) 42px 32px 30px 74px 58px; padding: 17px 24px 0; overflow: hidden; border: 4px solid rgba(255,255,255,.96); border-radius: 30px; background: rgba(255,253,243,.94); box-shadow: 0 9px 0 rgba(8,79,113,.27), 0 22px 45px rgba(8,59,85,.2); backdrop-filter: blur(7px); }
.challenge-copy { text-align: center; }.challenge-copy > span { display: inline-block; padding: 5px 12px; border-radius: 99px; color: #764100; background: #ffe58a; font-size: 10px; font-weight: 1000; letter-spacing: .07em; text-transform: uppercase; }
.challenge-copy h1 { margin: 5px 0 2px; font-size: clamp(25px,2.5vw,37px); line-height: 1; letter-spacing: -.04em; }.challenge-copy p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }

.array-workbench { position: relative; min-height: 290px; margin: 11px auto 7px; width: min(790px,100%); overflow: hidden; border: 4px solid var(--navy); border-radius: 25px; background-color: #eaf5f8; background-image: linear-gradient(rgba(35,119,160,.08) 2px,transparent 2px),linear-gradient(90deg,rgba(35,119,160,.08) 2px,transparent 2px); background-size: 28px 28px; box-shadow: inset 0 0 0 6px #fff, 0 7px 0 #79aabe; }
.array-workbench::before { position: absolute; left: -2%; right: -2%; bottom: 0; height: 56px; content: ""; background: linear-gradient(#ffcd38,#eca31d); border-top: 4px solid #bd7311; clip-path: polygon(0 30%,100% 0,100% 100%,0 100%); opacity: .65; }
.workbench-sign { position: absolute; z-index: 4; left: 14px; top: 13px; display: flex; align-items: center; gap: 10px; padding: 7px 12px; border: 2px solid #a86b08; border-radius: 10px; background: #ffd75b; box-shadow: 0 3px 0 #a86b08; font-size: 11px; }.workbench-sign span { font-weight: 1000; text-transform: uppercase; }.workbench-sign b { color: #654500; }
.measure { position: absolute; z-index: 2; display: grid; place-items: center; color: #285a78; font-size: 11px; font-weight: 1000; letter-spacing: .03em; text-transform: uppercase; }
.measure-columns { left: 50%; top: 15px; width: 300px; transform: translateX(-50%); border-bottom: 3px dashed #5f9bb8; }.measure-columns::before,.measure-columns::after { position: absolute; bottom: -6px; width: 3px; height: 10px; content: ""; background: #5f9bb8; }.measure-columns::before { left: 0; }.measure-columns::after { right: 0; }
.measure-rows { left: 15px; top: 51%; width: 30px; height: 175px; transform: translateY(-50%); border-right: 3px dashed #5f9bb8; writing-mode: vertical-rl; }.measure-rows::before,.measure-rows::after { position: absolute; right: -6px; width: 10px; height: 3px; content: ""; background: #5f9bb8; }.measure-rows::before { top: 0; }.measure-rows::after { bottom: 0; }

.array-root { --cell: 37px; position: absolute; z-index: 3; left: 50%; top: 53%; width: calc(var(--cols) * var(--cell)); height: calc(var(--rows) * var(--cell)); transform: translate(-50%,-50%); transition: width 150ms ease-out,height 150ms ease-out; touch-action: none; }
.array-grid { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 4px; border: 4px solid var(--navy); border-radius: 15px; background: rgba(255,255,255,.72); box-shadow: 0 8px 0 rgba(8,39,70,.24), inset 0 0 0 2px #fff; transition: border-color 140ms ease-out,box-shadow 140ms ease-out; }
.array-row { position: relative; min-height: 0; flex: 1; display: grid; grid-template-columns: repeat(var(--cols),1fr); gap: 3px; padding: 1.5px; border: 0; background: transparent; cursor: default; }
.array-cell { --cube: var(--teal); position: relative; min-width: 0; display: block; border-radius: 8px; background: color-mix(in srgb,var(--cube) 13%,white); transition: transform 130ms ease-out,filter 130ms ease-out; }
.array-row:nth-child(2) .array-cell { --cube: var(--purple); }.array-row:nth-child(3) .array-cell { --cube: var(--blue); }.array-row:nth-child(4) .array-cell { --cube: var(--green); }.array-row:nth-child(5) .array-cell { --cube: var(--yellow); }.array-row:nth-child(6) .array-cell { --cube: var(--orange); }.array-row:nth-child(7n) .array-cell { --cube: var(--pink); }
.array-cell::after { position: absolute; inset: 2px; content: ""; opacity: .48; transform: scale(.86); border: 2px solid color-mix(in srgb,var(--cube) 70%,#173c68); border-radius: 8px; background: radial-gradient(circle at 28% 20%,rgba(255,255,255,.9) 0 7%,transparent 8%),linear-gradient(145deg,color-mix(in srgb,var(--cube) 60%,white),var(--cube) 52%,color-mix(in srgb,var(--cube) 74%,#173c68)); box-shadow: inset 0 -5px rgba(9,44,75,.16),inset 3px 3px rgba(255,255,255,.36),0 3px 0 rgba(8,44,73,.23); transition: opacity 160ms ease-out,transform 190ms cubic-bezier(.2,.9,.3,1.25),filter 160ms ease-out; }
.array-row.is-counted .array-cell::after,.array-root.is-filled .array-cell::after { opacity: 1; transform: scale(1); animation: cube-pop 300ms cubic-bezier(.2,.9,.3,1.25) both; }.array-row.is-counted .array-cell:nth-child(2)::after { animation-delay: 35ms; }.array-row.is-counted .array-cell:nth-child(3)::after { animation-delay: 70ms; }.array-row.is-counted .array-cell:nth-child(4)::after { animation-delay: 105ms; }.array-row.is-counted .array-cell:nth-child(5)::after { animation-delay: 140ms; }.array-row.is-counted .array-cell:nth-child(6)::after { animation-delay: 175ms; }
.array-row.can-count { cursor: pointer; }.array-row.can-count:hover .array-cell::after { opacity: .85; transform: scale(.97) translateY(-2px); filter: brightness(1.08); }.array-row.can-count:focus-visible { z-index: 5; border-radius: 10px; outline-offset: -1px; }
.row-total { position: absolute; z-index: 7; left: calc(100% + 11px); top: 50%; min-width: 47px; padding: 5px 8px; opacity: 0; transform: translate(-7px,-50%) scale(.8); border: 3px solid #fff; border-radius: 99px; color: #fff; background: var(--navy); box-shadow: 0 3px 0 rgba(7,37,65,.35); font-size: 12px; font-weight: 1000; transition: opacity 150ms ease-out,transform 180ms ease-out; }.array-row.is-counted .row-total,.array-root.is-filled .row-total { opacity: 1; transform: translate(0,-50%) scale(1); }
.edge-handle { position: absolute; z-index: 9; width: 49px; height: 49px; display: grid; place-items: center; padding: 0; border: 4px solid #fff; border-radius: 16px; color: #fff; background: var(--blue); box-shadow: 0 5px 0 #0b5b9b,0 8px 14px rgba(6,49,81,.2); font-size: 22px; font-weight: 1000; touch-action: none; transition: transform 130ms ease-out,opacity 130ms ease-out; }.edge-handle:hover { transform: translateY(-2px) scale(1.04); }.edge-handle:active { transform: translateY(4px); box-shadow: 0 1px 0 #0b5b9b; }.handle-columns { right: -62px; top: 50%; margin-top: -25px; }.handle-rows { left: 50%; bottom: -61px; margin-left: -25px; }.edge-handle.is-locked { opacity: .2; cursor: not-allowed; box-shadow: none; }
.array-root.is-under .array-grid { border-color: #cb8612; box-shadow: 0 0 0 8px rgba(255,201,40,.22),0 8px 0 rgba(8,39,70,.2); }.array-root.is-over .array-grid,.array-root.is-mixed .array-grid { border-color: #e44764; box-shadow: 0 0 0 8px rgba(244,91,156,.18),0 8px 0 rgba(8,39,70,.2); }
.array-root.is-snapping { animation: snap 440ms cubic-bezier(.2,.9,.3,1.25); }.array-root.is-pointing .array-grid,.measure.is-pointing { animation: pulse 540ms ease-out 2; }
.site-props { position: absolute; z-index: 1; right: -41px; bottom: -35px; width: 178px; height: 178px; opacity: .95; pointer-events: none; }.site-props img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }

.build-readout { align-self: center; justify-self: center; min-width: 390px; padding: 8px 22px; transform: rotate(-.5deg); border: 3px solid #9f6508; border-radius: 14px; color: #523700; background: linear-gradient(#ffe36e,#ffc82c); box-shadow: 0 5px 0 #a6690c; font-size: 18px; font-weight: 1000; letter-spacing: .035em; text-align: center; text-transform: uppercase; }
.equation { min-height: 32px; display: grid; place-items: center; color: var(--navy); font-size: 22px; font-weight: 1000; }.equation b { color: #e34e71; }.equation .blank { display: inline-block; min-width: 37px; border-bottom: 4px solid var(--navy); text-align: center; }
.feedback { min-height: 30px; display: grid; place-items: center; color: #08796f; font-size: 13px; font-weight: 900; text-align: center; }.feedback.is-error { color: #c52f51; }
.action-area { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 11px; }
.choice-grid { width: min(640px,100%); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.choice,.primary { min-height: 58px; border: 3px solid var(--navy); border-radius: 18px; background: #fff; box-shadow: 0 6px 0 #9eb8c8; font-weight: 1000; transition: transform 130ms ease-out,box-shadow 130ms ease-out,background 130ms ease-out; }
.choice { font-size: 25px; }.choice:nth-child(1) { border-color: #7550c4; }.choice:nth-child(2) { border-color: #128d9e; }.choice:nth-child(3) { border-color: #e06325; }.choice small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 800; }.choice:hover,.primary:hover { transform: translateY(-3px); background: #f8fcff; box-shadow: 0 9px 0 #9eb8c8; }.choice:active,.primary:active { transform: translateY(4px); box-shadow: 0 2px 0 #9eb8c8; }
.primary { min-width: 245px; padding: 0 24px; border-color: #075f99; color: #fff; background: linear-gradient(#2aaef3,#1485cf); box-shadow: 0 6px 0 #075f99; font-size: 15px; }.primary:hover { background: linear-gradient(#42baf5,#188ed7); box-shadow: 0 9px 0 #075f99; }.primary:active { box-shadow: 0 2px 0 #075f99; }.primary.is-coral { border-color: #a53b13; background: linear-gradient(#ff9b34,#f06d1d); box-shadow: 0 6px 0 #a53b13; }.explain-grid .choice { padding: 7px 10px; font-size: 12px; }

.conveyor { position: relative; margin: 0 -24px; overflow: hidden; border-top: 4px solid var(--navy); background: #496b7d; }.belt-cubes { position: absolute; z-index: 2; left: 8%; right: 8%; top: -12px; display: flex; justify-content: space-around; }.belt-cubes i { width: 31px; height: 31px; transform: rotate(5deg); border: 3px solid rgba(11,51,82,.6); border-radius: 8px; background: var(--teal); box-shadow: inset 3px 3px rgba(255,255,255,.45),inset 0 -5px rgba(8,42,66,.18),0 3px 0 #173c58; }.belt-cubes i:nth-child(2){background:var(--purple);transform:rotate(-4deg)}.belt-cubes i:nth-child(3){background:var(--blue)}.belt-cubes i:nth-child(4){background:var(--green);transform:rotate(-5deg)}.belt-cubes i:nth-child(5){background:var(--yellow)}.belt-cubes i:nth-child(6){background:var(--orange);transform:rotate(-3deg)}.belt-cubes i:nth-child(7){background:var(--pink)}
.belt { position: absolute; left: 0; right: 0; bottom: 3px; height: 24px; display: flex; justify-content: space-around; align-items: center; border-top: 4px solid #173c58; border-bottom: 4px solid #173c58; background: #86a9b9; }.belt span { width: 18px; height: 18px; border: 3px solid #173c58; border-radius: 50%; background: #d7e7ed; }

.studio.is-miss .challenge-card { animation: miss 330ms ease-out; }.studio.is-celebrating .score-streak { animation: score-pop 520ms cubic-bezier(.2,.9,.3,1.2); }
.level-burst { position: absolute; z-index: 41; left: 62%; top: 46%; width: 190px; height: 190px; opacity: 0; transform: translate(-50%,-50%) scale(.25) rotate(-18deg); pointer-events: none; }.level-burst img { width: 100%; height: 100%; object-fit: contain; }.studio.is-celebrating .level-burst { animation: badge-burst 760ms cubic-bezier(.2,.8,.3,1.2); }
.confetti { position: absolute; z-index: 40; left: 62%; top: 45%; pointer-events: none; }.confetti i { --c: var(--yellow); position: absolute; width: 12px; height: 18px; opacity: 0; border-radius: 4px; background: var(--c); }.studio.is-celebrating .confetti i { animation: confetti 720ms ease-out both; }.confetti i:nth-child(1){--x:-190px;--y:-135px;--c:var(--teal)}.confetti i:nth-child(2){--x:-110px;--y:-185px;--c:var(--purple);animation-delay:25ms}.confetti i:nth-child(3){--x:-25px;--y:-195px;--c:var(--blue);animation-delay:50ms}.confetti i:nth-child(4){--x:70px;--y:-180px;--c:var(--green);animation-delay:75ms}.confetti i:nth-child(5){--x:160px;--y:-125px;animation-delay:100ms}.confetti i:nth-child(6){--x:195px;--y:-35px;--c:var(--orange);animation-delay:125ms}.confetti i:nth-child(7){--x:175px;--y:70px;--c:var(--pink);animation-delay:150ms}.confetti i:nth-child(8){--x:95px;--y:145px;--c:var(--teal);animation-delay:175ms}.confetti i:nth-child(9){--x:5px;--y:165px;--c:var(--purple);animation-delay:200ms}.confetti i:nth-child(10){--x:-90px;--y:140px;--c:var(--green);animation-delay:225ms}.confetti i:nth-child(11){--x:-175px;--y:75px;--c:var(--orange);animation-delay:250ms}.confetti i:nth-child(12){--x:-205px;--y:-30px;--c:var(--pink);animation-delay:275ms}
.toast { position: absolute; z-index: 50; left: 62%; bottom: 34px; max-width: 65%; padding: 11px 18px; opacity: 0; transform: translate(-50%,12px); border: 3px solid #fff; border-radius: 99px; color: #fff; background: var(--navy); box-shadow: 0 5px 0 rgba(5,34,58,.35); pointer-events: none; font-size: 13px; font-weight: 900; transition: opacity 150ms ease-out,transform 150ms ease-out; }.toast.is-showing { opacity: 1; transform: translate(-50%,0); }

@keyframes cube-pop { 0% { transform: scale(.55) rotate(-7deg); } 60% { transform: scale(1.12) rotate(2deg); } 100% { transform: scale(1); } }
@keyframes snap { 0% { transform: translate(-50%,-50%) scale(.94); } 55% { transform: translate(-50%,-50%) scale(1.05); } }
@keyframes pulse { 50% { transform: scale(1.025); filter: brightness(1.08); } }
@keyframes bot-bob { 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes bot-cheer { 0% { transform: translateY(8px) scale(.94); } 55% { transform: translateY(-15px) rotate(3deg) scale(1.06); } }
@keyframes sparkle { 0% { opacity: 0; transform: scale(.2) rotate(0); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4) rotate(110deg); } }
@keyframes miss { 25% { transform: translateX(-7px); } 55% { transform: translateX(6px); } 80% { transform: translateX(-3px); } }
@keyframes score-pop { 50% { transform: scale(1.14) rotate(-2deg); } }
@keyframes badge-burst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.25) rotate(-18deg); } 38% { opacity: 1; transform: translate(-50%,-50%) scale(1.08) rotate(3deg); } 75% { opacity: 1; transform: translate(-50%,-50%) scale(.96); } 100% { opacity: 0; transform: translate(-50%,-55%) scale(1.05); } }
@keyframes confetti { 0% { opacity: 0; transform: translate(0,0) rotate(0) scale(.3); } 28% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x),var(--y)) rotate(260deg) scale(1.15); } }

@media (max-height: 760px) {
  .studio-hud { top: 10px; height: 65px; }.builder-bay,.challenge-card { top: 88px; bottom: 14px; }.challenge-card { grid-template-rows: auto minmax(260px,1fr) 38px 27px 26px 64px 48px; padding-top: 12px; }.array-workbench { min-height: 260px; margin-top: 7px; }.array-root { --cell: 29px; }.mascot-wrap { top: 48px; width: 205px; height: 220px; }.tables-panel { min-height: 212px; }.table-badge { min-height: 34px; }.rule-card { margin-top: 7px; padding: 6px 8px; }.build-readout { padding-block: 5px; font-size: 15px; }.action-area { min-height: 64px; }.choice,.primary { min-height: 51px; }.conveyor { height: 48px; }
}
@media (max-width: 1120px) { .studio-hud { grid-template-columns: 215px 1fr auto; }.difficulty-card { position: absolute; left: 225px; right: 245px; width: auto; }.builder-bay { width: 220px; }.challenge-card { left: 250px; }.mascot-wrap { width: 215px; }.table-tracker { grid-template-columns: repeat(3,1fr); }.tables-panel { min-height: 265px; }.site-props { display: none; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
