/* v30 小塞待机问候轮播。所有句子叠放在同一个 grid 格子里，气泡尺寸取最大值，换句子时不发生布局位移 */
.xs-bub .tl{opacity:0;translate:0 6px}
.xs.il .xs-bub .t1,.xs.il .xs-bub .t2{opacity:0!important;translate:0 -6px!important}
.xs.il[data-l="1"] .xs-bub .tl1,.xs.il[data-l="2"] .xs-bub .tl2,.xs.il[data-l="3"] .xs-bub .tl3{opacity:1;translate:0 0}
.xs.st-msg .xs-bub .tl{display:none}
.xs.qz .xs-bub{cursor:pointer}
.xs .xs-body{transform-box:view-box;transform-origin:66px 126px}
.xs.g1 .xs-body{animation:xsNod 900ms cubic-bezier(.45,0,.55,1)}
.xs.g1 .xs-eyes{animation:blink 180ms ease-in-out 420ms}
.xs.g2 .xs-body{animation:xsProud 1200ms cubic-bezier(.34,1.3,.64,1)}
.xs.g2 .xs-arm{animation:xsProudArm 1200ms cubic-bezier(.45,0,.55,1)}
.xs.g2 .xs-spk>*{animation:spk 1200ms ease-out 200ms}
.xs.g3 .xs-body{animation:xsTilt 1600ms cubic-bezier(.45,0,.55,1)}
.xs .xs-armL{transform-box:view-box;transform-origin:32px 96px}
.xs.g3 .xs-look{animation:xsLook 1600ms cubic-bezier(.45,0,.55,1)}
@keyframes xsNod{0%,100%{rotate:0deg}30%{rotate:0deg;translate:0 3px}60%{translate:0 0}}
@keyframes xsProud{0%,100%{scale:1;translate:0 0}40%,70%{scale:1.03;translate:0 -3px}}
@keyframes xsProudArm{0%,100%{rotate:0deg}35%,75%{rotate:-62deg}}
@keyframes xsTilt{0%,100%{rotate:0deg}25%,80%{rotate:-6deg}}
@keyframes xsPoint{0%,100%{rotate:0deg}25%,80%{rotate:58deg}}
@keyframes xsLook{0%,100%{translate:0 0}25%,80%{translate:-4px 3px}}
@media (prefers-reduced-motion: reduce){.xs.g1 .xs-body,.xs.g2 .xs-body,.xs.g3 .xs-body,.xs.g1 .xs-eyes,.xs.g2 .xs-arm,.xs.g3 .xs-armL,.xs.g3 .xs-look,.xs.g2 .xs-spk>*{animation:none!important}}
/* 待机时所有宽度都保持气泡可见（桌面端原本会收起），供轮播使用 */
.s-hero .xs.idle .xs-bub{animation:none!important;opacity:1!important;scale:1!important}
/* v31 430–767px：气泡贴近小塞、收紧内边距，不压住 hero 标题 */
@media (min-width:430px) and (max-width:767px){.s-hero .xs-bub{right:calc(100% - 34px)!important;padding:4px 6px!important}}

/* v32 430–767px：气泡整体移到小塞头部左侧并留 4px 间隙，不压头/帽，也不压标题 */
@media (min-width:430px) and (max-width:767px){.s-hero .xs-bub{right:calc(100% - 14px)!important;padding:4px 7px!important;font-size:12px!important;line-height:1.35!important;max-width:132px!important}}
@media (min-width:430px) and (max-width:479px){.s-hero .xs-bub{max-width:88px!important;min-width:0!important;width:auto!important;white-space:normal!important;padding:4px 6px!important}}
.xs-bub,.xs-bub .tl,.xs-bub .t1,.xs-bub .t2{text-align:center!important}
@media (min-width:430px) and (max-width:479px){.s-hero .xs-bub{max-width:90px!important;padding:4px 5px!important}.s-hero .xs-bub .t2,.s-hero .xs-bub .tl{white-space:nowrap}}
/*dark:auto 由 theme.py 生成，勿手改*/

/*/dark:auto*/
