/* 状态栏 */
.card-widget .card-info-avatar {
  display: inline-block;
  position: relative;
}

.card-info-avatar .author-status-box {
  position: absolute;
  bottom: 0;
  right: 0; /* 改为 right: 0 更直观 */
  width: 28px;
  height: 28px;
  border: 1px solid #d0d7de;
  border-radius: 50%;
  background-color: rgba(248, 248, 248, 0.95);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

/* 深色模式 */
[data-theme="dark"] .card-info-avatar .author-status-box {
  background-color: rgba(34, 34, 34, 0.9);
  border-color: #5c6060;
}

/* 内容容器：包含 emoji + 文字 */
.card-info-avatar .author-status {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  color: var(--font-color);
}

/* 默认只显示 emoji，文字隐藏 */
.card-info-avatar .author-status span {
  opacity: 0;
  width: 0;
  margin-left: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* hover 时展开 */
.card-info-avatar .author-status-box:hover {
  width: auto;
  min-width: 28px;
  padding: 0 6px;
  border-radius: 14px; /* 保持圆角 */
}

.card-info-avatar .author-status-box:hover span {
  opacity: 1;
  width: auto;
  margin-left: 4px;
}


#my-custom-card-author {
  font-family: "XiaoChengSuiYuanTi";
}

/* 让作者卡片头像变成方形 */
/* .avatar-img {
  border-radius: 0 !important;
} */

/* 头像呼吸灯 */
/* 头像呼吸灯 */
[data-theme="light"] .avatar-img {
  animation: huxi_light 4s ease-in-out infinite;
}
[data-theme="dark"] .avatar-img {
  animation: huxi_dark 4s ease-in-out infinite;
}
@keyframes huxi_light {
  0% {
    box-shadow: 0px 0px 1px 1px #e9f5fa;
  }
  50% {
    box-shadow: 0px 0px 5px 5px #e9f5fa;
  }
  100% {
    box-shadow: 0px 0px 1px 1px #e9f5fa;
  }
}
@keyframes huxi_dark {
  0% {
    box-shadow: 0px 0px 1px 1px #39c5bb;
  }
  50% {
    box-shadow: 0px 0px 5px 5px #39c5bb;
  }
  100% {
    box-shadow: 0px 0px 1px 1px #39c5bb;
  }
}

