:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'PingFang TC','Noto Sans TC',sans-serif;color:#263a40;background:#f4f1e9;font-synthesis:none;--ink:#17333f;--gold:#e8b96c}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{height:100vh;height:100dvh;display:grid;grid-template-rows:62px minmax(0,1fr);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}button,select,input{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid #d2d9ce;background:#fffdf6;color:var(--ink);border-radius:9px;padding:9px 13px;font-size:12px;transition:background .15s}button:hover:not(:disabled){background:#e6ece2}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b67b43;outline-offset:2px}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}.site-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 28px;border-bottom:1px solid #dce0d5;min-width:0}.brand{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:1.7px;font-weight:700;flex:none}.brand-mark{font-size:30px;color:#a97b4b}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:2px;margin-top:3px}.header-actions{display:flex;gap:7px;align-items:center}.header-actions button{font-size:11px;padding:8px 11px;min-height:34px}.header-actions button[aria-pressed=true]{background:#dce8dc}main{width:100%;max-width:1500px;min-height:0;min-width:0;margin:0 auto;display:grid;grid-template-rows:65px 43px minmax(0,1fr) 30px;gap:10px;padding:12px 28px 8px}.intro{display:flex;align-items:center;justify-content:space-between;gap:15px;min-width:0}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;margin:0 0 8px;color:#728379}h1{font-size:29px;letter-spacing:2px;line-height:1.25;margin:0}h1 span{font-size:12px;letter-spacing:1px;font-weight:400;color:#718173;margin-left:14px}.intro>#bgm-status{font-size:10px;color:#6b8070;text-align:right}.levels{display:flex;gap:5px;padding:4px;background:#e6e9df;border-radius:11px;max-width:650px;min-width:0}.levels button{flex:1;border-color:transparent;background:transparent;padding:5px 9px;font-size:12px;min-width:0}.levels button[aria-pressed=true]{background:var(--ink);color:#fff}.game{min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:20px;overflow:hidden;background:var(--ink);box-shadow:0 10px 30px #17333f13}.scene{min-height:0;min-width:0;position:relative;color:#f4ecdf;background:radial-gradient(ellipse at 80% 20%,#38555e,transparent 52%),linear-gradient(140deg,#15323f,#102630);padding:24px;display:flex;flex-direction:column;overflow:hidden}.scene-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;font-size:10px;color:#b6cac3}.station{font-size:10px;color:#ebc48a;letter-spacing:2px}.space-art{flex:1;min-height:20px;display:flex;align-items:center;margin:5px -15px}.space-art svg{display:block;width:100%;height:100%;max-height:300px}.planet{transform-origin:483px 117px;animation:float 8s ease-in-out infinite}.signal-wave{opacity:.25}body.sounding .signal-wave{opacity:1}#ship{transition:transform 1.4s cubic-bezier(.2,.6,.3,1)}#beacons circle{fill:#4e6a6e;stroke:#94aaa6;stroke-width:2}#beacons circle.lit{fill:var(--gold);stroke:#f7e8c9;filter:drop-shadow(0 0 7px #e8b96c)}.mission{flex:none}.mission .eyebrow{color:#9ab6af;margin-bottom:10px}.mission .eyebrow span{float:right;color:#a3b9b3;letter-spacing:1px}.mission h2{font-size:25px;line-height:1.4;margin:0 0 9px;letter-spacing:1px}.mission>p:not(.eyebrow){font-size:12px;line-height:1.7;color:#bdcec6;margin:4px 0}.mission #stage-info{color:#f0cf9a;font-size:11px}.guide{display:flex;align-items:center;gap:16px;border:1px solid #64808066;background:#69817e13;border-radius:12px;padding:16px;margin:18px 0;flex:none}.guide strong{font-size:11px;color:#f1cd92}.guide p{color:#c9d8d0;font-size:12px;line-height:1.8;margin:5px 0 0}.bot{flex:none;width:45px;height:43px;border-radius:15px;background:#d9e4d7;border:4px solid #a1bdb5;position:relative;transform:rotate(-5deg);box-shadow:0 7px 0 -3px #668684}.eyes{display:block;background:#24454f;border-radius:8px;margin:7px 2px 0;color:#ffd68c;text-align:center;font-size:22px;line-height:20px;letter-spacing:6px;padding-left:6px}.antenna{position:absolute;top:-13px;left:19px;width:3px;height:10px;background:#bcd0bc}.antenna:before{content:'';position:absolute;top:-5px;left:-3px;width:9px;height:9px;background:var(--gold);border-radius:50%}.route{display:flex;align-items:center;gap:12px;font-size:10px;color:#9ab7b4;flex:none}.route>div{display:flex;gap:8px;flex:1;justify-content:center}.route i{display:block;width:7px;height:7px;border-radius:50%;background:#4a6467}.route i.lit{background:var(--gold)}.console{min-height:0;min-width:0;background:#fffdf5;padding:19px 24px;display:grid;grid-template-rows:18px 20px 40px 56px 83px minmax(70px,1fr) 36px 34px;gap:8px}.console-head,.receiver-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#587464}.console-head #audio-status{color:#8a9283}.step-list{display:flex;align-items:center;justify-content:space-between;color:#939a8c;font-size:11px}.step-list .current{color:#28675b;font-weight:700}.listen{background:#e7eee4;border-color:#cbd9c9;display:flex;align-items:center;gap:9px;text-align:left;font-size:13px;padding:8px 13px;min-height:0}.listen small{margin-left:auto;font-size:10px;color:#6a7f69}.target{text-align:center;display:flex;flex-direction:column;justify-content:center;min-width:0}.target strong{font:24px/1.3 ui-monospace,monospace;letter-spacing:3px;color:#a16b3c;white-space:pre-wrap;overflow-wrap:anywhere}.target small{font-size:10px;color:#7e8a79;margin-top:5px}.receiver{min-height:0;min-width:0;border-top:1px solid #e0e5d8;padding-top:8px;display:grid;grid-template-rows:13px 26px 15px 18px;gap:1px}.receiver-label{font-size:10px}.signal-line{font:17px/1.4 ui-monospace,monospace;letter-spacing:2px;color:#4e7563;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.receiver p{font-size:10px;color:#758773;margin:0;line-height:1.4}.gap-track{position:relative;display:flex;justify-content:space-between;align-items:end;isolation:isolate;font-size:9px;color:#7a8874}.gap-track:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:#e0e7d8;z-index:-1}.gap-track i{position:absolute;top:0;left:0;height:3px;width:0;background:#c6a05b;z-index:-1}.telegraph-key{position:relative;isolation:isolate;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;border:none;justify-self:center;align-self:center;width:86%;height:100%;max-width:345px;max-height:185px;min-height:65px;border-radius:55% / 45%;background:#244e50;color:#fff7e8;box-shadow:0 5px 0 #16393d,0 9px 0 #e7ddc5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px}.telegraph-key:hover:not(:disabled){background:#2d5c59}.telegraph-key:disabled{opacity:.6}.telegraph-key.pressed{background:#c39852;color:#183c42;transform:translateY(4px);box-shadow:0 1px 0 #16393d,0 5px 0 #e7ddc5}.key-orbit{position:absolute;inset:8px;border:1px solid #c0d6be30;border-radius:inherit;z-index:-1}.key-icon{font-size:24px;color:#eaca8c;line-height:1}.telegraph-key strong{font-size:19px;letter-spacing:2px}.telegraph-key small{font-size:9px;font-weight:400;color:#c5d4c8}.input-actions{display:flex;gap:7px}.input-actions button{padding:7px 11px;font-size:12px;min-height:32px}.input-actions .primary{margin-left:auto}.primary{background:var(--ink);border-color:var(--ink);color:#fff9ee}.primary:hover:not(:disabled){background:#315858}.notice{font-size:11px;line-height:1.6;color:#657a69;min-width:0}footer{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#83907e;font-size:9px;min-width:0}footer>div{display:flex;gap:8px}footer button{font-size:10px;padding:4px 10px;border:0;background:transparent;color:#557561;min-height:28px;text-decoration:underline;text-underline-offset:3px}dialog{width:min(610px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:23px;border:1px solid #d1dccd;border-radius:19px;background:#fffdf5;color:#2b4846;overflow:hidden;box-shadow:0 25px 100px #0a212c40;animation:arrive .18s ease-out}dialog::backdrop{background:#0d263db5;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dialog-heading h2{font-size:23px;line-height:1.35;margin:0}.dialog-heading>.button,.dialog-heading>button{flex:none;width:34px;height:34px;padding:5px;border-radius:50%;background:#eceee3;border-color:transparent}.dialog-heading .eyebrow{margin-bottom:5px}.dialog-note{font-size:12px;line-height:1.8;color:#73826f;margin:12px 0}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.dialog-footer button{min-height:36px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px}.settings>div{min-width:0}.settings label{display:block;font-size:12px;margin-bottom:10px}.settings select{width:100%;font-size:12px;padding:9px 5px;border:1px solid #ccd7c6;border-radius:8px;background:#f3f5e9}.settings input[type=range]{width:100%;accent-color:#4a7d69}.settings output{float:right;color:#6a7a67;font-size:11px}.settings .check{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}.help-tabs{display:flex;gap:8px;margin-bottom:17px}.help-tabs button[aria-pressed=true]{background:#dfeada;border-color:#c0d3bc}.lesson-symbols{font:38px/1.3 ui-monospace,monospace;letter-spacing:10px;text-align:center;padding:13px;color:#bd9053}#help-page h3{font-size:18px;line-height:1.5;margin:10px 0}#lesson-copy{font-size:14px;line-height:1.9;color:#61785e;min-height:70px}.reference{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.code-card{border:1px solid #d9e0cf;background:#f4f4e8;border-radius:10px;text-align:center;padding:14px 6px}.code-card strong{font-size:20px}.code-card span{display:block;font:18px/1.5 ui-monospace,monospace;letter-spacing:2px;color:#a47846;margin-top:5px}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;font-size:12px;color:#7b8874}.pager button{font-size:11px;min-height:32px;padding:7px 12px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.choices button{font:22px/1.5 ui-monospace,monospace;padding:22px 12px;letter-spacing:3px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.metrics>div{background:#eef2e5;padding:12px;border-radius:10px}.metrics small{font-size:11px;display:block;color:#72846b}.metrics strong{font-size:21px;color:#3b7158;display:block;margin-top:8px}.comparison{background:#eef1e5;border-radius:10px;padding:13px;display:grid;gap:9px}.comparison>div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px}.comparison span{font-size:11px;color:#7b8b72;padding-top:4px}.comparison strong{font:18px/1.5 ui-monospace,monospace;letter-spacing:2px;white-space:pre-wrap;overflow-wrap:anywhere}#result-copy,#specific-feedback{font-size:12px;line-height:1.7;color:#6b8062;margin:10px 0}#specific-feedback{min-height:34px}.result-actions{display:flex;gap:8px;flex-wrap:wrap}.result-actions button{font-size:11px;padding:9px 12px}.bad{background:#fff0e3;color:#a65739}table{width:100%;border-collapse:collapse;font-size:12px;margin:14px 0}th,td{text-align:left;padding:10px 6px;border-bottom:1px solid #e0e6d6}.whiteboard .console{grid-template-rows:22px 24px 43px 60px 86px minmax(60px,1fr) 40px 40px}.whiteboard .console button,.whiteboard .levels button{font-size:17px}.whiteboard .console-head,.whiteboard .step-list,.whiteboard .notice{font-size:14px}.whiteboard .telegraph-key strong{font-size:24px}.whiteboard .mission h2{font-size:30px}.whiteboard .guide p{font-size:15px}.whiteboard dialog{width:min(760px,calc(100vw - 24px))}.whiteboard .choices button{font-size:28px}.whiteboard .dialog-note,.whiteboard .settings label{font-size:15px}@keyframes float{50%{transform:translateY(-6px)}}@keyframes arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.site-header{padding:8px 18px}main{padding:10px 18px 6px}h1{font-size:26px}h1 span{font-size:11px;margin-left:8px}.scene{padding:20px}.console{padding:16px 18px}.mission h2{font-size:22px}.guide{padding:13px}.header-actions{gap:5px}.header-actions button{font-size:10px;padding:7px 9px}}
@media(max-width:650px) and (orientation:portrait){body{grid-template-rows:49px minmax(0,1fr)}.site-header{padding:5px 12px;gap:7px}.brand{font-size:9px;letter-spacing:1px;gap:5px}.brand small{font-size:8px;letter-spacing:1px}.brand-mark{font-size:25px}.header-actions{gap:3px}.header-actions button{font-size:10px;padding:6px 7px;min-height:30px}.intro .eyebrow{display:none}.intro{display:block;padding-top:2px}.intro>#bgm-status{display:none}h1{font-size:23px;letter-spacing:2px}h1 span{font-size:10px;margin-left:6px;letter-spacing:0}main{grid-template-rows:32px 39px minmax(0,1fr) 28px;gap:7px;padding:8px 12px 4px}.levels{max-width:unset;gap:1px}.levels button{font-size:12px;padding:5px 3px}.game{grid-template-columns:minmax(0,1fr);grid-template-rows:134px minmax(0,1fr);border-radius:15px}.scene{padding:12px 15px;display:block}.scene-top{font-size:9px}.station{font-size:9px;letter-spacing:1px}.space-art{position:absolute;left:5px;top:29px;width:137px;height:87px;margin:0}.space-art svg{width:170px;max-height:110px;flex:none;position:relative;left:-15px}.mission{margin:13px 0 0 130px}.mission .eyebrow{margin:0 0 5px;font-size:8px}.mission .eyebrow>span{float:none;letter-spacing:0;margin-left:6px}.mission h2{font-size:15px;letter-spacing:0;margin:0 0 4px}.mission #focus{display:none}.mission #stage-info{font-size:10px;line-height:1.6;margin:0}.guide{display:none}.route{position:absolute;bottom:10px;left:15px;right:15px;font-size:8px;gap:5px}.route>div{gap:5px}.route i{width:5px;height:5px}.console{padding:12px 16px;grid-template-rows:16px 18px 34px 43px 74px minmax(62px,1fr) 34px 31px;gap:6px}.console-head{font-size:9px}.step-list{font-size:10px}.listen{font-size:12px;padding:7px 10px}.listen small{font-size:9px}.target strong{font-size:20px;letter-spacing:2px}.target small{font-size:9px;margin-top:3px}.receiver{grid-template-rows:12px 23px 14px 17px;padding-top:6px;gap:0}.receiver-label{font-size:9px}.signal-line{font-size:15px;letter-spacing:1px}.receiver p{font-size:9px}.gap-track{font-size:8px}.telegraph-key{max-width:285px;gap:5px;min-height:60px}.key-icon{font-size:19px}.telegraph-key strong{font-size:17px}.telegraph-key small{font-size:8px}.input-actions button{font-size:11px;padding:7px 11px;min-height:32px}.notice{font-size:10px;line-height:1.5}footer{font-size:8px;gap:4px}footer button{font-size:10px;padding:3px 6px}.privacy-note{display:none}.whiteboard .console{grid-template-rows:16px 18px 34px 43px 74px minmax(62px,1fr) 34px 31px}.whiteboard .console button,.whiteboard .levels button{font-size:12px}.whiteboard .console-head,.whiteboard .step-list,.whiteboard .notice{font-size:10px}.whiteboard .telegraph-key strong{font-size:18px}.whiteboard .mission h2{font-size:15px}dialog{padding:18px;border-radius:15px}.dialog-heading{margin-bottom:14px}.dialog-heading h2{font-size:20px}.settings{grid-template-columns:1fr;gap:15px}.settings label{margin-bottom:7px}.settings .check{min-height:28px}.dialog-note{font-size:11px;line-height:1.7}.dialog-footer{margin-top:15px}.metrics{gap:7px}.metrics>div{padding:11px 8px}.metrics small{font-size:10px}.metrics strong{font-size:18px}.comparison strong{font-size:15px;letter-spacing:1px}.result-actions{gap:6px}.result-actions button{font-size:10px;padding:8px 10px}.choices{gap:10px}.choices button{font-size:20px;padding:19px 9px}.code-card{padding:12px 4px}.code-card strong{font-size:18px}.code-card span{font-size:16px;letter-spacing:1px}.whiteboard .settings label,.whiteboard .dialog-note{font-size:12px}}
@media(max-height:700px) and (orientation:portrait){.game{grid-template-rows:95px minmax(0,1fr)}.space-art{height:62px;top:23px;width:110px}.space-art svg{width:137px}.mission{margin:9px 0 0 105px}.mission h2{font-size:14px}.mission .eyebrow{font-size:8px}.route{bottom:6px}.route>span:last-child{display:none}.mission #stage-info{font-size:9px}.console,.whiteboard .console{padding:9px 13px;grid-template-rows:14px 15px 31px 35px 61px minmax(52px,1fr) 32px 27px;gap:4px}.receiver{grid-template-rows:10px 20px 13px 13px;padding-top:4px}.gap-track{font-size:8px}.target strong{font-size:18px}.target small{font-size:8px}.key-icon{display:none}.telegraph-key,.whiteboard .telegraph-key{min-height:48px;gap:4px}.telegraph-key strong{font-size:15px}.telegraph-key small{font-size:8px}.notice{font-size:9px}.input-actions button{min-height:30px;padding:5px 9px}dialog{padding:15px}.dialog-heading{margin-bottom:10px}.dialog-heading h2{font-size:18px}.dialog-footer{margin-top:10px}.dialog-footer button{min-height:33px;padding:7px 10px}.metrics{margin:9px 0}.metrics>div{padding:8px}.metrics strong{margin-top:4px;font-size:17px}.comparison{padding:10px;gap:5px}.comparison strong{font-size:14px}.result-actions button{min-height:31px;padding:7px 8px}#result-copy,#specific-feedback{font-size:11px;line-height:1.55;margin:7px 0}#specific-feedback{min-height:26px}.settings{gap:12px}.settings select{font-size:11px}.lesson-symbols{padding:7px;font-size:30px}#lesson-copy{font-size:13px;min-height:60px}.code-card{padding:8px 4px}.reference{gap:7px}.pager{margin-top:12px}}
@media(max-height:500px) and (orientation:landscape){body{grid-template-rows:39px minmax(0,1fr)}.site-header{padding:3px 12px}.brand{font-size:9px}.brand small{display:none}.brand-mark{font-size:24px}.header-actions button{font-size:10px;padding:5px 8px;min-height:29px}main{grid-template-rows:30px minmax(0,1fr) 22px;gap:5px;padding:5px 12px 3px}.intro{display:none}.levels{padding:3px;max-width:500px}.levels button,.whiteboard .levels button{font-size:11px;padding:3px}.game{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);border-radius:12px}.scene{padding:13px}.scene-top{font-size:8px}.station{font-size:9px}.space-art{min-height:0;max-height:110px;margin:0 -15px}.mission h2,.whiteboard .mission h2{font-size:17px;margin:0 0 4px}.mission .eyebrow{font-size:8px;margin-bottom:5px}.mission #focus{display:none}.mission #stage-info{font-size:9px;line-height:1.5}.guide{display:none}.route{font-size:8px;margin-top:auto}.route>span:last-child{display:none}.console,.whiteboard .console{padding:9px 13px;grid-template-rows:12px 14px 29px 32px 55px minmax(38px,1fr) 29px 24px;gap:3px}.console-head,.whiteboard .console-head{font-size:8px}.step-list,.whiteboard .step-list{font-size:9px}.listen,.whiteboard .console .listen{font-size:11px;padding:5px 8px}.listen small{font-size:8px}.target strong{font-size:18px;line-height:1.15;letter-spacing:2px}.target small{font-size:8px;margin-top:2px}.receiver{padding-top:3px;grid-template-rows:9px 18px 12px 10px;gap:0}.receiver-label{font-size:8px}.signal-line{font-size:13px}.receiver p{font-size:8px}.gap-track{font-size:7px}.telegraph-key,.whiteboard .telegraph-key{min-height:35px;border-radius:30px;max-width:265px;gap:2px;padding:4px;box-shadow:0 3px 0 #16393d,0 5px 0 #e7ddc5}.telegraph-key .key-icon,.telegraph-key small{display:none}.telegraph-key strong,.whiteboard .telegraph-key strong{font-size:15px}.input-actions button,.whiteboard .input-actions button{font-size:10px;padding:5px 9px;min-height:26px}.notice,.whiteboard .notice{font-size:9px;line-height:1.3}footer{font-size:8px}footer button{min-height:20px;font-size:9px}dialog,.whiteboard dialog{width:min(700px,calc(100vw - 24px));padding:14px 18px}.dialog-heading{margin-bottom:9px}.dialog-heading h2{font-size:18px}.dialog-heading>button{width:28px;height:28px}.dialog-heading .eyebrow{display:none}.dialog-note,.whiteboard .dialog-note{font-size:10px;line-height:1.5;margin:8px 0}.dialog-footer{margin-top:9px}.dialog-footer button{padding:6px 10px;min-height:30px;font-size:11px}.settings{gap:12px 20px}.settings label,.whiteboard .settings label{font-size:11px;margin-bottom:6px}.settings select{padding:6px;font-size:11px}.settings .check{font-size:11px}.choices{grid-template-columns:repeat(4,1fr);margin:14px 0;gap:9px}.choices button,.whiteboard .choices button{font-size:20px;padding:16px 7px}.help-tabs{margin-bottom:7px}.help-tabs button{padding:6px 10px;font-size:11px}#help-page{display:grid;grid-template-columns:100px 1fr;column-gap:18px}#help-page .lesson-symbols{grid-row:1/3;padding:7px;align-self:center;font-size:28px;letter-spacing:6px}#help-page h3{font-size:16px;margin:4px 0}#lesson-copy{font-size:12px;line-height:1.7;min-height:40px;margin:4px 0}#help-page .pager{grid-column:1/-1}.reference{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.code-card{padding:8px 3px}.code-card strong{font-size:16px}.code-card span{font-size:13px;letter-spacing:0}.pager{margin-top:9px}.pager button{padding:5px 9px;font-size:10px;min-height:28px}#result-summary{display:grid;grid-template-columns:1fr 1.25fr;column-gap:13px;align-items:center}#result-copy{display:none}.metrics{margin:0;gap:6px}.metrics>div{padding:9px 6px}.metrics small{font-size:9px}.metrics strong{font-size:16px;margin-top:4px}.comparison{padding:8px;gap:3px}.comparison>div{grid-template-columns:30px minmax(0,1fr);gap:5px}.comparison strong{font-size:13px;letter-spacing:1px}.comparison span{font-size:9px}#specific-feedback{grid-column:1/-1;font-size:11px;min-height:0;margin:8px 0}.result-actions{grid-column:1/-1;gap:7px}.result-actions button{padding:6px 10px;font-size:10px}table{font-size:11px;margin:9px 0}th,td{padding:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:380px) and (orientation:portrait){.brand{font-size:8px;letter-spacing:0;gap:4px}.brand small{font-size:7px}.brand-mark{font-size:21px}.header-actions button{font-size:9px;padding:5px 6px}.header-actions{gap:3px}}
@media(max-height:600px) and (orientation:portrait){.console,.whiteboard .console{grid-template-rows:14px 15px 31px 32px 61px minmax(44px,1fr) 32px 22px;gap:3px}.telegraph-key,.whiteboard .telegraph-key{min-height:42px}.notice,.whiteboard .notice{font-size:9px;line-height:1.3}.code-card{padding:6px 3px}.code-card span{font-size:14px}.code-card strong{font-size:16px}.reference{gap:6px}}
@media(min-width:651px) and (min-height:501px) and (max-height:650px){main{grid-template-rows:48px 36px minmax(0,1fr) 24px;gap:6px;padding-top:7px}.console,.whiteboard .console{padding:10px 15px;grid-template-rows:15px 16px 30px 35px 61px minmax(44px,1fr) 31px 27px;gap:4px}.telegraph-key,.whiteboard .telegraph-key{min-height:42px}.key-icon{display:none}.telegraph-key strong,.whiteboard .telegraph-key strong{font-size:18px}.whiteboard .console-head,.whiteboard .step-list{font-size:10px}.whiteboard .console button{font-size:12px}.notice,.whiteboard .notice{font-size:10px}.scene{padding:16px}.guide{margin:10px 0;padding:10px}.guide p,.whiteboard .guide p{font-size:11px}.mission h2,.whiteboard .mission h2{font-size:22px}}
/* v0.4: one focused lesson at a time; no scrolling in the classroom. */
footer>div{display:flex;gap:4px;flex-wrap:nowrap}footer>span:first-child{font-size:9px}#training-dialog{width:min(680px,calc(100vw - 24px))}.rhythm-strip{display:flex;gap:5px;align-items:stretch;min-height:65px;margin:12px 0;padding:10px;background:#eef2e5;border-radius:12px}.rhythm-cell{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;flex:var(--length) 1 0;border-radius:6px;background:#d1e1d5;color:#274b41;font-size:12px}.rhythm-cell.rest{background:transparent;border:1px dashed #a4b5a1;color:#687b60}.rhythm-cell small{font-size:9px;white-space:nowrap}.training-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#61785e}.training-key{width:100%;min-height:76px;margin-top:12px;border-radius:35px;background:#244c53;color:#fff7df;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.training-key.pressed{background:#d1a262;color:#17333f}.training-meter{height:5px;background:#dde5d6;border-radius:4px;overflow:hidden;margin-top:10px}.training-meter i{display:block;width:0;height:100%;background:#c89d5b}#training-capture{font-size:12px;color:#60775b;min-height:18px;margin:10px 0}#training-feedback{font-size:13px;line-height:1.6;min-height:42px;margin:10px 0}.training-actions{display:flex;gap:8px;justify-content:flex-end}.training-actions button{min-height:38px}.rhythm-cell.active{background:#e6b970;color:#17333f;box-shadow:0 0 0 2px #a97843}.rhythm-strip.masked{align-items:center;justify-content:center;font-size:14px;color:#60775b}
@media(max-width:650px) and (orientation:portrait){footer>span:first-child{display:none}footer{justify-content:center}footer button{font-size:10px;min-height:25px}#training-dialog{padding:16px}#training-title{font-size:18px}#training-dialog .dialog-note{font-size:12px}.rhythm-strip{margin:9px 0;min-height:58px;padding:8px;gap:3px}.rhythm-cell{font-size:11px}.rhythm-cell small{font-size:8px}.training-actions{gap:5px}.training-actions button{font-size:11px;padding:7px 9px}#training-feedback{font-size:12px;min-height:40px}.training-key{min-height:64px}}
@media(max-height:500px) and (orientation:landscape){#training-dialog{display:none}#training-dialog[open]{display:grid;grid-template-columns:1fr 1fr;gap:5px 15px}#training-dialog .dialog-heading{grid-column:1/-1;margin:0}#training-copy{margin:3px 0!important}#rhythm-strip{grid-column:1;grid-row:3/5;min-height:65px;margin:0}#training-dialog .training-tools{grid-column:2;grid-row:2}.training-key{grid-column:2;grid-row:3;margin:0;min-height:48px}.training-meter{grid-column:2;grid-row:4;margin:0}#training-capture{grid-column:1;margin:3px 0;font-size:10px}#training-feedback{grid-column:2;grid-row:5/7;min-height:35px;margin:3px 0;font-size:11px}.training-actions{grid-column:1/-1}.training-actions button{min-height:30px;padding:5px 10px;font-size:11px}}
.rhythm-strip.dense{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.rhythm-strip.dense .rhythm-cell{min-height:30px;font-size:11px;gap:2px}.rhythm-strip.dense .rhythm-cell small{font-size:8px}
.workshop-cards{display:grid;gap:10px;margin:14px 0}.workshop-cards button{text-align:left;padding:15px 17px;display:grid;gap:7px}.workshop-cards strong{font-size:17px}.workshop-cards span{font-size:12px;color:#63775f;line-height:1.6}#diagnosis{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font-size:12px}#repair-answer{max-width:60%;min-height:34px;border:1px solid #ccd6c5;border-radius:7px;background:#fffdf6;color:#274b41;font-size:12px;padding:5px}.training-tools{flex-wrap:wrap}.training-tools button{white-space:nowrap}.training-tools #training-fault{margin-right:auto}#training-dialog.repair-task #training-feedback{min-height:30px;margin:7px 0}#training-dialog.repair-task .training-key{min-height:58px;margin-top:8px}
@media(max-width:650px) and (orientation:portrait){footer button{font-size:10px}#training-dialog.repair-task{padding:13px}#training-dialog.repair-task .dialog-heading{margin-bottom:7px}#training-dialog.repair-task .dialog-note{margin:7px 0;font-size:11px}#training-dialog.repair-task .training-tools{font-size:10px;gap:5px}#training-dialog.repair-task .training-tools button{padding:6px 8px;font-size:11px}#training-dialog.repair-task .training-key{min-height:50px}#training-dialog.repair-task #training-capture{font-size:10px;margin:6px 0}#training-dialog.repair-task #training-feedback{font-size:11px;min-height:32px}#training-dialog.repair-task .training-actions button{font-size:10px;padding:6px 8px}#diagnosis{font-size:11px;margin:6px 0}#repair-answer{font-size:11px;min-height:30px}.workshop-cards button{padding:12px}.workshop-cards strong{font-size:15px}}
@media(max-height:500px) and (orientation:landscape){.workshop-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.workshop-cards button{padding:12px}.workshop-cards strong{font-size:14px}.workshop-cards span{font-size:11px}#training-dialog.repair-task .training-tools{font-size:9px}#training-dialog.repair-task .training-tools button{padding:5px 8px;font-size:10px}#training-dialog.repair-task .training-key{min-height:42px;margin:0}#training-dialog.repair-task #training-feedback{grid-column:1/-1;grid-row:6;margin:0;min-height:20px}#training-dialog.repair-task #diagnosis{grid-column:2;grid-row:5;margin:0}#repair-answer{min-height:25px;padding:3px;font-size:10px}#training-dialog.repair-task .training-actions{grid-row:7}}
#cal-dialog{width:min(700px,calc(100vw - 24px))}.cal-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;align-items:end}.cal-fields label{display:grid;gap:6px;font-size:12px}.cal-fields select,.cal-check select{min-height:34px;border:1px solid #ccd6c5;border-radius:7px;background:#fffdf6;padding:5px;font-size:12px;color:#274b41}.cal-check{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:12px}.cal-check select{max-width:60%}.cal-note-label{display:grid;gap:6px;font-size:12px}#cal-note,#cal-record{width:100%;resize:none;border:1px solid #ccd6c5;border-radius:8px;padding:9px;background:#fffdf6;font:12px/1.5 ui-monospace,monospace;color:#274b41}#cal-record{height:190px;overflow:auto}#cal-stats{font-size:13px;line-height:1.6;min-height:22px}#cal-feedback{min-height:34px;margin:10px 0 0}#cal-task{font-size:17px;margin:10px 0}#cal-key{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#cal-dialog .training-meter i{height:100%;display:block;background:#c89d5b;width:0}#cal-dialog [data-cal-page="1"] .training-key{min-height:65px}
@media(max-width:650px) and (orientation:portrait){#cal-dialog{padding:14px}#cal-title{font-size:18px}.cal-check{font-size:11px;margin:9px 0}.cal-fields{gap:8px}.cal-fields select,.cal-check select{font-size:11px;min-height:30px}.cal-fields label,.cal-note-label{font-size:11px}#cal-dialog .dialog-note{font-size:11px;line-height:1.6}#cal-stats{font-size:12px}#cal-feedback{min-height:35px}#cal-record{height:165px}}
@media(max-height:500px) and (orientation:landscape){#cal-dialog{padding:12px 16px}#cal-dialog .dialog-heading{margin-bottom:6px}#cal-dialog .dialog-note{font-size:10px;line-height:1.4;margin:6px 0}.cal-fields{margin:6px 0}.cal-fields select,.cal-check select{min-height:27px;font-size:10px}.cal-check{margin:6px 0;font-size:11px}.cal-checks{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}#cal-note{height:39px;padding:4px}#cal-task{font-size:14px;margin:4px 0}#cal-dialog [data-cal-page="1"] .training-key{min-height:39px;margin:5px 0}#cal-stats{font-size:11px;min-height:14px;margin:4px 0}#cal-dialog .training-actions button{min-height:27px;padding:5px 8px}#cal-feedback{min-height:15px!important}#cal-record{height:115px}#cal-dialog .pager{margin-top:6px}}
#cal-record{height:auto;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}#cal-note{overflow:auto}

.brand{color:inherit;text-decoration:none}
/* Each station has its own atmosphere; feedback never blocks input. */
body[data-station="1"] .scene{background:linear-gradient(145deg,#183b49,#2d4d65)}body[data-station="2"] .scene{background:linear-gradient(145deg,#30344e,#315c66)}.scene{transition:background .3s}.teacher-label{font-size:12px;display:block;margin:12px 0 6px}#teacher-fixed{width:100%;border:1px solid #ccd6c5;border-radius:8px;padding:10px;background:#fffdf6;color:#274b41;font-size:15px;text-transform:uppercase}#teacher-status{min-height:34px}#learning-records{list-style:none;margin:12px 0;padding:0;display:grid;gap:7px}#learning-records li{padding:8px 10px;background:#edf2e5;border-radius:8px;font-size:12px;line-height:1.6}#knowledge-score{font-size:12px;color:#73856c}#knowledge-prompt{font-size:17px;line-height:1.7}#knowledge-options button{font-size:15px;line-height:1.5;letter-spacing:0;padding:16px 10px}#knowledge-feedback{min-height:62px}#bot-mood{color:#3c735e;font-size:12px;line-height:1.6;margin:6px 0}body[data-emotion="happy"] .bot{animation:bot-nod .6s ease-in-out 1}@keyframes bot-nod{30%{transform:translateY(-5px) rotate(-6deg)}70%{transform:rotate(5deg)}}body[data-motion="off"] *,body[data-motion="off"] *:before,body[data-motion="off"] *:after{animation:none!important;transition:none!important}
@media(max-width:650px) and (orientation:portrait){#teacher-title,#learning-title,#knowledge-title{font-size:18px}#knowledge-prompt{font-size:14px}#knowledge-options{gap:8px;margin:12px 0}#knowledge-options button{font-size:13px;padding:13px 7px}#learning-records li{font-size:11px;padding:7px 8px}#learning-dialog .dialog-footer button{font-size:11px;padding:7px 9px}#bot-mood{font-size:10px;margin:4px 0}#teacher-fixed{padding:8px;font-size:13px}.teacher-label{font-size:11px}#teacher-status{font-size:11px;min-height:34px}}
@media(max-height:500px) and (orientation:landscape){#teacher-dialog .settings{gap:8px;grid-template-columns:1fr 1fr}#teacher-fixed{padding:6px;font-size:12px}.teacher-label{font-size:11px;margin:7px 0 4px}#teacher-status{min-height:18px}#learning-records{grid-template-columns:1fr 1fr;gap:4px;margin:8px 0}#learning-records li{font-size:10px;padding:5px 7px}#knowledge-prompt{font-size:14px;margin:8px 0}#knowledge-options{margin:9px 0;gap:7px}#knowledge-options button{font-size:13px;padding:10px 7px}#knowledge-feedback{min-height:30px}#bot-mood{grid-column:1/-1;font-size:10px;margin:3px 0}}
#game-loading{position:fixed;inset:0;z-index:100;background:#f4f1e9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:25px;text-align:center}#game-loading strong{font-size:21px}#game-loading p{font-size:13px;line-height:1.8}#game-loading a{color:#2f6d63;padding:8px}#game-loading[hidden]{display:none}
/* v0.8: locally hosted music symbols, one measure/story page at a time. */
@font-face{font-family:StarlightBravura;src:url('./Bravura.otf') format('opentype');font-display:block}
.classroom-links{display:flex;gap:6px;justify-content:space-between}.classroom-links button{flex:1;font-size:12px;white-space:nowrap;padding:9px 7px}
#score-dialog,#story-dialog{width:min(870px,calc(100vw - 24px))}.score-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px}.score-toolbar,.story-toolbar,.score-audio,.score-quiz{display:flex;align-items:center;justify-content:space-between;gap:8px}.score-toolbar label,.story-toolbar label,.score-quiz label{display:flex;align-items:center;gap:6px;font-size:13px}#score-meter,#score-answer,#story-chapter{padding:7px;border:1px solid #bfcfc4;background:#fffdf6;border-radius:7px;color:#263a40;font:inherit}#score-meter-copy{font-size:16px;line-height:1.8;margin:12px 0}#score-focus,.score-rule{font-size:12px;line-height:1.7;color:#547466;margin:10px 0}#score-context{font-size:12px;color:#56705e;margin:0 0 5px}#score-paper{border-radius:12px;background:#fffdf6;border:1px solid #d9e2d1;overflow:hidden}#score-paper svg{display:block;width:100%;height:auto}.music-glyph{font-family:StarlightBravura;font-size:40px;fill:currentColor}.meter-number{font:bold 23px Georgia,serif;fill:#294b43}.beat-count{font:12px ui-sans-serif,sans-serif;fill:#72867a;text-anchor:middle}.beat-count.strong{font-weight:700;fill:#315b50}.score-event{color:#213f37}.score-event.padding{color:#85928d}.score-event.active{color:#ba6e2f}.score-tie{stroke:currentColor;stroke-width:1.7;fill:none}.score-audio{margin-top:12px;justify-content:flex-start}.score-quiz{margin-top:12px;flex-wrap:wrap}.score-quiz label{font-size:12px}.score-quiz select{max-width:150px}#score-feedback{font-size:13px;line-height:1.6;min-height:62px;margin:10px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.story-toolbar{margin:4px 0 14px}.story-layout{display:grid;gap:14px;grid-template-columns:1.05fr 1fr;align-items:center}#story-art svg{display:block;width:100%;height:auto}.story-ship{transform:translate(var(--ship-x),70px);animation:story-flight 3s ease-in-out infinite}.story-pulses{animation:story-signal 3s ease-in-out infinite}.story-beam{transform-origin:405px 60px;animation:story-light 5s ease-in-out infinite}.story-words h3{font-size:21px;margin:0 0 10px}.story-words p{font-size:15px;line-height:1.9;margin:8px 0}#story-goal{font-size:12px;color:#4d7562;background:#e8eee1;padding:9px;border-radius:8px}.story-note{font-size:11px;color:#6d7f71;line-height:1.6;margin:14px 0 0}@keyframes story-flight{50%{transform:translate(calc(var(--ship-x) + 12px),64px)}}@keyframes story-signal{50%{opacity:.45}}@keyframes story-light{50%{transform:rotate(12deg)}}
@media(max-width:650px) and (orientation:portrait){#score-dialog,#story-dialog{padding:14px}.score-layout,.story-layout{grid-template-columns:1fr;gap:7px}#score-title,#story-title{font-size:18px}.score-toolbar label,.story-toolbar label{font-size:11px}.score-toolbar button,.classroom-links button{font-size:10px;padding:7px 5px}#score-meter-copy{font-size:12px;line-height:1.5;margin:7px 0}#score-focus{font-size:10px;margin:5px 0}.score-rule{font-size:10px;line-height:1.5;margin:5px 0}#score-context{font-size:10px;margin:0 0 4px}.score-content .pager{margin-top:6px;font-size:10px}.score-content .pager button{font-size:10px;min-height:28px;padding:5px 7px}.score-audio{margin-top:7px}.score-audio button,.score-quiz button{font-size:11px;padding:6px 8px;min-height:29px}.score-quiz{margin-top:7px;gap:4px}.score-quiz label{font-size:10px;gap:3px}#score-answer{font-size:10px;padding:5px;max-width:116px}#score-feedback{font-size:11px;line-height:1.5;min-height:49px;margin-top:7px}.story-toolbar{margin:0 0 10px}.story-toolbar button{font-size:10px;padding:7px}.story-words h3{font-size:18px;margin:5px 0}.story-words p{font-size:13px;line-height:1.8;margin:6px 0}#story-goal{font-size:11px;padding:7px}.story-note{font-size:10px;margin-top:7px}#story-art svg{max-height:125px}.classroom-links{gap:4px}#story-dialog .pager{font-size:10px;gap:5px}#story-dialog .pager button{font-size:10px;padding:6px 8px}}
@media(max-height:500px) and (orientation:landscape){.score-layout{grid-template-columns:.85fr 1.15fr;gap:15px}#score-title,#story-title{font-size:17px}#score-meter-copy{font-size:12px;line-height:1.6;margin:7px 0}#score-focus,.score-rule{font-size:10px;line-height:1.5;margin:6px 0}.score-toolbar label,.score-toolbar button{font-size:10px}#score-context{font-size:10px}.score-content .pager{margin-top:3px;font-size:10px}.score-content .pager button{min-height:24px;padding:4px 7px;font-size:10px}.score-audio{margin-top:5px}.score-audio button,.score-quiz button{min-height:26px;padding:5px 8px;font-size:10px}.score-quiz{margin-top:5px;gap:5px}.score-quiz label{font-size:10px}#score-answer{max-width:116px;font-size:10px;padding:4px}#score-feedback{font-size:10px;line-height:1.4;margin:5px 0 0;min-height:32px}.story-toolbar{margin:0 0 9px}.story-toolbar label,.story-toolbar button{font-size:10px}#story-chapter{padding:4px}.story-layout{grid-template-columns:1fr 1.2fr;gap:15px}.story-words h3{font-size:17px;margin:0 0 6px}.story-words p{font-size:12px;line-height:1.7;margin:5px 0}#story-goal{font-size:10px;padding:6px}.story-note{font-size:9px;margin-top:7px}#story-dialog .pager{font-size:10px}.classroom-links button{font-size:10px;padding:6px}}
@media(min-width:1000px) and (min-height:700px){.whiteboard #score-dialog,.whiteboard #story-dialog{width:min(1080px,calc(100vw - 40px))}.whiteboard #score-meter-copy{font-size:20px}.whiteboard #score-focus,.whiteboard .score-rule,.whiteboard #score-feedback{font-size:16px}.whiteboard .story-words p{font-size:20px}.whiteboard .story-words h3{font-size:25px}}
@media(min-width:1000px) and (min-height:700px){.whiteboard #score-dialog button:not(#score-close),.whiteboard #story-dialog button:not(#story-close){font-size:16px;min-height:44px}.whiteboard .score-toolbar label,.whiteboard .score-quiz label,.whiteboard .story-toolbar label,.whiteboard #score-context,.whiteboard #score-dialog .pager,.whiteboard #story-dialog .pager{font-size:15px}.whiteboard #score-answer{max-width:170px}.whiteboard .story-note{font-size:13px}}
.score-click-label{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.score-click-label input{accent-color:#3b7464;width:15px;height:15px}
.score-text-fallback{font-size:12px;line-height:1.7;padding:10px;background:#edf2e5;border-radius:8px;margin:5px 0}
/* v0.9: scored rhythm journeys, no page scrolling. */
.rhythm-entry{width:100%;background:#254f50;color:#fff6dc;font-weight:700;margin-top:9px;min-height:37px}.rhythm-entry:hover:not(:disabled){background:#386b64}.story-progress{font-size:11px;color:#3c6d5e;line-height:1.6;margin:7px 0}#rhythm-dialog{width:min(920px,calc(100vw - 24px));padding:20px}#rhythm-dialog .dialog-heading{margin-bottom:8px}#rg-kicker{margin:5px 0 0;font-size:12px;color:#64816d}.rg-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:10px}.rg-toolbar label{display:flex;align-items:center;gap:5px;font-size:12px}.rg-toolbar select,#rg-answer{font:inherit;padding:7px;border-radius:7px;border:1px solid #bacbbd;background:#fffdf6;color:#274b41}#rg-task{margin-right:auto;max-width:185px}.rg-world{display:grid;grid-template-columns:1fr 210px;gap:12px;align-items:center;border-radius:12px;background:#e8eee0;margin-bottom:12px;overflow:hidden;padding:9px 13px}.rg-world p{font-size:13px;line-height:1.7;margin:3px 0}#rg-beacons{font-size:10px;color:#38715e}#rg-art svg{display:block;width:100%;height:75px}.rg-world.celebrate{background:#deecd4}.rg-world.celebrate .story-ship{animation:rg-arrive .8s ease-out 1}@keyframes rg-arrive{from{transform:translate(100px,70px)}to{transform:translate(var(--ship-x),70px)}}.rg-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:start;gap:18px}#rg-paper{background:#fffdf6;border:1px solid #d8e0d0;border-radius:12px;overflow:hidden}#rg-paper svg{display:block;width:100%;height:auto}#rg-masked{height:130px;display:flex;align-items:center;justify-content:center;background:#e8eee0;border-radius:12px;font-size:14px}.rg-layout .pager{margin-top:7px;font-size:11px}.rg-layout .pager button{min-height:30px;font-size:11px;padding:5px 8px}#rg-meter-info{font-size:12px;margin:5px 0 10px;line-height:1.5}.rg-controls{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.rg-controls button{font-size:12px;min-height:34px;padding:7px 9px}#rg-clock{font-size:11px;color:#657e69;margin-left:auto}#rg-key{margin-top:9px;min-height:66px;font-size:16px}.rg-input-note{font-size:10px;color:#71826b;margin:9px 0 0}#rg-question{font-size:16px;line-height:1.7;margin:5px 0 12px}.rg-answer-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.rg-answer-row select{max-width:190px;font-size:13px}#rg-feedback{font-size:13px;line-height:1.7;min-height:48px;margin:12px 0 8px}.rg-footer{display:flex;justify-content:flex-end;gap:7px}.rg-footer button{min-height:34px}#rg-settings-pane{grid-column:1/-1}#rg-settings-pane label{display:flex;align-items:center;gap:7px;font-size:13px;margin:10px 0}#rg-settings-pane input[type=range]{width:100%}#rg-settings-pane p{font-size:12px;line-height:1.7}.rg-layout:has(#rg-score-area[hidden]){grid-template-columns:1fr}.rg-layout:has(#rg-settings-pane:not([hidden])) .rg-interaction{grid-column:1/-1}
@media(max-width:650px) and (orientation:portrait){#rhythm-dialog{padding:13px}#rg-title{font-size:18px}#rg-kicker{font-size:10px;margin-top:3px}.rg-toolbar{gap:5px;margin-bottom:7px}.rg-toolbar label{font-size:10px;gap:3px}.rg-toolbar select{font-size:10px;padding:5px;min-height:29px}.rg-toolbar button{font-size:10px;padding:5px 7px;white-space:nowrap}#rg-task{min-width:0;max-width:126px}.rg-world{grid-template-columns:1fr 95px;gap:5px;margin-bottom:8px;padding:6px 8px;min-height:66px}.rg-world p{font-size:10px;line-height:1.5;margin:2px 0}#rg-beacons{font-size:8px}#rg-art svg{height:55px}.rg-layout{grid-template-columns:1fr;gap:5px}.rg-layout .pager{margin-top:5px;font-size:10px}.rg-layout .pager button{font-size:10px;padding:4px 6px;min-height:27px}#rg-meter-info{font-size:10px;margin:5px 0 6px}.rg-controls{gap:4px;flex-wrap:nowrap}.rg-controls button{min-height:29px;font-size:10px;padding:5px 7px}#rg-clock{font-size:9px;white-space:nowrap}#rg-key{margin-top:7px;min-height:48px;font-size:13px}.rg-input-note{font-size:9px;margin:6px 0 0}#rg-question{font-size:13px;margin:4px 0 9px;line-height:1.6}.rg-answer-row button,.rg-answer-row select{font-size:11px;min-height:30px;padding:6px 8px}.rg-answer-row select{max-width:135px}#rg-feedback{font-size:11px;min-height:49px;line-height:1.5;margin:8px 0 6px}.rg-footer{gap:5px}.rg-footer button{font-size:10px;min-height:29px;padding:6px 8px}#rg-masked{height:85px;font-size:12px}#rg-settings-pane label{font-size:12px;margin:8px 0}#rg-settings-pane p{font-size:11px;line-height:1.6}.rhythm-entry{font-size:12px;min-height:32px;margin-top:5px}.workshop-cards{margin:9px 0;gap:8px}.story-progress{font-size:9px;margin:5px 0}}
@media(max-height:500px) and (orientation:landscape){#rhythm-dialog{padding:12px 16px}.rg-toolbar{margin-bottom:6px}.rg-toolbar select,.rg-toolbar label,.rg-toolbar button{font-size:10px;padding:4px;min-height:25px}#rg-kicker{font-size:9px;margin-top:2px}#rg-title{font-size:17px}.rg-world{grid-template-columns:1fr 120px;padding:4px 9px;margin-bottom:7px;gap:8px}.rg-world p{font-size:10px;line-height:1.4;margin:2px 0}#rg-art svg{height:40px}#rg-beacons{font-size:8px}.rg-layout{grid-template-columns:1fr 1.1fr;gap:14px}.rg-layout .pager{margin-top:3px;font-size:9px}.rg-layout .pager button{font-size:9px;min-height:24px;padding:4px 6px}#rg-meter-info{font-size:10px;margin:3px 0 6px}.rg-controls{gap:4px}.rg-controls button{font-size:10px;min-height:26px;padding:5px 7px}#rg-clock{font-size:10px}#rg-key{min-height:43px;margin-top:7px;font-size:13px}.rg-input-note{font-size:9px;margin:5px 0 0}#rg-feedback{font-size:10px;line-height:1.4;min-height:28px;margin:6px 0 4px}.rg-footer button{font-size:10px;min-height:26px;padding:5px 7px}#rg-question{font-size:12px;line-height:1.5;margin:3px 0 7px}.rg-answer-row button,.rg-answer-row select{font-size:10px;min-height:27px;padding:5px 6px}#rg-settings-pane label{font-size:11px;margin:6px 0}#rg-settings-pane p{font-size:10px;margin:5px 0;line-height:1.4}#rg-settings-pane{display:grid;grid-template-columns:1fr 1fr;gap:4px 15px}#rg-settings-pane p{grid-column:1/-1}#rg-masked{height:90px}.story-progress{font-size:9px;margin:4px 0}.rhythm-entry{min-height:27px;font-size:11px;margin-top:3px}}
@media(min-width:1000px) and (min-height:700px){.whiteboard #rhythm-dialog{width:min(1100px,calc(100vw - 40px))}.whiteboard #rhythm-dialog button{min-height:44px;font-size:16px}.whiteboard #rg-feedback,.whiteboard #rg-meter-info,.whiteboard .rg-world p{font-size:16px}.whiteboard #rg-question{font-size:20px}.whiteboard #rg-key{min-height:85px;font-size:21px}.whiteboard #rg-kicker,.whiteboard .rg-toolbar select,.whiteboard .rg-toolbar label,.whiteboard #rg-answer{font-size:15px}}
#rg-masked{margin:0}
@media(min-width:1000px) and (min-height:700px){.whiteboard #rhythm-dialog #rg-key{min-height:85px;font-size:21px}.whiteboard #rhythm-dialog #rg-clock{font-size:18px}.whiteboard #rhythm-dialog #rg-beacons{font-size:13px}}
/* v0.10: visible start, one card per press, and a companion in the main scene. */
body{grid-template-rows:54px minmax(0,1fr)}main{grid-template-rows:55px 40px minmax(0,1fr) 30px;gap:8px;padding-top:10px}.game{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.console,.whiteboard .console{padding:14px 20px;gap:5px;grid-template-rows:14px 18px 48px 60px 88px minmax(62px,1fr) 34px 30px}.console-head{font-size:10px}.listen,.whiteboard .console .listen{border:1px solid #d7af66;background:#f3d69c;color:#243f42;font-size:16px;font-weight:750;box-shadow:0 3px 0 #bc9552;gap:10px;padding:6px 13px;opacity:1}.listen:hover:not(:disabled){background:#ffe5b2}.listen:disabled{background:#e3e8dc;border-color:#cad5c6;box-shadow:none;color:#708175}.play-disc{display:inline-flex;align-items:center;justify-content:center;background:#254c50;color:#ffe5b4;border-radius:50%;width:30px;height:30px;font-size:12px;flex:none}.listen small{font-weight:400;font-size:10px;max-width:100px}.call-to-action{outline:2px solid #d6af6626;outline-offset:3px}.target{gap:5px}.target small{font-size:10px;margin:0;line-height:1.4}.signal-cards{display:flex;align-content:center;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-height:24px;min-width:0;letter-spacing:0;line-height:1.3;font-family:inherit}.signal-cards.empty{font-size:12px;color:#617b6a;justify-content:flex-start}.target .empty{justify-content:center}.signal-card{display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid #d5dcca;border-radius:7px;width:28px;height:26px;background:#eef2e8;color:#406d61}.signal-card i{display:block;background:currentColor;border-radius:5px;width:7px;height:7px}.signal-card.long{width:39px}.signal-card.long i{width:23px;height:6px}.signal-card.active{background:#f3d59a;border-color:#c09a54;color:#65471f;box-shadow:0 0 0 3px #edcc8b40}.signal-divider{color:#8c9b8c;font:12px/1 sans-serif}.receiver{grid-template-rows:12px minmax(28px,1fr) 29px 12px;padding-top:5px;gap:2px}.receiver .signal-cards{justify-content:flex-start}.receiver p{font-size:11px;line-height:1.4}.receiver .gap-track{font-size:9px}.receiver-label{font-size:10px}.telegraph-key,.whiteboard .telegraph-key{max-width:320px;max-height:140px;min-height:60px;border-radius:24px;gap:3px;width:94%;display:grid;grid-template-columns:46px 1fr;grid-template-rows:1fr 18px;padding:9px 16px}.key-icon{display:block;grid-row:1/3;font-size:unset}.key-icon svg{width:45px;height:42px;display:block}.telegraph-key strong,.whiteboard .telegraph-key strong{align-self:end;font-size:17px;letter-spacing:.5px;line-height:1.3}.telegraph-key small{display:block;align-self:start;font-size:9px}.key-orbit{inset:6px}.input-actions button{min-height:32px}.notice{font-size:11px;line-height:1.4}.basics-actions{display:flex;gap:7px;margin-top:9px}.basics-actions button{padding:6px 10px;font-size:11px;background:#d7e5d719;border-color:#9fbfb651;color:#e2eadd;min-height:30px}.basics-actions button:hover:not(:disabled){background:#4e6e6a}.space-art{min-height:55px}.space-art svg{max-height:360px}.guide{padding:12px;margin:12px 0}.guide p{line-height:1.6;font-size:13px}.guide .bot{animation:coach-float 4s ease-in-out infinite}.main-robot{transform-box:fill-box;transform-origin:center;animation:coach-float 4s ease-in-out infinite}.robot-eyes{transform-box:fill-box;transform-origin:center;animation:robot-blink 5s infinite}.robot-hand{transform-box:fill-box;transform-origin:0 35px;animation:robot-wave 3s ease-in-out infinite}.star-packets{opacity:.25}.main-lighthouse{opacity:0}body.sounding .star-packets{opacity:1;animation:packet-flight 1.5s linear infinite}body.sounding .main-robot{filter:drop-shadow(0 0 8px #a7d7b8)}body[data-station="2"] .main-lighthouse{opacity:1}body[data-emotion="happy"] .main-robot{animation:coach-celebrate .8s ease-in-out 2}body[data-phase="input"] .robot-hand{animation:robot-wave 1.6s ease-in-out infinite}body[data-phase="paused"] .robot-hand,body[data-phase="paused"] .main-robot{animation-play-state:paused}@keyframes coach-float{50%{translate:0 -5px}}@keyframes robot-blink{0%,43%,48%,100%{scale:1 1}45%{scale:1 .12}}@keyframes robot-wave{50%{rotate:-18deg}}@keyframes packet-flight{from{translate:-15px 10px;opacity:0}50%{opacity:1}to{translate:35px -10px;opacity:0}}@keyframes coach-celebrate{50%{translate:0 -13px;rotate:5deg}}
@media(min-width:1000px) and (min-height:700px){.whiteboard .console{grid-template-rows:18px 24px 58px 74px 105px minmax(62px,1fr) 44px 36px;gap:5px}.whiteboard .console .listen{font-size:20px}.whiteboard .listen small{font-size:13px}.whiteboard .target small,.whiteboard .receiver p,.whiteboard .receiver-label{font-size:14px}.whiteboard .signal-card{width:34px;height:29px}.whiteboard .signal-card.long{width:46px}.whiteboard .receiver{grid-template-rows:16px minmax(28px,1fr) 35px 12px}.whiteboard .telegraph-key strong{font-size:21px}.whiteboard .guide p{font-size:16px}.whiteboard .input-actions button{font-size:16px}}
@media(max-width:900px){.console,.whiteboard .console{padding:12px 15px}.listen,.whiteboard .console .listen{font-size:14px}.guide{padding:10px}.guide p{font-size:12px}}
@media(max-width:650px) and (orientation:portrait){body{grid-template-rows:49px minmax(0,1fr)}main{grid-template-rows:32px 39px minmax(0,1fr) 28px;gap:7px;padding:8px 12px 4px}.game{grid-template-columns:minmax(0,1fr);grid-template-rows:125px minmax(0,1fr)}.scene{padding:11px 13px}.space-art{width:139px;height:90px;top:22px;left:0}.space-art svg{width:190px;left:-7px;max-height:115px}.mission{margin:12px 0 0 133px}.mission h2,.whiteboard .mission h2{font-size:15px}.console,.whiteboard .console{padding:10px 13px;gap:5px;grid-template-rows:13px 16px 44px 50px 78px minmax(55px,1fr) 34px 30px}.listen,.whiteboard .console .listen{font-size:13px;padding:5px 9px;gap:7px}.listen small{font-size:9px;max-width:67px}.play-disc{width:26px;height:26px;font-size:11px}.signal-card{width:23px;height:23px;border-radius:6px}.signal-card.long{width:32px}.signal-card.long i{width:20px}.signal-cards{gap:4px;min-height:22px}.signal-cards.empty{font-size:11px}.target small{font-size:9px}.receiver{grid-template-rows:11px minmax(25px,1fr) 27px 10px;gap:1px}.receiver p{font-size:10px}.receiver-label{font-size:9px}.gap-track{font-size:8px}.telegraph-key,.whiteboard .telegraph-key{min-height:52px;max-height:105px;max-width:300px;padding:6px 13px;grid-template-columns:38px 1fr;grid-template-rows:1fr 14px}.key-icon svg{width:37px;height:34px}.telegraph-key strong,.whiteboard .telegraph-key strong{font-size:15px}.telegraph-key small{font-size:8px}.notice,.whiteboard .notice{font-size:10px;line-height:1.4}.guide{display:none}.input-actions button,.whiteboard .input-actions button{font-size:11px}.route{left:13px;right:13px;bottom:7px}}
@media(max-height:700px) and (orientation:portrait){.game{grid-template-rows:80px minmax(0,1fr)}.scene-top #scene-state{display:none}.space-art{top:13px;height:58px;min-height:0;width:115px}.space-art svg{width:150px;max-height:80px}.mission{margin:9px 0 0 110px}.mission .eyebrow{display:none}.mission h2,.whiteboard .mission h2{font-size:13px;margin:0 0 3px}.mission #stage-info{font-size:9px}.route{left:126px;bottom:6px}.route>div{justify-content:flex-start}.console,.whiteboard .console{padding:8px 12px;gap:3px;grid-template-rows:12px 14px 40px 40px 66px minmax(42px,1fr) 30px 27px}.signal-card{height:19px;width:21px}.signal-card.long{width:29px}.signal-card.long i{width:18px;height:5px}.signal-cards{min-height:19px;gap:3px}.target{gap:2px}.target small{font-size:8px}.receiver{grid-template-rows:10px minmax(21px,1fr) 24px 8px;padding-top:2px}.receiver p{font-size:9px}.receiver-label{font-size:8px}.gap-track{font-size:7px}.telegraph-key,.whiteboard .telegraph-key{min-height:41px;padding:4px 10px;grid-template-columns:31px 1fr;grid-template-rows:1fr 11px;gap:1px}.key-icon svg{width:30px;height:30px}.telegraph-key strong,.whiteboard .telegraph-key strong{font-size:13px}.telegraph-key small{font-size:7px}.input-actions button,.whiteboard .input-actions button{min-height:28px;font-size:10px;padding:4px 8px}.notice,.whiteboard .notice{font-size:9px}.listen,.whiteboard .console .listen{font-size:12px}.play-disc{width:23px;height:23px}}
@media(max-height:500px) and (orientation:landscape){body{grid-template-rows:39px minmax(0,1fr)}main{grid-template-rows:30px minmax(0,1fr) 22px;gap:5px;padding:5px 12px 3px}.game{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.console,.whiteboard .console{padding:8px 12px;gap:3px;grid-template-rows:10px 12px 34px 32px 54px minmax(34px,1fr) 26px 20px}.listen,.whiteboard .console .listen{font-size:12px;padding:4px 8px;gap:7px}.play-disc{width:23px;height:23px;font-size:10px}.listen small{font-size:8px}.target{gap:2px}.signal-cards{min-height:18px;gap:3px}.signal-card{height:18px;width:20px;border-radius:5px}.signal-card.long{width:29px}.signal-card.long i{height:5px;width:18px}.target small{font-size:8px}.receiver{grid-template-rows:9px minmax(19px,1fr) 18px 6px;gap:0;padding-top:2px}.receiver p{font-size:8px}.gap-track{font-size:7px}.telegraph-key,.whiteboard .telegraph-key{min-height:32px;max-height:52px;grid-template-columns:27px 1fr;grid-template-rows:1fr;gap:4px;padding:3px 9px}.key-icon{grid-row:1}.key-icon svg{width:26px;height:26px}.telegraph-key strong,.whiteboard .telegraph-key strong{font-size:13px;align-self:center}.telegraph-key small{display:none}.notice,.whiteboard .notice{font-size:8px;line-height:1.25}.input-actions button,.whiteboard .input-actions button{min-height:25px;font-size:10px;padding:3px 8px}.scene{padding:11px}.space-art{max-height:120px;min-height:25px}.space-art svg{max-height:140px}.guide{display:none}.mission h2,.whiteboard .mission h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Compact signal rows shrink cards rather than hiding earlier key presses. */
.signal-cards{flex-wrap:nowrap}.signal-card{flex:0 1 28px;min-width:10px}.signal-card.long{flex-basis:39px}.signal-card.long i{max-width:70%}.signal-divider{flex:none}.receiver{grid-template-rows:12px minmax(0,1fr) 26px 10px;gap:1px;padding-top:4px}.receiver .signal-cards{min-height:0}.gap-track{line-height:1}.scene .space-art{max-width:calc(100% + 20px)}
@media(max-width:650px) and (orientation:portrait){.signal-card{flex-basis:23px}.signal-card.long{flex-basis:32px}.receiver{grid-template-rows:11px minmax(0,1fr) 26px 9px;padding-top:3px}}
@media(max-height:700px) and (orientation:portrait){.signal-card{flex-basis:21px}.signal-card.long{flex-basis:29px}.receiver{grid-template-rows:10px minmax(0,1fr) 22px 7px;padding-top:2px}}
@media(max-height:500px) and (orientation:landscape){.signal-card{flex-basis:20px}.signal-card.long{flex-basis:29px}.receiver{grid-template-rows:9px minmax(0,1fr) 17px 6px;padding-top:2px}}
.comparison .signal-cards{justify-content:flex-start;min-height:25px}.comparison .signal-card{height:24px}.comparison .signal-card.long{height:24px}
.receiver-label{line-height:1.1}.gap-track span{display:none}
/* v0.11: calm scene composition, explicit mistakes, and an audio entrance. */
.scene{background:radial-gradient(ellipse at 75% 15%,#3a596340,transparent 60%),linear-gradient(145deg,#183644,#112b36);box-shadow:inset 0 1px 0 #e6eddd10}.scene-top{position:relative;z-index:1}.station{border:1px solid #d8bd8a38;border-radius:20px;padding:5px 9px;font-size:9px;letter-spacing:1.5px}.space-art{margin:0 -10px;min-height:55px}.space-art svg{max-height:370px;overflow:visible}.planet{transform-origin:522px 105px;animation:scene-drift 9s ease-in-out infinite}.main-robot{animation:scene-drift 5s ease-in-out infinite;filter:none}.robot-hand,body[data-phase="input"] .robot-hand{animation:hand-greeting 3.6s ease-in-out infinite;transform-origin:center}.robot-eyes{animation:robot-blink 6s infinite}.ship-float{animation:ship-bob 4.3s ease-in-out infinite}.ship-flame{transform-box:fill-box;transform-origin:right center;animation:engine-idle 1.5s ease-in-out infinite}.signal-wave{opacity:0;transition:opacity .2s}body.sounding .signal-wave{opacity:.8;animation:signal-breathe 1s ease-in-out infinite}.star-packets{opacity:0}body.sounding .star-packets{animation:packet-flight 1.5s linear infinite}.arrival-stars{opacity:0}body[data-emotion="happy"] .arrival-stars{animation:arrival-twinkle 1.6s ease-out 2}body[data-emotion="happy"] .main-robot{animation:gentle-cheer .8s ease-in-out 2}body[data-phase="paused"] .main-robot,body[data-phase="paused"] .ship-float,body[data-phase="paused"] .robot-hand{animation-play-state:paused}.main-lighthouse{transition:opacity .5s}.lighthouse-beam{animation:signal-breathe 4s ease-in-out infinite}.guide .bot{display:none}.guide{display:block;background:linear-gradient(120deg,#d1e5d008,#d1e5d003);border:1px solid #b6d5c229;border-left:2px solid #d2b27a88;border-radius:14px;box-shadow:inset 0 1px 0 #f5eed80a;padding:14px 16px;margin:12px 0}.guide strong{font-size:11px;letter-spacing:1px;color:#e4c797}.guide p{font-size:13px;color:#d0dfd6;line-height:1.7}.basics-actions button{border-radius:20px;padding:5px 12px;background:transparent;border-color:#b0c6b333;color:#d9e6d8}.basics-actions{margin-top:10px}.mission h2{font-weight:650;letter-spacing:.5px}.scene .route{padding-top:4px;border-top:1px solid #adc8b815}#scene-state{color:#bed2ca;font-size:10px}
@keyframes scene-drift{50%{translate:0 -4px}}@keyframes hand-greeting{0%,60%,100%{translate:0 0}15%,45%{translate:1px -5px}30%{translate:-1px -1px}}@keyframes ship-bob{50%{translate:0 -5px;rotate:-2deg}}@keyframes engine-idle{50%{scale:.75 1;opacity:.7}}@keyframes signal-breathe{50%{opacity:.35}}@keyframes arrival-twinkle{0%{opacity:0;translate:0 8px}25%,60%{opacity:1}100%{opacity:0;translate:0 -12px}}@keyframes gentle-cheer{50%{translate:0 -8px;rotate:2deg}}
#result-dialog[data-outcome="error"]{border-color:#d4a09a}#result-dialog[data-outcome="error"] #result-kicker{color:#a44540}#result-dialog[data-outcome="error"] #result-title{color:#9d353b}#result-dialog[data-outcome="error"] #specific-feedback{color:#8f3434;background:#fbebe6;border-left:3px solid #bf5b53;border-radius:7px;padding:9px 11px;min-height:0}#result-dialog .metrics .metric-error{background:#f9e6e2;border:1px solid #dcb0a7}#result-dialog .metrics .metric-error strong{color:#a33339}#result-dialog .metrics .metric-error small{color:#96514a}.signal-card.signal-error{background:#f9e6e2;border:2px solid #ba4f4d;color:#a33339}#result-dialog .metrics strong{font-size:19px;line-height:1.35}#result-dialog[data-outcome="success"] #result-title{color:#386f57}
#welcome-dialog{width:min(480px,calc(100vw - 30px));padding:30px 34px;text-align:center;color:#f2ecdc;background:radial-gradient(ellipse at 80% 0%,#496d70,transparent 65%),#173744;border:1px solid #bad1be55;box-shadow:0 30px 90px #0b253940}#welcome-dialog::backdrop{background:#0c2635c9;backdrop-filter:blur(9px)}#welcome-dialog h2{font-size:30px;line-height:1.55;letter-spacing:2px;font-weight:650;margin:12px 0}#welcome-dialog .eyebrow{font-size:9px;color:#c1d7cc;letter-spacing:3px;margin-top:16px}.welcome-copy{font-size:14px;line-height:1.9;color:#c7dbcf;margin:14px 0 23px}#welcome-enter{display:block;width:100%;padding:14px 10px;font-size:15px;font-weight:650;color:#234249;background:#eed19b;border-color:#eed19b;box-shadow:0 3px 0 #9e804e;border-radius:12px}#welcome-enter:hover:not(:disabled){background:#ffe0a4}#welcome-quiet{margin-top:10px;min-height:36px;padding:7px 16px;background:transparent;border:0;color:#c0d4c8;font-size:12px;text-decoration:underline;text-underline-offset:4px}.welcome-note{font-size:10px;color:#a9c1b7;line-height:1.7;margin:10px 0 0}#welcome-feedback{font-size:12px;line-height:1.6;color:#f2cd9e;margin:9px 0 0;min-height:19px}.welcome-orbit{position:relative;width:115px;height:75px;margin:4px auto 0}.welcome-orbit span{position:absolute;left:30px;top:7px;font-size:48px;color:#eccb90;animation:scene-drift 5s ease-in-out infinite}.welcome-orbit i{position:absolute;left:3px;top:21px;width:110px;height:36px;border:1px solid #cadbc777;border-radius:50%;rotate:-23deg}.welcome-orbit b{position:absolute;right:9px;top:7px;background:#accdc0;color:#21444e;border-radius:50%;height:27px;width:27px;font-size:16px;line-height:27px;font-weight:400}
@media(max-width:650px) and (orientation:portrait){.guide{display:none}.station{font-size:8px;padding:3px 6px}.space-art{margin:0}.space-art svg{width:195px;left:-4px}.mission h2,.whiteboard .mission h2{font-size:15px}.scene .route{border:0;padding-top:0}.scene #scene-state{font-size:8px}#result-dialog .metrics strong{font-size:15px}#result-dialog .metrics small{font-size:9px}#result-dialog[data-outcome="error"] #specific-feedback{padding:7px 9px}.comparison .signal-cards{gap:2px}.comparison .signal-card{min-width:8px}.comparison .signal-divider{font-size:8px}#welcome-dialog{padding:22px 25px}#welcome-dialog h2{font-size:27px}.welcome-copy{font-size:13px;margin:11px 0 18px}#welcome-enter{font-size:14px;min-height:46px}.welcome-note{font-size:9px}}
@media(max-height:700px) and (orientation:portrait){.space-art svg{width:152px}.mission h2,.whiteboard .mission h2{font-size:13px}#welcome-dialog{padding:19px 22px}#welcome-dialog h2{font-size:24px;margin:8px 0}.welcome-orbit{height:62px;scale:.9}.welcome-copy{margin:7px 0 14px;font-size:12px}#welcome-dialog .eyebrow{margin-top:10px}#welcome-enter{padding:11px 8px}.welcome-note{font-size:9px;margin-top:7px}.welcome-quiet{margin-top:7px}}
@media(max-height:500px) and (orientation:landscape){.guide{display:none}.station{padding:3px 5px;font-size:8px}.space-art{margin:0 -8px}.space-art svg{max-height:140px}.mission h2,.whiteboard .mission h2{font-size:16px}#scene-state{font-size:8px}#result-dialog .metrics strong{font-size:14px}#result-dialog[data-outcome="error"] #specific-feedback{padding:6px 9px;margin:5px 0}#welcome-dialog{width:min(620px,calc(100vw - 30px));padding:17px 24px;display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-items:center}#welcome-dialog:not([open]){display:none}#welcome-dialog .welcome-orbit{grid-column:1;grid-row:1/3;height:57px}#welcome-dialog .eyebrow{grid-column:1;grid-row:3;font-size:8px;margin:5px 0}#welcome-dialog h2{grid-column:1;grid-row:4/6;font-size:23px;margin:3px 0}#welcome-dialog .welcome-copy{grid-column:2;grid-row:1/3;font-size:12px;margin:3px 0 12px}#welcome-enter{grid-column:2;grid-row:3/5;font-size:12px;padding:11px 7px}#welcome-quiet{grid-column:2;grid-row:5;margin-top:7px;min-height:30px}#welcome-feedback{grid-column:1/-1;grid-row:6;font-size:10px;min-height:15px;margin-top:4px}.welcome-note{grid-column:1/-1;grid-row:7;font-size:9px;margin-top:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-height:700px) and (orientation:portrait){.scene{padding-bottom:0}.scene .mission{position:absolute;top:25px;left:123px;right:13px;margin:0}.space-art{top:11px;height:54px;min-height:0}}
@media(min-width:1000px) and (max-height:800px){.mission #focus{display:none}}
