/* =========================
 * 可爱鼠标样式
 * ======================= */

/* 普通状态光标 */
body {
  cursor: url("/img/normal.png") 16 16, auto !important;
}

/* 可点击元素光标 */
a,
button,
.btn,
#rightside,
#rightside * {
  cursor: url("/img/hover.png") 16 16, pointer !important;
}


/* 如果你暂时没上传光标图片，也可以先注释掉上面这两段，用下面这个最简单版 */
/*
body {
  cursor: pointer;
}
*/

/* =========================
 * 鼠标轨迹小泡泡 / 小爱心
 * ======================= */

.cursor-heart {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  animation: cursor-heart-fade 1s ease-out forwards;
}

@keyframes cursor-heart-fade {
  0% {
    opacity: 1;
    transform: translate(calc(-50% + 0px), calc(-50% + 0px));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
  }
}

/* =========================
 * 首页文章封面图统一高度（Butterfly）
 * ======================= */

/* 封面容器本身 */
#recent-posts .post_cover {
  height: 10rem !important;       /* 想再矮一点就改 8rem / 9rem */
  max-height: 10rem !important;
  overflow: hidden !important;
}

/* 封面里的图片：铺满容器，超出部分裁掉 */
#recent-posts .post_cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;   /* 保持比例，不拉伸，只裁剪上下 */
}

/* =========================
 * 通用玻璃卡片样式（Butterfly）
 * 一条规则覆盖：首页 / 侧栏 / 归档 / 分类 / 标签 / 时光轴 / 相册 / 单页 / 文章
 * ======================= */

#recent-posts .recent-post-item,        /* 首页文章卡片 */
#aside_content .card-widget,           /* 右侧所有小卡片 */
.card-archive,                         /* 归档页 */
.card-category-list,                   /* 分类页 */
.card-tag-cloud,                       /* 标签页 */
.timeline,                             /* 时光轴整体容器 */
.timeline-item,                        /* 每一个时间节点 */
.gallery-group,                        /* 相册页分组（Butterfly 相册） */
.gallery-group-main,                   /* 相册页分组里的主卡片 */
.layout_page #page .card,              /* 自定义单页里的卡片 */
.layout_page #post,                    /* 有些单页直接用 post 容器 */
.layout_post #post {                   /* 正常文章页面主体 */
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* =========================
 * 相册年份卡片：真正毛玻璃版本
 * ======================= */
 
.album-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.album-card-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.1);
  filter: blur(30px);   /* 👈 主玻璃强度 */
  z-index: 0;
}

.album-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22); /* 👈 玻璃雾 */
  z-index: 1;
  pointer-events: none;
}

.album-card-main {
  position: relative;
  z-index: 2;
  padding: 30px;
  text-align: center;
  color: #fff;
}
