/* Olav is invited from the header, leaving the cake and tools available. */
body[data-bakery-page]{--font-body:Nunito,sans-serif;--font-title:'Baloo 2',Nunito,sans-serif}
body[data-bakery-page].has-olav-companion::after{display:none}
body[data-bakery-page] .help-button{display:inline-flex;overflow:hidden;width:auto;flex-basis:auto;gap:5px;padding:0 12px 0 3px;border-radius:999px;font-size:12px;white-space:nowrap}
.help-button img{width:36px;height:36px;object-fit:contain;pointer-events:none}
@media(max-width:760px){body[data-bakery-page] .help-button{flex-direction:column;width:56px;flex:0 0 56px;gap:0;padding:0;border-radius:14px;font-size:10px;line-height:12px}.help-button img{width:30px;height:30px}}
@media(min-width:761px) and (max-width:1100px){.game-header .wordmark{left:33%}}
body[data-bakery-page] .olav-companion{position:fixed!important;top:110px;left:18px!important;right:auto!important;bottom:auto!important;width:302px!important;max-width:calc(100vw - 36px);height:0;--olav-size:0px;--olav-available-height:calc(100dvh - 130px);z-index:70}
body[data-bakery-page] .olav-companion__perch,body[data-bakery-page] .olav-companion__restore{display:none!important}
body[data-bakery-page] .olav-companion:has(.olav-companion__bubble[hidden]):has(.olav-companion__options[hidden]){visibility:hidden}
body[data-bakery-page] .olav-companion__bubble{top:0!important;bottom:auto!important;left:0!important;right:auto!important;width:100%;max-width:100%}
body[data-bakery-page] .olav-companion__bubble-inner{max-height:calc(100dvh - 150px);padding-top:56px}
body[data-bakery-page] .olav-companion__tail{display:none}
body[data-bakery-page] .olav-companion__settings{position:absolute;top:10px;right:auto;left:18px;bottom:auto;pointer-events:auto;z-index:1}
body[data-bakery-page] .olav-companion__options{position:absolute;top:0;bottom:auto;left:0;right:auto;width:100%;max-height:calc(100dvh - 145px);overflow:auto;background:#fff9ed;border:1px solid #e4cf9c;border-radius:22px;padding:12px;box-sizing:border-box}
.blueberry-mission{font-size:12px;border-top:1px solid #d9ded0;padding-top:7px;margin-top:6px}
.blueberry-mission summary{font-weight:800;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px}
.blueberry-mission summary::before{content:'＋';font-size:18px}.blueberry-mission[open] summary::before{content:'−'}
.blueberry-mission p{line-height:1.5;margin:5px 0 10px}.blueberry-mission .quiet-button{padding:6px 10px;min-height:44px;margin:0 4px 4px 0}
.bakery-story-link{font-size:12px;text-align:center;color:var(--green-deep);margin-top:10px;grid-column:1/-1}
.bakery-help-basics{font-size:12px;color:var(--green-deep);background:none;border:0;min-height:44px;text-decoration:underline;cursor:pointer}
@media(max-width:760px){body[data-bakery-page] .olav-companion{top:110px;left:12px!important;max-width:calc(100vw - 24px)}.blueberry-mission{grid-column:1/-1}.tool-panel:has(.blueberry-mission){overflow:auto}.game-header .wordmark{min-width:0}.game-header .header-controls{gap:2px}.game-header .wordmark-short{font-size:17px}.game-header .home-link{padding:0 4px}.game-header .home-link span{display:none}}
@media(max-height:450px){body[data-bakery-page] .olav-companion{top:70px;left:12px!important}.olav-companion__bubble-inner{max-height:calc(100dvh - 85px)!important}}
@media(max-width:360px){.game-header .wordmark-short{font-size:14px}}

body[data-bakery-page] .olav-companion__head{position:absolute;top:16px;right:20px}
body[data-bakery-page] .olav-companion:has(.olav-companion__options:not([hidden])) .olav-companion__settings{display:none}
body[data-bakery-page] .welcome-card .bakery-story-link{display:block;margin-top:4px}

body[data-bakery-page] .tool-panel:has(.blueberry-mission){scroll-padding-bottom:64px}
body[data-bakery-page] .tool-panel:has(.blueberry-mission) #primary-action{position:sticky;bottom:0;z-index:1;box-shadow:0 8px 0 8px #fffdf7}
