:root{font-family:Trebuchet MS,ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;color:#233451;background:#101c3c;font-synthesis:none;font-size:16px;color-scheme:light;--ink:#1c2e51;--cream:#fff9e9;--gold:#ffd36d;--mint:#72e7ce;--lavender:#b8a3fa;--line:3px solid #21365b;--button-size:56px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:calc(var(--button-size,56px)*var(--touch-scale,1));min-width:56px;border:2px solid #243b60;border-radius:16px;background:#f4f6f7;color:#243453;padding:12px 18px;font-size:calc(15px*var(--font-scale,1));font-weight:800;cursor:pointer;text-decoration:none;box-shadow:0 4px #15254222;transition:transform .12s,background .12s;user-select:none}button:active,.button:active{transform:translateY(3px) scale(.98);box-shadow:0 1px #15254222;background:#c4f3e8}button:disabled{opacity:.55;cursor:default;box-shadow:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:4px solid #e79a20;outline-offset:4px}button svg{flex-shrink:0}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,3vw,40px);line-height:1.12;letter-spacing:-.8px}h2{font-size:calc(25px*var(--font-scale,1));line-height:1.2}h3{font-size:calc(18px*var(--font-scale,1));line-height:1.3}p{font-size:calc(15px*var(--font-scale,1));line-height:1.5}small{font-size:calc(12px*var(--font-scale,1));line-height:1.4}input,select,textarea{min-height:56px;border:2px solid #93a8bb;border-radius:12px;background:#fff;color:#233453;padding:12px;max-width:100%;font-size:16px}input[type=checkbox]{appearance:none;min-height:32px;width:32px;flex:0 0 32px;padding:0;border:3px solid #617b94;background:#fff;border-radius:9px;position:relative}input[type=checkbox]:checked{background:#72e7ce}input[type=checkbox]:checked:after{content:"";position:absolute;width:15px;height:8px;transform:rotate(-45deg);border-left:3px solid #18334e;border-bottom:3px solid #18334e;left:5px;top:6px}label{display:flex;gap:12px;align-items:center;min-height:56px}label:has(input[type=checkbox]){padding:10px;background:#edf3f7;border-radius:12px}textarea{min-height:120px}progress{appearance:none;width:100%;height:14px;border:2px solid #29476a;border-radius:20px;overflow:hidden;background:#d6e2e9}progress::-webkit-progress-bar{background:#203958;border-radius:20px}progress::-webkit-progress-value{background:linear-gradient(90deg,#61cfc8,#bcf394);border-radius:20px}meter{width:100%;height:16px}summary{min-height:56px;display:flex;align-items:center;cursor:pointer;font-weight:700}.app{display:flex;min-height:100vh;background:radial-gradient(ellipse at 80% 10%,#334c76 0,transparent 55%),#101c3c;--font-scale:1;--touch-scale:1}.app>main{width:calc(100% - 216px);margin-left:216px;padding:0 28px 34px;min-width:0;max-width:1800px}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;background:#152749;border-right:3px solid #304968;padding:28px 14px;display:flex;flex-direction:column;gap:15px;z-index:60;overflow:auto}.brand{display:flex;align-items:center;gap:10px;color:#fff4c5;text-decoration:none;font-size:12px;letter-spacing:2px;line-height:1.4}.brand b{font-size:18px}.brand-icon{background:#ffcd70;border:3px solid #0d1e3b;color:#253d60;border-radius:16px;padding:12px;transform:rotate(-7deg);box-shadow:4px 5px #0f1c36}.sidebar-label{font-size:10px;letter-spacing:1.8px;color:#a5bbd2;margin:12px 8px}.sidebar nav{display:flex;flex-direction:column;gap:9px}.sidebar button{justify-content:flex-start;min-height:56px;background:#213c60;color:#e0edfa;border-color:#3d5a7a;font-size:14px;padding:12px}.sidebar button.active{background:#ffcd70;color:#223250;border-color:#101e37}.nav-count{margin-left:auto;background:#fff;color:#1b3451;border-radius:20px;padding:2px 7px}.sidebar-bottom{margin-top:auto;display:grid;gap:12px}.local-pill{font-size:12px;color:#b0cbd8;padding:8px}.local-pill i,.live-dot{display:inline-block;width:8px;height:8px;background:#79e8cd;border-radius:50%;margin-right:5px}.nav-close{display:none!important}.topbar{height:90px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #47607b}.breadcrumb{display:flex;align-items:center;gap:12px;color:#b8cbe0;font-size:14px}.wallet{display:flex;align-items:center;gap:10px}.wallet>span,.wallet>button{display:flex;align-items:center;gap:8px;min-height:56px;padding:10px 14px;background:#223b5c;border:2px solid #526d89;border-radius:16px;color:#fff5d4;white-space:nowrap}.wallet b{font-size:calc(19px*var(--font-scale,1))}.wallet small{color:#bfd2e4}.wallet svg{color:#ffcf62}.icon-button{min-width:56px;min-height:56px;padding:12px}.mobile-menu{display:none}.page-intro{padding:25px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff7df}.eyebrow{display:block;font-size:11px;letter-spacing:1.8px;font-weight:800;color:#91d8dc;margin-bottom:9px}.page-intro p{display:none}.day-tag{font-size:13px;color:#b8cbe0;white-space:nowrap}.flight-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:22px}.flight-card{position:relative;background:#172c4c;border:3px solid #557496;border-radius:28px;overflow:hidden;color:#f5f7e8;box-shadow:0 10px #08142c66;min-width:0}.flight-canvas{width:100%;height:420px;display:block}.scene-top{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;z-index:1;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:1px;color:#c2e4eb}.scene-top>span{background:#10203a99;border:1px solid #91b6cd44;border-radius:30px;padding:9px 12px}.dot{display:inline-block;width:8px;height:8px;background:#72e7ce;border-radius:50%;margin-right:8px}.muted-dot{background:#ffd36d}.scene-caption{position:absolute;top:335px;left:24px;pointer-events:none;text-shadow:0 2px 8px #12203e}.scene-caption>span{font-size:10px;letter-spacing:2px;color:#b8dce6}.scene-caption h2{font-size:30px;color:#fff6dd;margin:6px 0}.scene-caption p{display:none}.flight-progress{padding:18px 22px;background:#1e3656;border-top:2px solid #42617b}.flight-progress>div:first-child{display:flex;justify-content:space-between;font-size:14px;color:#dceaf0;gap:12px}.flight-progress progress{margin:12px 0 7px}.checkpoint-labels{display:flex;justify-content:space-between;font-size:12px;color:#b0c5d9;gap:8px}.flight-bottom{display:grid;grid-template-columns:1fr 1.2fr auto auto;align-items:center;gap:12px;padding:18px;background:#152a48;border-top:2px solid #42617b}.quiet-timer{display:flex;align-items:center;gap:10px}.timer-icon{color:#ffda78;background:#2b4668;border-radius:12px;padding:12px}.quiet-timer small{display:block;font-size:11px;color:#a6ccdf;letter-spacing:.4px}.quiet-timer strong{display:block;font-size:calc(38px*var(--font-scale,1));font-variant-numeric:tabular-nums;font-weight:900;color:#fff6d7}.mic-status{font-size:calc(12px*var(--font-scale,1));color:#b4e4d9;display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-width:0}.pause-button,.talk-direct{padding:12px;background:#ffce75;border-color:#0b203c;color:#263657;min-width:56px}.talk-direct{background:#93e1e3}.pause-button span{font-size:14px}.flight-side{display:flex;flex-direction:column;gap:18px}.next-reward,.talk-card{background:#fff3d5;color:#31435d;border:3px solid #23395e;border-radius:24px;padding:22px;box-shadow:0 6px #0a173033}.next-reward{text-align:center;background:linear-gradient(145deg,#fff5d9,#ffe0a1)}.next-reward .eyebrow{color:#8e632c;font-size:10px}.next-reward h2{font-size:23px}.next-reward p{display:none}.reward-emblem{margin:17px auto;border:5px solid #fff4bc;background:#ffc766;outline:3px solid #be843d;width:80px;height:80px;border-radius:25px;transform:rotate(-6deg);display:grid;place-items:center;color:#9f6032;box-shadow:7px 8px #f2bb5a}.reward-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;font-size:13px;margin:20px 0}.reward-chips span{display:flex;align-items:center;gap:6px;background:#fff9e6;padding:8px;border-radius:10px}.next-reward>small{display:block;margin-top:9px}.talk-card{background:#d2f3ef}.talk-card h3{font-size:18px;margin:8px 0}.talk-card p{font-size:13px;margin:9px 0}.talk-card .mini-icon{color:#248e9e}.talk-card button{width:100%;background:#fffaf0;font-size:14px}.explore-button{width:100%;margin-top:22px;font-size:20px!important;min-height:68px!important}.primary{background:#ffd173;color:#203252;border-color:#162745;box-shadow:0 5px #785d3344}.journey-strip{display:flex;align-items:center;gap:15px;background:#243e60;color:#e5f3ed;border:2px solid #4b6985;border-radius:20px;padding:16px;margin-top:20px}.journey-strip p{display:none}.notice-icon{color:#ffdc8c}.journey-strip b{font-size:15px;line-height:1.5}.journey-strip button{margin-left:auto;font-size:13px;flex-shrink:0}.bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.mini-card{background:#dfeef2;border:3px solid #294364;border-radius:22px;padding:20px;min-height:210px;overflow:hidden;position:relative}.mini-card .eyebrow{color:#436a7e}.mini-card h3{font-size:18px}.mini-card p{font-size:13px;margin:9px 0}.mini-card button{font-size:13px;width:100%;margin-top:12px}.mini-card .item-art{float:right;width:90px;height:90px}.big-number{font-size:44px!important}.big-number span{font-size:17px}.empty-orbit{float:right;color:#5987a3;padding:12px}.science{background:#c7e8e2}.science-planet{width:46px;height:46px;border:3px solid #204967;border-radius:50%;float:right;box-shadow:inset -10px -4px #23355044}.panel-layout{position:fixed;left:-10000px;top:0;width:700px;pointer-events:none}.back-flight{margin:0 0 18px;background:#aeeade}.content-panel{background:#e9f1f4;border:3px solid #4b6686;border-radius:28px;padding:24px;min-height:65vh;box-shadow:0 8px #08163055}.content-panel>h2{margin:18px 0}.content-panel>h3{margin:28px 0 15px}.content-panel>p{margin:12px 0 20px}.screen-shop{background:#f9efd8}.screen-hangar{background:#d8e7ef}.screen-pets{background:radial-gradient(ellipse at top,#dcf8d9,#b1dedd)}.screen-cargo{background:#e4d9f5}.screen-museum{background:#e9e0ce}.screen-achievements{background:#f7edcb}.screen-map{background:#17294d;color:#e7f2ff}.screen-reports{background:#d6eee7}.screen-map .item-card{color:#1d3458}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0}.muted{color:#5a7186;font-size:14px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}.toolbar input{flex:1;min-width:140px}.toolbar button{font-size:14px}.toolbar select{flex:0 1 230px}.touch-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:4px 4px 16px;scroll-snap-type:x proximity;scrollbar-width:thin}.touch-rail button{flex:0 0 128px;flex-direction:column;gap:4px;scroll-snap-align:start;white-space:normal;font-size:13px;background:#fffcf3;border:2px solid #58718b}.touch-rail .item-art{height:58px;width:80px}.touch-rail .selected{background:#ffdc87;border-color:#203451;box-shadow:0 4px #253d60}.badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;background:#dee9f3;color:#3f5878;padding:7px 10px;border:1px solid #b2c4d3;border-radius:20px}.locked{background:#e4e1ef;color:#725e8b}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:18px}.item-card{position:relative;background:#fffdf5;border:3px solid #52708b;border-radius:22px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;box-shadow:0 5px #2945611a;overflow:hidden}.item-card h3{font-size:18px}.item-card p{font-size:14px;color:#597183;line-height:1.4}.item-card small{color:#587188;font-size:12px}.item-card button{width:100%;font-size:14px;margin-top:auto}.item-card>button:last-child{background:#ffda87}.item-card img{max-width:100%;border-radius:15px}.item-art{display:block;width:100%;height:150px;max-width:220px;object-fit:contain;align-self:center;user-select:none;pointer-events:none}.item-top{display:flex;width:100%;justify-content:space-between;align-items:center}.item-top button{width:56px;margin:0}.art-preview-button{display:grid!important;place-items:center!important;border:0;background:radial-gradient(ellipse,#d7f0eb 0,transparent 70%);box-shadow:none;padding:0!important;min-height:160px!important;margin:0!important}.art-preview-button .item-art{height:165px;max-width:100%}.cargo-art{width:100%;display:grid;place-items:center;min-height:170px}.cargo-art .item-art{height:180px}.screen-cargo .item-card:has(button:disabled) .item-art{animation:reveal .5s ease-out}.screen-pets .item-card{background:linear-gradient(#c6efe2 0 160px,#fffdf0 160px);border-color:#538e86}.screen-pets .item-art{height:170px;animation:petfloat 4s ease-in-out infinite}.achievement-seal{align-self:center;width:140px;height:150px;filter:saturate(.45)}.achievement-seal.earned{filter:none}.achievement-seal .item-art{height:150px}.undiscovered .item-art{filter:grayscale(.8);opacity:.4}.destination-map{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:30px 24px;padding:30px 15px;background:radial-gradient(circle at 30% 30%,#6275aa66,transparent 50%),#10213e;border:3px solid #526b93;border-radius:26px;margin:25px 0;overflow:hidden}.destination-map:before{content:"";position:absolute;inset:100px 5%;border:3px dashed #6d9fc988;border-radius:45%;transform:rotate(-20deg);pointer-events:none}.destination-map button{position:relative;flex-direction:column;background:#20395f;color:#e8f5ff;border-color:#53799c;padding:12px;font-size:14px}.destination-map button.current{background:#456379;border-color:#ffce79;box-shadow:0 0 0 4px #ffce7933}.destination-map .item-art{height:100px;max-width:130px}.destination-map small{color:#a9dcd9}.callout{padding:24px;background:#c8e5e3;border:2px solid #6b9ca6;border-radius:20px;margin:20px 0;color:#203b56}.callout p{margin:12px 0}.callout button{margin:5px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center;padding:40px 20px;color:#4e6983}.empty-state .item-art{height:170px}.hangar-stage{position:relative;background:linear-gradient(#273f65,#43637b);border:4px solid #162b4d;border-radius:25px;color:#f0f4e8;overflow:hidden;padding:20px;margin:20px 0}.hangar-stage:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 79px,#84c3d415 80px),repeating-linear-gradient(0deg,transparent 0 79px,#84c3d415 80px);pointer-events:none}.hangar-sign{display:block;text-align:center;color:#b6e7f1;font-size:12px;letter-spacing:3px}.ship-display{display:block;width:100%;height:260px}.hangar-slots{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.hangar-slots button{display:flex;flex-direction:column;font-size:14px;background:#e2f4f2;padding:10px}.hangar-slots .item-art{height:60px}.hangar-slots small{color:#5c788e}.before-after{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;gap:8px}.before-after>div{background:#dbe9ed;border:2px solid #597a95;border-radius:18px;text-align:center;overflow:hidden;padding-top:12px;font-weight:800}.before-after .ship-display{height:180px}.preview-product{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}.preview-product .item-art{height:180px}.preview-product strong{display:flex;gap:8px;align-items:center;margin-top:15px}.visual-preview header{display:flex;justify-content:space-between;gap:15px;align-items:center}.preview-product p{margin-top:12px}.purchase-dialog .item-art{height:180px}.photo-album>header{display:flex;align-items:center;gap:20px;margin:20px 0}.photo-album>header .item-art{width:100px;height:90px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:25px;padding:12px}.polaroid{padding:12px 12px 20px;display:flex;flex-direction:column;gap:12px;background:#fffcf2;border:2px solid #b4a78f;box-shadow:5px 7px #71604422;transform:rotate(-1deg);border-radius:5px}.polaroid:nth-child(2n){transform:rotate(1deg)}.polaroid img{width:100%;aspect-ratio:1.6;object-fit:cover;border:2px solid #213855;border-radius:2px}.photo-view img{max-width:100%;border:10px solid #fff;border-radius:5px}.storage-meter{font-size:13px;color:#5d6e7b;margin:20px 0}.research-hero{display:flex;align-items:center;gap:18px}.research-hero .item-art{width:120px}.research-tree{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 12px;background:#1c3355;padding:24px 14px;border-radius:22px;position:relative}.research-tree button{position:relative;flex-direction:column;padding:10px;font-size:12px;background:#d1d8ed}.research-tree button:after{content:"";position:absolute;top:-26px;height:24px;left:50%;border-left:4px solid #9caee3}.research-tree .installed{background:#96e4d1}.research-tree .item-art{height:75px}.research-tree small{font-size:10px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px;margin:24px 0}.stat-grid article{display:flex;flex-direction:column;gap:10px;padding:25px;border:3px solid #719da7;border-radius:22px;background:#f9f5df}.stat-grid b{font-size:36px;color:#2e5b72}.stat-grid span{font-size:15px}.report-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:20px;border-bottom:2px solid #adc7c6}.teacher-tabs{display:flex;gap:10px;overflow:auto;padding-bottom:15px;margin:20px 0;scrollbar-width:thin}.teacher-tabs button{flex-shrink:0;font-size:14px;background:#e5edf5}.teacher-tabs button.selected{background:#8fd7db;border-color:#1d415f}.teacher .toolbar{position:sticky;top:0;background:#e9f1f4;padding:10px 0;z-index:2}.setting{display:flex;flex-wrap:wrap;gap:16px;padding:18px 0;border-bottom:2px solid #c7d8e1}.setting>span:first-child{flex:1;min-width:180px}.setting small{display:block;margin-top:7px;color:#61798d}.setting input[type=number]{width:110px}.setting>input:not([type=number]),.setting>select{flex:1;min-width:180px}.number-stepper{display:flex;gap:8px;align-items:center}.number-stepper button{width:56px;padding:0;font-size:23px}.checks{display:flex;flex-direction:column;gap:15px;margin:24px 0}.milestone-settings{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.milestone-settings article{border:2px solid #7e9aaf;border-radius:20px;padding:18px;background:#fff7df}.milestone-settings label{justify-content:space-between;flex-wrap:wrap}.milestone-settings input[type=number]{width:110px}.milestone-settings .item-art{height:100px}.schedule-row{display:flex;gap:12px;flex-wrap:wrap;padding:20px 0}.schedule-row>div{display:flex;gap:10px;flex-wrap:wrap}.teacher>button{margin:8px}.teacher>label{margin:15px 0;flex-wrap:wrap}.file-button{position:relative;overflow:hidden;min-height:56px;border:2px solid #436483;border-radius:16px;padding:12px 18px;font-weight:700;background:#fff}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.danger{background:#ffdfd2;color:#833b37}.catalog-editor{padding:20px 0}.catalog-editor>.item-art{height:180px;max-width:260px}.fragment-map{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px;background:#1b3357;border:3px solid #385b7e;border-radius:20px;margin:20px 0}.fragment-map>div{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;border:2px dashed #698bad;color:#a4c5dd;font-size:32px}.fragment-map .found{background:#325d73;color:#ffdb78}.fragment-map small{font-size:12px}pre{overflow:auto;background:#20334c;color:#c6f6e1;padding:20px;border-radius:15px}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#aac5d5;margin-top:25px;padding-bottom:70px;font-size:12px}footer>span{display:flex;gap:8px;align-items:center}footer button{background:#243e5b;color:#cce4e9;font-size:13px}.modal-backdrop{position:fixed;inset:0;background:#071731cf;backdrop-filter:blur(6px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto;overscroll-behavior:contain}.modal{display:flex;flex-direction:column;gap:18px;background:#fff8e8;border:4px solid #496b87;border-radius:28px;padding:28px;max-width:520px;width:100%;max-height:94dvh;overflow:auto;box-shadow:0 15px #050f2788;overscroll-behavior:contain}.modal h2{color:#243f5c}.modal .eyebrow{color:#4b798e}.modal p{color:#587184;font-size:15px}.modal label{flex-direction:column;align-items:stretch;gap:8px}.modal label:has(input[type=checkbox]){flex-direction:row;align-items:center}.modal button{flex-shrink:0}.modal small{color:#647b8c}.modal-icon{background:#aee6da;border:3px solid #345a72;padding:14px;border-radius:20px;align-self:flex-start}.visual-preview,.photo-view{max-width:900px}.form-error{color:#a43e3b!important}.error{background:#ffdfad;border:3px solid #ac733f;border-radius:18px;padding:15px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px;color:#613e2e}.mic-banner{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:calc(50% + 108px);transform:translate(-50%);max-width:calc(100vw - 40px);width:max-content;display:flex;align-items:center;gap:12px;background:#fff1c9;border:3px solid #2c4e70;box-shadow:0 8px 35px #08172a77;border-radius:20px;padding:12px;z-index:50;font-size:13px}.mic-banner span{max-width:280px}.mic-banner button{background:#8edfcf;flex-shrink:0}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#fff6d9}.camera-celebration{position:absolute;right:20px;top:75px;display:flex;align-items:center;flex-direction:column;gap:5px;color:#fff6ce;pointer-events:none;text-shadow:0 2px 5px #102342}.camera-celebration .item-art{height:100px;width:130px;animation:camera-pop .9s ease-in-out infinite}.arrival-actions{display:flex;flex-wrap:wrap;gap:10px;padding:15px;background:#b4e4d7}.arrival-actions button{flex:1;font-size:13px}.hidden{display:none!important}.game-paused *{animation-play-state:paused!important}.reduced *{animation:none!important;transition:none!important}.contrast{--ink:#05152d}.contrast .badge,.contrast .item-card p,.contrast .muted{color:#18324e}.contrast .scene-top,.contrast .mic-status,.contrast .checkpoint-labels{color:#fff}.contrast button{border-width:3px}.table-scroll{overflow:auto}@keyframes petfloat{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes reveal{0%{transform:scale(.7) rotate(-8deg);opacity:.2}70%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes camera-pop{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@media(max-width:1200px){.sidebar{display:none;box-shadow:20px 0 80px #031126aa;width:290px}.sidebar.open{display:flex}.nav-close{display:flex!important}.app>main{width:100%;margin:0;padding:0 24px 30px}.mobile-menu{display:inline-flex;background:#a6e4df}.breadcrumb{margin-right:auto}.wallet small{display:none}.flight-layout{grid-template-columns:1fr 230px}.flight-bottom{grid-template-columns:1fr 1fr}.pause-button,.talk-direct{min-height:56px}.mic-banner{left:50%}.day-tag,.coordinate{display:none}}.app[data-layout=compact]>main,.app[data-layout=docked]>main{padding:0 max(12px,env(safe-area-inset-right)) 30px max(12px,env(safe-area-inset-left))}.app[data-layout=compact] .flight-layout,.app[data-layout=docked] .flight-layout{grid-template-columns:1fr}.app[data-layout=compact] .flight-side,.app[data-layout=docked] .flight-side,.app[data-layout=compact] .bottom-grid,.app[data-layout=docked] .bottom-grid{display:none}.app[data-layout=compact] .page-intro,.app[data-layout=docked] .page-intro{padding:18px 5px}.app[data-layout=compact] .page-intro .eyebrow,.app[data-layout=docked] .page-intro .eyebrow{display:none}.app[data-layout=compact] .page-intro h1,.app[data-layout=docked] .page-intro h1{font-size:26px}.app[data-layout=compact] .flight-canvas,.app[data-layout=docked] .flight-canvas{height:340px}.app[data-layout=compact] .scene-caption,.app[data-layout=docked] .scene-caption{top:264px;left:20px}.app[data-layout=compact] .scene-caption h2,.app[data-layout=docked] .scene-caption h2{font-size:27px}.app[data-layout=compact] .flight-bottom,.app[data-layout=docked] .flight-bottom{grid-template-columns:1fr 1fr;gap:12px;padding:15px}.app[data-layout=compact] .quiet-timer strong,.app[data-layout=docked] .quiet-timer strong{font-size:calc(36px*var(--font-scale,1))}.app[data-layout=compact] .timer-icon,.app[data-layout=compact] .breadcrumb,.app[data-layout=docked] .breadcrumb{display:none}.app[data-layout=compact] .topbar,.app[data-layout=docked] .topbar{height:80px;gap:8px}.app[data-layout=compact] .wallet,.app[data-layout=docked] .wallet{gap:6px;margin-left:auto}.app[data-layout=compact] .wallet>span,.app[data-layout=compact] .wallet>button{padding:8px;gap:5px}.app[data-layout=compact] .wallet b{font-size:16px}.app[data-layout=compact] .wallet button:last-child{min-width:48px}.app[data-layout=compact] .content-panel,.app[data-layout=docked] .content-panel{padding:16px 12px;border-radius:20px}.app[data-layout=compact] .item-grid,.app[data-layout=docked] .item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app[data-layout=compact] .item-card,.app[data-layout=docked] .item-card{padding:12px;border-width:2px;border-radius:18px;gap:10px}.app[data-layout=compact] .item-card h3,.app[data-layout=docked] .item-card h3{font-size:calc(15px*var(--font-scale,1))}.app[data-layout=compact] .item-card p,.app[data-layout=docked] .item-card p{font-size:13px}.app[data-layout=compact] .item-card button,.app[data-layout=docked] .item-card button{font-size:13px;padding:10px 8px;gap:5px}.app[data-layout=compact] .item-top,.app[data-layout=docked] .item-top{flex-wrap:wrap;gap:6px}.app[data-layout=compact] .item-art,.app[data-layout=docked] .item-art{height:120px}.app[data-layout=compact] .art-preview-button,.app[data-layout=docked] .art-preview-button{min-height:130px!important}.app[data-layout=compact] .item-card small,.app[data-layout=docked] .item-card small{font-size:11px}.app[data-layout=compact] .touch-rail .item-art,.app[data-layout=docked] .touch-rail .item-art{height:52px}.app[data-layout=compact] .panel-heading,.app[data-layout=docked] .panel-heading{flex-wrap:wrap}.app[data-layout=compact] .hangar-slots,.app[data-layout=docked] .hangar-slots{grid-template-columns:repeat(2,1fr)}.app[data-layout=compact] .hangar-slots .item-art,.app[data-layout=docked] .hangar-slots .item-art{height:60px}.app[data-layout=compact] .journey-strip button,.app[data-layout=docked] .journey-strip button,.app[data-layout=compact] .mic-banner span,.app[data-layout=docked] .mic-banner span{display:none}.app[data-layout=compact] .mic-banner,.app[data-layout=docked] .mic-banner{width:auto;max-width:95%;padding:8px}.app[data-layout=compact] .research-tree,.app[data-layout=docked] .research-tree{grid-template-columns:repeat(2,minmax(0,1fr))}.app[data-layout=compact] .ship-display,.app[data-layout=docked] .ship-display{height:220px}.app[data-layout=compact] .scene-top,.app[data-layout=docked] .scene-top{top:15px;font-size:10px}.app[data-layout=compact] .checkpoint-labels{font-size:10px}.app[data-layout=compact] .flight-progress,.app[data-layout=docked] .flight-progress{padding:15px}.app[data-layout=compact] .teacher .setting,.app[data-layout=docked] .teacher .setting{flex-direction:column;align-items:flex-start}.app[data-layout=compact] .teacher .toolbar,.app[data-layout=docked] .teacher .toolbar{position:static}.app[data-layout=compact] .photo-album>header .item-art{width:65px;height:65px}@media(max-width:750px){.modal-backdrop{padding:10px}.modal{padding:20px;border-radius:22px;max-height:96dvh}.before-after{grid-template-columns:1fr}.before-after>svg{display:none}.before-after .ship-display{height:155px!important}.preview-product{grid-template-columns:110px 1fr;gap:12px}.preview-product .item-art{height:125px}.visual-preview h2{font-size:23px}.toolbar input,.toolbar select{flex:1 1 100%;width:100%}.destination-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;padding:20px 10px}.stat-grid{grid-template-columns:1fr 1fr}.photo-grid{grid-template-columns:1fr}.app>main{padding-bottom:80px}.screen-pets .item-card{background:linear-gradient(#c6efe2 0 130px,#fffdf0 130px)}.page-intro{padding:18px 0}.error{flex-wrap:wrap}.panel-heading>button{width:100%}.mic-banner{left:50%}.coordinate{display:none}.number-stepper{max-width:100%}.number-stepper input[type=number]{width:100px}.camera-celebration{right:15px}.camera-celebration .item-art{width:90px;height:75px!important}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{.sidebar,.topbar,.page-intro,.panel-layout,footer,.toolbar,.mic-banner,button,.back-flight{display:none!important}.app{background:#fff}.app>main{margin:0;width:100%;padding:0}.content-panel{border:0;box-shadow:none}.stat-grid{grid-template-columns:repeat(3,1fr)}}.research-tree{gap:36px 14px}.research-tree button:after{display:none}.research-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.research-tree button{z-index:1}.research-tree button:nth-of-type(5n+1){border-color:#8268a8}.app[data-layout=compact] .mic-banner,.app[data-layout=docked] .mic-banner{width:max-content}.app[data-layout=compact] .mic-banner>svg,.app[data-layout=docked] .mic-banner>svg{display:none}.landing-postcard{background:#fff8e6;padding:7px 7px 12px;box-shadow:4px 7px #091a3e66;border:2px solid #a4a18c;transform:rotate(5deg);width:160px;color:#334869;text-shadow:none;text-align:center;animation:reveal .6s ease-out}.landing-postcard img{width:100%;border:1px solid #294c70}.landing-postcard span{font-size:12px;font-weight:800}.camera-celebration:has(.landing-postcard)>.item-art{height:55px!important}.camera-celebration:has(.landing-postcard){top:60px;gap:10px}.screen-shop>.muted{display:none}.content-panel>.toolbar input,.content-panel>.toolbar select{flex:1 1 160px;width:auto}.content-panel>.toolbar{gap:8px;margin:10px 0 16px}.content-panel>.toolbar select{max-width:50%}.screen-shop>.panel-heading{margin:14px 0}.screen-shop>.panel-heading h2{font-size:23px}.screen-hangar>.toolbar,.screen-hangar>.callout{font-size:13px}.universe-page{margin:0!important;width:100%!important;max-width:1600px;margin-inline:auto!important;padding:12px 18px 90px!important;color:#f3f7ff}.universe-header{display:flex;gap:12px;align-items:center;padding:0 0 14px;border-bottom:2px solid #28456c;position:relative;z-index:3}.universe-header button,.universe-menu button{display:flex;gap:10px;align-items:center;justify-content:center;min-height:58px;background:linear-gradient(#54669e,#202d55 65%,#142547);border:2px solid #88a7d2;color:#fff;border-radius:18px;box-shadow:inset 0 2px 2px #d4e8ff66,0 4px #080d26;font-weight:800}.universe-header .fx-icon{width:40px;height:40px}.universe-wallet{margin-left:auto;display:flex;align-items:center;gap:8px;background:linear-gradient(#4d4b7e,#1b294c);border:2px solid #8c8cb5;border-radius:40px;padding:6px 15px;font-size:24px}.universe-menu{width:min(800px,94vw)}.universe-menu nav{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.universe-menu nav button{flex-direction:column;min-height:120px}.universe-menu .fx-icon{height:60px;width:60px}.universe-page .page-intro{justify-content:flex-start;gap:22px;padding:26px 6px}.universe-page .page-intro>.fx-icon{width:110px;height:110px;filter:drop-shadow(0 6px 8px #040b25)}.universe-page .page-intro h1{color:#fff;font-size:36px}.universe-page .page-intro p{color:#b5c9e2}.universe-page .day-tag{margin-left:auto}.universe-page .page-intro .eyebrow{color:#8cdaff}.universe-page .back-flight{color:#e9f6ff;background:#1f385c;border-color:#5577a2}.universe-page .content-panel{background:linear-gradient(140deg,#1c3152,#131c3c 65%,#211c45);color:#eaf3ff;border:3px solid #637fbc;border-radius:28px;box-shadow:inset 0 2px #bcd9ff55,0 8px #070d25;padding:24px}.universe-page :is(h2,h3,h4){color:#f2f7ff}.universe-page :is(p,.muted,small){color:#b8cee6}.universe-page .content-panel>.item-art{max-height:140px}.universe-page :is(.item-card,.stat-grid article,.callout,.milestone-settings article,.report-row,.setting){background:linear-gradient(145deg,#2c4a6a,#1c2a4a);color:#eff8ff;border:2px solid #6084aa;border-radius:22px;box-shadow:inset 0 2px #a8c8e744,0 5px #090f2e}.universe-page .item-card{padding:18px}.universe-page .item-card>.item-art,.universe-page .cargo-art>.item-art{height:170px;filter:drop-shadow(0 8px 10px #080e2c)}.universe-page .item-card :is(p,small){color:#bdd4e7}.universe-page .item-card h3{font-size:20px}.universe-page .badge{background:#152f4a;color:#d4efff;border:1px solid #719abc}.universe-page button,.universe-page .file-button{background:linear-gradient(#53679b,#253d65);color:#fff;border:2px solid #7e9ec7;border-radius:16px;min-height:56px;box-shadow:inset 0 2px #b3d8ff44,0 3px #091633;touch-action:manipulation}.universe-page button.selected,.universe-page button.current,.universe-page button.installed{background:linear-gradient(#218fc4,#185780);border-color:#ffe39c;box-shadow:0 0 9px #ffcc6680}.universe-page button:active,.pin-panel button:active{transform:translateY(2px);filter:brightness(1.15)}.universe-page button:disabled{opacity:.55}.universe-page :is(input,select,textarea){background:#10243e;color:#e6f5ff;border:2px solid #6485aa;border-radius:14px;min-height:52px}.universe-page input[type=checkbox]{width:32px;height:32px;min-height:32px;accent-color:#54d2ce}.universe-page .touch-rail button{background:linear-gradient(#304a76,#1b2b4b);min-width:112px}.universe-page .touch-rail button.selected{border-color:#ffe39c;background:#1b6591}.universe-page .touch-rail .item-art{height:60px}.universe-page .screen-pets .item-card{background:radial-gradient(ellipse at 50% 16%,#458c9677,transparent 45%),linear-gradient(#213e5a,#212344)}.universe-page .screen-pets .item-card>.item-art{background:radial-gradient(ellipse at 50% 90%,#84d8af66,transparent 60%);animation:petfloat 5s ease-in-out infinite}.universe-page .screen-cargo .item-card{background:radial-gradient(circle at 50% 20%,#c08b3744,transparent 65%),linear-gradient(#342f52,#1d2749)}.universe-page .screen-achievements .achievement-seal{background:radial-gradient(#8b71b644,#243258);border-color:#aa9ada}.universe-page .screen-achievements .earned{background:radial-gradient(#b58e4a66,#31355d)}.universe-page .destination-map{background:radial-gradient(circle at 20% 20%,#664b9f44,transparent 40%),radial-gradient(circle at 80% 80%,#388eb444,transparent 50%),#09182f;border:2px solid #47658d;border-radius:24px}.universe-page .destination-map button{background:#172c4b}.universe-page .destination-map .item-art{height:150px}.universe-page .research-tree{background:radial-gradient(#3e477d44,#121d3d);border-radius:24px;padding:22px}.universe-page .research-tree button{background:linear-gradient(#315d70,#1d304d)}.universe-page .photo-album{background:#192a48;border-color:#647fac}.universe-page .polaroid{background:linear-gradient(#526e96,#283c62);border-color:#a7c9e6}.universe-page .polaroid b{color:#fff}.universe-page .empty-state{background:#152941;color:#d8e8f9;border-color:#567da1}.universe-page .teacher-tabs button{display:flex;gap:8px;align-items:center}.universe-page .teacher-tabs .fx-icon{width:34px;height:34px}.universe-page .teacher .toolbar{background:#182b49}.universe-page .setting{padding:18px;margin-bottom:12px}.universe-page .stat-grid b{color:#a4fff0}.universe-page .stat-grid article{padding:24px}.universe-page progress{accent-color:#74e7b2}.modal-backdrop .modal{background:linear-gradient(145deg,#294965,#171f40);color:#f1f6ff;border-color:#7aa6d1}.modal-backdrop .modal :is(h2,h3,p,small,label){color:#d9e9ff}.modal-backdrop .modal button{background:linear-gradient(#587aa7,#274362);color:#fff;border-color:#91b7df}.modal-backdrop .modal input{background:#132840;color:#fff}.fx-landed-banner{position:absolute;left:50%;top:29%;transform:translate(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:86%;padding:12px 20px;border:3px solid #ffe8a7;border-radius:22px;background:linear-gradient(#3c487ce8,#182349ed);box-shadow:0 0 24px #ffe08355;color:#fff5d5;pointer-events:none;text-align:center}.fx-landed-banner>img{width:62px;height:62px}.fx-landed-banner span{display:grid;gap:3px}.fx-landed-banner strong{font-size:clamp(17px,2vw,27px)}.fx-landed-banner small{font-size:12px;color:#d7e7f6}.fx-phase-timing{position:absolute;right:18px;top:33%;padding:8px 14px;border:1px solid #99d3ed;border-radius:20px;background:#153052e6;color:#dff6ff;font-size:13px}.fx-photo-pop{top:auto!important;bottom:24%!important;right:3%!important;max-width:130px!important}.fx-photo-pop>img{max-height:65px}.fx-photo-pop strong{font-size:12px}.fx-photo-pop>.fx-icon{width:28px;height:28px}.pin-backdrop{position:fixed;inset:0;z-index:500;background:#06132bd9;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:12px;overscroll-behavior:contain}.pin-panel{width:min(420px,96vw);max-height:96dvh;overflow:auto;background:linear-gradient(#284c70,#172340);border:3px solid #8db6df;border-radius:26px;padding:24px;display:grid;gap:12px;color:#eef8ff;box-shadow:0 14px 60px #020717}.pin-panel>.fx-icon{width:52px;height:52px;justify-self:center}.pin-panel h2{color:#eef8ff;text-align:center;font-size:23px}.pin-panel label{display:grid;gap:8px;text-align:center}.pin-panel input{background:#10233d;color:#fff;border:2px solid #719dc2;text-align:center;font-size:28px;letter-spacing:15px;width:100%;min-height:56px}.pin-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pin-panel button{min-height:56px;min-width:56px;background:linear-gradient(#5876aa,#263f64);color:#fff;border:2px solid #91acd0;border-radius:14px;font-weight:800;touch-action:manipulation}.pin-keys button{font-size:22px}.pin-keys button:nth-child(10),.pin-keys button:nth-child(12){font-size:15px}.pin-panel p{color:#ffdaae}.pin-panel button[type=submit]{background:linear-gradient(#409d98,#276967)}.screen-lock-button,.screen-unlock-button{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:80;display:flex;gap:8px;align-items:center;background:linear-gradient(#3d608c,#192d50);border:2px solid #86afda;color:#f0f7ff;border-radius:20px;padding:9px 16px;min-height:56px;box-shadow:0 4px 12px #020b25aa}.screen-lock-button .fx-icon,.screen-unlock-button .fx-icon{width:30px;height:30px}.screen-lock-shield{position:fixed;inset:0;z-index:1000;touch-action:none;overscroll-behavior:none;user-select:none}.screen-unlock-button{z-index:1001}.screen-lock-shield .pin-backdrop{z-index:1002;touch-action:none}.screen-is-locked{overflow:hidden;overscroll-behavior:none}.screen-is-locked .app{pointer-events:none;user-select:none}@media(max-width:750px){.universe-page{padding:10px 10px 85px!important}.universe-header{gap:7px}.universe-header button{padding:8px;min-width:48px;font-size:12px;flex-direction:column;gap:2px}.universe-header .fx-icon{width:30px;height:30px}.universe-wallet{font-size:20px;padding:7px}.universe-page .page-intro{gap:14px}.universe-page .page-intro>.fx-icon{height:70px;width:70px}.universe-page .page-intro h1{font-size:26px}.universe-page .page-intro p{font-size:12px}.universe-menu nav{grid-template-columns:repeat(2,1fr)}.universe-page .content-panel{padding:16px 10px}.fx-landed-banner{top:32%;padding:8px 12px;gap:6px}.fx-landed-banner>img{width:42px;height:42px}.fx-landed-banner small{font-size:10px}.fx-landed-banner strong{font-size:16px}.fx-phase-timing{top:44%;font-size:11px}.universe-page .setting{padding:12px}.screen-lock-button{bottom:5px;font-size:12px;min-height:44px}.screen-lock-button .fx-icon{width:24px;height:24px}}@media(prefers-reduced-motion:reduce){.universe-page .screen-pets .item-card>.item-art{animation:none}}.universe-page .item-card>button:last-child{background:linear-gradient(#ffe49d,#e8ab43);color:#183050;border-color:#fce7ae}.universe-page .screen-pets .item-card>button{background:linear-gradient(#5479a2,#2a466b);color:#f3f8ff}.universe-page .screen-pets .item-card>button:last-child{color:#183050;background:linear-gradient(#ffe49d,#e8ab43)}.mic-banner{background:linear-gradient(#385d83,#1b314f);color:#e7f4ff;border-color:#8cacca}.mic-banner button{background:linear-gradient(#54b7ba,#27727d);color:#fff;border-color:#92d7e0}.fx-viewport:has(.fx-landed-banner) .fx-pause-plaque{top:21%}.fx-controls .fx-lock{background:linear-gradient(#5e76b0,#2c3f75);border-color:#99b7e8}.fx-controls .fx-lock span{font-size:12px}.fx-landed-banner{top:17%;padding:9px 16px;max-width:88%}.fx-landed-banner>img{width:45px;height:45px}.fx-landed-banner strong{font-size:clamp(16px,2cqw,24px)}.fx-viewport:has(.fx-landed-banner) .fx-pause-plaque{top:auto;bottom:23%;left:12px;transform:none;font-size:12px}@container (max-width:750px){.fx-landed-banner{top:19%;padding:7px 10px}.fx-landed-banner>img{width:36px;height:36px}.fx-landed-banner strong{font-size:16px}.fx-landed-banner small{font-size:10px}}.universe-page :is(.teacher,.solar-teacher){color-scheme:dark;color:#f3f7ff}.universe-page :is(.teacher,.solar-teacher) label:has(input[type=checkbox]){background:#203653;color:#f3f7ff;border:1px solid #728eae}.universe-page :is(.teacher,.solar-teacher) :is(input:not([type=checkbox]):not([type=range]),select,textarea){background:#101e35;color:#f3f7ff;border-color:#829dbb}.universe-page :is(.teacher,.solar-teacher) :is(option,optgroup){background:#101e35;color:#f3f7ff}.universe-page :is(.teacher,.solar-teacher) :is(button,.teacher-tabs button){background:#294467;color:#fff;border-color:#91acd0;text-shadow:none}.universe-page :is(.teacher,.solar-teacher) .teacher-tabs button.selected{background:#96e2de;color:#102b3d}.universe-page :is(.teacher,.solar-teacher) :is(.muted,small,.setting small){color:#d3e3f4}.universe-page :is(.teacher,.solar-teacher) input::placeholder{color:#bfcee1;opacity:1}.universe-page :is(.teacher,.solar-teacher) .modal{background:#172b48;color:#f3f7ff}.universe-page :is(.teacher,.solar-teacher) input[type=range]{accent-color:#75e2dc;min-height:56px;min-width:0;width:min(100%,400px);flex:1;padding:0}.universe-page :is(.teacher,.solar-teacher) .game-speed-setting output{font-size:24px;font-weight:800;min-width:65px}.universe-page :is(.teacher,.solar-teacher) label:has(input[type=checkbox]){min-height:56px}.contrast .universe-page :is(.teacher,.solar-teacher) :is(p,small,.muted){color:#fff}
