/* MF026 approved concept: editable foreground, original 2D substrate, schematic effects. */
.mf-world{display:block;--world-blue:#073d68;--world-ink:#122c48;--world-gold:#94743a;color:var(--world-ink);background:#fdfaf1;border:1px solid #c8c8bc;border-radius:12px;margin:12px 0 18px;padding:18px;line-height:1.4}.mf-world *{box-sizing:border-box}.mf-world h2,.mf-world h3,.mf-world h4{font-family:Georgia,serif;letter-spacing:-.015em;color:var(--world-ink)}.mf-world button{font:inherit;min-height:44px;cursor:pointer;border:1px solid #c8c8bc;border-radius:8px;line-height:1.25;padding:10px 12px;background:#fffdf7;color:var(--world-ink);white-space:normal}.mf-world button:focus-visible,.mf-world [tabindex]:focus-visible{outline:3px solid #b58a29;outline-offset:3px}.world-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.world-title h2{font-size:clamp(23px,2.3vw,34px);font-weight:500;line-height:1.15;margin:0}.world-title>button{min-width:44px;flex:none}.world-kicker{font:700 10px/1.3 Arial,sans-serif!important;letter-spacing:.065em;margin:0 0 5px;color:#385775}.world-play{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px;align-items:stretch}.world-scene{position:relative;overflow:hidden;border-radius:8px;border:1px solid #174d70;isolation:isolate;aspect-ratio:3/2;max-width:720px;align-self:start;background:#07436d}.world-art{display:block;width:100%;height:100%;object-fit:fill;image-rendering:auto}.mf-world button.world-place{position:absolute;transform:translate(-50%,-50%);min-height:44px;font-size:clamp(11px,1vw,14px);padding:5px 8px;background:#fff5da;border-color:#af8a4b;box-shadow:0 2px 2px #00223933;z-index:2;white-space:nowrap}.mf-world button.world-place.current{background:#073d68;color:#fff8e7;border:2px solid #e8ca78}.world-avatar{position:absolute;transform:translate(-50%,-85%);z-index:3;filter:drop-shadow(0 2px 1px #00263d);transition:left .2s,top .2s;pointer-events:none}.world-avatar span{display:block;background:#ffe5a1;color:#103a57;border:2px solid #fff8dc;clip-path:polygon(50% 0,90% 25%,90% 75%,50% 100%,10% 75%,10% 25%);font:700 27px/1.3 Georgia;width:32px;text-align:center;animation:world-breathe 2.6s steps(2,end) infinite}.world-bridge{position:absolute;left:44%;top:51%;width:12%;height:16%;transform:rotate(-24deg);display:flex;gap:3px;align-items:center;pointer-events:none}.world-bridge i{width:30%;height:90%;border:1px dashed #fff8e7;background:#fff5cf20}.world-bridge.stage-1 i:first-child,.world-bridge.stage-2 i{border:2px solid #fff2c2;background:#e2cb93;box-shadow:1px 2px 0 #26495a}.world-signal{position:absolute;color:#fff4c4;background:#073d68;border:1px solid #f1dba4;font-size:24px;border-radius:5px;padding:0 7px;pointer-events:none}.world-map-note{position:absolute;left:8px;bottom:8px;padding:5px 8px;border-radius:4px;background:#053555ec;color:#fff8e7;font-size:11px;max-width:calc(100% - 16px)}.world-dpad{position:absolute;right:8px;bottom:40px;display:grid;grid-template-columns:repeat(4,44px);gap:3px}.mf-world .world-dpad button{background:#fbf4dfee;padding:5px;font-size:17px;min-width:44px}.world-mission{padding:16px 0;display:flex;flex-direction:column;justify-content:center;min-width:0}.world-mission h3{font-size:clamp(22px,2.1vw,29px);font-weight:500;line-height:1.2;margin:8px 0 20px}.world-actions{display:grid;gap:10px}.world-actions>button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;background:#fff4dc;min-height:52px;font-size:15px}.world-actions>button:first-of-type{background:#073d68;border-color:#073d68;color:#fffaf0}.world-actions>button span{font-size:22px}.world-effect{font-size:14px;margin:0 0 5px;color:#29475c}.world-question{font-size:13px;font-weight:700;margin:0 0 4px}.world-earned{font-weight:700;font-size:15px;border-left:3px solid #b39349;padding:8px 12px;margin:0}.world-status{font-size:12px;color:#3f5769;margin:8px 0}.world-status:empty{margin:0}.mf-world .world-direct{background:transparent;border-color:transparent;text-align:left;padding-left:0;color:#174566;margin-top:8px}.world-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #d4cfbd}.mf-world .world-bar>button{text-align:left;border-color:transparent;background:transparent;padding-left:0;font-weight:700}.world-bar>button>span{display:block;font-size:11px;font-weight:400;color:#4e6171;margin-top:3px}.world-lenses{display:flex;gap:5px;flex-wrap:wrap}.mf-world .world-lenses button{font-size:12px;padding:7px 10px;background:transparent}.mf-world .world-lenses button[aria-pressed=true]{border:2px solid #073d68;background:#edf2f5;padding:6px 9px}.world-caveat{font-size:11px!important;margin:8px 0 0!important;color:#4a5b6a}.world-inventory{padding:16px;border:1px solid #bea875;border-radius:8px;margin-top:12px;background:#fffdf7}.world-inventory h3{font-size:24px;margin:0 0 8px}.world-inventory p{font-size:14px}.world-inventory article{padding:12px 0;border-top:1px solid #e0dac9}.world-inventory h4{font-size:20px;margin:0 0 8px}.world-inventory small{font-size:12px;color:#4a5b6a}.world-downloads{display:flex;flex-wrap:wrap;gap:8px}.world-downloads button{font-size:13px;background:#073d68;color:#fffaf0}.world-context{font-size:12px;margin-top:10px}.world-context summary{cursor:pointer;min-height:44px;display:flex;align-items:center;list-style:revert;color:#3f566a}.world-context p{font-size:13px}.world-context button{font-size:13px}.world-paused *{animation:none!important;transition:none!important}@keyframes world-breathe{50%{transform:translateY(-3px)}}
/* One compact shell; the original desk, matrix and sources retain their routes. */
.mf-world-page main{padding-top:10px}.mf-world-page .vm-hero{padding:4px 0!important;margin:0!important;min-height:0}.mf-world-page .vm-hero h1{font:500 16px/1.2 Georgia,serif!important;margin:0}.mf-world-page .vm-stencil,.mf-world-page .vm-workshop{display:none}.mf-world-page .vm-role-buttons{margin:10px 0 0!important;gap:7px}.mf-world-page .vm-role-buttons button{min-height:44px!important;padding:7px 10px!important}.mf-world-page .vm-role-buttons button small{display:none}.mf-world-page .public-header{padding-top:8px;padding-bottom:8px}.mf-world-page .public-brand img{width:160px;height:40px}.mf-world-page .public-header>p{display:none}.mf-world-page .public-demo-badge{font-size:9px;padding:4px 7px}.mf-world-page .public-demo-badge small{font-size:9px}.content:has(.mf-world){padding-top:12px}.content:has(.mf-world) .workspace-switcher{margin-bottom:6px}.content:has(.mf-world) .home-command-bar{margin:4px 0}.content:has(.mf-world) .home-command-bar button{min-height:36px;font-size:11px;padding:5px 8px}
@media(max-width:650px){.mf-world{padding:10px;margin:8px 0 12px}.world-title{margin-bottom:8px;gap:5px}.world-title h2{font-size:22px}.world-title .world-kicker{font-size:9px!important}.world-play{grid-template-columns:minmax(0,1fr);gap:10px}.world-scene{aspect-ratio:3/2;max-height:270px;width:100%}.mf-world button.world-place{font-size:11px;padding:4px 6px}.world-dpad{display:none}.world-mission{padding:0}.world-mission h3{font-size:21px;margin:4px 0 10px}.world-actions{gap:7px}.world-actions>button{min-height:46px;font-size:14px;padding:9px 12px}.world-effect{font-size:13px}.world-direct{font-size:13px!important}.world-bar{gap:4px;margin-top:4px;padding-top:4px;align-items:flex-start}.world-lenses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}.mf-world .world-lenses button{padding:6px 3px;font-size:11px}.mf-world .world-lenses button[aria-pressed=true]{padding:5px 2px}.world-caveat{font-size:10px!important;line-height:1.4}.world-inventory{padding:12px}.mf-world-page main{padding:8px 10px 0}.mf-world-page .public-header{padding:6px 10px;gap:6px;flex-wrap:wrap}.mf-world-page .public-brand img{width:140px;height:38px}.mf-world-page .public-entry-nav{margin-left:auto}.mf-world-page .public-entry-nav a{display:none}.mf-world-page .public-demo-badge{width:auto;margin:0;font-size:9px}.mf-world-page .public-demo-badge small{display:none}.mf-world-page .vm-hero h1{font-size:13px!important}.mf-world-page .vm-role-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:6px!important;gap:4px}.mf-world-page .vm-role-buttons button{font-size:12px!important;padding:5px!important;gap:5px}.mf-world-page .vm-role-buttons button svg{width:16px}.content:has(.mf-world){padding:8px 10px}.content:has(.mf-world) .home-command-bar{margin:0}.content:has(.mf-world) .workspace-role-nav{gap:4px}.content:has(.mf-world) .workspace-role-nav button{font-size:11px}}
@media(max-height:500px) and (min-width:651px){.mf-world{padding:8px;margin:5px 0 10px}.world-title{margin-bottom:5px;align-items:center}.world-title h2{font-size:22px}.world-title>div>.world-kicker{display:none}.world-title>button{min-height:32px;width:44px;padding:3px}.world-play{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:12px}.world-scene{max-height:260px;aspect-ratio:3/2}.world-mission{padding:0}.world-mission h3{font-size:19px;margin:3px 0 8px}.world-kicker{font-size:9px!important}.world-actions{gap:5px}.world-actions>button{min-height:44px;font-size:13px;padding:7px 9px}.world-effect{font-size:12px;line-height:1.3;margin-bottom:1px}.world-question{font-size:12px;margin:0}.world-status{font-size:11px;line-height:1.3;margin:4px 0}.mf-world .world-direct{font-size:12px;min-height:44px;margin-top:0;padding:6px 0}.world-dpad{display:none}.world-bar{padding-top:4px;margin-top:4px;gap:4px}.world-lenses{gap:4px}.mf-world .world-lenses button{min-height:44px;font-size:11px;padding:5px 7px}.world-bar>button{font-size:12px}.world-bar>button>span{display:inline;margin-left:7px;font-size:10px}.world-caveat{font-size:10px!important;margin-top:3px!important}.mf-world-page .public-header{padding:4px 12px;height:48px}.mf-world-page main{padding:0 12px}.mf-world-page .vm-hero{padding:2px 0!important}.mf-world-page .vm-hero h1{font-size:12px!important}.mf-world-page .vm-role-buttons{margin-top:3px!important}.mf-world-page .vm-role-buttons button{font-size:12px!important;min-height:44px!important;padding:5px 8px!important}.mf-world-page .public-brand img{height:36px;width:145px}.mf-world-page .public-demo-badge small{display:none}.content:has(.mf-world){padding:4px 12px}.content:has(.mf-world) .workspace-switcher{margin:0}.content:has(.mf-world) .home-command-bar{margin:0;min-height:28px}.content:has(.mf-world) .workspace-role-nav button{min-height:44px;padding:5px 9px}.shell:has(.mf-world) .mf-task-shell{padding-top:0;padding-bottom:0}.shell:has(.mf-world) .mf-task-nav button{min-height:44px;padding-top:4px;padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){.mf-world *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.world-map-note small{color:#fff8e7;display:block;font:10px/1.4 Arial,sans-serif;margin-top:2px}.world-scene .world-map-note{max-width:calc(100% - 16px)}
@media(max-height:500px) and (min-width:651px){.mf-world-page .public-entry-nav a{display:none}.mf-world-page .vm-role-buttons{position:absolute;top:3px;left:170px;right:110px;z-index:2;margin:0!important;gap:3px}.mf-world-page .vm-role-buttons button{font-size:11px!important;padding:4px!important;gap:4px}.mf-world-page .vm-role-buttons button svg{display:none}.mf-world-page .public-demo-badge{display:none}.mf-world-page .public-entry-nav{margin-left:auto}.mf-world-page .world-scene{max-height:260px}.content:has(.mf-world) .world-scene{max-width:330px;max-height:220px}.content:has(.mf-world) .world-play{grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr)}}

.content:has(.mf-world) .living-workspace{width:100%}
