/* C316: размеры и положение рядом с формами. */
.hg-account-page .hg-auth-v2__figure img{height:145px}
.hg-store .hg-v34 .hg-v34-pose.hg-v34-prepare__pose--mobile{display:none}
@media (max-width:680px){.hg-store .hg-v34 .hg-v34-pose.hg-v34-prepare__pose--desktop{display:none}.hg-store .hg-v34 .hg-v34-pose.hg-v34-prepare__pose--mobile{display:block}}
/* Компактное окно использует тот же слот и остаётся в потоке страницы. */
.hg-store .hg-mascot[data-hg-sofa-chat],.hg-mascot[data-hg-sofa-chat]{display:flex;position:relative;align-items:center;gap:10px;min-width:0;max-width:640px;margin:16px 0;padding:10px 12px;border:1px solid var(--hg-line);border-radius:16px;background:var(--hg-white);color:var(--hg-ink)}
.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat]{display:flex;grid-area:say;align-self:start;margin:20px 0 0}
.hg-store .hg-mascot[data-hg-sofa-chat][hidden],.hg-mascot[data-hg-sofa-chat][hidden]{display:none}
.hg-store .hg-mascot[data-hg-sofa-chat] .hg-mascot-figure,.hg-mascot[data-hg-sofa-chat] .hg-mascot-figure{flex:0 0 52px;width:52px;height:52px;margin:0;overflow:hidden;border-radius:50%;background:var(--hg-soft)}
.hg-store .hg-mascot[data-hg-sofa-chat] .hg-mascot-figure img,.hg-mascot[data-hg-sofa-chat] .hg-mascot-figure img{width:100%;height:100%;max-width:100%;object-fit:cover}
html[data-theme=dark] .hg-store .hg-empty .hg-mascot[data-hg-sofa-chat] .hg-mascot-figure img{height:100%}
.hg-store .hg-mascot[data-hg-sofa-chat] .hg-mascot-bubble,.hg-mascot[data-hg-sofa-chat] .hg-mascot-bubble{flex:1 1 auto;min-width:0;max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.hg-store .hg-mascot[data-hg-sofa-chat] .hg-mascot-text,.hg-mascot[data-hg-sofa-chat] .hg-mascot-text{margin:0;color:var(--hg-ink);font-size:14px;line-height:1.5}
.hg-mascot[data-hg-sofa-chat] .hg-mascot-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hg-mascot[data-hg-sofa-chat] .hg-mascot-actions[hidden]{display:none}
.hg-mascot[data-hg-sofa-chat] .hg-mascot-action{display:inline-flex;align-items:center;min-height:36px;padding:5px 10px;border:1px solid var(--hg-line);border-radius:999px;text-decoration:none}
.hg-mascot[data-hg-sofa-chat] :is(.hg-sofa-toggle,.hg-mascot-dismiss){position:static;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;font-size:20px}
.hg-mascot[data-hg-sofa-chat] :is(.hg-sofa-toggle,.hg-mascot-dismiss):focus-visible{outline:2px solid var(--hg-red);outline-offset:2px}
/* C367: «блик» Ecomus button::after (position:absolute; left:150%; width:200%; skew) у этих кнопок со static считался от пузыря и уходил за правый край — горизонтальная прокрутка страницы. Как у дока и избранного: блика нет. */
.hg-mascot[data-hg-sofa-chat] :is(.hg-sofa-toggle,.hg-mascot-dismiss)::after{content:none}
.hg-mascot[data-hg-sofa-chat].hg-sofa-collapsed .hg-mascot-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Узкая карточка использует всю строку сетки; фигура остаётся у начала реплики. */
@media (max-width:680px){
.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat]{grid-column:1 / -1;width:100%;box-sizing:border-box}
.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat] .hg-mascot-figure{align-self:flex-start;margin:0}
.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat] .hg-mascot-bubble{align-self:flex-start;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat] .hg-mascot-bubble::before,.hg-store .hg-empty .hg-mascot[data-hg-sofa-chat] .hg-mascot-bubble::after{display:none}
.hg-store .hg-mascot[data-hg-sofa-chat="register"],.hg-store .hg-mascot[data-hg-sofa-chat="checkout"]{gap:6px;padding:10px 8px}
.hg-store .hg-mascot[data-hg-sofa-chat="register"] .hg-mascot-figure,.hg-store .hg-mascot[data-hg-sofa-chat="checkout"] .hg-mascot-figure{flex-basis:44px;width:44px;height:44px}
.hg-store .hg-mascot[data-hg-sofa-chat="register"] .hg-mascot-action,.hg-store .hg-mascot[data-hg-sofa-chat="checkout"] .hg-mascot-action{white-space:nowrap}
}
