/* ✨ 优雅优化版CSS —— 通义千问精心调校（保留你所有结构，只改细节） */
:root {
  --primary: #6a8cff;      /* 主色：优雅的蓝 */
  --secondary: #ff76a4;    /* 辅助色：温柔的粉 */
  --text: #333333;         /* 正文色：清晰易读 */
  --bg-light: #f8f9ff;     /* 背景色：柔和不刺眼 */
  --card-bg: rgba(255, 255, 255, 0.95); /* 卡片背景 */
  --shadow: 0 4px 20px rgba(106, 140, 255, 0.15); /* 阴影 */
}

body {
  background: url("https://images.cnblogs.com/cnblogs_com/nthforsth/1636966/o_2001210816401565149939605.png") center left no-repeat fixed;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Segoe UI', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

#home {
  margin: 0 auto;
  width: 80%;
  min-width: 980px;
  background-color: var(--card-bg);
  padding: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
  box-shadow: var(--shadow);
  border-radius: 12px;
  transition: all 0.3s ease;
}

#home:hover {
  box-shadow: 0 6px 25px rgba(106, 140, 255, 0.25);
}

#blogTitle {
  height: 100px;
  border-radius: 12px;
  clear: both;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 15px 25px;
  transition: all 0.3s ease;
}

#blogTitle h1 {
  font-size: 36px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.8em;
  margin-top: 10px;
  transition: all 0.3s ease;
}

#blogTitle h2 {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  color: var(--secondary);
  font-weight: bold;
  text-align: right;
  float: right;
  margin-top: 10px;
}

#navigator {
  border-radius: 8px;
  background-color: rgba(106, 140, 255, 0.15);
  padding: 12px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(106, 140, 255, 0.1);
}

#navList a {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0 12px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

#navList a:hover {
  background: rgba(106, 140, 255, 0.1);
  color: var(--secondary);
  transform: translateY(-2px);
}

.postTitle {
  border-left: 8px solid var(--primary);
  margin-left: 10px;
  margin-bottom: 15px;
  font-size: 22px;
  float: right;
  width: 100%;
  clear: both;
  transition: all 0.3s ease;
}

.postTitle a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.postTitle a:hover {
  color: var(--secondary);
  margin-left: 15px;
}

.postCon {
  float: right;
  line-height: 1.6em;
  width: 100%;
  clear: both;
  padding: 12px 0;
  font-size: 15px;
}

.day {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.postDesc {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23757575"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-7 7z"/></svg>') no-repeat 0 1px;
  color: #757575;
  float: left;
  width: 100%;
  clear: both;
  text-align: left;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  padding-right: 20px;
  margin-top: 20px;
  line-height: 1.8;
  padding-bottom: 25px;
  transition: all 0.3s ease;
}

.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory,
.catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView,
.catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory, #blog-calendar {
  background: var(--card-bg);
  margin-bottom: 25px;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.catListTitle {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: inline-block;
}

.cnblogs_code {
  background: var(--card-bg);
  border: 1px solid rgba(106, 140, 255, 0.2);
  border-radius: 6px;
  margin: 15px 0;
}

.cnblogs_code div {
  background: var(--card-bg);
}

.cnblogs_code_toolbar {
  background: rgba(106, 140, 255, 0.1);
  border-bottom: 1px solid rgba(106, 140, 255, 0.2);
}

#main {
  min-width: 640px;
}

.entrylist {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}