/* Mascotte GRETA : décoration, aucune interception des contrôles. */
.gh-mascot{width:40px;height:44px;object-fit:contain;flex:none;pointer-events:none;vertical-align:middle}
.gh-launch .gh-mascot{width:42px!important;height:46px!important;margin:-7px 0}
.gh-head>div:first-child{min-width:0}
.gh-head .gh-eyebrow{display:flex;align-items:center;gap:10px}
.gh-head .gh-mascot{width:48px;height:52px}
.gh-tour .gh-head .gh-mascot{width:30px;height:32px}
.gh-intro .gh-spark{display:none}
.asr-companion summary{display:flex;align-items:center;gap:9px}
.asr-companion summary .gh-mascot{width:40px;height:44px;margin:-6px 0}
@media(max-width:600px){.gh-launch .gh-mascot{width:38px!important;height:42px!important;margin:0}.gh-launch:has(.gh-mascot){min-width:54px;min-height:54px}.gh-head .gh-mascot{width:40px;height:44px}}

/* Huit mimiques ; une seconde planche conserve les quatre premières expressions. */
.gh-pet{display:inline-block!important;flex:none;background-image:url('greta-expressions-20261022.png');background-size:200% 200%;background-repeat:no-repeat;background-position:0 0;pointer-events:none;transform-origin:50% 85%}
.gh-pet[data-mood="1"],.gh-pet[data-mood="5"]{background-position:100% 0}
.gh-pet[data-mood="2"],.gh-pet[data-mood="6"]{background-position:0 100%}
.gh-pet[data-mood="3"],.gh-pet[data-mood="7"]{background-position:100% 100%}
.gh-pet[data-mood="4"],.gh-pet[data-mood="5"],.gh-pet[data-mood="6"],.gh-pet[data-mood="7"]{background-image:url('greta-expressions-plus-20261022.png')}
.gh-launch .gh-pet{width:64px!important;height:64px!important;margin:-7px 0}
.gh-head>div:first-child{flex:1;min-width:0}
.gh-buddy{display:flex;align-items:center;gap:12px;margin:14px 0 0;min-width:0;max-width:100%}
.gh-head .gh-buddy .gh-pet{width:96px!important;height:96px!important;margin:0}
.gh-panel .gh-buddy .gh-pet-bubble,.asr-help-panel .gh-pet-bubble{position:relative;flex:1;min-width:0;margin:0!important;padding:13px 15px;border:1px solid #abc9c1;border-radius:17px;background:#eef7f3;color:#234f45;font:500 13px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;opacity:1}
.gh-pet-bubble:before{content:'';position:absolute;left:-7px;top:calc(50% - 6px);width:12px;height:12px;background:inherit;border-left:1px solid #abc9c1;border-bottom:1px solid #abc9c1;transform:rotate(45deg)}
.gh-tour .gh-buddy{gap:10px;margin-top:10px}
.gh-tour .gh-head .gh-buddy .gh-pet{width:64px!important;height:64px!important}
.gh-tour .gh-buddy .gh-pet-bubble{padding:9px 11px;font-size:12px}
.gh-tour.gh-auto-compact .gh-head .gh-eyebrow{display:none!important}
.gh-tour.gh-auto-compact .gh-buddy,.gh-tour.gh-minimized .gh-buddy{margin-top:6px}
.gh-tour.gh-auto-compact .gh-head .gh-buddy .gh-pet,.gh-tour.gh-minimized .gh-head .gh-buddy .gh-pet{width:50px!important;height:50px!important}
.gh-tour.gh-auto-compact .gh-buddy .gh-pet-bubble,.gh-tour.gh-minimized .gh-buddy .gh-pet-bubble{font-size:11px;padding:7px 10px}
.asr-companion summary .gh-pet{width:64px!important;height:64px!important;margin:-5px 0}
.asr-help-panel .gh-buddy{margin:12px 0 18px}.asr-help-panel .gh-buddy .gh-pet{width:84px!important;height:84px!important}
.gh-pet-react{animation:gh-pet-hello .65s ease-out 1}
.gh-launch:hover .gh-pet,.asr-companion summary:hover .gh-pet{transform:rotate(-9deg)}
@keyframes gh-pet-hello{0%{transform:rotate(0)}28%{transform:rotate(-10deg) translateY(-3px)}62%{transform:rotate(7deg)}100%{transform:rotate(0)}}
[data-theme="dark"] .gh-pet-bubble,body.dark .gh-pet-bubble,html.dark .gh-pet-bubble{background:#203f3c!important;color:#ecfff6!important;border-color:#668f83!important}
@media(max-width:600px){.gh-launch .gh-pet{width:58px!important;height:58px!important;margin:0}.gh-head .gh-buddy .gh-pet{width:80px!important;height:80px!important}.gh-buddy{gap:10px;margin-top:12px}.gh-panel .gh-buddy .gh-pet-bubble{padding:10px 12px;font-size:12px}.gh-tour .gh-head .gh-buddy .gh-pet{width:58px!important;height:58px!important}.gh-tour .gh-buddy .gh-pet-bubble{font-size:11px;padding:8px 10px}.asr-companion summary .gh-pet{width:58px!important;height:58px!important}.asr-help-panel .gh-buddy .gh-pet{width:64px!important;height:64px!important}}
@media(prefers-reduced-motion:reduce){.gh-pet,.gh-pet-react{animation:none!important;transition:none!important;transform:none!important}}
/* Le mode compact masque les sous-titres, pas la bulle du compagnon. */
.gh-panel .gh-head .gh-buddy .gh-pet-bubble{display:block!important}
