.dog-host{position:relative}
.dog-inline,.dog-panel img{box-sizing:border-box;object-fit:contain;border:1px solid rgb(150 150 160 / 24%);border-radius:50%;pointer-events:none}
.dog-inline{position:absolute!important;width:28px!important;height:28px!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
.dog-panel{display:flex;align-items:center;gap:10px;margin:8px 0;max-width:100%;font:inherit;font-size:.875rem;color:inherit}
.dog-panel img{display:block;width:56px;height:56px;flex:none}
.dog-panel.dog-banner{flex-wrap:wrap;justify-content:center;text-align:center}
.dog-banner img{width:min(200px,100%);height:auto;aspect-ratio:auto;border-radius:14px}
.goal-grid>.dog-panel{align-content:center;flex-direction:column;padding:12px;border-radius:16px;border:1px solid rgb(150 150 160 / 24%)}
.home-path-card>.dog-panel{order:0;flex-shrink:1}
.dog-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:5px 12px;border:1px solid currentColor;border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:.875rem;cursor:pointer}
.dog-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.dog-toggle img{width:28px;height:28px;object-fit:contain;border-radius:50%}
[data-dog-muted] :is(.dog-inline,.dog-panel),.dog-inline[hidden]{display:none!important}
@media(prefers-reduced-motion:no-preference){.dog-success img{animation:dog-praise .2s ease-out}@keyframes dog-praise{50%{transform:scale(1.05)}}}
@media(max-width:760px){.home-path-card{flex-wrap:wrap}.dog-banner img{width:min(160px,100%)}}

.aside-note~.dog-toggle{flex:none;align-self:stretch;white-space:nowrap}
.answer-composer>.dog-panel,.feedback>.dog-panel{grid-column:1/-1}
@media(min-width:481px){
 html[data-ui-theme]:not([data-dog-muted]) .learn.learn-v2 :is(.study-token-grid>.study-token.is-revealed,.grammar-tags>ul>li):has(>.dog-inline){padding-inline-end:36px}
}

.dog-inline,.dog-panel:not(.dog-banner) img{object-fit:cover;object-position:50% 42%}
:is(.beta-identity-card,.membership-auth-intro)>.dog-banner{flex-flow:column nowrap;align-items:flex-start;text-align:start;gap:8px;margin:0 0 16px}
:is(.beta-identity-card,.membership-auth-intro)>.dog-banner img{width:min(100%,320px)}
html[data-ui-theme] .records-page .data-list>div:has(>.dog-inline){padding-inline-end:48px}

@media (min-width:761px) and (max-width:1199px) {
  html[data-ui-theme] .home-dashboard .home-path-card {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
  }
  .home-path-card > .dog-banner { grid-column:2; grid-row:1 / span 2; margin:0; }
  .home-path-card > .dog-banner img { width:clamp(96px,14vw,160px); }
  html[data-ui-theme] .home-dashboard .home-path-card > .button {
    grid-column:1;
    justify-self:start;
    min-height:44px;
    white-space:nowrap;
  }
}
@media (min-width:761px) and (max-width:900px) {
  html[data-ui-theme] .beta-page:not(.beta-dev-page) .beta-identity-layout { grid-template-columns:minmax(0,1fr); }
}

@media (min-width:761px) and (max-width:800px) {
  .phoneme-study .phoneme-intro { grid-template-columns:minmax(0,1fr); }
  .phoneme-study .example-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
