body {
	  margin: 0;
	  padding: 0;
	  /* color: #222; */
	}
nav {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  /* 其他不变 */
}
.logo span {
  font-family: 'Dancing Script','Zhi Mang Xing',cursive,sans-serif;
  font-size: 1.5em;
  letter-spacing: 2px;
}

.article-container { 
  font-family: 'Roboto', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  max-width: 800px;
  margin: 100px auto 32px auto;
  background: rgb(247, 236, 224);
  border-radius: 30px;
  box-shadow: 10px 2px 16px rgba(0,0,0,.08);
  padding: 40px 32px 32px 32px;
  opacity: 0.9;
}
.article-title {
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 2.2em;
  font-weight: 700;
  color: white;
  letter-spacing: 3px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px 30px 0 0;
  position: relative;
  overflow: hidden;
}
.article-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}
.article-title {
  position: relative;
  z-index: 1;
}

.article-meta {
  color: #888;
  font-size: 1em;
  margin-bottom: 30px;
}
.article-content {
  font-size: 1.18em;
  line-height: 1.9;
  color: #333;
  margin-bottom: 32px;
}
.article-content h2 {
  font-size: 1.25em;
  color: #4f8cff;
  margin-top: 28px;
  margin-bottom: 12px;
}
.article-content img {
  max-width: 100%;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.article-footer {
  border-top: 1px solid #eee;
  padding-top: 18px;
  text-align: right;
  color: #aaa;
  font-size: 0.98em;
}


.main-layout {
  display: flex;
  max-width: 1200px;
  margin: 140px auto 32px auto;
  align-items: flex-start;
}
.article-toc {
  width: 220px;
  min-width: 140px;
  margin-top: 100px;
  margin-right: 36px;
  background: rgb(247, 236, 224);
  border-radius: 30px;
  box-shadow: 10px 2px 16px rgba(0,0,0,.08);
  padding: 32px 18px 32px 18px;
  font-size: 1.06em;
  display: flex;
  position: sticky;
  top:100px;
  flex-direction: column;
  justify-content: flex-start;
  /* 目录等高正文（JS可辅助） */
}
.toc-title {
  font-weight: bold;
  color: #2499af;
  font-size: 1.18em;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-align: left;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin: 13px 0;
}
.toc-list a {
  text-decoration: none;
  color: #29335c;
  font-size: 1.08em;
  border-left: 3px solid transparent;
  padding-left: 8px;
  transition: color 0.15s, border 0.15s, background 0.15s;
  display: block;
  border-radius: 6px;
}
.toc-list a.active {
  color: #4f8cff;
  font-weight: bold;
  border-left: 3px solid #4f8cff;
  background: #f4f8fb;
}
.toc-list a:hover {
  background: #ecf4fc;
  color: #2499af;
}
@media (max-width: 700px) {
  .article-toc { display: none; }
}

@media (max-width: 800px) {
.article-container {
	padding: 16px 6vw;
	margin: 24px 0;
}
  .article-title {
	font-size: 1.5em;
}
}
