/* =====================================================
   梦幻渐变 · 毛玻璃 · 日系清透
   ===================================================== */

/* ── CSS 变量：全站色彩系统 ── */
:root {
  --bg-base:    #f5f9ff;
  --bg-soft:    #fff7fb;
  --bg-lavender:#f6f1ff;

  --text-main:      #3f4a63;
  --text-secondary: #76839f;
  --text-muted:     #9aa6bd;

  --primary:      #8da2ff;
  --primary-soft: #dfe6ff;
  --secondary:    #ff9fc7;
  --secondary-soft:#ffe2ee;
  --accent:       #86d6ff;

  --tag-blue:   rgba(141, 190, 255, 0.28);
  --tag-pink:   rgba(255, 159, 199, 0.28);
  --tag-purple: rgba(184, 160, 255, 0.28);
  --tag-green:  rgba(151, 222, 181, 0.25);
  --tag-yellow: rgba(255, 221, 145, 0.25);

  --glass-bg:        rgba(255, 255, 255, 0.52);
  --glass-bg-strong: rgba(255, 255, 255, 0.68);
  --glass-border:    rgba(255, 255, 255, 0.72);
  --glass-shadow:    0 18px 50px rgba(112, 139, 180, 0.18);
  --glass-shadow-soft: 0 10px 30px rgba(112, 139, 180, 0.12);

  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-pill: 999px;
}

/* ── 全站背景：梦幻渐变 fixed ── */
html {
  background: var(--bg-base) !important;
}

body,
#container,
#wrap {
  min-width: 1440px;
  color: var(--text-main) !important;
  background: transparent !important;
}

/* 内容区透明，让固定渐变透出 */
#content,
#main,
.main {
  background: transparent !important;
}

/* 细点纹理层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,180,215,0.40) 0 1px, transparent 1.5px);
  background-size: 72px 72px, 110px 110px;
  background-position: 0 0, 36px 48px;
  opacity: 0.4;
}

/* ── 侧边栏个人卡片（正常流） ── */
.sidebar-profile-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 24px;
  padding: 28px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(180, 160, 220, 0.18);
  box-sizing: border-box;
}

/* .hero-profile-card → home.css */

/* 头像外层（相对定位，放小花） */
.hero-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
}

/* 渐变描边环 */
.hero-avatar-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9b8d0, #c9a8f0, #a8c9f9);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 头像内圆（白边 + 图片） */
.hero-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f0eaf8;
  border: 3px solid #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-img,
#header .hero-avatar-img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  -webkit-mask: none !important;
  mask: none !important;
  z-index: auto !important;
  transition: none !important;
  user-select: auto !important;
}

/* 主页文章缩略图：阻止主题 #header img 全局规则干扰 */
#header .home-post-thumb img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  display: block !important;
  -webkit-mask: none !important;
  mask: none !important;
  z-index: auto !important;
  transition: transform 0.4s ease !important;
  user-select: auto !important;
}


.hero-name {
  font-size: 17px;
  font-weight: 600;
  color: #5a4a6a;
  margin-bottom: 5px;
}

.hero-bio {
  font-size: 12px;
  color: #8a78a0;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 0 2px;
}

.hero-stats {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 18px;
}

.hero-stat-item {
  text-align: center;
  flex: 1;
}

.hero-stat-item + .hero-stat-item {
  border-left: 1px solid rgba(180, 160, 220, 0.25);
}

.hero-stat-label {
  font-size: 11px;
  color: #a090b8;
  margin-bottom: 3px;
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #5a4a6a;
}

/* 了解更多按钮 */
.hero-more-btn {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 11px 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #f4a8c8 0%, #c8a8f0 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-more-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* 社交图标行 */
.hero-social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.hero-social-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hero-social-icon:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

/* 悬浮 tooltip：毛玻璃 */
.hero-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 12px;
  color: #3f4a63;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(100, 120, 200, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  transform: translateX(-50%) translateY(4px);
}

.hero-social-item:hover .hero-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 导航栏：悬浮毛玻璃胶囊 ── */
#header-nav {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  width: min(1080px, calc(100% - 32px)) !important;
  border-radius: var(--radius-pill) !important;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  box-shadow: 0 14px 38px rgba(112, 139, 180, 0.16) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  padding: 0 28px !important;
}
.main-nav-link       { color: var(--text-main) !important; }
.main-nav-link-wrap:hover .main-nav-link { color: #ec6fa6 !important; }
.main-nav-icon       { color: var(--secondary) !important; }

/* 下拉菜单 */
.reimu-dropdown {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-color: var(--glass-border) !important;
  box-shadow: var(--glass-shadow-soft) !important;
}
.reimu-dropdown::after  { border-bottom-color: rgba(255,255,255,0.88) !important; }
.reimu-dropdown-item    { color: var(--text-secondary) !important; }
.reimu-dropdown-item:hover {
  background: rgba(255, 159, 199, 0.12) !important;
  color: #ec6fa6 !important;
  padding-left: 26px;
}

/* ── Hero：全屏图片 ── */
#header {
  position: relative !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  height: 100vh !important;
}

