.sx-mascot { position: relative; isolation: isolate; overflow: hidden; padding: 16px; background: linear-gradient(155deg, color-mix(in srgb, #f1dcd0 24%, var(--sx-card)), var(--sx-card) 68%); }
.sx-mascot-heading, .sx-mascot-intro, .sx-mascot-foot { display: flex; align-items: center; justify-content: space-between; }
.sx-mascot-heading { font-size: 12px; font-weight: 600; color: var(--sx-muted-foreground); }
.sx-mascot-edition { font-size: 9px; letter-spacing: .18em; font-weight: 500; opacity: .65; }
.sx-mascot-stage { position: relative; display: block; width: 100%; height: 180px; border: 0; padding: 0; margin: 5px 0 4px; background: transparent; border-radius: 16px; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.sx-mascot-ground { position: absolute; bottom: 12px; left: 50%; width: 120px; height: 13px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, #6a4d4520, transparent 70%); z-index: -1; }
.sx-mascot-portrait { position: absolute; width: 210px; height: 181px; max-width: 100%; left: 50%; top: 0; transform: translateX(-50%); object-fit: contain; }
.sx-mascot-canvas { position: absolute; inset: 0; pointer-events: none; }
.sx-mascot-canvas canvas { display: block; width: 100%; height: 100%; }
.sx-mascot[data-engine="webgl"] .sx-mascot-portrait { visibility: hidden; }
.sx-mascot-spark { position: absolute; color: #ca9e65; font-size: 18px; }
.sx-mascot-spark-a { right: 19px; top: 35px; transform: rotate(14deg); }
.sx-mascot-spark-b { left: 19px; bottom: 38px; font-size: 16px; color: #9eaf8f; }
.sx-mascot-intro strong { display: flex; align-items: baseline; gap: 8px; font-size: 17px; letter-spacing: .06em; }
.sx-mascot-intro strong span { font-size: 10px; font-weight: 400; color: var(--sx-muted-foreground); letter-spacing: .03em; }
.sx-mascot-live { width: 6px; height: 6px; border-radius: 50%; background: #9eb792; box-shadow: 0 0 0 4px #9eb79219; }
.sx-mascot-message { color: var(--sx-muted-foreground); font-size: 11px; margin: 7px 0 14px; line-height: 1.7; min-height: 19px; }
.sx-mascot-moods { display: flex; padding: 3px; gap: 3px; background: color-mix(in srgb, var(--sx-muted-foreground) 6%, transparent); border-radius: 10px; }
.sx-mascot-moods button { flex: 1; padding: 8px 2px; background: none; border: 0; border-radius: 7px; color: var(--sx-muted-foreground); font: inherit; font-size: 11px; cursor: pointer; }
.sx-mascot-moods button[aria-pressed="true"] { background: var(--sx-card); color: var(--sx-primary-strong); box-shadow: 0 1px 5px #46312f0d; }
.sx-mascot-foot { margin-top: 9px; gap: 8px; min-height: 28px; color: var(--sx-muted-foreground); font-size: 9px; }
.sx-mascot-hint { flex: 1; }
.sx-mascot-pause, .sx-mascot-foot a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; padding: 2px; color: inherit; font: inherit; border: 0; background: transparent; cursor: pointer; }
.sx-mascot-pause[hidden] { display: none; }
.sx-mascot-foot a svg { width: 13px; height: 13px; }
.sx-mascot button:focus-visible, .sx-mascot a:focus-visible { outline: 2px solid var(--sx-primary); outline-offset: 3px; }
.sx-mascot button:hover, .sx-mascot-foot a:hover { color: var(--sx-primary); }
.sx-mascot[data-mood="rest"] .sx-mascot-live { background: #a4a1bc; box-shadow: 0 0 0 4px #a4a1bc19; }
@media (max-width: 1099px) {
  .sx-mascot-moods button { min-height: 44px; }
  .sx-mascot-foot button, .sx-mascot-foot a { min-width: 44px; min-height: 44px; }
}
