/* ============ 毛玻璃增强（全站卡片 backdrop-filter） ============ */
.recent-post-item,
.card-widget,
#post,
#page,
#archive,
#category,
#tag,
#tag-page,
.drop-down-menu,
.console,
#sidebar > *,
.recent-post-item .post-info,
.aplayer {
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
}

/* 卡片半透明底，让背景透出 */
:root {
  --card-bg: rgba(255, 255, 255, 0.72);
}
[data-theme="dark"] {
  --card-bg: rgba(18, 22, 32, 0.68);
}
.recent-post-item,
.card-widget {
  background: var(--card-bg) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recent-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 顶部导航毛玻璃 */
#nav {
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

/* ============ 说说页（朋友圈式时间线卡片） ============ */
.moments-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.moment-item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  animation: moment-in 0.4s ease both;
}
@keyframes moment-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.moment-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.moment-body {
  flex: 1;
  background: var(--card-bg);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.moment-name {
  font-weight: 600;
  color: var(--text-highlight-color, #49b1f5);
  font-size: 0.95em;
}
.moment-text {
  margin: 6px 0 4px;
  line-height: 1.7;
  word-break: break-word;
}
.moment-img {
  max-width: 70%;
  border-radius: 10px;
  margin: 8px 4px 8px 0;
}
.moment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  color: var(--font-color, #858585);
  margin-top: 8px;
}
.moment-like {
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}
.moment-like:hover { transform: scale(1.15); }
.moment-like.liked { color: #ff4d6a; }

/* ============ 音乐页 ============ */
#aplayer-wrap { max-width: 680px; margin: 0 auto; }
#aplayer-wrap .aplayer { border-radius: 14px; }

/* 移动端微调 */
@media screen and (max-width: 768px) {
  .moment-img { max-width: 90%; }
}
