/* Scene-first presentation, isolated from the household application. */
.rj{--ink:#23443a;--paper:#faf3e2;background:#f7f0df;color:var(--ink)}
.rj header{max-width:1260px;margin:auto;padding:16px 26px;border-bottom:1px solid #ded3bc}
.rj nav button{font:600 13px system-ui}
.rj main{max-width:1180px}
.rj .hud{max-width:1180px;font-size:12px;color:#526859}
.rj h1{font-weight:500;letter-spacing:-.045em}
.rj .eyebrow{color:#857454;font-size:11px;font-weight:650}
.rj .world-layout{display:grid;grid-template-columns:minmax(0,680px) 1fr;gap:44px;align-items:center}
.rj #world-stage{position:relative;overflow:hidden;border-radius:26px;box-shadow:0 18px 45px #72552b25;background:#d6dfb6}
.rj .world-fallback{position:absolute;inset:0}
.rj .world-fallback svg{width:100%;height:100%;display:block}
.rj .world-journal{padding:24px 4px}
.rj .world-journal h2{font:40px/1.15 Georgia;letter-spacing:-.03em}
.rj .world-journal p{font:15px/1.7 system-ui;max-width:285px}
.rj .world-legend{display:grid;gap:18px;font:12px system-ui;text-transform:uppercase;letter-spacing:.13em;margin:36px 0;border-top:1px solid #cbbd9d;padding-top:24px}
.rj .phaser-stage{position:relative;width:100%;isolation:isolate}
.rj .phaser-host{position:absolute;inset:0;z-index:1}
.rj .phaser-host canvas{display:block;max-width:100%;touch-action:pan-y}
.rj .stage-target{position:absolute;z-index:3;transform:none;border:2px solid #f6e8c2;border-radius:12px;background:#28543fed;color:#fff9e9;padding:6px 8px;font:600 clamp(12px,1.4vw,17px)/1.2 system-ui;box-shadow:0 5px 0 #25433033;min-height:44px;overflow-wrap:anywhere}
.rj .stage-target:hover{background:#376d51}
.rj .stage-target:focus-visible{outline:4px solid #e49a40;outline-offset:4px}
.rj .stage-loading{position:absolute;z-index:4;left:20px;right:20px;top:20px;background:#fff9e8;padding:12px;border-radius:12px;font:13px system-ui}
.rj [data-renderer=phaser]~#food-fallback{display:none}
.rj [data-renderer=phaser] .world-fallback{visibility:hidden}
.rj .food-menu button{padding:0 0 20px;overflow:hidden;background:#fff9e9;border-color:#d4c5a4;border-radius:18px}
.rj .food-menu button>strong,.rj .food-menu button>small{display:block;padding:0 16px}
.rj .food-menu button>svg{width:100%;height:auto;display:block;margin-bottom:12px}
.rj .visual-workspace{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:30px}
.rj .visual-workspace .food-stage{padding:0;overflow:hidden;min-height:0;box-shadow:0 12px 32px #72552b18}
.rj #food-fallback{position:absolute;inset:0;pointer-events:none}
.rj .ingredient-label{background:#fff8e7;color:#37503c;border-color:#ccba8f;box-shadow:none;font-size:clamp(11px,1.2vw,15px)}
.rj .ingredient-label:hover{background:#f1e1b8}
.rj .ingredient-label[aria-pressed=true]{background:#d4e3af;color:#274631;border-color:#618448}
.rj .stage-guidance{position:absolute;z-index:2;left:5%;right:5%;top:35%;text-align:center;pointer-events:none;font:clamp(11px,1.25vw,15px)/1.4 system-ui;color:#5e4b2f;margin:0}
.rj .activity-instruction{font:17px/1.5 system-ui;margin-top:0}
.rj .controls{font-family:system-ui}
.rj .controls .caption{font-size:11px}
.rj .controls button{font-size:14px}
.rj .visual-workspace #finish{width:100%;margin-bottom:6px}
.rj #alternate-controls{border:1px solid #d5c6a7;border-radius:12px;padding:0 14px;background:#f2e8d2}
.rj #alternate-controls summary{font-size:14px;font-weight:600}
.rj .intro{text-align:center;max-width:880px;padding:12px 0}
.rj .intro h1{font-size:clamp(45px,7vw,76px);margin:14px 0 22px}
.rj .intro .scene{border-radius:28px}
.rj .intro>p:not(.eyebrow){font:16px/1.6 system-ui;max-width:460px;margin:24px auto}
.rj .intro .actions{justify-content:center}
.rj .intro #skip{font:600 17px system-ui;padding:16px 30px;border-radius:30px}
.rj .intro details{font:13px system-ui}
.rj .intro details label{text-align:left}
.rj .pages .page{border-radius:3px 16px 16px 3px}
@media(max-width:700px){
 .rj header{padding:12px 14px}.rj .brand span{font-size:21px}.rj nav{margin-top:8px}.rj nav button{font-size:12px;padding:6px 8px}
 .rj .hud{margin-top:9px;gap:8px;align-items:start}.rj .hud span:last-child{text-align:right;max-width:54%}
 .rj #notice:empty{min-height:0;margin:0;padding:0}
 .rj main{padding-top:4px}.rj h1{font-size:35px;margin:8px 0 16px}
 .rj .world-layout{display:block}.rj #world-stage{border-radius:20px}
 .rj .world-journal{padding:20px 2px 0}.rj .world-journal h2{font-size:27px;margin:4px 0}
 .rj .world-journal p{max-width:none;margin:8px 0;font-size:13px}
 .rj .world-journal .world-legend,.rj .world-journal>.caption{display:none}
 .rj .stage-target{font-size:12px;padding:4px;border-radius:9px}
 .rj .visual-workspace{display:block}.rj .visual-workspace>section:first-child{position:sticky;top:0;z-index:5;background:var(--paper);padding:6px 0}
 .rj .visual-workspace>section:first-child>.actions{margin:7px 0}.rj .visual-workspace>section:first-child>.actions button{font-size:12px;padding:6px 10px}
 .rj .visual-workspace #state-summary{font-size:11px;margin:5px 0}
 .rj .visual-workspace .controls{padding-top:14px}
 .rj .food-menu{grid-template-columns:1fr 1fr}.rj .food-menu button>strong,.rj .food-menu button>small{padding:0 10px}
 .rj .food-menu button>small{font-size:11px;line-height:1.45}
 .rj .ingredient-label{font-size:11px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.rj *{scroll-behavior:auto}}
