/* Left guide faces her speech bubble. Source art is kept unchanged. */
:root{--garden-guide-height:clamp(146px,26.6dvh,240px);--garden-tutorial-reserve:264px}
body #tutorialCard{
 position:fixed;left:max(8px,env(safe-area-inset-left));right:auto;
 bottom:max(8px,env(safe-area-inset-bottom));transform:none;
 width:min(calc(100vw - 16px),620px);max-width:none;min-height:0;
 display:grid;grid-template-columns:calc(var(--garden-guide-height) * .671875) minmax(0,1fr);
 align-items:end;gap:12px;padding:0;border:0;background:transparent;box-shadow:none;
 pointer-events:none;
}
body #tutorialCard>img{
 display:block;width:100%;height:var(--garden-guide-height);object-fit:contain;
 transform:scaleX(-1);transform-origin:center;flex:none;
}
body #tutorialCard .tutorial-text{
 position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;
 max-height:min(38dvh,260px);padding:12px;border:1.5px solid #b8cba9;
 border-radius:18px;background:rgba(255,255,250,.97);box-shadow:0 3px 12px #213b3320;
 pointer-events:auto;
}
body #tutorialCard .tutorial-text::before{
 content:'';position:absolute;left:-10px;bottom:35px;width:18px;height:18px;
 transform:rotate(45deg);background:#fffffa;border-left:1.5px solid #b8cba9;
 border-bottom:1.5px solid #b8cba9;
}
body #gardenTutorialMessage{
 display:block!important;position:relative;min-height:0;max-height:180px;overflow-y:auto;
 flex:1 1 auto;margin:0;padding:0 2px 0 0;font-size:14px;line-height:1.65;
 color:#26362b;overflow-wrap:anywhere;overscroll-behavior:contain;touch-action:pan-y;
}
body #tutorialCard .tutorial-controls{display:flex;flex:none;justify-content:flex-end;margin-top:7px}
body #tutorialCard .tutorial-controls:has(#voiceReplay[hidden]){display:none}
body #tutorialCard #voiceReplay{width:36px;height:36px;min-height:36px;padding:0;border-radius:50%}
body.tutorial-mode .location{padding-bottom:var(--garden-tutorial-reserve)!important}
body.tutorial-mode #message{bottom:var(--garden-tutorial-reserve)!important}
@media(max-width:340px){body #tutorialCard{gap:10px}body #tutorialCard .tutorial-text{padding:10px}body #gardenTutorialMessage{font-size:13px}}

/* A low landscape tutorial shows both people at the same smaller scene scale. */
@media(max-height:480px) and (min-aspect-ratio:4/3){
 body.tutorial-mode #sceneHome .hero{height:min(clamp(220px,40dvh,360px),57.12140575dvh)}
 body.tutorial-mode #sceneHome .hero>img[data-art="home"]{object-fit:contain}
 body.tutorial-mode .destinations button{min-height:48px;padding:4px;gap:4px;flex-direction:row}
 body.tutorial-mode .destinations button i,body.tutorial-mode .destinations button svg{width:26px!important;height:26px!important}
}

