/* A single HeartBeat character; explicit SVG dimensions prevent oversized icons. */
.hb-mascot-scene{display:inline-flex;align-items:center;justify-content:center;flex:none;width:110px;max-width:100%;line-height:0;pointer-events:none;user-select:none;vertical-align:middle}
.hb-mascot-scene>.hb-mascot{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:12/11;overflow:visible}
.hb-mascot .hm-glove{fill:#fff9f7;stroke:#b93a52;stroke-width:2.3}
.hb-mascot .hm-figure{transform-origin:120px 195px;filter:drop-shadow(0 3px 2px #5a243214)}
.hb-mascot .hm-logo{transform-origin:120px 100px}
.hb-mascot .hm-wave{transform-origin:75px 112px}
.hb-mascot .hm-right{transform-origin:165px 113px}
.hb-mascot .hm-left{transform-origin:76px 114px}
.hb-mascot .hm-leg-left{transform-origin:104px 134px}
.hb-mascot .hm-leg-right{transform-origin:134px 134px}
.hb-mascot .hm-phone{transform-origin:177px 80px}
.hb-mascot .hm-lens{transform-origin:176px 131px}
.hb-mascot .hm-book,.hb-mascot .hm-newspaper,.hb-mascot .hm-camera{transform-origin:117px 157px}
.hb-mascot-heading{display:flex;align-items:center;gap:12px;min-width:0;max-width:100%}
.hb-mascot-heading>h2{min-width:0;flex:0 1 auto}
.hb-mascot-heading>.hb-mascot-scene{width:83px;align-self:center}
.home .section-head>div{min-width:0}
.home .news-desk-heading>.hb-mascot-heading{flex:0 1 auto}
/* Banners reserve a column for the mascot rather than overlaying the title. */
.hb-mascot-banner .bmc-banner-inner{display:grid;grid-template-columns:minmax(0,1fr) clamp(120px,14vw,195px);grid-template-rows:auto auto;align-items:center;gap:0 30px}
.hb-mascot-banner .bmc-banner-inner>h1{grid-column:1;grid-row:1;max-width:100%}
.hb-mascot-banner .bmc-banner-crumb{grid-column:1;grid-row:2;max-width:100%}
.hb-mascot-banner .hb-banner-character{grid-column:2;grid-row:1/3;width:100%;justify-self:end;align-self:center;filter:drop-shadow(0 9px 7px #001c3028)}
.hb-mascot-banner>.bmc-flight{width:clamp(100px,12vw,180px);inset:0 21% auto auto;opacity:.65}
.hb-mascot-banner .hm-shadow{fill:#00000032}
.news-reading-meta .hb-news-character{width:86px;margin-left:auto}
.hb-assistant-launcher .hb-assistant-launcher-heart{width:58px;height:54px;overflow:visible;background:transparent;border:0;border-radius:0}
.hb-assistant-launcher-heart>.hb-mascot-scene{width:65px;max-width:none}
@media(prefers-reduced-motion:no-preference){
 .hb-mascot .hm-figure{animation:hm-friendly-breathe 4.6s ease-in-out infinite}
 .hb-mascot .hm-logo{animation:hm-logo-beat 2.8s ease-in-out infinite}
 .hb-mascot:not(.hm-walk) .hm-left{animation:hm-arm-sway 4.6s ease-in-out infinite}
 .hb-mascot:not(.hm-walk) .hm-leg-right{animation:hm-foot-tap 5.6s ease-in-out infinite}
 .hb-mascot .hm-phone-arm{transform-origin:163px 115px;animation:hm-arm-sway 4.6s ease-in-out infinite alternate}
 .hb-mascot .hm-wave{animation:hm-friendly-wave 5s ease-in-out infinite}
 .hb-mascot.hm-walk .hm-figure{animation:hm-walk-bob .65s ease-in-out infinite alternate}
 .hb-mascot.hm-walk .hm-leg-left,.hb-mascot.hm-walk .hm-right{animation:hm-walk-stride .65s ease-in-out infinite alternate}
 .hb-mascot.hm-walk .hm-leg-right,.hb-mascot.hm-walk .hm-left{animation:hm-walk-stride .65s ease-in-out infinite alternate-reverse}
 .hb-mascot.hm-walk .hm-dust{animation:hm-soft-sound 1.3s ease-out infinite}
 .hb-mascot .hm-lens{animation:hm-examine 5s ease-in-out infinite}
 .hb-mascot .hm-book,.hb-mascot .hm-newspaper{animation:hm-read 6s ease-in-out infinite}
 .hb-mascot .hm-camera{animation:hm-camera-lift 7s ease-in-out infinite}
 .hb-mascot .hm-flash{animation:hm-camera-glint 7s ease-in-out infinite}
 .hb-mascot .hm-sound{animation:hm-soft-sound 3.5s ease-in-out infinite}
 .hb-mascot .hm-pin{animation:hm-pin-lift 4s ease-in-out infinite}
 .hb-mascot .hm-greeting{animation:hm-soft-sound 5s ease-in-out infinite}
 @keyframes hm-friendly-breathe{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -5px;rotate:1deg}}
 @keyframes hm-logo-beat{0%,35%,100%{scale:1}10%{scale:1.045}18%{scale:1}26%{scale:1.025}}
 @keyframes hm-arm-sway{0%,100%{rotate:-4deg}50%{rotate:7deg}}
 @keyframes hm-foot-tap{0%,65%,100%{rotate:0deg}75%,90%{rotate:-7deg}82%,96%{rotate:0deg}}
 @keyframes hm-friendly-wave{0%,15%,50%,100%{rotate:0deg}22%,38%{rotate:-14deg}30%,44%{rotate:9deg}}
 @keyframes hm-walk-bob{from{translate:0 0}to{translate:0 -3px}}
 @keyframes hm-walk-stride{from{rotate:-10deg}to{rotate:10deg}}
 @keyframes hm-examine{0%,100%{translate:0 0;rotate:0deg}45%,60%{translate:-10px -7px;rotate:-8deg}}
 @keyframes hm-read{0%,100%{rotate:0deg;translate:0 0}45%,65%{rotate:-3deg;translate:0 -4px}}
 @keyframes hm-camera-lift{0%,25%,75%,100%{translate:0 0}40%,60%{translate:0 -9px}}
 @keyframes hm-camera-glint{0%,40%,60%,100%{opacity:.12}48%,53%{opacity:.85}}
 @keyframes hm-soft-sound{0%,60%,100%{opacity:.22}30%{opacity:.9}}
 @keyframes hm-pin-lift{0%,100%{translate:0 0}50%{translate:0 -5px}}
}
/* Animations pause outside the viewport, in background tabs, or on request. */
.hb-mascot-scene:not(.hm-visible) .hb-mascot,.hb-mascot-scene:not(.hm-visible) .hb-mascot *,html.hm-tab-hidden .hb-mascot,html.hm-tab-hidden .hb-mascot *,html[data-coast-paused="true"] .hb-mascot,html[data-coast-paused="true"] .hb-mascot *{animation-play-state:paused!important}
@media(max-width:760px){
 .hb-mascot-banner .bmc-banner-inner{grid-template-columns:minmax(0,1fr) 95px;gap:0 18px}
 .hb-mascot-banner .bmc-banner-inner>h1{max-width:100%;font-size:clamp(28px,6.3vw,44px)}
 .hb-mascot-banner>.bmc-flight{inset:0 30% auto auto;width:90px}
 .hb-mascot-heading>.hb-mascot-scene{width:65px}
 .hb-mascot-heading{gap:9px}
}
@media(max-width:650px){
 .hb-assistant-launcher .hb-assistant-launcher-heart{width:46px;height:44px}
 .hb-assistant-launcher-heart>.hb-mascot-scene{width:55px}
 .home .hb-mascot-heading>h2{font-size:clamp(26px,6.6vw,34px)}
 .home .section-head,.home .news-desk-heading{flex-wrap:wrap}
 .home .news-desk-heading::after{display:none}
 .home .section-head>.hb-mascot-heading,.home .news-desk-heading>.hb-mascot-heading{max-width:100%}
 .news-reading-meta .hb-news-character{width:67px}
}
@media(max-width:520px){
 .hb-mascot-banner .bmc-banner-inner{grid-template-columns:minmax(0,1fr) 72px;gap:6px 10px}
 .hb-mascot-banner .bmc-banner-inner>h1{grid-column:1/-1;grid-row:1}
 .hb-mascot-banner .bmc-banner-crumb{grid-column:1;grid-row:2;margin-block:6px 0}
 .hb-mascot-banner .hb-banner-character{grid-column:2;grid-row:2;align-self:center}
 .hb-mascot-banner>.bmc-flight{display:none}
 .hb-mascot-heading>.hb-mascot-scene{width:58px}
}
@media(prefers-reduced-motion:reduce){.hb-mascot,.hb-mascot *{animation:none!important;transition:none!important}.hb-mascot .hm-flash{opacity:.3}}