/* 背景图固定在视口，内容滚多长图片都在 */
#header > img,
#header > picture > img,
.header-video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover !important;
  -webkit-mask: none !important;
  mask: none !important;
  z-index: -2 !important;
}

#header::after {
  display: none !important;
}

/* 标题在渐变层上 */
#header-outer {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  padding-top: 72px !important;
}

/* 标题：渐变文字（仅当有文字时好看，banner 上用白+阴影也可） */
#header-title h1 {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(80, 60, 140, 0.5), 0 1px 6px rgba(0,0,0,0.3) !important;
}
#header-title #subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35) !important;
}

#content {
  position: relative !important;
  z-index: 10 !important;
  margin-top: -200px !important;
  padding-top: 0 !important;
}

/* ── 文章卡片：毛玻璃 + 上浮 hover ── */
.post-wrap {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--glass-shadow-soft) !important;
  transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease !important;
}
.post-wrap:hover {
  transform: translateY(-6px) !important;
  background: var(--glass-bg-strong) !important;
  box-shadow: var(--glass-shadow) !important;
}
.post-info { background: transparent !important; }
.post-title, .post-title a { color: var(--text-main) !important; font-weight: 700 !important; }
.post-article, .post-article * { color: var(--text-secondary) !important; }
.post-meta span { color: var(--text-muted) !important; }

/* ── 侧边栏容器：透明，不叠加毛玻璃 ── */
.sidebar-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* ── 滚动条毛玻璃配色 ── */
::-webkit-scrollbar-thumb {
  background-color: rgba(180, 160, 220, 0.45) !important;
  border-radius: 10px !important;
}
::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

/* ── 侧边栏：与主页个人卡片统一样式 ── */
.widget {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow: 0 8px 32px rgba(180, 160, 220, 0.18) !important;
  padding: 20px !important;
}
.widget-title {
  color: #5a4a6a !important;
  border-color: rgba(180, 160, 220, 0.20) !important;
}
.widget a       { color: var(--text-secondary) !important; }
.widget a:hover { color: #ec6fa6 !important; }
.widget li      { color: var(--text-muted) !important; }

/* 头像柔光描边 */
.widget img,
#profile-image {
  border-radius: 50% !important;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(255, 143, 190, 0.42) !important;
}

/* ── 标签胶囊：毛玻璃 + 漂浮动画 ── */
@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.widget .btn,
.widget button,
.widget .tag,
.widget [class*="tag"],
.widget [class*="menu-link"],
.widget .sidebar-menu-item,
.tagcloud a,
.tag-cloud-list a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-pill) !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 6px 18px rgba(112, 139, 180, 0.12) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  animation: tag-float 3.4s ease-in-out infinite !important;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s !important;
}

/* 错位延迟，各标签不同步 */
.widget [class*="tag"]:nth-child(2n), .tagcloud a:nth-child(2n) { animation-delay: 0.55s !important; }
.widget [class*="tag"]:nth-child(3n), .tagcloud a:nth-child(3n) { animation-delay: 1.15s !important; }
.widget [class*="tag"]:nth-child(4n), .tagcloud a:nth-child(4n) { animation-delay: 0.30s !important; }
.widget [class*="tag"]:nth-child(5n), .tagcloud a:nth-child(5n) { animation-delay: 1.75s !important; }
.widget [class*="tag"]:nth-child(6n), .tagcloud a:nth-child(6n) { animation-delay: 0.90s !important; }

.widget .btn:hover,
.widget button:hover,
.widget .tag:hover,
.widget [class*="tag"]:hover,
.tagcloud a:hover,
.tag-cloud-list a:hover {
  color: #ec6fa6 !important;
  background: rgba(255, 255, 255, 0.65) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 26px rgba(255, 143, 190, 0.24) !important;
  animation-play-state: paused !important;
}

/* ── hr 覆盖主题红色虚线（含 .article-entry hr 高特异性版本） ── */
hr,
.article-entry hr,
#article-container hr {
  background-image: none !important;
  background: rgba(180, 160, 220, 0.20) !important;
  border: none !important;
  border-top: 1px solid rgba(180, 160, 220, 0.35) !important;
  height: 1px !important;
  filter: none !important;
}

