/* 助手空间吉祥物 + 机器人墙 */
.mz { display: inline-block; width: var(--z, 40px); height: var(--z, 40px); flex: none; vertical-align: middle; line-height: 0; }
.mz svg { width: 100%; height: 100%; overflow: visible; display: block; }
.mz .mz-body { transform-box: view-box; transform-origin: 50px 92px; }
.mz .mz-eyes { transform-box: fill-box; transform-origin: center; }
.mz .mz-ring, .mz .mz-dots, .mz .mz-spark, .mz .mz-badge, .mz .e-work, .mz .e-done { display: none; }
.mz .e-idle { animation: mzBlink 4.2s infinite; }
.mz .mz-body { animation: mzBreath 4s ease-in-out infinite; }
.mz[data-s="think"] .mz-dots { display: inline; }
.mz[data-s="think"] .mz-dots circle { animation: mzDot 1.2s ease-in-out infinite; }
.mz[data-s="think"] .mz-dots circle:nth-child(2) { animation-delay: .2s; }
.mz[data-s="think"] .mz-dots circle:nth-child(3) { animation-delay: .4s; }
.mz[data-s="work"] .e-idle, .mz[data-s="done"] .e-idle { display: none; }
.mz[data-s="work"] .e-work { display: inline; }
.mz[data-s="work"] .mz-ring { display: inline; transform-box: view-box; transform-origin: 50px 54px; animation: mzSpin 1.1s linear infinite; }
.mz[data-s="work"] .mz-body { animation: mzBob .7s ease-in-out infinite; }
.mz[data-s="done"] .e-done, .mz[data-s="done"] .mz-spark { display: inline; }
.mz[data-s="done"] .mz-spark { transform-box: fill-box; transform-origin: center; animation: mzSpark 1.2s ease-out infinite; }
.mz[data-s="done"] .mz-body { animation: mzPop .9s cubic-bezier(.3, 1.6, .5, 1) infinite alternate; }
.mz[data-s="call"] .mz-badge { display: inline; transform-box: fill-box; transform-origin: center; animation: mzPulse 1.3s ease-in-out infinite; }
.mz[data-s="call"] .mz-body { animation: mzHop 1.3s cubic-bezier(.3, 1.4, .6, 1) infinite; }
.mz .mz-lamp { animation: mzLamp 2.4s ease-in-out infinite; }
.mz .mz-look { transition: transform .25s ease-out; }
@keyframes mzBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes mzBreath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985); } }
@keyframes mzDot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes mzSpin { to { transform: rotate(360deg); } }
@keyframes mzBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes mzPop { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes mzSpark { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes mzHop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(-9px) scale(.96, 1.04); } 38% { transform: translateY(0) scale(1.06, .94); } }
@keyframes mzPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes mzLamp { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* 机器人墙 */
.crowd-wrap { position: relative; padding: 64px 48px 48px; }
.crowd-head { position: relative; display: flex; justify-content: center; margin-bottom: 30px; }
.crowd-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; font-size: 14px; color: var(--ink-2); background: rgba(255, 255, 255, .7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow); }
.crowd-pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 199, 89, .2); animation: mzPulse 1.6s ease-in-out infinite; }
.crowd-pill b { color: var(--ink); }
.crowd { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cw { position: relative; display: grid; justify-items: center; gap: 6px; padding: 54px 10px 16px; border-radius: 24px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 20px 40px -28px rgba(30, 40, 90, .4); transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .4s; }
.cw[data-s="work"], .cw[data-s="think"] { background: rgba(255, 255, 255, .85); transform: translateY(-4px); }
.cw-say { position: absolute; top: 12px; left: 10px; right: 10px; display: flex; justify-content: center; min-height: 28px; }
.cw-say b { max-width: 100%; padding: 5px 10px; border-radius: 12px 12px 12px 4px; background: #fff; font-size: 11.5px; font-weight: 500; color: var(--ink-2); line-height: 1.35; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px) scale(.96); transition: opacity .35s, transform .35s; }
.cw[data-s="work"] .cw-say b, .cw[data-s="done"] .cw-say b, .cw[data-s="think"] .cw-say b { opacity: 1; transform: none; }
.cw[data-s="done"] .cw-say b { color: #1f8a3f; }
.cw-nm { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.cw-st { font-size: 11.5px; color: var(--faint); }
.cw[data-s="work"] .cw-st { color: var(--accent); }
.cw[data-s="done"] .cw-st { color: #1f8a3f; }

@media (max-width: 960px) {
  .crowd-wrap { padding: 40px 14px 24px; }
  .crowd { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cw { padding-top: 50px; --cz: 52px; }
  .crowd .cw:nth-child(n+7) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mz * { animation: none !important; } }

/* 首屏吉祥物游乐场：漂浮、跟手视差、点一下会回话 */
.hero { position: relative; }
.pg-field { position: absolute; inset: 0; pointer-events: none; }
.pg { position: absolute; left: var(--x); top: var(--y); width: var(--z); height: var(--z); padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); -webkit-tap-highlight-color: transparent; }
.pg > .fl { display: block; width: 100%; height: 100%; animation: pgFloat var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate; }
.pg .mz { width: 100%; height: 100%; filter: drop-shadow(0 14px 16px rgba(40, 50, 120, .18)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.pg:hover .mz { transform: scale(1.12) rotate(-5deg); }
.pg .say { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translate(-50%, 6px) scale(.9); white-space: nowrap; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink); padding: 6px 11px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 20px -8px rgba(30, 40, 90, .35); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.pg.talk .say { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pg.far { filter: blur(1px); opacity: .7; }
.pg.far .say { display: none; }
@keyframes pgFloat { from { transform: translateY(-7px) rotate(-3deg); } to { transform: translateY(7px) rotate(3deg); } }
@media (max-width: 1100px) { .pg-field { display: none; } }
@media (prefers-reduced-motion: reduce) { .pg > .fl { animation: none; } }
