@import url('vendor/fonts.css');
:root{color-scheme:dark;--gold:#f2d699;--gold-dim:#bda879;--text:#f5f4e8;--muted:#a9bfc0;--line:#d5ece323;--glass:#143239c9;--mint:#b8e5ce;--navy:#102b33;--ease:cubic-bezier(.19,1,.22,1)}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden}
body{background:var(--navy);color:var(--text);font-family:'DM Sans',Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer;transition:background .2s,border-color .2s,transform .35s var(--ease),box-shadow .2s}button:disabled{cursor:default;opacity:.45}button:active{transform:translateY(1px)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:5px}[hidden]{display:none!important}
button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
kbd{font-family:inherit;font-size:9px;font-weight:500;letter-spacing:.08em;border:1px solid #deeee133;border-bottom-color:#deeee156;border-radius:5px;padding:4px 6px;color:#ecf1e3;background:#d7eadd0a;white-space:nowrap}
#world{position:fixed;inset:0;z-index:0}#world canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
.vignette{position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#08233140,transparent 22%,transparent 77%,#082c3c55),radial-gradient(ellipse at 50% 45%,transparent 58%,#193e4b20)}
.welcome-scrim{position:fixed;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#092c3acc 0%,#0b2e3a89 27%,#0c35472b 49%,transparent 68%);transition:opacity 1.1s var(--ease)}body.playing .welcome-scrim{opacity:0}
#labels{position:fixed;inset:0;z-index:2;pointer-events:none}
.game-header{position:fixed;left:35px;right:35px;top:27px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:24px;pointer-events:none}
.brand,.view-controls{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;text-shadow:0 2px 20px #10313a50}
.brand-mark{display:grid;place-items:center;width:43px;height:43px;color:#f4e4b9;background:#d1e9dc0a;border:1px solid #e2ebcf47;border-radius:13px;backdrop-filter:blur(8px)}.brand-mark svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.brand strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:700;letter-spacing:-.3px}.brand strong>span{font-weight:400;color:#e0e7d3}.location{display:flex;align-items:center;gap:6px;margin-top:4px;color:#d0e1d7;font-size:9px;letter-spacing:.09em}.location i{width:4px;height:4px;background:var(--mint);border-radius:50%;box-shadow:0 0 9px #b8e5ce77}
.view-controls{display:flex;align-items:center;gap:8px}.hud-button{height:37px;border:1px solid #e4efe329;background:#14333c66;backdrop-filter:blur(16px);border-radius:30px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#f1f1df;font-size:10px;box-shadow:inset 0 1px #eff7e708,0 3px 15px #163b4010}
.hud-button:hover{background:#254b54b8;border-color:#e0efd168;transform:translateY(-2px)}.hud-button kbd{margin-left:6px;font-size:8px;padding:2px 4px}.hud-button.icon-button{width:37px;padding:0;font-size:15px}.hud-button.icon-button svg{width:17px;height:17px}.sound-waves{display:none}#sound-toggle[aria-pressed='true'] .sound-waves{display:block}#sound-toggle[aria-pressed='true'] .sound-off{display:none}body:not(.playing) #view-toggle,body:not(.playing) #reset-view{display:none}
.eyebrow{color:var(--gold);font-size:9px;font-weight:600;letter-spacing:1.7px;line-height:1.6}
.objective{position:fixed;top:111px;left:35px;width:242px;z-index:4;padding:17px 18px 15px;border:1px solid #e3eac627;border-radius:16px;background:linear-gradient(135deg,#193c45b8,#1330397a);box-shadow:inset 0 1px #edf5da0a,0 8px 30px #152f3b10;backdrop-filter:blur(22px);pointer-events:none;transition:opacity .4s,transform .6s var(--ease)}
.objective .eyebrow{display:flex;gap:7px;align-items:center;font-size:7px;letter-spacing:1.55px;color:#d5e3c3}.quest-diamond{font-size:17px;font-weight:400;line-height:.7;color:#f2d699}.objective h2{margin:10px 0 7px;font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:-.35px}.objective p{font-size:10px;line-height:1.7;margin:0;color:#c3d5cd}.objective button{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:13px;font-size:9px;color:#e5efce;margin-top:12px;width:100%;padding:11px 0 0;background:none;border:0;border-top:1px solid #e7efd620;line-height:1.5;text-align:left}.objective button:hover{color:#fff5cb}.objective button>span:last-child{font-size:16px;line-height:1}body:not(.playing) .objective{opacity:0;visibility:hidden;transform:translateY(-9px);pointer-events:none}body:not(.playing) .objective button{pointer-events:none}
.welcome{position:fixed;z-index:7;left:6.5vw;top:50%;transform:translateY(-46%);width:375px;padding:0;background:none;text-shadow:0 2px 28px #1c4a5b33;animation:welcome-arrive 1.25s var(--ease) both}
.welcome-chapter{display:flex;align-items:center;gap:12px;color:#e3ebca;font-size:8px;font-weight:500;letter-spacing:2px;margin-bottom:23px}.welcome-chapter>span:first-child{font-size:11px;letter-spacing:1px;padding:7px 8px;border:1px solid #e6edc63b;border-radius:7px;background:#b6d8c110}.welcome-chapter i{height:1px;width:43px;background:#e6edc65b}
h1{font-family:Manrope,Arial,sans-serif;font-size:47px;font-weight:500;line-height:1.12;letter-spacing:-2.2px;margin:0 0 21px}h1 em{font-style:normal;color:#f3d99b}
.welcome>p{font-size:12px;line-height:1.9;color:#d2e0d5;margin:0 0 25px;letter-spacing:.01em}.explorer-intro{display:flex;gap:11px;align-items:center;margin-bottom:25px}.explorer-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #cbe4c62a;border-radius:13px;background:#bad9c60a}.explorer-icon svg{width:34px;height:34px;fill:none;stroke:#d8ebcc;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}.explorer-icon svg rect:nth-of-type(2){fill:#c5ead712;stroke:#afdacb}.explorer-intro strong{display:block;font-weight:500;font-size:10px;letter-spacing:.01em}.explorer-intro small{display:block;font-size:9px;color:#a9c6bc;margin-top:4px}
.primary{background:#d6edcb;color:#1d403f;border:1px solid #ebf3d3;border-radius:11px;padding:13px 18px;font-size:11px;font-weight:700;box-shadow:0 3px 0 #879f8035,0 6px 25px #0f3a3530}.primary:hover{background:#edf7d8;box-shadow:0 5px 0 #879f8025,0 9px 35px #c3e6ce25;transform:translateY(-2px)}.start-button{display:flex;justify-content:space-between;align-items:center;width:281px;padding:15px 19px;letter-spacing:.01em}.start-button span{font-size:22px;font-weight:400;line-height:1}
.text-button{background:none;border:0;font-size:10px;color:#d8e8d4;padding:16px 0 9px;text-align:left;text-decoration:none}.text-button:hover{color:#ffebba}.welcome .text-button{display:flex;justify-content:space-between;align-items:center;width:281px}.welcome .text-button>span{font-size:16px;line-height:1}.welcome-controls{display:flex;flex-wrap:wrap;gap:17px;font-size:8px;color:#c4d9d0;margin-top:22px}.welcome-controls span{display:flex;align-items:center;gap:6px}.welcome-controls kbd{font-size:7px;padding:4px 5px}.welcome-note{display:flex;align-items:center;gap:8px;font-size:6px;letter-spacing:1.15px;color:#96b9b0;margin-top:24px}.welcome-note i{font-style:normal;font-size:11px}body.playing .welcome{display:none}
@keyframes welcome-arrive{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}
.reticle{position:fixed;left:50%;top:50%;width:22px;height:22px;z-index:3;transform:translate(-50%,-50%);display:none;pointer-events:none;align-items:center;justify-content:center}.reticle span{width:4px;height:4px;border-radius:50%;background:#fff0cd;box-shadow:0 0 0 1px #234748a0,0 0 6px #234748}.reticle:before{content:'';position:absolute;border:1px solid #fff0cd65;border-radius:50%;width:16px;height:16px}body.playing.first-person .reticle{display:flex}
.interact-prompt{position:fixed;bottom:103px;left:50%;transform:translateX(-50%);z-index:8;display:flex;align-items:center;gap:13px;min-width:255px;max-width:calc(100vw - 36px);padding:11px 17px 11px 11px;border:1px solid #e5e8bf75;border-radius:17px;background:#173b42de;backdrop-filter:blur(20px);box-shadow:inset 0 1px #f1f5d817,0 0 40px #f3df9015,0 10px 30px #102d3638;text-align:left;animation:interaction-arrive .35s var(--ease)}.interact-prompt:hover{background:#2e5357ed;border-color:#fff1b0;box-shadow:0 0 40px #f3df9028,0 10px 30px #102d3638}.interact-prompt:active{transform:translateX(-50%) translateY(1px)}.interact-prompt>kbd{font-size:17px;padding:8px 13px;background:#f1dcaa;color:#284644;border-color:#fff2c8;border-radius:10px;box-shadow:0 2px 0 #bdae80}.interact-prompt small{display:block;font-size:6px;letter-spacing:1.8px;color:#f1dea5;margin-bottom:5px}.interact-prompt strong{display:block;font-size:11px;font-weight:500}.interact-arrow{margin-left:auto;padding-left:13px;color:var(--gold);font-size:19px}@keyframes interaction-arrive{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
.game-footer{position:fixed;left:35px;right:35px;bottom:27px;z-index:4;display:flex;align-items:center;gap:24px;pointer-events:none}.journey{display:flex;align-items:center;gap:11px;pointer-events:auto;padding:10px 13px;border:1px solid #e3ecd324;border-radius:22px;background:#12323988;backdrop-filter:blur(14px);font-size:10px;white-space:nowrap}.journey button{display:flex;align-items:center;gap:6px;padding:0;background:none;border:0;color:#bdd2c6;font-size:9px}.journey button:hover,.journey button.active,.journey button[aria-current='location']{color:#f2e3b9}.journey>span{color:#a2c1b378;font-size:11px}.journey-dot{width:4px;height:4px;border-radius:50%;background:currentColor}
.movement-tips{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:center;gap:15px;padding:9px 15px;border:1px solid #e2ead01d;border-radius:23px;background:#11303763;backdrop-filter:blur(15px);color:#d9e4ce;font-size:8px;white-space:nowrap}.movement-tips span{display:flex;align-items:center;gap:6px}.movement-tips kbd{font-size:7px;background:#cbe7d10a;padding:3px 5px}
.minimap-card{position:fixed;right:35px;bottom:27px;z-index:4;width:147px;padding:12px 10px 10px;border:1px solid #e0e9cf29;border-radius:19px;background:#14373eb0;backdrop-filter:blur(18px);box-shadow:inset 0 1px #edf5da08;pointer-events:none}.minimap-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;color:#d4e3cb;font-size:5px;letter-spacing:.9px;padding:0 1px 7px;line-height:1.5}#compass{color:var(--gold);font-size:9px;letter-spacing:.7px}#minimap{width:125px;height:125px;display:block;border-radius:12px}.minimap-key{font-size:5px;letter-spacing:1.1px;color:#bdd2c5;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:8px}.minimap-key i{width:4px;height:4px;background:#f5e4c4;border-radius:50%}.minimap-key span{width:5px;height:5px;border:1px solid var(--gold-dim);transform:rotate(45deg);margin-left:7px}body:not(.playing) .game-footer,body:not(.playing) .minimap-card{opacity:0;visibility:hidden}
.touch-controls{display:none;position:fixed;bottom:82px;left:20px;right:20px;z-index:5;align-items:end;justify-content:space-between;pointer-events:none}.direction-pad{position:relative;width:132px;height:132px;pointer-events:auto}.direction-pad button{position:absolute;width:43px;height:43px;border:1px solid #e0eee453;background:#193d48bb;border-radius:14px;color:#eee6bd;font-size:20px;backdrop-filter:blur(10px);touch-action:none;user-select:none;-webkit-user-select:none}.direction-pad button:active,.direction-pad button.pressed{background:#b3d5bac7;color:#26443d}.move-up{left:44px;top:0}.move-left{left:0;top:44px}.move-down{left:44px;top:88px}.move-right{left:88px;top:44px}.touch-interact{pointer-events:auto;width:64px;height:64px;margin-bottom:11px;border:1px solid #efe9bc7a;border-radius:50%;background:#17363fd6;color:var(--gold);font-size:23px;box-shadow:0 4px 20px #15383933;touch-action:none}.touch-interact small{display:block;font-size:6px;letter-spacing:.8px;margin-top:2px}.touch-interact:active{background:#617d65e0}body:not(.playing) .touch-controls{display:none}
.panel{position:fixed;z-index:12;right:23px;top:85px;bottom:24px;width:min(475px,calc(100vw - 40px));padding:31px 28px;background:linear-gradient(140deg,#0d1c2dfb,#091523f5);border:1px solid #bacee033;border-radius:14px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#69839955 transparent;backdrop-filter:blur(24px);box-shadow:0 25px 90px #0008}.close{position:absolute;right:15px;top:12px;display:grid;place-items:center;width:31px;height:31px;border:1px solid #ffffff1b;background:#ffffff04;border-radius:7px;font-size:24px;font-weight:300;line-height:1;color:#b8c7d4}.close:hover{background:#ffffff0d;color:#fff}.panel .eyebrow{max-width:calc(100% - 24px);font-size:8px;letter-spacing:1.4px}.panel h2{font-family:Manrope,Arial,sans-serif;font-size:26px;line-height:1.3;font-weight:500;letter-spacing:-.7px;margin:15px 0}.panel h3{font-size:12px;line-height:1.5;font-weight:600;margin:23px 0 8px;color:#e4edf5}.panel p{font-size:12px;line-height:1.8;color:#b7c6d5}.panel a{color:var(--gold);font-size:11px;line-height:1.6;text-underline-offset:3px}.badge{display:inline-block;font-size:9px;line-height:1.6;color:var(--gold);background:#efcf9106;border:1px solid #efcf9136;border-radius:4px;padding:5px 8px}.steps{display:grid;gap:8px;margin:15px 0}.step{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid #c5d9ed1a;background:#c2d8f005;border-radius:7px;color:#e4ebf2;text-align:left;font-size:11px;line-height:1.5}.step:hover{border-color:#efcf9165;background:#d6e8fa08}.step span{color:var(--gold);font-size:10px;min-width:27px}.step strong{font-weight:500}.path{padding:13px 14px;border-left:2px solid var(--gold-dim);background:#d1e1f108;border-radius:0 5px 5px 0;font-size:11px;line-height:1.85;color:#cedce8;overflow-wrap:anywhere}.back-link{border:0;background:none;padding:0;margin:0 0 18px;color:var(--gold);font-size:11px;line-height:1.5;text-align:left}.back-link:hover{color:#ffe5b8}.field{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;font-size:11px;line-height:1.5;color:#d5e1eb}.field input,.field select{width:120px;max-width:100%;border:1px solid #d0e2f12d;border-radius:6px;background:#152b3f;padding:9px 10px;color:#edf4fa;font-size:12px}.field input:focus,.field select:focus{border-color:var(--gold)}.result{padding:16px;border:1px solid #90d9ca42;background:#90d9ca08;border-radius:8px;margin-top:18px}.result strong{font-size:14px;color:var(--mint);font-weight:600}.result p{margin:8px 0 0;font-size:11px}.result.fail{border-color:#ffa28c50;background:#ffa28c09}.result.fail strong{color:#ffad96}.simulation-note{font-size:10px!important;line-height:1.7!important;color:#8ea4b9!important;padding-top:9px}.content-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:16px 0;border-bottom:1px solid var(--line);padding-bottom:9px}.content-tabs button{font-size:10px;background:transparent;border:1px solid transparent;border-radius:5px;color:#b9c9d8;padding:7px 10px}.content-tabs button:hover,.content-tabs button.active{border-color:#efcf9140;background:#efcf910c;color:var(--gold)}.lab-grid{display:grid;grid-template-columns:1fr;gap:12px}.lab-controls,.lab-summary{min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.stat{border:1px solid #c0d4e81c;background:#d1e2f105;border-radius:7px;padding:12px;font-size:10px;line-height:1.6;color:var(--muted)}.stat strong{display:block;color:#e6d1a6;font-size:17px;font-weight:500;margin-top:4px}.stat small{color:#8fa6ba;font-size:9px}.record-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0;font-size:9px;color:#96b0c6}.record-meta>*{padding:4px 7px;border:1px solid #d1e3f31f;border-radius:4px}.evidence{border:1px solid #d4e4f122;background:#c1daf606;border-radius:7px;padding:13px;margin-top:17px}.evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;color:#a7bece;line-height:1.7}.evidence-grid strong{display:block;color:#d6e1ec;font-size:10px;margin-bottom:3px}.source-link{display:inline-block;margin-top:16px}
/* Configuration content shares the same restrained in-world panel. */
.panel ul{padding-left:18px;font-size:11px;line-height:1.85;color:#b7c6d5}.panel li+li{margin-top:5px}.panel .record-meta{display:grid;grid-template-columns:minmax(110px,.85fr) minmax(0,1.15fr);gap:0;margin:14px 0}.panel .record-meta dt,.panel .record-meta dd{padding:9px 0;border:0;border-bottom:1px solid #d1e3f314;border-radius:0;font-size:10px;line-height:1.6}.panel .record-meta dt{color:#8fa8be;padding-right:13px}.panel .record-meta dd{color:#d1deea;margin:0;overflow-wrap:anywhere}.evidence p{margin:0}.result>span{display:block;border-top:1px solid #a1d6ca25;padding-top:12px;margin-top:13px;color:#9bb5bd;font-size:9px}.result>span+strong{display:block;font-size:22px;letter-spacing:-.5px;margin-top:4px}.result b{font-weight:600;color:#dae7ed}.field select{width:180px;font-size:10px}.stat small{display:block;margin-top:3px}.panel .field:has(input[type="search"]){display:block}.panel input[type="search"]{width:100%;margin-top:7px}
@media(max-width:380px){.field select{width:149px}.panel .record-meta{grid-template-columns:1fr 1.1fr}}

/* Discovery cards retain all functional learning content in an in-world notebook. */
.panel{background:linear-gradient(140deg,#14313cfb,#102832f9);border-color:#d9e7cc3c;border-radius:20px;box-shadow:0 20px 90px #071c3660;animation:panel-arrive .35s var(--ease)}.panel h2{font-weight:500;color:#f2f0d8}.panel p,.panel ul{color:#c0d1cc}.panel h3{color:#e2e9d5}.panel .close{border-radius:50%;color:#dde3ce}.panel .field input,.panel .field select{background:#234a50;color:#eef1dc;border-color:#d1e3bc2e}.panel .path{background:#bdd8c608;color:#d0e2d8}.panel .badge,.panel .content-tabs button.active{color:#efd7a0}.panel .record-meta dd{color:#d1ded6}.panel .stat{background:#afcdb608;border-color:#d3e1c327}.panel .stat strong{color:#f2dba2}.panel .result{background:#a9d9be0a;border-color:#b0dcb747}.panel .result strong{color:#c1e6c4}.panel .result.fail strong{color:#ffbc9c}.panel .result.fail{border-color:#ffaa8350}.panel .primary{font-size:11px}.panel .step{border-color:#c5d9bf2a;background:#c2d8bf06}.panel .step:hover{background:#d6e8c712;border-color:#ecdfa15f}
@keyframes panel-arrive{from{opacity:0;translate:12px 0}to{opacity:1;translate:0 0}}
.help-panel{position:fixed;z-index:18;left:50%;top:50%;transform:translate(-50%,-50%);width:430px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:30px;background:#12303af5;border:1px solid #dbe9ca49;border-radius:23px;box-shadow:0 0 0 100vmax #09253173,0 20px 90px #09263b60;backdrop-filter:blur(24px)}.help-panel h2{font-family:Manrope,Arial,sans-serif;font-size:23px;font-weight:500;letter-spacing:-.6px;margin:13px 0}.help-panel p{color:#bed2cb;font-size:12px;line-height:1.8}.help-controls{display:grid;gap:0;margin:22px 0}.help-controls>div{display:grid;grid-template-columns:136px 1fr;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #d9e6c920;font-size:11px}.help-controls dt{color:#e1e9d9}.help-controls dd{margin:0;color:#aec7bd}.help-controls kbd{font-size:9px;padding:3px 5px}.mobile-help{font-size:10px!important}.help-panel .primary{margin-top:7px}
body.panel-open .minimap-card{visibility:hidden}body.panel-open .reticle,body.panel-open .interact-prompt,body.panel-open .touch-controls{display:none}body.panel-open .movement-tips{opacity:0}
#toast{position:fixed;bottom:171px;left:50%;z-index:25;transform:translateX(-50%);width:max-content;max-width:min(440px,calc(100vw - 36px));padding:12px 17px;border:1px solid #dce8c844;border-radius:13px;background:#193f48ed;box-shadow:0 5px 25px #14343533;backdrop-filter:blur(14px);color:#dfebd9;font-size:10px;line-height:1.7;text-align:center;pointer-events:none;opacity:0;transition:opacity .25s,translate .3s;translate:0 5px}#toast.visible,#toast.show{opacity:1;translate:0 0}
#transition{position:fixed;inset:0;z-index:35;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#254c51,#102f3b 75%);opacity:0;transition:opacity .38s}#transition.active{opacity:1}.transition-mark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:64px;font-weight:400;color:#e8d9aa;opacity:.7}
#loading{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;background:radial-gradient(ellipse at 50% 43%,#254a52 0%,#12313d 55%,#102b36 100%)}.loading-kicker{font-size:8px;letter-spacing:3.1px;color:#c4d8bf;margin-bottom:27px}#loading strong{font-family:Manrope,Arial,sans-serif;font-size:23px;font-weight:500;letter-spacing:-.7px;color:#f4ecd1}#loading-status{font-size:10px;color:#b6cfc7;letter-spacing:.02em}.loading-orbit{position:relative;display:grid;place-items:center;width:78px;height:78px;margin-bottom:24px;border:1px solid #e2e5bd44;border-radius:24px;transform:rotate(45deg);box-shadow:0 0 45px #bce4c113}.loading-orbit:before,.loading-orbit:after{content:'';position:absolute;border:1px solid #d8e4be24;border-radius:17px;inset:10px;animation:orbit-breathe 2.6s ease-in-out infinite}.loading-orbit:after{inset:-11px;border-radius:31px;border-color:#d8e4be16;animation-delay:-1.3s}.loading-orbit span{font-size:43px;line-height:1;color:#f0dda2;transform:rotate(-45deg)}.loading-progress{width:173px;height:2px;margin-top:14px;overflow:hidden;background:#c8e4d522;border-radius:2px}.loading-progress>div{height:100%;width:38%;border-radius:2px;background:#d6e6bb;animation:loading-progress 1.7s ease-in-out infinite}.loading-tip{font-size:8px;color:#9fbdb5;letter-spacing:.025em;margin-top:20px}@keyframes orbit-breathe{0%,100%{opacity:.35;scale:1}50%{opacity:1;scale:1.045}}@keyframes loading-progress{0%{translate:-110% 0}100%{translate:370% 0}}
@media(min-width:1440px){.welcome{left:7vw;width:410px}h1{font-size:54px}.welcome>p{font-size:13px}.welcome-chapter{margin-bottom:26px}.explorer-intro{margin-bottom:29px}.welcome-controls{margin-top:27px}}
@media(max-width:1120px){.game-header{left:25px;right:25px}.objective{left:25px;width:223px;padding:15px}.welcome{left:5vw;width:350px}h1{font-size:43px}.game-footer{left:25px;right:25px}.movement-tips{gap:10px;padding:9px 12px}.movement-tips>span:nth-child(2){display:none}.minimap-card{right:25px;width:130px}#minimap{width:108px;height:108px}.minimap-heading{font-size:4px}.panel{width:435px}}
@media(max-width:880px){.movement-tips{left:auto;right:183px;transform:none}.movement-tips>span:last-child{display:none}.objective{width:214px}.welcome{left:6vw;width:335px}h1{font-size:41px}}
@media(max-width:760px){
 .game-header{top:max(17px,env(safe-area-inset-top));left:17px;right:17px;gap:12px}.brand{gap:9px}.brand-mark{width:35px;height:35px;border-radius:11px}.brand-mark svg{width:29px;height:29px}.brand strong{font-size:13px}.location{font-size:7px;gap:5px;margin-top:3px}.view-controls{gap:6px}.hud-button{height:33px;padding:0 10px;font-size:9px;gap:5px}.hud-button.icon-button{width:33px;font-size:15px}.hud-button svg{width:16px;height:16px}#view-label{font-size:0}.hud-button kbd{display:none}body.playing #reset-view{display:none}
 .welcome-scrim{background:linear-gradient(180deg,#10354210 0%,#0c2e3a0d 20%,#0c2e3a73 46%,#0c2e3aec 100%)}.welcome{left:25px;top:auto;bottom:27px;transform:none;width:min(340px,calc(100vw - 50px));padding:0;animation:none}.welcome-chapter{font-size:7px;letter-spacing:1.7px;margin-bottom:14px;gap:10px}.welcome-chapter>span:first-child{font-size:9px;padding:5px 6px}.welcome-chapter i{width:29px}h1{font-size:38px;line-height:1.12;letter-spacing:-1.7px;margin:0 0 13px}.welcome>p{font-size:10px;line-height:1.8;margin-bottom:16px}.explorer-intro{margin-bottom:19px;gap:9px}.explorer-icon{width:36px;height:36px;border-radius:11px}.explorer-icon svg{width:30px;height:30px}.explorer-intro strong{font-size:9px}.explorer-intro small{font-size:8px}.start-button,.welcome .text-button{width:260px;max-width:100%}.start-button{font-size:11px;padding:13px 16px}.welcome .text-button{font-size:9px;padding-top:13px}.welcome-controls{font-size:7px;gap:15px;margin-top:15px}.welcome-controls kbd{font-size:6px;padding:3px 4px}.welcome-note{font-size:5px;letter-spacing:.8px;margin-top:17px}
 .objective{top:81px;left:17px;width:205px;padding:12px 13px;border-radius:13px}.objective .eyebrow{font-size:6px;letter-spacing:1.1px}.quest-diamond{font-size:15px}.objective h2{font-size:11px;margin:7px 0 5px}.objective p{font-size:8px;line-height:1.7}.objective button{font-size:8px;margin-top:9px;padding-top:9px}.objective button>span:last-child{font-size:13px}
 .game-footer{left:17px;right:17px;bottom:max(20px,env(safe-area-inset-bottom));justify-content:center}.journey{padding:10px 15px;gap:12px}.journey button{font-size:9px}.movement-tips{display:none}.minimap-card{right:17px;bottom:auto;top:81px;width:100px;padding:9px 7px 8px;border-radius:14px}.minimap-heading{font-size:0;padding:0 1px 3px;gap:0;justify-content:flex-end}#compass{font-size:7px}#minimap{width:84px;height:84px;border-radius:9px}.minimap-key{font-size:4px;gap:3px;margin-top:5px;letter-spacing:.5px}.minimap-key i{width:3px;height:3px}.minimap-key span{width:4px;height:4px;margin-left:3px}
 .touch-controls{display:flex;bottom:82px;left:17px;right:17px}.interact-prompt{bottom:89px;min-width:0;max-width:calc(100vw - 165px);padding:10px 11px;gap:7px;border-radius:11px;left:51%}.interact-prompt>kbd{display:none}.interact-prompt small{font-size:6px;margin-bottom:3px;letter-spacing:1px}.interact-prompt strong{font-size:9px;line-height:1.6}.interact-arrow{font-size:13px;padding-left:0}
 .panel{right:10px;left:10px;top:65px;bottom:12px;width:auto;padding:28px 21px;border-radius:17px}.panel h2{font-size:24px}.panel p{font-size:11px}.panel h3{font-size:11px}.field{font-size:10px}.field input,.field select{font-size:11px;padding:8px}.panel .eyebrow{font-size:7px}.path{font-size:10px}.step{font-size:10px;padding:11px}.help-panel{padding:25px}.help-panel h2{font-size:22px}.help-controls>div{font-size:10px;grid-template-columns:125px 1fr}.help-panel p{font-size:11px}#toast{bottom:236px;max-width:calc(100vw - 40px);font-size:10px;padding:10px 13px}body.panel-open .objective,body.panel-open .game-footer{visibility:hidden}
 #loading strong{font-size:18px;letter-spacing:-.5px}.loading-tip{max-width:270px;text-align:center;line-height:1.7;font-size:8px}
}
@media(pointer:coarse) and (min-width:761px){.touch-controls{display:flex;right:190px}.movement-tips{display:none}.interact-prompt{bottom:105px}}
@media(max-width:380px){.game-header{left:14px;right:14px}.brand strong{font-size:11px}.view-controls{gap:4px}.hud-button.icon-button{width:30px;height:30px}.hud-button{height:30px}.objective{left:14px;width:181px}.minimap-card{right:14px;width:87px}#minimap{width:71px;height:71px}.minimap-key{display:none}.welcome{left:23px;width:calc(100vw - 46px);bottom:23px}.welcome h1{font-size:36px}.direction-pad{transform:scale(.85);transform-origin:left bottom}.touch-interact{width:56px;height:56px}.interact-prompt{max-width:calc(100vw - 145px);left:52%;bottom:94px}.interact-prompt strong{font-size:8px}.interact-arrow{display:none}.panel .record-meta{grid-template-columns:1fr 1.1fr}.field select{width:149px}}
@media(max-height:700px) and (min-width:761px){.welcome{transform:translateY(-42%)}.welcome-chapter{margin-bottom:16px}h1{font-size:40px;margin-bottom:15px}.welcome>p{font-size:11px;margin-bottom:18px}.explorer-intro{margin-bottom:20px}.welcome-controls{margin-top:17px}.welcome-note{margin-top:18px}}
@media(max-height:560px) and (min-width:600px){.game-header{top:15px}.objective{top:73px;width:205px;padding:10px 13px}.objective p{font-size:8px}.objective h2{font-size:11px}.welcome{top:50%;bottom:auto;transform:translateY(-39%);left:5vw;width:310px}.welcome-chapter{margin-bottom:10px}.welcome h1{font-size:31px;margin:0 0 11px}.welcome>p{font-size:9px;margin-bottom:12px;line-height:1.65}.explorer-intro{display:none}.start-button{padding:11px 15px}.welcome-controls{margin-top:10px}.welcome-note{margin-top:12px}.welcome .text-button{padding-top:11px}.minimap-card{width:109px;right:18px;bottom:17px;top:auto}#minimap{width:87px;height:87px}.minimap-key{font-size:4px}.game-footer{left:18px;bottom:18px;right:151px}.movement-tips{display:none}.interact-prompt{bottom:75px}.touch-controls{bottom:62px;right:139px}.direction-pad{transform:scale(.8);transform-origin:left bottom}.panel{top:64px;bottom:12px}.help-panel{padding:22px;max-height:calc(100dvh - 24px)}.help-controls{margin:12px 0}.help-controls>div{padding:7px 0}.mobile-help{display:none}}
@media(max-height:690px) and (max-width:599px){.welcome{bottom:22px}.welcome h1{font-size:33px}.welcome-chapter{margin-bottom:10px}.welcome>p{font-size:9px;margin-bottom:13px}.explorer-intro{display:none}.welcome-note{margin-top:12px}.welcome-controls{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:1ms!important;animation-iteration-count:1!important}.loading-progress>div{width:100%;opacity:.55}}

/* Case journeys and passport. */
#world-map{gap:7px}#passport-count{font-size:9px;font-weight:500;color:var(--mint);border-left:1px solid var(--line);padding-left:7px}.objective-progress{display:block;color:#bce3c7;font-size:9px;margin-top:13px;letter-spacing:.04em}.objective #module-overview{font-size:8px;border:0;padding:9px 0 0;margin:0;color:#bccec8;background:none}.journey{max-width:calc(100vw - 200px);flex-wrap:wrap}.journey button{white-space:normal}.panel.journey-panel{width:min(580px,calc(100vw - 40px));padding:32px;scrollbar-gutter:stable}.journey-panel h2{font-size:29px;line-height:1.18;margin:13px 0}.journey-panel p{font-size:12px;line-height:1.75}.journey-panel .primary{font-size:11px;padding:13px 16px}.wide{display:block;width:100%;text-align:center;margin-top:17px}.back-link,.process-kicker button{background:none;border:0;padding:0;color:#b5dbca;font-size:10px;margin-bottom:16px}.process-kicker{display:flex;justify-content:space-between;align-items:center;gap:12px}.process-kicker>span{font-size:10px;color:#9bb8b2;margin-bottom:16px}.case-ribbon{display:grid;gap:7px;border:1px solid #c2e2d12e;border-radius:12px;padding:15px;background:#b3d6cb0b;margin:18px 0}.case-ribbon strong{font-size:12px;font-weight:500;color:#e4ead2}.case-ribbon>span{font-size:9px;color:#abc8bd}.passport-summary{display:flex;align-items:center;gap:19px;padding:21px 0 25px;border-bottom:1px solid var(--line);margin-bottom:22px}.passport-summary>strong{font-family:Manrope,Arial,sans-serif;font-size:43px;font-weight:400;color:var(--gold)}.passport-summary strong small{font-size:17px;color:#91ada6}.passport-summary>div{display:grid;gap:6px;font-size:12px}.passport-summary>div>span{font-size:10px;color:#9ebcb1}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.world-card{display:flex;flex-direction:column;text-align:left;padding:18px 15px;border:1px solid #b4d5c52b;background:linear-gradient(145deg,#bdd8d00c,#7897a708);border-radius:15px;min-height:191px}.world-card:hover{border-color:var(--module);transform:translateY(-3px);background:#accabc13}.world-code{align-self:flex-start;color:var(--module);border:1px solid currentColor;border-radius:8px;padding:7px;font-size:11px;margin-bottom:17px}.world-card>strong{font-size:13px;margin-bottom:7px}.world-card>small{font-size:10px;line-height:1.6;color:#a9c4ba;min-height:34px}.world-card>span:last-child{font-size:9px;color:#b9cfc4}.world-card>span>b{float:right}.world-progress{height:3px;background:#aac7ba21;border-radius:3px;width:100%;margin:15px 0 10px;overflow:hidden}.world-progress>i{display:block;height:100%;background:var(--module)}.journey-list{display:grid;gap:9px;margin:19px 0}.journey-step{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #c4dbc92a;background:#bddbcc08;border-radius:12px;padding:14px 13px}.journey-step>span{color:#d6c498;font-size:13px;width:24px;flex-shrink:0}.journey-step.done>span{color:#98e7bc}.journey-step>div{flex:1}.journey-step strong{font-size:12px;font-weight:500;display:block}.journey-step small{font-size:9px;line-height:1.6;display:block;margin-top:4px;color:#a6bdb3}.journey-step>b{font-size:13px;font-weight:400;color:#c7d8bd}.journey-step:hover{background:#9edbb716;border-color:#bce4c264}.case-tools{display:flex;justify-content:space-between;gap:12px;margin:20px 0 12px}.case-tools button{border:0;background:none;color:#b6c4b4;font-size:9px;padding:0;text-decoration:underline;text-underline-offset:4px}.lesson-steps{counter-reset:lesson;display:grid;gap:19px;margin:23px 0}.lesson-steps section{border-left:2px solid #c8ae6c70;padding-left:17px}.lesson-steps section>span{font-size:8px;letter-spacing:1.8px;color:#d6c8a0}.lesson-steps section>p{margin:7px 0 0}.learning-source{margin-top:27px;border-top:1px solid var(--line);padding-top:17px}.learning-source a{color:#c0dfc6;font-size:10px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}.learning-source small{display:block;color:#90aaa2;font-size:9px;line-height:1.7;margin-top:9px}.scenario-fields{display:grid;gap:3px}.scenario-field{display:grid!important;grid-template-columns:1fr 180px!important;gap:14px!important;align-items:center;padding:11px 0!important}.scenario-field>span{font-size:11px}.scenario-field input,.scenario-field select{width:100%!important;min-width:0;padding:10px!important;background:#09222e80!important;border:1px solid #98c3ad45!important;border-radius:8px!important;color:#eff2dc;font-size:11px!important}.scenario-field select option{background:#14343e;color:#fff}.case-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.case-metrics>div{padding:13px 12px;border-radius:10px;background:#afcdb60b;border:1px solid #b5d2b524;overflow-wrap:anywhere}.case-metrics small{font-size:9px;display:block;line-height:1.5;color:#aac7b8}.case-metrics strong{font-size:17px;font-weight:500;display:block;margin-top:7px;color:#e5dec0;line-height:1.35}.rule-checks{list-style:none;padding:0;margin:17px 0;display:grid;gap:9px}.rule-checks li{display:flex;align-items:flex-start;gap:10px;font-size:10px;line-height:1.65;color:#c4d1c2}.rule-checks b{flex-shrink:0;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:10px;background:#bae5c614;color:#b0e8c4}.rule-checks .fail b{color:#f4b3a4;background:#de887624}.scenario-actions{display:grid;gap:10px}.scenario-actions>button:not(.primary){border:1px solid #a9cbb72d;border-radius:9px;background:#b9d5c209;padding:11px;text-align:left;font-size:10px;color:#c5d5c0}.scenario-actions>button:not(.primary):hover{background:#b9d5c217}.voucher{overflow-x:auto}.voucher table{width:100%;border-collapse:collapse;font-size:10px}.voucher th,.voucher td{padding:10px 7px;border-bottom:1px solid var(--line);text-align:right}.voucher th:first-child,.voucher td:first-child{text-align:left}.voucher th{font-size:8px;letter-spacing:.04em;color:#a6c3b4}.journey-panel .result{border-radius:12px;margin-top:17px;padding:14px;font-size:11px}.journey-panel .result.pass{background:#81c7a415;border:1px solid #9bdbb13e}.journey-panel .result.fail{background:#cc957811;border:1px solid #dcaa8440}.journey-panel .result p{font-size:10px;margin-bottom:0}.journey-panel .simulation-note{font-size:9px;line-height:1.8;color:#9fb3a7}.journey-panel .text-button{line-height:1.7;font-size:10px}
@media(max-width:880px){#world-map>span{display:none}.game-header{gap:10px}.view-controls{gap:5px}.hud-button{padding:0 10px}#view-label{font-size:8px}.objective{width:220px}.objective-progress{font-size:8px}}
@media(max-width:600px){.panel.journey-panel{inset:66px 10px 12px;width:auto;padding:25px 20px}.journey-panel h2{font-size:25px}.world-grid{gap:9px}.world-card{padding:15px 12px;min-height:185px}.world-card>strong{font-size:11px}.world-card>small{font-size:9px}.scenario-field{grid-template-columns:1fr 143px!important;gap:10px!important}.scenario-field>span{font-size:10px}.case-metrics strong{font-size:15px}#passport-count{font-size:8px}#world-map{padding:0 8px}.objective #module-overview{font-size:7px}.objective-progress{margin-top:8px}.journey{max-width:calc(100vw - 145px)}.journey button{font-size:8px}}

@media(min-width:601px){#world-map>span{display:inline}}
.scenario-field{margin:0!important;padding:8px 0!important}.scenario-fields{gap:5px}
/* Source-to-pay links: facts from Procurement are shown read-only; prefilled values stay editable. */
.linked-ribbon{flex-wrap:wrap}.linked-ribbon .text-button{padding:6px 0 0;width:100%}.linked-note{display:block;margin-top:3px;font-size:8px;letter-spacing:.06em;color:#b9d0c8}.scenario-field.linked input[readonly]{background:#1b3d44;color:#cfe3da;border-style:dashed;cursor:default}
/* Unlaunched worlds keep their card and door but show a sign instead of progress. */
.world-soon{display:block;margin-top:12px;font-size:9px;letter-spacing:.08em;color:#e9d7b0}.world-soon b{float:right}
/* Welcome modes: Explore (the world) and Play (Month-End) are two doors into the same rooms. */
.welcome-modes{display:grid;gap:10px;width:281px;max-width:100%}.welcome .mode-card{display:grid;grid-template-columns:1fr auto;grid-template-areas:"kicker arrow" "title arrow" "text arrow";align-items:center;column-gap:12px;width:auto;text-align:left;text-decoration:none;border-radius:13px;padding:14px 17px;cursor:pointer}.mode-card .mode-kicker{grid-area:kicker;font-size:7px;letter-spacing:2px;font-weight:700;opacity:.75;line-height:1}.mode-card strong{grid-area:title;display:block;font-size:12px;font-weight:700;margin-top:5px;line-height:1.3}.mode-card small{grid-area:text;display:block;font-size:9px;line-height:1.55;margin-top:5px;font-weight:400;opacity:.85}.mode-card>span:last-child{grid-area:arrow;font-size:20px;font-weight:400;line-height:1}.mode-play{background:#0f2f3acc;color:#f1e9c9;border:1px solid #e8d8a24a;box-shadow:0 6px 25px #0f3a3530;backdrop-filter:blur(8px);transition:transform .2s var(--ease),background .2s,border-color .2s}.mode-play:hover{background:#163b47dd;border-color:#f0dc9f8a;transform:translateY(-2px)}.mode-play .mode-kicker{color:#f0d79a;opacity:1}
@media(max-width:760px){.welcome-modes{width:260px}}
@media(max-height:700px) and (min-width:761px){.welcome-modes{gap:7px}.welcome .mode-card{padding:11px 14px}.mode-card small{display:none}}
@media(max-height:690px) and (max-width:599px){.mode-card small{display:none}.welcome .mode-card{padding:11px 14px}}

/* The exit link sits among the HUD buttons. */
a.hud-button{text-decoration:none}
