.r3-home{margin:0 auto 20px;padding:22px;max-width:920px;border:1px solid #bfcdb9;border-radius:24px;background:#fffbed;color:#284e41;box-sizing:border-box}.r3-home h2{font-size:1.4rem;margin:8px 0 14px}.r3-home p{line-height:1.65;margin:12px 0}.r3-home small{display:block;line-height:1.6}.r3-actions,.r3-intents{display:flex;flex-wrap:wrap;gap:8px}.r3-home button,.r3-home a,.r3-kitchen button,.r3-kitchen a{min-height:44px;padding:10px 14px;border:1px solid #92ab97;border-radius:14px;color:#254b3d;background:#fffbed;font:inherit;box-sizing:border-box;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.r3-home [aria-pressed=true]{background:#dceacf;border-color:#306b56;box-shadow:inset 0 0 0 1px #306b56}.r3-home a{background:#286e59;color:#fffbed}.r3-home :focus-visible,.r3-kitchen :focus-visible{outline:3px solid #b66e30;outline-offset:3px}.r3-kitchen{position:absolute;z-index:4;top:76px;right:18px;width:min(360px,calc(100% - 36px));box-sizing:border-box;background:#fffbedee;padding:10px;border-radius:16px;color:#254b3d}.r3-kitchen p{font-size:12px;line-height:1.5;margin:8px 0 0}.r3-kitchen button:disabled{opacity:.55;cursor:default}.r3-kitchen [hidden],.r3-home [hidden]{display:none!important}@media(max-width:600px){.r3-home{margin:0 12px 16px;padding:16px}.r3-intents button{flex:1 1 100%}.r3-actions{gap:6px}.r3-home .r3-actions>*{flex:1 1 100%}.r3-kitchen{top:70px;right:10px;width:calc(100% - 20px);padding:8px}.r3-kitchen .r3-actions>*{flex:1 1 auto;padding:8px;font-size:12px}.r3-kitchen p{max-height:3em;overflow:auto}.r3-kitchen:has(+.lanterns){top:70px}}@media(max-height:480px){.r3-kitchen{top:65px;width:300px}.r3-kitchen p{display:none}}
/* Keep the new shortcuts out of the original task, camera and answer surfaces. */
#game[data-phase=intro] .r3-kitchen,#game[data-phase=complete] .r3-kitchen{display:none}
#game:has(.r3-kitchen) .camera-tools{top:205px}
@media(max-width:700px){#game:has(.r3-kitchen){grid-template-rows:auto auto auto minmax(170px,1fr) auto}.r3-kitchen{position:relative;grid-row:2;top:auto;right:auto;width:calc(100% - 24px);margin:47px auto 0}.r3-kitchen p{display:none}#game:has(.r3-kitchen) .objective{grid-row:3;margin-top:12px}#game:has(.r3-kitchen) .scene-space{grid-row:4}#game:has(.r3-kitchen) .play{grid-row:5}#game:has(.r3-kitchen) .camera-tools{top:60px}}
@media(max-height:480px) and (min-width:701px){#game:has(.r3-kitchen) .camera-tools{top:140px}}
@media(max-height:480px) and (min-width:701px){.r3-kitchen{width:360px}#game:has(.r3-kitchen) .camera-tools{top:145px}}
/* Short landscape pages scroll in reading order, including an expanded hint. */
@media(max-height:480px) and (min-width:701px){#game:has(.r3-kitchen){display:grid;grid-template-rows:auto auto auto minmax(170px,1fr) auto;padding-bottom:16px}.r3-kitchen{position:relative;grid-row:2;top:auto;right:auto;width:calc(100% - 56px);margin:12px auto 0}#game:has(.r3-kitchen) header{grid-row:1}#game:has(.r3-kitchen) .objective{position:relative;grid-row:3;top:auto;left:auto;margin:12px 28px 0;max-width:335px}#game:has(.r3-kitchen) .scene-space{grid-row:4;height:auto;min-height:170px}#game:has(.r3-kitchen) .play{position:relative;grid-row:5;right:auto;bottom:auto;width:calc(100% - 56px);max-width:400px;margin:0 auto}#game:has(.r3-kitchen) .camera-tools{top:165px}}
