/* 聊天页角落的小人：没有底框、没有背景，只站在这儿 */
.chibi {
  position: fixed;
  right: 10px;
  bottom: 84px;
  width: 104px;
  height: 104px;
  margin: 0;
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  z-index: 3;
}
.chibi-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
}
.chibi-say {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 6px);
  transform: translateX(-50%);
  text-shadow: 0 1px 3px #16090c;
  color: rgba(240, 226, 196, .9);
  font-family: "LXGW WenKai TC", "LXGW WenKai GB", serif;
  font-size: 11.5px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

/* 逐帧校色：数值取自 G 的试播页（--hair-brightness），让每一帧跟母版一个调 */
.chibi[data-frame="idle"] .chibi-img { filter: brightness(0.94) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.chibi[data-frame="shift"] .chibi-img { filter: brightness(0.90) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.chibi[data-frame="bored"] .chibi-img { filter: brightness(0.92) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.chibi[data-frame="love"] .chibi-img { filter: brightness(0.83) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.chibi[data-frame="phone"] .chibi-img,
.chibi[data-frame="tap"] .chibi-img,
.chibi[data-frame="draw"] .chibi-img { filter: brightness(0.94) drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }

@media (max-width: 600px) {
  .chibi { width: 136px; height: 136px; }
}
