/*侧边卡片的透明度 */
:root {
  --card-bg: rgba(255, 255, 255, 0.8);
  --font-color: #1f1f1f;
}

.author-info__name,
.author-info-name {
  font-weight: bold !important;  /* 加粗 */
  color: #FF76A2 !important;     /* 樱花粉 */
  font-size: 1.4em !important;   /* 放大 */
}

[data-theme="dark"] {
  /* 之前是 rgba(255, 255, 255, 0.2) -> 看起来像灰雾 */
  /* 现在改为 rgba(0, 0, 0, 0.5) -> 深邃、清晰、高级 */
  --card-bg: rgba(0, 0, 0, 0.4) !important;
  
  /* 可选：如果你觉得文字太暗，可以稍微加亮文字颜色 */
  --font-color: #f0f0f0; 
  --text-highlight-color: #fff;
}

/* 樱花控制按钮样式 */
#sakura-btn {
    transition: all 0.3s;
}

/* 激活状态：变成粉色并旋转 */
#sakura-btn.active {
    color: #ff6b6b !important; /* 粉色 */
    animation: sakura-rotate 3s linear infinite;
}

/* 定义旋转动画 */
@keyframes sakura-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 夜间模式适配 (可选，如果需要调整) */
[data-theme="dark"] #sakura-btn.active {
    color: #ff8e8e !important;
}