@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:Manrope,Arial,sans-serif;color:#172431;background:#f3f5f7;font-synthesis:none;--accent:#d5f780;--ink:#14202d;--muted:#77828e}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #6ea727;outline-offset:4px}header{height:88px;background:#fff;border-bottom:1px solid #e3e7e9;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:800;color:var(--ink);text-decoration:none;letter-spacing:-1px}.mark{display:grid;place-items:center;background:var(--ink);color:var(--accent);height:34px;width:34px;border-radius:9px;font-size:23px;font-style:italic}.brand-sub{font-size:10px;line-height:1.6;letter-spacing:2px;margin-left:16px;max-width:120px}.modes{padding:4px;background:#f1f3f5;border-radius:10px;display:flex}.modes button{border:0;background:none;padding:10px 22px;color:#657180;border-radius:7px;font-size:14px}.modes button.active{background:#fff;color:#14202d;box-shadow:0 2px 5px #17243112;font-weight:700}.quiet{border:0;background:none;font-size:14px;color:#697581}.quiet span{border:1px solid #c4cbd2;border-radius:50%;margin-left:6px;padding:0 5px}main{max-width:1650px;margin:auto;display:grid;grid-template-columns:265px 1fr;min-height:calc(100vh - 88px)}.course{padding:38px 25px;border-right:1px solid #e0e5e8;background:#fafbfc}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#7d8792}h1{font-size:26px;line-height:1.4;letter-spacing:-1px;margin:16px 0 12px}p.muted{font-size:13px;color:var(--muted)}.progress-track{height:4px;background:#e5e9ed;border-radius:4px;margin-top:25px;overflow:hidden}.progress-track i{display:block;height:100%;background:#8eb949}.progress-caption{font-size:12px;margin:9px 0 32px;color:#84909b}nav{display:grid;gap:9px}.level{border:1px solid transparent;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:10px;width:100%;color:#7d8892}.level.active{background:#fff;border-color:#dbe2e7;box-shadow:0 3px 8px #24374a05;color:#172431}.level-number{border:1px solid #d5dce1;display:grid;place-items:center;min-width:32px;height:32px;border-radius:50%;font-size:13px}.level.active .level-number{background:var(--ink);border-color:var(--ink);color:var(--accent)}.level b{font-size:13px;display:block}.level small{font-size:11px;display:block;margin-top:4px;font-weight:400}.lock{margin-left:auto;font-size:14px}.course-note{border-top:1px solid #e5e8eb;display:flex;gap:10px;margin-top:36px;padding-top:16px;color:#7b8893;font-size:12px;line-height:1.8}.course-note>span{color:#6b8550;font-size:26px}.reset{margin-top:12px;font-size:12px;padding:0}.workspace{padding:32px 36px 16px;min-width:0}.workspace-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h2{font-size:24px;letter-spacing:-.7px;line-height:1.3;margin:9px 0}.pill{border:1px solid #d8e0e5;border-radius:20px;padding:8px 12px;font-size:10px;letter-spacing:1px;font-weight:700}.game-grid{display:grid;grid-template-columns:minmax(310px,1fr) 310px;gap:24px}.anatomy{position:relative;border-radius:16px;background:#111d2b;overflow:hidden;color:#a9bacb;min-height:670px;background-image:radial-gradient(ellipse at 50% 44%,#24364a 0,transparent 66%)}.canvas-top{display:flex;justify-content:space-between;padding:22px 24px;font-size:12px}.schematic{font-size:10px;color:#73879b}#skeletonWrap{height:535px;overflow:hidden;display:flex;align-items:center;justify-content:center}#skeleton{height:100%;max-width:100%;width:100%;touch-action:none;transform-origin:center 37%;transition:transform .2s}.canvas-bottom{display:flex;gap:20px;align-items:center;padding:0 24px 20px;font-size:11px}.key-dot{display:inline-block;width:6px;height:6px;background:#d5f780;border-radius:50%;margin-right:5px}.key-dot.end{background:#8be0ec}.zoom{margin-left:auto;display:flex;gap:6px}.zoom button{border:1px solid #3a4a5b;color:#b6c8d9;background:transparent;border-radius:5px;width:28px;height:28px}.view-tabs{border-top:1px solid #2a3848;display:flex;justify-content:center;gap:4px;padding:12px}.view-tabs button{border:0;background:none;color:#899aad;border-radius:6px;padding:8px 17px;font-size:12px}.view-tabs button.active{background:#304153;color:#fff}.task-panel{padding:9px 0;min-width:0}.task-head{display:flex;justify-content:space-between;align-items:center}#counter{color:#8b959f;font-size:12px}.task-panel h2{font-size:26px;margin-top:16px}.latin{font-family:Georgia,serif;font-style:italic;color:#9299a1;font-size:15px;margin:7px 0 16px}.voice{border:0;background:none;padding:0;color:#6b7784;font-size:12px}.instruction{font-size:13px;line-height:1.8;padding:18px 0 22px;border-bottom:1px solid #dee4e8;color:#6b7884}.tray-heading{display:flex;justify-content:space-between;margin:23px 0 12px;font-size:12px;font-weight:700}.tray-heading span{color:#909aa4}#tray{display:grid;grid-template-columns:1fr 1fr;gap:10px}.muscle-card{position:relative;background:#fff;border:1px solid #e0e5e9;border-radius:12px;padding:10px 8px 12px;touch-action:none;user-select:none;color:#3e4c59;min-width:0}.muscle-card.selected{border-color:#829f4e;box-shadow:0 0 0 2px #d5f78077}.muscle-card.placed{opacity:.45}.muscle-card svg{width:100%;height:105px}.muscle-card .card-name{display:block;font-size:11px;line-height:1.5;min-height:34px}.muscle-card .grab{position:absolute;top:8px;right:9px;color:#bdc4ca;font-size:13px}.hint{width:100%;border:1px solid #dce2e6;background:transparent;color:#667681;border-radius:8px;padding:12px;font-size:12px;margin-top:17px}.primary{background:var(--ink);color:#fff;padding:14px;border:0;border-radius:8px;width:100%;margin-top:15px;font-size:13px}.stage-progress{display:flex;gap:5px;margin-top:22px}.stage-progress i{height:4px;background:#dce2e7;flex:1;border-radius:3px}.stage-progress i.done{background:#7c9c47}#feedback{font-size:13px;line-height:1.65;margin-top:18px}#feedback:empty{display:none}.success-title{font-size:20px;color:#518124;margin-bottom:12px;font-weight:800}.facts{border-left:2px solid #a9c970;padding-left:13px}.facts b{display:block;font-size:10px;letter-spacing:1px;color:#8b959d;margin-top:10px}.error{color:#ad533f}.study-feedback{color:#62777f}footer{display:flex;justify-content:space-between;gap:14px;font-size:10px;color:#8d98a1;padding:18px 2px}footer button{font:inherit;border:0;background:none;color:#6c7c89;padding:0}dialog{border:0;border-radius:18px;padding:35px;width:min(580px,90vw);color:#253240;max-height:85vh}dialog::backdrop{background:#101a2788;backdrop-filter:blur(4px)}dialog p,dialog li{font-size:15px;line-height:1.8}dialog h2{margin-top:0}.close{float:right;border:0;background:#eef1f4;border-radius:50%;width:30px;height:30px;font-size:20px}dialog a{color:#5d7e2e}#ghost{position:fixed;pointer-events:none;display:none;z-index:50;width:100px;height:130px;filter:drop-shadow(0 8px 10px #0005)}#ghost svg{width:100%;height:100%}.target-zone{cursor:crosshair}.orientation{fill:#638098;font:11px Manrope,Arial;letter-spacing:2px}@media(min-width:1450px){.game-grid{grid-template-columns:1fr 350px}.anatomy{min-height:740px}#skeletonWrap{height:605px}}@media(max-width:1100px){header{padding:0 22px}.brand-sub{display:none}main{grid-template-columns:210px 1fr}.course{padding:30px 18px}.workspace{padding:26px 20px}.game-grid{grid-template-columns:minmax(250px,1fr) 250px;gap:18px}.task-panel h2{font-size:23px}h1{font-size:23px}.schematic{display:none}}@media(max-width:850px){main{display:block}.course{padding:20px;border-right:0;border-bottom:1px solid #e1e5e9}.course h1,.course>.eyebrow,.course>.muted,.course-note,.reset,.progress-caption{display:none}.progress-track{margin:0 0 16px}.course nav{display:flex;overflow:auto;gap:5px}.level{min-width:138px;padding:7px}.level-number{min-width:25px;height:25px}.level small{display:none}.level b{font-size:11px}.lock{display:none}.anatomy{min-height:620px}#skeletonWrap{height:490px}.workspace{padding-top:20px}.game-grid{grid-template-columns:1fr 260px}.brand-sub{display:none}}@media(max-width:600px){header{height:auto;min-height:78px;padding:16px;flex-wrap:wrap;gap:12px}.brand{font-size:22px}.modes{margin-left:auto}.modes button{padding:8px 13px;font-size:12px}header>.quiet{display:none}.workspace{padding:18px 14px}.workspace-title{margin-bottom:16px}.workspace-title h2{font-size:20px}.game-grid{grid-template-columns:1fr;gap:20px}.anatomy{min-height:540px}#skeletonWrap{height:425px}.canvas-top{padding:15px 20px}.canvas-bottom{padding:0 18px 12px}.task-panel{padding:0 5px}.task-panel h2{font-size:24px}.instruction{padding:12px 0}.muscle-card svg{height:115px}.muscle-card .card-name{font-size:13px;min-height:0}.task-panel{display:flex;flex-direction:column}.task-head{order:-5}.task-panel h2{order:-4}.latin{order:-3}.voice{order:-2}.instruction{order:-1}footer{font-size:10px;line-height:1.6}.pill{font-size:9px}.eyebrow{font-size:10px}#tray{gap:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.instruction,.hint,.voice,.primary{font-size:14px}.muscle-card .card-name{font-size:13px}.tray-heading{font-size:14px}.level b{font-size:14px}.modes button{font-size:14px}@media(max-width:850px){.level b{font-size:12px}}
#skeletonWrap{position:relative;display:block;touch-action:none}#anatomyCanvas{display:block;width:100%;height:100%;touch-action:none}#modelStatus{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;color:#d5e2ed;background:#111d2b;font-size:16px;z-index:5}#modelStatus[hidden]{display:none}#retryModel{padding:12px;border:0;border-radius:6px;margin:10px}#targetZone{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:#d5f780;color:#1c3115;border:0;border-radius:7px;font-size:12px;padding:9px 12px;opacity:0;pointer-events:none}#targetZone:focus-visible{opacity:1;pointer-events:auto}.model-thumb{display:block;width:100%;height:120px;object-fit:contain;pointer-events:none}.model-pending{display:flex;height:120px;align-items:center;font-size:12px;color:#84919c}.focus-region{background:none;border:1px solid #3a4a5b;border-radius:5px;color:#bfccda;padding:6px;font:inherit;margin-left:auto}.canvas-bottom{gap:10px;flex-wrap:wrap}.zoom{margin-left:0}#ghost img{width:100%;height:100%;object-fit:contain}#ghost .model-pending{display:none}@media(max-width:600px){.model-thumb{height:140px}.focus-region{font-size:10px}}
.anatomy{background-color:#242423;background-image:radial-gradient(ellipse at 50% 40%,#44433f 0,#202020 80%)}#modelStatus{background:#252525}#rotationPanel{border:1px solid #d8e0e5;border-radius:12px;padding:14px;margin:18px 0}#rotationPanel[hidden]{display:none}#rotationHost{height:240px;margin:12px -6px;background:radial-gradient(#494843,#252525);border-radius:8px;overflow:hidden;display:grid;place-items:center}#rotationHost canvas{width:100%!important;height:240px!important;object-fit:contain}.rotation-sliders{display:grid;gap:10px}.rotation-sliders label{font-size:12px;color:#677682}.rotation-sliders input{display:block;width:100%;accent-color:#719944;margin:10px 0}#rotationStatus{font-size:13px;line-height:1.6}#rotationPanel .hint{margin-top:8px}.schematic{font-size:11px}#orientationLevel .level-number{font-size:22px}#tray:has(.muscle-card:only-child){grid-template-columns:1fr}#tray:has(.muscle-card:only-child) .model-thumb{height:140px}
.anatomy{align-self:start;position:sticky;top:16px}.view-tabs[hidden]{display:none}@media(max-width:600px){.anatomy{position:relative;top:auto}}#rotationHost canvas{max-width:100%}

.key-dot{background:#ef4444}.key-dot.end{background:#258bff}.difficulty-current{display:flex;align-items:center;gap:12px;font-size:13px}
.preview-window{display:flex;align-items:safe center;justify-content:safe center;overflow:auto;height:175px;width:100%;margin-bottom:8px;touch-action:pan-x pan-y}.model-thumb{flex:none;max-width:none;object-fit:unset;width:auto;height:auto}#tray .model-thumb{height:auto}.muscle-card{padding:10px 6px}.muscle-card .card-name{min-height:40px}.muscle-card.placed{opacity:.6}
#startScreen{position:fixed;inset:0;z-index:100;background:#111b29ed;backdrop-filter:blur(12px);display:grid;place-items:center;overflow:auto;padding:24px}#startScreen[hidden]{display:none}.start-card{width:min(720px,100%);padding:38px;background:#f8fafb;border-radius:24px;box-shadow:0 25px 90px #0006}.start-card h1{font-size:36px;margin:14px 0}.start-card>p{color:#6a7885;font-size:14px}#difficultyOptions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.difficulty-option{display:flex;gap:12px;padding:20px 16px;border:1px solid #dce4e9;border-radius:12px;background:white;cursor:pointer}.difficulty-option:has(:checked){border-color:#789c41;background:#eff8e0;box-shadow:0 0 0 2px #d5f780}.difficulty-option input{accent-color:#5c832b;margin-top:4px}.difficulty-option b{display:block;font-size:16px}.difficulty-option small{display:block;line-height:1.6;color:#6b7883;margin-top:8px}.start-card .primary{font-size:16px;padding:18px}.start-note{text-align:center;font-size:12px!important}#fullscreenNotice{position:fixed;bottom:18px;left:18px;right:18px;background:#fff;color:#243445;padding:20px;border:1px solid #cdd9e3;border-radius:12px;z-index:90;box-shadow:0 4px 30px #0003}#fullscreenNotice[hidden]{display:none}#fullscreenNotice a{color:#257693}#closeFullscreenNotice{float:right;border:0;background:none;font-size:22px}#attachmentPanel{padding:16px;background:#fff;border:1px solid #e1d1cf;border-left:4px solid #ef4444;border-radius:8px;margin:16px 0}#attachmentPanel[data-type=insertion]{border-left-color:#258bff}#attachmentPanel[hidden]{display:none}#attachmentPanel p{font-size:13px;color:#6b7884;margin-bottom:0}#rotationHost{overflow:auto;display:flex;align-items:safe center;justify-content:safe center}#rotationHost canvas{flex:none;max-width:none;width:auto!important;height:auto!important}
@media(min-width:1200px){.game-grid{grid-template-columns:minmax(310px,1fr) 360px}}@media(max-width:600px){.difficulty-current{flex-wrap:wrap;gap:4px;max-width:170px}header>#fullscreenToggle{display:block;font-size:12px}.start-card{padding:24px 18px}.start-card h1{font-size:28px}#startScreen{padding:12px}#difficultyOptions{grid-template-columns:1fr;gap:8px;margin:18px 0}.difficulty-option{padding:12px}.difficulty-option small{margin-top:3px}.preview-window{height:165px}}

#tray{max-height:500px;overflow:auto;padding:3px}.preview-window{height:140px}.muscle-card .card-name{font-size:12px}.task-panel .tray-heading{margin-top:18px}#feedback{margin-top:14px}
/* The game is a viewport-sized working surface. */
html,body{width:100%;height:100%;overflow:hidden}body{height:100dvh;display:flex;flex-direction:column}header{height:60px;min-height:60px;padding:0 20px;flex-shrink:0}main{width:100%;max-width:none;flex:1;min-height:0;grid-template-columns:190px 1fr;overflow:hidden}.course{padding:18px 12px;min-height:0}.course h1{font-size:20px;margin:10px 0}.course>.muted{font-size:11px}.course-note{display:none}.course .progress-caption{margin-bottom:12px}.course .progress-track{margin-top:15px}.level{padding:8px 6px;gap:7px}.level b{font-size:12px}.level small{font-size:10px}.level-number{min-width:26px;height:26px}.workspace{padding:14px 18px 6px;display:flex;flex-direction:column;min-height:0}.workspace-title{margin-bottom:10px;flex-shrink:0}.workspace-title h2{font-size:21px;margin:4px 0}.game-grid{flex:1;min-height:0;grid-template-columns:minmax(220px,1fr) minmax(390px,44%);gap:16px}.anatomy{position:relative;top:auto;align-self:stretch;min-height:0;height:100%;display:flex;flex-direction:column}.canvas-top{padding:12px 16px;flex-shrink:0}#skeletonWrap{height:auto;flex:1;min-height:0}.canvas-bottom{padding:8px 12px;flex-shrink:0;gap:7px}.view-tabs{padding:5px;flex-shrink:0}.view-tabs button{padding:6px 12px}.task-panel{position:relative;display:flex;flex-direction:column;padding:4px 0;min-height:0;overflow:hidden}.task-panel>*{flex-shrink:0}.task-panel h2{font-size:21px;margin:8px 0 3px}.latin{font-size:13px;margin:3px 0 7px}.instruction{font-size:12px;line-height:1.5;padding:6px 0 10px}.task-panel .tray-heading{font-size:12px;margin:10px 0 7px}#tray{flex:1;min-height:0;max-height:none;overflow:hidden;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;padding:2px}.muscle-card{min-height:0;display:flex;flex-direction:column;align-items:stretch;padding:5px}.preview-window{flex:1;min-height:0;height:auto;overflow:hidden;margin:0;touch-action:none}.muscle-card .card-name{font-size:10px;line-height:1.3;min-height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.stage-progress{margin-top:8px}.task-panel .primary{padding:10px;margin-top:8px}.task-panel #feedback{font-size:12px;line-height:1.5}.facts b{margin-top:7px}.success-title{margin-bottom:8px}.answer-shown #tray,.answer-shown .tray-heading{display:none}.answer-shown #feedback{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center}footer{padding:8px 0 2px;flex-shrink:0;font-size:9px}#attachmentPanel{padding:9px;margin:6px 0;font-size:12px}#attachmentPanel p{display:none}#rotationPanel{display:grid;grid-template-columns:100px 1fr;gap:5px 10px;padding:8px;margin:4px 0;font-size:11px}#rotationPanel>.eyebrow{display:none}#rotationHost{height:105px;grid-row:1 / 3;margin:0;width:100px;overflow:hidden}#rotationHost canvas{max-width:100%;max-height:100%;object-fit:contain}#rotationPanel .rotation-sliders{gap:2px}#rotationPanel label{font-size:10px}#rotationPanel input{margin:3px 0;height:12px}#rotationPanel .hint{font-size:11px;margin:0;padding:5px}#rotationStatus{grid-column:1 / -1;font-size:11px;margin:0;line-height:1.3}#exitFullscreen{position:fixed;right:12px;top:10px;z-index:150;background:#172431;color:white;border:1px solid #738598;border-radius:7px;padding:10px 14px;font:600 12px Manrope,Arial}#exitFullscreen[hidden],#difficultyOptions[hidden],#startFullscreen[hidden]{display:none}body:has(#exitFullscreen:not([hidden])) header{padding-right:285px}header>#help{font-size:12px}#startScreen{overflow:hidden}.start-card{max-height:100%;padding:26px}.start-card h1{font-size:30px}#difficultyOptions{margin:18px 0;gap:10px}.difficulty-option{padding:14px}.start-note{margin-bottom:0}
@media(max-width:1000px){main{grid-template-columns:1fr}.course{display:none}.workspace{padding:10px 12px 5px}.game-grid{grid-template-columns:minmax(200px,1fr) minmax(350px,48%)}.brand-sub{display:none}.difficulty-current{font-size:11px}.difficulty-current button{font-size:11px}header{padding:0 12px;gap:12px}}
@media(max-width:640px){header{height:48px;min-height:48px;flex-wrap:nowrap;padding:0 8px;gap:7px}.brand{font-size:17px;gap:5px}.mark{width:25px;height:25px;font-size:18px}.difficulty-current{margin-left:auto;max-width:none;gap:4px}.difficulty-current b{display:none}header>#fullscreenToggle{font-size:10px}.workspace{padding:6px 8px}.workspace-title{margin-bottom:5px}.workspace-title h2{font-size:14px}.workspace-title .eyebrow{font-size:9px}.pill{padding:4px 7px;font-size:9px}.game-grid{display:grid;grid-template-columns:minmax(125px,42%) minmax(0,1fr);gap:8px}.canvas-top{padding:9px;font-size:10px}.canvas-bottom{padding:5px;gap:6px;font-size:9px}.focus-region{font-size:9px;width:100%;margin:0}.zoom{margin:auto}.zoom button{width:26px;height:24px}.view-tabs{flex-direction:column;gap:0;padding:3px}.view-tabs button{padding:4px;font-size:10px}.task-panel h2{font-size:15px;margin:5px 0}.task-head .eyebrow{font-size:8px;letter-spacing:.6px}#counter{font-size:10px}.latin{font-size:10px;margin:0 0 4px}.instruction{font-size:10px;padding:4px 0;line-height:1.35}.task-panel .tray-heading{font-size:9px;margin:6px 0 4px}#tray{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:4px}.muscle-card .card-name{font-size:9px;min-height:26px}.muscle-card{padding:3px}.muscle-card .grab{display:none}.stage-progress{margin-top:5px}.task-panel #feedback{font-size:10px;line-height:1.35}.facts{padding-left:7px}.facts b{font-size:8px;margin-top:5px}.success-title{font-size:17px}.task-panel .primary{font-size:11px;padding:8px}.task-panel>*{order:initial}.task-panel #rotationPanel{grid-template-columns:55px 1fr;gap:4px;padding:5px}#rotationHost{width:55px;height:80px}#rotationPanel label{font-size:8px}#rotationPanel input{height:10px;margin:2px 0}#rotationPanel .hint,#rotationStatus{font-size:9px}#attachmentPanel{font-size:10px;padding:6px}footer span{display:none}footer{padding-top:5px}#exitFullscreen{right:7px;top:8px;padding:7px;font-size:9px;max-width:145px}body:has(#exitFullscreen:not([hidden])) header{padding-right:155px}.start-card{padding:18px}.start-card h1{font-size:26px}.start-card>p{font-size:12px}#difficultyOptions{grid-template-columns:1fr;gap:7px;margin:14px 0}.difficulty-option{padding:9px}.difficulty-option b{font-size:14px}.difficulty-option small{font-size:11px;line-height:1.35;margin-top:3px}.start-card .primary{font-size:13px;padding:13px}.start-note{font-size:10px!important}}
@media(max-height:600px) and (min-width:641px){header{height:45px;min-height:45px}.workspace-title{display:none}.course h1,.course>.eyebrow,.course>.muted{display:none}.task-panel h2{font-size:16px;margin:3px 0}.instruction{font-size:10px;padding:3px 0}.latin{font-size:10px;margin:2px 0}.canvas-top{padding:8px}.task-panel .tray-heading{margin:4px 0;font-size:10px}.muscle-card .card-name{font-size:9px;min-height:24px}#rotationHost{height:75px}#rotationPanel input{height:9px;margin:1px 0}#rotationPanel{margin:2px 0;padding:4px}.task-panel #feedback{font-size:10px}.start-card{padding:15px;max-width:680px}.start-card h1{font-size:24px;margin:7px 0}#difficultyOptions{margin:10px 0}.difficulty-option{padding:8px}.difficulty-option small{margin-top:2px}.start-card .primary{padding:10px;margin-top:5px}.start-note{display:none}#exitFullscreen{top:5px}}
main{display:grid}.workspace{height:100%}.task-panel h2,.task-panel .task-head,.task-panel .latin,.task-panel .instruction{order:0}.muscle-card:disabled{opacity:1}.muscle-card.placed:disabled{opacity:.55}#rotationPanel[hidden]{display:none}

.rotation-sliders input{accent-color:#258bff!important}#viewPrompt{padding:5px 8px;text-align:center;font-size:11px;color:#b8dfff;flex-shrink:0}.view-tabs.awaiting-choice button{border:1px solid #60b6ec;color:#d7efff}.difficulty-select{display:grid;gap:8px;font-size:14px}.difficulty-select select{font:inherit;padding:12px;border:1px solid #bacbd9;border-radius:8px;background:white}#views{flex-direction:row;flex-wrap:wrap}#views button{flex:1;min-width:0;padding:6px 4px}@media(max-width:640px){#viewPrompt{font-size:9px;padding:4px}#views button{font-size:9px}}

.view-step{flex:1;text-align:center;padding:7px 4px;font-size:11px;color:#7e92a5;border-radius:6px}.view-step.active{background:#314358;color:white}.level-complete{padding:10px;background:#e1f1d1;color:#40632c;border-radius:7px;font-weight:700;margin-bottom:8px}.course .level{cursor:default}.course .level small{font-size:10px}.view-tabs{gap:4px}@media(max-width:640px){.view-step{font-size:9px}}

#startScreen{isolation:isolate;background:#06121f;padding:20px}.loading-artwork{position:absolute;width:min(100vw,177.6833dvh);aspect-ratio:1672/941;left:50%;top:50%;transform:translate(-50%,-50%);z-index:-1}.loading-artwork>img{width:100%;height:100%;display:block}.loading-live{position:absolute;left:54.1%;top:66%;width:41.65%;height:22.5%;border:1px solid #95dfff;border-radius:clamp(7px,1.2vw,22px);background:linear-gradient(125deg,#0b2034,#092238);box-shadow:inset 0 0 35px #288dd447;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(3px,1vw,18px);color:#c4e8ff;font-size:clamp(8px,1.55vw,24px);text-align:center;padding:2%}.loading-live progress{appearance:auto;accent-color:#00caff;width:90%;height:clamp(6px,1.5vw,26px)}#startScreen.is-loading .start-card{display:none}#startScreen:not(.is-loading) .loading-live progress{display:none}#startScreen:not(.is-loading)::before{content:"";position:absolute;inset:0;background:#071523b8;z-index:-1}.start-card{position:relative}#viewPrompt{padding:9px}.loading-artwork{pointer-events:none}@media(max-width:640px){#startScreen.is-loading .loading-artwork{width:100vw}.loading-live{font-size:9px;padding:2%}.start-card{max-height:100%;overflow:auto}}

.loading-live progress{appearance:none;border:1px solid #31caff;border-radius:99px;background:#07283c;box-shadow:0 0 12px #1ecbff66;overflow:hidden}.loading-live progress::-webkit-progress-bar{background:#08273a;border-radius:99px}.loading-live progress::-webkit-progress-value{background:linear-gradient(#9eefff,#00beff);box-shadow:0 0 12px #0ce5ff;border-radius:99px}.loading-live progress::-moz-progress-bar{background:#19d1ff}

/* Launch panel: glass over the artwork, aligned to the right of the bust. */
#startScreen{--scene-width:min(100vw,177.6833dvh);padding:0;overflow:hidden;backdrop-filter:none}
#startScreen:not(.is-loading)::before{display:none}
#startScreen:not(.is-loading) .loading-live{visibility:hidden}
#startScreen .start-card{position:absolute;left:calc(50% + var(--scene-width)*.025);top:50%;transform:translateY(-35%);width:calc(var(--scene-width)*.44);max-width:none;max-height:88dvh;overflow:auto;padding:clamp(18px,2.2vw,36px);border:1px solid #acdcf2b3;border-radius:24px;color:#e9f6ff;background:linear-gradient(145deg,#214a6bdd,#17374bed 55%,#102b43 78%);backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%);box-shadow:inset 0 1px 0 #ffffff45,inset 0 0 45px #64baff20,0 22px 70px #00101c80}
#startScreen .start-card h1{font-size:clamp(22px,2.4vw,34px);margin:10px 0;color:#effaff;letter-spacing:-.5px}
#startScreen .start-card>.eyebrow{color:#9ed5f3;letter-spacing:2px;font-size:10px}
#startScreen .start-card>p{color:#bfd5e6;font-size:13px;line-height:1.5;margin:8px 0}
#startScreen #difficultyOptions{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 8px}
#startScreen .difficulty-option{padding:13px 10px;gap:8px;border:1px solid #9ccded40;background:#729cc61a;border-radius:12px;color:#eef8ff;transition:background .15s,border-color .15s}
#startScreen .difficulty-option:hover{background:#91c5ef30}
#startScreen .difficulty-option:has(:checked){border-color:#7bdcff;background:#59caff26;box-shadow:0 0 0 1px #63d3ff,inset 0 0 20px #2cafff15}
#startScreen .difficulty-option input{accent-color:#47c9ff;margin:3px 0 0;flex-shrink:0}
#startScreen .difficulty-option b{font-size:14px}
#startScreen .difficulty-option small{font-size:11px;line-height:1.5;color:#c1d5e4;margin-top:5px}
#startScreen .start-card .primary{margin-top:14px;padding:14px;background:linear-gradient(110deg,#70dfff,#279edc);color:#062b43;font-size:15px;font-weight:800;border:1px solid #a4eaff;border-radius:10px;box-shadow:0 0 22px #3dc5ff26}
#startScreen .start-card .primary:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}
#startScreen .start-card .start-note{text-align:center;font-size:11px;margin-top:12px;color:#91b6ce}
#startScreen .start-card button:focus-visible,#startScreen .difficulty-option:has(:focus-visible){outline:3px solid white;outline-offset:3px}
@media(max-width:700px){
 #startScreen .loading-artwork{width:auto!important;height:100%;aspect-ratio:1672/941;left:140%}
 #startScreen .start-card{left:4%;top:auto;bottom:4%;transform:none;width:92%;max-height:90dvh;padding:22px;border-radius:22px;background:linear-gradient(145deg,#214a6bed,#102b43 80%)}
 #startScreen .start-card h1{font-size:26px}
 #startScreen #difficultyOptions{margin-top:16px}
 #startScreen .difficulty-option{padding:12px 10px}
 #startScreen .loading-live{position:absolute;left:calc(50% - 136vw);top:66%;width:92vw;height:180px;font-size:16px;padding:24px}
}
@media(min-width:701px) and (max-height:640px){
 #startScreen .start-card{top:50%;transform:translateY(-50%);padding:16px;width:calc(var(--scene-width)*.46)}
 #startScreen #difficultyOptions{margin:10px 0 0;gap:7px}
 #startScreen .difficulty-option{padding:8px}
 #startScreen .start-card h1{font-size:22px;margin:5px 0}
 #startScreen .start-card>p{font-size:11px}
 #startScreen .start-card .start-note{display:none}
 #startScreen .start-card .primary{padding:10px;margin-top:10px}
}

@media(min-width:701px) and (min-height:641px){#startScreen .start-card{top:auto;bottom:calc(50% - var(--scene-width)*.225);transform:none}}

/* Expanded artwork fills every viewport; launch controls share its horizontal center. */
#startScreen .loading-artwork,#startScreen.is-loading .loading-artwork{inset:0;left:0;top:0;transform:none;width:100%!important;height:100%;aspect-ratio:auto}
#startScreen .loading-artwork>img{width:100%;height:100%;object-fit:cover;object-position:center}
#startScreen .start-card{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(560px,92vw);max-height:94dvh;background:linear-gradient(145deg,#214a6bc9,#17374bd9 55%,#102b43eb);padding:clamp(18px,2.2vw,36px)}
#startScreen .loading-live{left:50%;top:auto;bottom:7%;transform:translateX(-50%);width:min(560px,92vw);height:150px;padding:24px;border-radius:22px;font-size:18px;gap:18px;background:linear-gradient(145deg,#214a6bc9,#102b43eb);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
#startScreen .loading-live progress{width:90%;height:18px}
#startScreen:not(.is-loading) .loading-live{display:none}
@media(max-width:700px){#startScreen .loading-artwork>img{object-position:30% center}#startScreen .start-card{padding:22px}}
@media(max-height:640px){#startScreen .start-card{padding:16px}#startScreen .start-card h1{font-size:22px;margin:5px 0}#startScreen #difficultyOptions{margin:10px 0 0;gap:7px}#startScreen .difficulty-option{padding:8px}#startScreen .start-card .start-note{display:none}#startScreen .start-card .primary{padding:10px;margin-top:10px}}

/* Loading retains the original branding; the ready state uses the clean expanded art. */
#startScreen .loading-scene{position:absolute;width:max(100vw,177.6833dvh);aspect-ratio:1672/941;left:50%;top:50%;transform:translate(-50%,-50%)}
#startScreen .loading-scene>img{display:block;width:100%;height:100%}
#startScreen.is-loading .ready-art{visibility:hidden}
#startScreen:not(.is-loading) .loading-scene{display:none}
#startScreen .loading-scene .loading-live{left:54.1%;top:66%;bottom:auto;transform:none;width:41.65%;height:22.5%;padding:2%;font-size:clamp(12px,1.55vw,24px);border-radius:clamp(7px,1.2vw,22px);background:linear-gradient(125deg,#0b2034,#092238)}
#startScreen .start-card{left:75%;width:min(560px,46vw);top:50%;transform:translate(-50%,-50%)}
#startScreen .start-card .primary{color:#effaff;background:linear-gradient(110deg,#2687b7,#17648e);border-color:#82d8ff}
#startScreen .start-card .primary:disabled{opacity:1;color:#effaff;background:#3a637b;cursor:not-allowed;border-color:#7395a9}
@media(max-width:700px){
 #startScreen .loading-scene{width:100%;height:100%;aspect-ratio:auto;inset:0;transform:none}
 #startScreen .loading-scene>img{object-fit:cover;object-position:75% center}
 #startScreen .loading-scene .loading-live{left:4%;top:66%;width:92%;height:23%;font-size:16px;padding:20px}
 #startScreen .start-card{left:50%;width:92vw}
}
