
:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#24493e;background:#f9f6ed;font-synthesis:none;font-size:14px;--green:#245443;--ink:#24493e;--muted:#7d8575;--line:#e0e4d6;--orange:#eb6e4d}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:11px 14px;background:#fffcf5;color:var(--ink);font-weight:650;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#eef0df;transform:translateY(-1px)}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #ec9c44;outline-offset:3px}a{color:inherit;text-decoration:none}.header{max-width:1480px;margin:auto;padding:22px 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.logo{display:flex;gap:10px;align-items:center;font-size:28px;font-weight:850;letter-spacing:-1.5px;line-height:1}.logo-icon{width:43px;height:43px;display:grid;place-content:center;border-radius:50%;background:#e77350;color:#fff8e6;font-size:42px;font-weight:400}.logo-sub{display:block;font-size:8px;letter-spacing:2px;margin-top:8px}.header-note{font-family:Georgia,serif;font-style:italic;color:#78836f;font-size:17px}.header-actions{display:flex;gap:8px}.header-actions button{font-size:12px;padding:10px 12px}#rush{background:var(--green);color:#fff8df;border-color:var(--green)}main{max-width:1480px;margin:auto;padding:30px 44px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:16px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:750;margin:0 0 8px;color:#7c8973}.intro h1{font-size:clamp(28px,3.1vw,45px);letter-spacing:-1.9px;line-height:1.13;margin:0}.intro em{font-family:Georgia,serif;font-weight:400;color:#dc7753}.intro p:not(.eyebrow){margin:10px 0 0;color:#7c8576}.scoreboard{display:flex;gap:0}.scoreboard>div{min-width:91px;text-align:center;border-left:1px solid var(--line);padding:0 20px}.scoreboard strong{display:block;font-size:30px;letter-spacing:-1.5px}.scoreboard span{display:block;font-size:8px;font-weight:750;letter-spacing:1.7px;margin-top:5px;color:#7d8675}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px}.kitchen{min-width:0;border:1px solid #dedfce;border-radius:17px;background:#fffdf7;overflow:hidden;box-shadow:0 9px 26px #3a4c3010}.stage{height:420px;position:relative;overflow:hidden;background:#f7e8ca}#kitchenCanvas{display:block;width:100%;height:100%;touch-action:none}.stage-top,.stage-bottom{position:absolute;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.stage-top{top:17px}.stage-top button{pointer-events:auto}.open-sign{display:flex;align-items:center;gap:6px;border-radius:6px;background:#fff9eade;padding:8px 10px;font-size:9px;font-weight:800;letter-spacing:1.2px;box-shadow:0 2px 9px #514a3010}.open-sign i{height:6px;width:6px;background:#52825b;border-radius:50%}.glass{background:#fff9eac9;font-size:10px;padding:7px 9px;border:0}.stage-bottom{bottom:15px;font-size:9px;color:#335648;gap:10px}.stage-bottom span{background:#fff9eac9;padding:6px 8px;border-radius:4px}.stage-bottom span:first-child{font-weight:700}.float-feedback{position:absolute;left:0;right:0;top:35%;text-align:center;font-size:48px;font-weight:950;letter-spacing:-2px;color:#fff5c6;text-shadow:0 3px #cf7449,0 5px 20px #33533088;pointer-events:none;opacity:0}.float-feedback.show{animation:pop 1.4s ease-out forwards}@keyframes pop{0%{opacity:0;transform:scale(.6) rotate(-6deg)}15%,70%{opacity:1;transform:scale(1.05) rotate(-6deg)}100%{opacity:0;transform:translateY(-45px) rotate(-6deg)}}.action-bar{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px}.action-copy{min-width:0}.action-copy h2{font-size:21px;letter-spacing:-.7px;margin:0 0 6px}.action-copy p{font-size:11px;margin:0;color:#7f887a;max-width:340px;line-height:1.5}.action-copy .eyebrow{display:block;font-size:8px}.chop-control{width:194px;flex-shrink:0}.timing-track{height:8px;background:#eee9d8;border-radius:10px;position:relative;overflow:hidden;margin:0 2px 8px}.sweet-spot{position:absolute;left:88%;right:0;height:100%;background:#75a867}#timingNeedle{display:block;position:absolute;left:0;top:0;width:4px;height:100%;border-radius:10px;background:#274b3e}#chop{width:100%;background:#e9794f;color:#fff9e7;border:0;padding:14px;font-size:17px;letter-spacing:1.5px;box-shadow:0 4px 0 #c45c36}#chop:not(:disabled):hover{background:#f08b5d}#chop:disabled{background:#e6dfcd;color:#989a83;box-shadow:0 3px 0 #d6d1bf;opacity:1}kbd{font-size:8px;font-family:inherit;letter-spacing:1px;border:1px solid currentColor;border-radius:4px;padding:3px;margin-left:7px;vertical-align:middle;opacity:.7}.live-ticket{border-top:1px dashed var(--line);margin:0 21px;padding:12px 0;display:flex;align-items:center;gap:12px;font-size:10px;color:#7f887a;min-height:45px}.live-ticket>span:first-child{font-weight:700}.live-ticket #combo{margin-left:auto;color:#dc7951;font-weight:800}.ticket-fruit{font-size:20px;margin-right:6px;display:inline-block;opacity:.4}.ticket-fruit.done{opacity:1}.ticket-fruit.current{opacity:1;filter:drop-shadow(0 3px 0 #dfb472);transform:translateY(-2px)}.orders{padding:7px 0}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:0}.section-title span{font-size:8px;letter-spacing:1.8px;color:#8a917f}.muted{color:#828976;font-size:11px;line-height:1.6}.recipe{display:block;width:100%;text-align:left;margin-top:12px;padding:15px;background:#fffdf6;border:1px solid #dedfcd;border-radius:12px;position:relative}.recipe.active{border-color:#507757;box-shadow:0 0 0 1px #507757}.recipe .emoji-row{font-size:25px;letter-spacing:4px;display:block;margin-bottom:9px}.recipe .recipe-name{display:block;font-size:14px;letter-spacing:-.3px}.recipe .recipe-note{display:block;font-size:10px;font-weight:400;color:#8b907c;margin-top:4px}.recipe .arrow{position:absolute;right:14px;bottom:22px;font-size:19px}.custom{margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}summary{cursor:pointer;list-style:none;font-weight:650;font-size:12px}summary::-webkit-details-marker{display:none}.custom summary{display:flex;justify-content:space-between}.fruit-options{display:flex;gap:6px;margin:12px 0}.fruit-options button{font-size:23px;padding:7px}button[aria-pressed=true]{background:#e7edda;border-color:#608257}.secondary{font-size:11px}.custom .secondary{width:100%}.menu-tip{display:flex;gap:10px;line-height:1.7;font-size:10px;margin-top:18px;color:#818773}.menu-tip>span{font-size:22px;color:#cc9e45}.menu-tip p{margin:0}.menu-tip b{color:#64755b;font-weight:650}.school{margin-top:30px;border:1px solid #e0e3d4;border-radius:15px;padding:23px;background:#f0f1e6}.school-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.school h2{font-size:22px;letter-spacing:-.6px;margin:0}.school h2 span{font-size:10px;background:#e2e9d5;color:#728766;padding:4px 7px;border-radius:5px;vertical-align:middle;margin-left:8px;letter-spacing:0;font-weight:500}.school-heading p:not(.eyebrow){font-size:11px;color:#858d79;margin:8px 0 0}.fly-cards{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin-top:21px}.fly-card{position:relative;text-align:left;background:#fafaf1;border-color:#dce1d0;padding:12px 10px;min-width:0;overflow:hidden}.fly-card[aria-pressed=true]{box-shadow:inset 0 0 0 1px #5b7b4d;background:#e5ecd9;border-color:#5b7b4d}.fly-card .chef-name{font-size:13px;display:block}.fly-card .chef-number{font-size:8px;color:#8f987f;position:absolute;top:14px;right:8px}.fly-card .smell-icons{display:block;font-size:18px;min-height:27px;margin:8px 0 3px;white-space:nowrap}.fly-card .chef-note{font-size:8px;font-weight:500;display:block;color:#8c927c;line-height:1.4}.fly-card.selected:after{content:'✓';position:absolute;right:6px;bottom:7px;color:#56764a;font-size:10px}.training-row{display:flex;align-items:center;gap:16px;margin-top:19px}.training-row>div{flex-shrink:0}label{font-size:9px;color:#7e8b71;display:block;margin-bottom:5px;font-weight:650}select{background:#fffdf4;border:1px solid #d7ddca;color:var(--ink);border-radius:7px;padding:9px;font-size:12px;min-width:150px}.primary{background:var(--green);border-color:var(--green);color:#fff7df;font-size:12px}.primary:hover:not(:disabled){background:#356850}.training-row>button{margin-top:15px;white-space:nowrap}.training-row p{font-size:11px;line-height:1.6;color:#7d8970;margin:20px 0 0}.brain-details{border-top:1px solid #dce2d0;margin-top:21px;padding-top:15px}.brain-details summary{font-size:11px;display:flex;justify-content:space-between}.brain-details summary span{font-size:9px;color:#8a947d;font-weight:400}.brain-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:22px}#brainCanvas{width:100%;height:auto;display:block;margin-top:8px}.brain-grid h3{font-size:15px;margin:0 0 10px}.response-row{display:flex;gap:8px;font-size:10px;align-items:center;margin:8px 0}.response-row>span:first-child{width:77px}.bar-track{height:6px;flex:1;background:#dfe3d2;border-radius:6px;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:6px}.science-note{font-size:10px;line-height:1.7;color:#839077}.reset-actions{display:flex;gap:7px;margin-top:12px}.reset-actions button{font-size:9px;padding:8px}.round-result{margin-top:14px;background:#e6edd9;border:1px solid #cddbb9;border-radius:8px;padding:12px;font-size:12px;line-height:1.7}.round-result b{display:block}.round-result button{margin-top:8px}footer{max-width:1480px;margin:auto;padding:0 44px 24px;display:flex;justify-content:space-between;font-size:9px;color:#8c9480;gap:15px}footer nav{display:flex;gap:20px}.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{position:fixed;left:10px;top:10px;width:auto;height:auto;clip:auto;padding:12px;background:white;z-index:30}#graphicsError{position:absolute;inset:40% 10% auto;background:#fff4d9;padding:20px;border-radius:10px;text-align:center}button:disabled.recipe{opacity:.6}
@media(min-width:1500px){.stage{height:480px}}@media(max-width:1100px){.header,main{padding-left:25px;padding-right:25px}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.stage{height:360px}.action-bar{padding:17px 15px}.chop-control{width:155px}.action-copy h2{font-size:18px}.fly-cards{gap:6px}.fly-card{padding:10px 7px}.fly-card .chef-number{display:none}.training-row{flex-wrap:wrap}.training-row p{margin:0;flex-basis:100%}.header-note{display:none}footer{padding-left:25px;padding-right:25px}}
@media(max-width:760px){main{padding:23px 16px}.header{padding:16px}.logo{font-size:23px}.logo-icon{width:36px;height:36px;font-size:35px}.logo-sub{font-size:6px;letter-spacing:1.4px}.header-actions button{font-size:9px;padding:9px}.intro{align-items:flex-end}.intro h1{font-size:30px;max-width:230px}.intro .eyebrow{font-size:7px;letter-spacing:1px;max-width:180px}.intro p:not(.eyebrow){font-size:10px;max-width:190px;line-height:1.5}.scoreboard>div{min-width:43px;padding:0 7px}.scoreboard strong{font-size:23px}.scoreboard span{font-size:6px;letter-spacing:.7px}.game-layout{display:flex;flex-direction:column;gap:24px}.stage{height:365px}.stage-top,.stage-bottom{left:12px;right:12px}.stage-bottom span:last-child{display:none}.action-bar{gap:8px}.action-copy h2{font-size:17px}.action-copy p{font-size:10px}.chop-control{width:119px}#chop{font-size:16px;padding:13px 8px}kbd{display:none}.live-ticket{margin:0 15px;font-size:9px;gap:7px}.ticket-fruit{font-size:17px}.orders{padding:0}.section-title h2{font-size:24px}#recipes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.recipe{padding:12px 9px;margin-top:6px;border-radius:9px}.recipe .emoji-row{font-size:20px;letter-spacing:0}.recipe .recipe-name{font-size:11px}.recipe .recipe-note{font-size:9px;line-height:1.5}.recipe .arrow{display:none}.orders>.muted{font-size:10px}.menu-tip{margin-top:12px}.custom{margin-top:13px}.school{margin-top:24px;padding:17px}.school-heading{align-items:flex-start}.school-heading .eyebrow{font-size:7px;letter-spacing:1px}.school h2{font-size:20px}.school h2 span{font-size:8px;margin-left:4px}.school-heading p:not(.eyebrow){font-size:10px;line-height:1.6}.school-heading button{font-size:9px;max-width:105px;padding:9px}.fly-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:15px}.fly-card .chef-note{font-size:8px}.fly-card .smell-icons{font-size:17px}.training-row{gap:9px}.training-row>div{flex:1}.training-row select{width:100%;min-width:90px}.training-row>button{font-size:10px;padding:11px 9px}.brain-grid{grid-template-columns:1fr;gap:12px}.brain-details summary span{font-size:8px;max-width:117px;text-align:right}.float-feedback{font-size:38px}footer{padding:0 16px 20px;flex-direction:column;gap:10px}.round-result{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.float-feedback.show{animation:none;opacity:1}}

.cancel-order{margin-top:14px;width:100%}[hidden]{display:none!important}

/* Put the score in its own equal-width row before the hero text gets squeezed. */
@media(max-width:900px){
  .intro{flex-direction:column;align-items:stretch;gap:20px}
  .intro h1{max-width:none}
  .intro p:not(.eyebrow){max-width:none}
  .intro .eyebrow{max-width:none}
  .scoreboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;background:#f0f1e6;border:1px solid #e0e4d6;border-radius:12px;padding:14px 10px}
  .scoreboard>div{min-width:0;padding:0 9px}
  .scoreboard>div:first-child{border-left:0}
  .scoreboard strong{font-size:clamp(24px,6vw,30px);font-variant-numeric:tabular-nums;letter-spacing:-.8px;line-height:1.2}
  .scoreboard span{font-size:8px;letter-spacing:1px;line-height:1.4;white-space:nowrap;margin-top:5px}
}
@media(max-width:760px){
  .header{gap:10px}
  .logo{font-size:22px;gap:8px;flex-shrink:0}
  .logo-icon{width:32px;height:32px;font-size:32px}
  .logo-sub{font-size:8px;letter-spacing:2.2px}
  .header-actions{gap:6px}
  #rush{max-width:115px}
}

/* Two instruments share one selected chef without squeezing the 3D view. */
.stage{height:545px;background:#f5ead4}
#kitchenCanvas{width:calc(100% - 344px);height:100%}
.brain-hud{position:absolute;right:14px;top:57px;width:320px;padding:13px;background:#fbf9ee;border:1px solid #d4dbc6;border-radius:12px;box-shadow:0 5px 18px #3e563115}
.brain-hud-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.brain-hud h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:0;display:flex;gap:7px;align-items:center}
.brain-live-dot{height:6px;width:6px;background:#82a766;border-radius:50%;box-shadow:0 0 0 3px #e7edd8}
.brain-hud select{min-width:0;width:92px;font-size:11px;padding:6px 7px;background:#eef1e3}
.brain-location{font-size:10px;color:#708167;margin:7px 0 11px}
.brain-instruments{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;align-items:start}
.brain-activity,.brain-outputs{min-width:0}
#neuralScope{display:block;width:100%;height:145px;background:radial-gradient(ellipse at 45% 40%,#294438,#132a23);border:1px solid #405647;border-radius:7px;touch-action:none;cursor:grab;outline-offset:2px}
#neuralScope:active{cursor:grabbing}
.brain-metrics{display:grid;grid-template-columns:1fr 1fr;margin:10px 0;text-align:center}
.brain-metrics>div+div{border-left:1px solid #dde2d1}
.brain-metrics strong{font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.6px;display:block;line-height:1.15}
.brain-metrics span{font-size:7px;letter-spacing:.25px;color:#758369;display:block;margin-top:4px}
.brain-cue{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid #e3e6d8;font-size:9px;line-height:1.5;color:#69815f}
.brain-cue button{font-size:9px;padding:5px 7px;background:#e9efdc;border-color:#d4dfc2}
.brain-caption{font-size:8px;line-height:1.5;margin:8px 0 0;color:#7b896e}
.brain-outputs{border-left:1px solid #e0e4d6;padding-left:12px}
.outputs-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}
.outputs-heading h4{font-size:11px;margin:0;font-weight:750}
.output-live{font-size:6px;letter-spacing:1px;color:#557c4e;background:#e9efdc;border-radius:3px;padding:3px}
.output-source{font-size:8px;line-height:1.4;color:#7d8575;margin:4px 0 12px}
.output-group+ .output-group{border-top:1px solid #e4e7da;padding-top:10px;margin-top:10px}
.output-group h5{font-size:10px;margin:0 0 5px}
.output-group h5 span{display:block;font-size:7px;font-weight:400;color:#7d8575;margin-top:2px}
.motor-axis{display:grid;grid-template-columns:17px 42px minmax(18px,1fr);align-items:center;gap:5px;min-height:25px}
.axis-symbol{font:10px ui-monospace,Consolas,monospace;color:#60765e}
.motor-axis output{font:600 11px ui-monospace,Consolas,monospace;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.axis-track{position:relative;height:5px;background:#e5e8da;border-radius:4px;overflow:hidden}
.axis-track:after{content:'';position:absolute;left:50%;top:0;height:100%;width:1px;background:#87967b}
.axis-track i{position:absolute;height:100%;left:50%;width:0;background:#568768;border-radius:2px}
.axis-track i.negative{background:#cf8058}
.output-note{font-size:7px;line-height:1.5;color:#7d8575;margin:10px 0 0}
.stage-bottom{right:357px;gap:7px;flex-wrap:wrap}
.float-feedback{right:344px}
@media(max-width:1100px){
  .stage{height:auto;display:flex;flex-direction:column}
  #kitchenCanvas{width:100%;height:375px;flex-shrink:0}
  .brain-hud{position:relative;inset:auto;width:auto;margin:0 12px 12px;padding:13px}
  .brain-instruments{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  #neuralScope{height:145px}
  .brain-location{margin:6px 0 10px}
  .stage-bottom{top:328px;bottom:auto;right:12px}
  .float-feedback{right:0;top:20%}
}
@media(max-width:480px){
  #kitchenCanvas{height:320px}
  .brain-hud{margin:0 8px 8px;padding:11px}
  .brain-instruments{gap:10px}
  .brain-outputs{padding-left:9px}
  .motor-axis{grid-template-columns:15px 38px minmax(12px,1fr);gap:4px}
  .brain-hud h3{font-size:19px}
  .brain-metrics strong{font-size:17px}
  .stage-bottom{top:277px;font-size:8px}
}

/* Generated mascot uses a fixed box to avoid a layout shift while loading. */
.logo-icon{display:block;width:52px;height:52px;flex-shrink:0;object-fit:contain;border-radius:0;background:transparent}
.about-game{max-width:760px;margin-top:30px;color:var(--muted);font-size:12px;line-height:1.8}
.about-game h2{font-family:Georgia,serif;font-size:23px;color:var(--ink);font-weight:400;margin:0 0 7px}
.about-game p{margin:0}
@media(max-width:760px){.logo{gap:7px}.logo-icon{width:42px;height:42px}.about-game{font-size:11px}}
@media(max-width:380px){.logo{font-size:20px;gap:5px}.logo-icon{width:34px;height:34px}.header{gap:10px}.header-actions{gap:5px}}

.wind-control{display:grid;place-items:center;width:36px;height:32px;padding:5px;flex-shrink:0}
.wind-control svg{display:block;pointer-events:none}
.stage-tools{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;pointer-events:auto}
.stage-top{gap:10px;align-items:flex-start;z-index:2}
.open-sign{flex-shrink:0}
body.kitchen-expanded{overflow:hidden}
.kitchen.is-expanded{position:fixed;inset:0;z-index:1000;width:100%;height:100vh;height:100dvh;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;overflow:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.kitchen::backdrop{background:#f5ead4}
.is-expanded .stage{flex:1;min-height:240px;height:auto;display:grid;grid-template-columns:minmax(0,1fr) 344px;grid-template-rows:minmax(0,1fr)}
.is-expanded #kitchenCanvas{width:100%;height:100%;min-height:0;grid-column:1;grid-row:1}
.is-expanded .brain-hud{position:relative;grid-column:2;grid-row:1;inset:auto;align-self:start;display:block;width:auto;height:auto;max-height:calc(100% - 75px);overflow:auto;margin:55px 14px 20px 0;padding:13px}
.is-expanded #neuralScope{height:145px}
.is-expanded .stage-bottom{top:auto;bottom:15px;right:357px}
.is-expanded .float-feedback{right:344px;top:35%}
.is-expanded .action-bar,.is-expanded .live-ticket{flex-shrink:0}
@media(max-width:600px) and (orientation:portrait){
  .is-expanded .stage{flex:1 0 auto;min-height:625px;display:flex;flex-direction:column}
  .is-expanded #kitchenCanvas{height:285px;min-height:285px;flex:1}
  .is-expanded .brain-hud{display:block;flex:none;margin:0 8px 8px;align-self:stretch;max-height:none;padding:11px}
  .is-expanded .stage-bottom{top:240px;bottom:auto;right:12px}
  .is-expanded .float-feedback{right:0;top:20%}
  .is-expanded .brain-location,.is-expanded .brain-caption{display:none}
  .is-expanded #neuralScope{height:125px}
  .is-expanded .output-source{margin-bottom:5px}
  .is-expanded .motor-axis{min-height:20px}
  .is-expanded .output-group+ .output-group{padding-top:6px;margin-top:6px}
  .is-expanded .output-note{margin-top:6px}
  .is-expanded .stage-tools{max-width:205px}
  .is-expanded .open-sign{font-size:7px;letter-spacing:.5px;padding:8px}
}
@media(max-height:500px) and (orientation:landscape){
  .is-expanded .action-bar{padding:9px 15px}
  .is-expanded .action-copy h2{font-size:16px;margin-bottom:3px}
  .is-expanded .action-copy p{font-size:9px}
  .is-expanded .live-ticket{padding:5px 0;min-height:32px}
  .is-expanded #chop{padding:8px}
  .is-expanded #neuralScope{height:90px}
  .is-expanded .brain-caption{display:none}
}

/* Flight and smell learning stay independently inspectable. */
.motor-controls{padding:12px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0;background:#f7f7eb}
.motor-choice{flex:0 0 235px;min-width:0}
.motor-choice label{font-size:8px;letter-spacing:1px;margin-bottom:4px}
.motor-choice select{font-size:11px;min-width:0;width:100%;padding:7px}
.motor-choice p{font-size:9px;line-height:1.5;color:#7d8970;margin:5px 0 0}
.motor-school{flex:1;min-width:0;max-width:510px}
.motor-school summary{text-align:right;padding:11px 0;font-size:10px}
.motor-school-body{font-size:10px;line-height:1.6}
.motor-school-body p{margin:7px 0}
.motor-buttons{display:flex;gap:5px;flex-wrap:wrap}
.motor-buttons button{font-size:9px;padding:7px 9px}
.motor-explanation{color:#7d8970}
.motor-explanation a{text-decoration:underline}
.motor-readout{font-variant-numeric:tabular-nums;color:#315c49}
#motorProgress{width:100%;height:8px;accent-color:#557c4e}
.brain-source{display:flex;gap:6px;align-items:center;margin-top:7px}
.brain-source label{font-size:8px;margin:0}
.brain-source select{width:auto;flex:1;padding:4px;font-size:9px}
@media(max-width:600px){
  .motor-controls{padding:10px 14px;gap:10px;flex-wrap:wrap}
  .motor-choice{flex:1 1 170px}
  .motor-school{flex:1 1 130px;max-width:none}
  .motor-school[open]{flex-basis:100%}
  .motor-school summary{font-size:9px}
}
@media(max-width:600px) and (orientation:portrait){
  .is-expanded .brain-source{margin-top:7px}
}
@media(max-height:500px) and (orientation:landscape){
  .is-expanded .motor-controls{padding:6px 15px}
  .is-expanded .stage{min-height:180px}
  .is-expanded .motor-choice{display:flex;align-items:center;gap:9px;flex-basis:auto}
  .is-expanded .motor-choice label{white-space:nowrap;margin:0}
  .is-expanded .motor-choice select{width:175px}
  .is-expanded .motor-choice p{display:none}
  .is-expanded .motor-school summary{padding:6px 0}
}
