/* 六套服装共用柔白水膜，水滴边缘和内侧折射取自各自的服装配色。 */
.persona-bubble-field {
  position:relative;
  display:block;
  width:min(100%,980px);
  height:clamp(330px,38vw,420px);
  min-height:0;
}
.persona-bubble-1 { --x:2%; --y:39%; --w:17.5%; --drop-color:#98e5df; --drop-pearl:#d1f1fe; --drop-edge:#76c7cb; --ink:#305b65; --tilt:-6deg; --drift:6px; --duration:8.6s; --phase:-2s }
.persona-bubble-2 { --x:21%; --y:15%; --w:15.5%; --drop-color:#c5bedb; --drop-pearl:#f2e3ee; --drop-edge:#b0a5c8; --ink:#57536c; --tilt:5deg; --drift:-5px; --duration:7.7s; --phase:-4s }
.persona-bubble-3 { --x:34%; --y:57%; --w:18.5%; --drop-color:#a3c9f1; --drop-pearl:#d5eaff; --drop-edge:#85ade3; --ink:#3f5d82; --tilt:-3deg; --drift:7px; --duration:9.3s; --phase:-1s }
.persona-bubble-4 { --x:50%; --y:2%; --w:17%; --drop-color:#f2c9b3; --drop-pearl:#fff0ce; --drop-edge:#e4b5a6; --ink:#79584f; --tilt:6deg; --drift:-6px; --duration:8.1s; --phase:-3s }
.persona-bubble-5 { --x:65%; --y:48%; --w:19%; --drop-color:#edbcd7; --drop-pearl:#cdeaff; --drop-edge:#d8b3d7; --ink:#78556e; --tilt:-5deg; --drift:5px; --duration:9.7s; --phase:-6s }
.persona-bubble-6 { --x:83%; --y:20%; --w:16%; --drop-color:#bbdef3; --drop-pearl:#dbcff1; --drop-edge:#9db9db; --ink:#465b78; --tilt:3deg; --drift:-5px; --duration:8.2s; --phase:-1.5s }
.persona-bubble-field .persona-bubble[data-persona] {
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:var(--w);
  aspect-ratio:1.18;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  border:0;
  border-radius:30%;
  background:transparent;
  box-shadow:none;
  transform:none;
  isolation:isolate;
  -webkit-tap-highlight-color:transparent;
}
.persona-bubble-field .persona-bubble::before { content:none }
.persona-bubble-field .persona-bubble-shine {
  position:absolute;
  inset:-6%;
  display:grid;
  place-items:center;
  transform:rotate(var(--tilt));
  border:0;
  border-radius:0;
  background:none;
  filter:drop-shadow(0 5px 7px rgba(112,155,191,.16));
  transition:transform .3s ease-out;
  pointer-events:none;
}
.persona-bubble-shine svg { display:block; width:100%; height:100%; overflow:visible }
.persona-bubble-field .persona-bubble-name {
  z-index:2;
  color:var(--ink);
  font:600 clamp(15px,1.55vw,19px)/1.3 var(--site-font,'Microsoft YaHei'),sans-serif;
  letter-spacing:.07em;
  padding-inline-start:.07em;
  -webkit-text-stroke:1.2px #fffffff0;
  paint-order:stroke fill;
  text-shadow:0 1px 4px #fff;
  pointer-events:none;
}
.persona-bubble-field .persona-bubble:focus-visible { outline:2px solid var(--ink); outline-offset:5px }
.persona-score-summary .button-row { margin-top:9px }
.persona-score-summary .persona-button-small { min-height:30px; padding:4px 11px }
@media(hover:hover) {
  .persona-bubble-field .persona-bubble:hover:not(:focus-visible) { outline:none }
  .persona-bubble-field .persona-bubble:hover .persona-bubble-shine { transform:translateY(-2px) rotate(var(--tilt)) scale(1.03) }
}
@media(prefers-reduced-motion:no-preference) {
  .persona-scene.is-inview .persona-bubble-field .persona-bubble { animation:none }
  .persona-scene.is-inview .persona-bubble-field .persona-bubble > span {
    animation:persona-heart-drift var(--duration) ease-in-out var(--phase) infinite;
  }
  .persona-scene.is-inview .persona-bubble-field .persona-bubble:is(:hover,:focus-visible) > span { animation-play-state:paused }
  @keyframes persona-heart-drift {
    0%,100% { translate:0 4px }
    38% { translate:var(--drift) -7px }
    67% { translate:calc(var(--drift) * .3) -10px }
  }
  .persona-scene.is-revealed:not(.is-changing)[data-entering='persona_pajamas'] .persona-stage { animation:persona-pajamas-enter .7s ease-out both }
  .persona-scene.is-changing[data-exiting='persona_pajamas'] .persona-stage { animation:persona-pajamas-exit .8s ease-in both }
  .persona-scene.is-revealed:not(.is-changing)[data-entering='persona_nurse'] .persona-stage { animation:persona-nurse-enter .65s ease-out both }
  .persona-scene.is-changing[data-exiting='persona_nurse'] .persona-stage { animation:persona-nurse-exit .8s ease-in both }
  @keyframes persona-pajamas-enter {
    from { opacity:0; transform:translate(-10px,18px) scale(.98) }
    to { opacity:1; transform:none }
  }
  @keyframes persona-pajamas-exit {
    from { opacity:1; transform:none }
    to { opacity:0; transform:translate(9px,-18px) scale(.985) }
  }
  @keyframes persona-nurse-enter {
    from { opacity:0; transform:translate(22px,-5px) }
    to { opacity:1; transform:none }
  }
  @keyframes persona-nurse-exit {
    from { opacity:1; transform:none }
    to { opacity:0; transform:translate(-22px,4px) }
  }
  .persona-scene.is-quick-switch.is-revealed:not(.is-changing)[data-entering] .persona-stage,
  .persona-scene.is-quick-switch.is-assembling:not(.is-changing) .persona-portrait { animation-duration:.32s }
}
@media(max-width:700px) {
  .persona-bubble-field { width:min(100%,440px); height:clamp(365px,106vw,480px) }
  .persona-bubble-1 { --x:6%; --y:3%; --w:34% }
  .persona-bubble-2 { --x:57%; --y:10%; --w:30% }
  .persona-bubble-3 { --x:14%; --y:34%; --w:37% }
  .persona-bubble-4 { --x:63%; --y:42%; --w:32% }
  .persona-bubble-5 { --x:3%; --y:66%; --w:37% }
  .persona-bubble-6 { --x:53%; --y:73%; --w:33% }
  .persona-controls .persona-axis { flex-wrap:wrap; justify-content:center; gap:6px }
  .persona-controls .persona-axis-item { min-width:0; padding-inline:12px }
}
@media(prefers-reduced-motion:reduce) {
  .persona-bubble-field .persona-bubble:hover .persona-bubble-shine { transform:rotate(var(--tilt)) }
  .persona-bubble-field .persona-bubble-shine { transition:none }
}

/* 装饰和滚动泡泡只保留淡色和轮廓。 */
.persona-scene .persona-sparkles i{background:#c9e5f55e;border:1px solid #94c6df9c;box-shadow:none}
.persona-scene .persona-sparkles i:nth-child(3n){background:#f4d5e65e;border-color:#dcb1c59c}
.scroll-bubble-layer .scroll-bubble:nth-child(n){background:#c9e5f56b;border-color:#94c6dfaa;box-shadow:none}
.scroll-bubble-layer .scroll-bubble:nth-child(3n){background:#f4d5e65e;border-color:#dcb1c5aa}
.scroll-bubble-layer .scroll-bubble::after{display:none}