/* ── 隐藏 footer 红色滚动虚线 ── */
.footer-line {
  display: none !important;
}

/* ── Footer ── */
#footer, footer {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow: 0 -4px 24px rgba(180, 160, 220, 0.12) !important;
  color: var(--text-muted) !important;
}
#footer a, footer a { color: var(--primary) !important; }

/* ── 分页 ── */
.page-number, .extend {
  background: var(--glass-bg) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow-soft) !important;
  border-radius: var(--radius-sm) !important;
}
.page-number.current {
  background: linear-gradient(100deg, var(--primary), var(--secondary)) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ── 移动端适配 ── */
@media (max-width: 768px) {
  #header-nav {
    top: 8px !important;
    width: calc(100% - 20px) !important;
    border-radius: 24px !important;
    padding: 0 16px !important;
  }
  .widget .tag,
  .tagcloud a {
    min-height: 28px !important;
    padding: 5px 11px !important;
    font-size: 12px !important;
  }
}

/* .blog-title-hero 及艺术字装饰 → home.css */

/* ══════════════════════════════════════════
   分类页模板 section-cards
   ══════════════════════════════════════════ */

/* 全页固定背景图 */
.sc-page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.sc-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero：整体透明，图片直接透出 */
.sc-hero {
  position: relative;
  margin-bottom: 22px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.sc-hero-bg { display: none; }

/* 只在文字区域加弱化玻璃遮罩 */
.sc-hero-content {
  display: inline-block;
  background: rgba(255, 255, 255, 0.20) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(140, 120, 200, 0.14) !important;
  margin: 0 !important;
}
.sc-hero-content { position: relative; z-index: 1; max-width: 520px; padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px); }
.sc-hero-cards { position: relative; z-index: 1; padding: 0 clamp(16px, 2.5vw, 32px) clamp(20px, 3vw, 32px); }
.sc-eyebrow { margin: 0 0 12px; color: #8b79d8; font-size: 14px; letter-spacing: 0.08em; }
.sc-eyebrow a { color: #8b79d8; }
.sc-hero-title {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  color: transparent;
  background: linear-gradient(100deg, #5d78d8, #a583e8, #ee8bb8);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(100, 80, 200, 0.35));
}
.sc-hero-desc { margin: 16px 0 0; color: #fff; line-height: 1.9; text-shadow: 0 1px 8px rgba(0,0,0,0.30); }
.sc-hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.sc-hero-meta span {
  padding: 8px 14px; border-radius: 999px;
  color: #7b64c8; font-size: 13px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(255,255,255,0.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* 面包屑 */
.sc-breadcrumb { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: #9aa6bd; font-size: 14px; }
.sc-breadcrumb a { color: #6c7db6; }
.sc-breadcrumb a:hover { color: #ec7cae; }

/* 主体布局 */
.sc-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.sc-main { display: grid; gap: 32px; min-width: 0; }
.sc-block {
  min-width: 0;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(140, 120, 200, 0.14);
}

.sc-section-head { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sc-section-head h2 { margin: 0; font-size: 24px; color: #35405c; }
.sc-section-head p  { margin: 6px 0 0; color: #73809c; font-size: 14px; }
.sc-more-link {
  padding: 8px 14px; border-radius: 999px;
  color: #7d64d8; font-size: 14px; white-space: nowrap;
  background: rgba(255,255,255,0.52); border: 1px solid rgba(255,255,255,0.72);
}

/* 子分类卡片 */
.sc-grid {
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: visible;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.sc-grid .sc-card { flex: 0 0 220px; }
.sc-grid::-webkit-scrollbar { height: 4px; }
.sc-grid::-webkit-scrollbar-track { background: transparent; }
.sc-grid::-webkit-scrollbar-thumb { background: rgba(141,162,255,0.25); border-radius: 99px; }
.sc-grid:hover::-webkit-scrollbar-thumb { background: rgba(141,162,255,0.55); }
.sc-card {
  overflow: hidden; border-radius: 20px; text-decoration: none;
  background: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 8px 32px rgba(180,160,220,0.18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.sc-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.52); box-shadow: 0 18px 48px rgba(180,160,220,0.22); }
.sc-card-cover {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, rgba(141,162,255,0.20), rgba(255,159,199,0.20));
}
.sc-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.sc-card:hover .sc-card-cover img { transform: scale(1.06); }
.sc-card-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(141,162,255,0.18), rgba(255,159,199,0.20)),
    linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.48));
}
.sc-card-symbol {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 18px; color: #5a4a8a; font-size: 20px; font-weight: 700;
  background: rgba(255,255,255,0.38); border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 28px rgba(102,126,170,0.18);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.sc-card-body { padding: 16px; }
.sc-card-body h3 { margin: 0; color: #35405c; font-size: 17px; }
.sc-card-body p  { min-height: 44px; margin: 8px 0 16px; color: #73809c; font-size: 14px; line-height: 1.65; }
.sc-card-footer  { display: flex; align-items: center; justify-content: space-between; color: #9aa6bd; font-size: 13px; }
.sc-card-arrow   { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #8c72dc; background: rgba(255,255,255,0.58); }

/* 文章列表 */
.sc-article-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.sc-article-card {
  display: flex; flex-direction: column;
  border-radius: 20px; text-decoration: none; overflow: hidden;
  background: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 12px 32px rgba(102,126,170,0.12);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.sc-article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(102,126,170,0.16); }
.sc-article-card > img, .sc-article-no-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; flex-shrink: 0; }
.sc-article-no-cover { background: linear-gradient(135deg, rgba(141,162,255,0.22), rgba(255,159,199,0.22)); }
.sc-article-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.sc-article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sc-article-tags span { padding: 3px 10px; border-radius: 999px; color: #8a6fd4; font-size: 11px; background: rgba(245,236,255,0.72); border: 1px solid rgba(255,255,255,0.76); }
.sc-article-info h3 { margin: 0 0 6px; font-size: 15px; color: #35405c; line-height: 1.45; }
.sc-article-info p  { margin: 0; color: #73809c; font-size: 13px; line-height: 1.6; flex: 1; }
.sc-article-meta    { margin-top: 10px; color: #9aa6bd; font-size: 12px; }

/* 侧边栏 */
.sc-sidebar { display: grid; gap: 18px; position: sticky; top: 100px; }
.sc-side-card {
  padding: 20px; border-radius: 22px;
  background: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 8px 32px rgba(180,160,220,0.18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.sc-side-card h3 { margin: 0 0 14px; color: #35405c; font-size: 17px; }
.sc-side-links { display: grid; gap: 4px; }
.sc-side-links a { min-height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-radius: 12px; color: #56627e; text-decoration: none; transition: background 0.2s, color 0.2s; }
.sc-side-links a:hover { color: #7d64d8; background: rgba(245,239,255,0.72); }
.sc-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-tag-cloud a { padding: 5px 12px; border-radius: 999px; color: #8a6fd4; font-size: 12px; background: rgba(245,236,255,0.72); border: 1px solid rgba(255,255,255,0.76); text-decoration: none; transition: background 0.2s; }
.sc-tag-cloud a:hover { background: rgba(245,236,255,0.92); }

/* 响应式 */
@media (max-width: 1180px) {
  .sc-layout { grid-template-columns: 1fr; }
  .sc-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .sc-article-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sc-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sc-article-list { grid-template-columns: 1fr; }
}

/* .home-recent 及文章卡片 → home.css */

/* ══════════════════════════════════════════
   其他页面毛玻璃统一样式
   ══════════════════════════════════════════ */

/* 文章正文容器 */
.article-inner {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 32px rgba(180, 160, 220, 0.18) !important;
  padding: 40px !important;
}
.article-entry,
.article-entry * { color: var(--text-main) !important; }
.article-meta { color: var(--text-muted) !important; }

/* 归档 / 分类 / 标签 列表区 */
.archives-wrap {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 32px rgba(180, 160, 220, 0.18) !important;
  padding: 24px 28px !important;
}
.archive-article {
  border-color: rgba(180, 160, 220, 0.18) !important;
}
.archive-article a { color: var(--text-main) !important; }
.archive-article a:hover { color: #ec6fa6 !important; }
.archive-article-date span,
.archive-article-date time { color: var(--text-muted) !important; }

/* 归档页标签/分类胶囊 */
.archives-tag-list-item a,
.archives-category-list-item a {
  display: inline-flex !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: var(--text-secondary) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 4px 12px rgba(112,139,180,0.10) !important;
  transition: background 0.2s, color 0.2s, transform 0.2s !important;
}
.archives-tag-list-item a:hover,
.archives-category-list-item a:hover {
  color: #ec6fa6 !important;
  background: rgba(255, 255, 255, 0.65) !important;
  transform: translateY(-2px) !important;
}

/* 目录（TOC） */
.sidebar-toc-wrapper {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 32px rgba(180, 160, 220, 0.18) !important;
  padding: 16px 18px !important;
}
.toc-title { color: #5a4a6a !important; }
.sidebar-toc-wrapper a { color: var(--text-secondary) !important; }
.sidebar-toc-wrapper a:hover { color: #ec6fa6 !important; }
