/* simplememory */

/* ========== Global ========== */
#google_ad_c1, #google_ad_c2 { display: none; }
#ad_under_post_holder #google_ad_c1, #google_ad_c2 { display: none !important; }

body {
  color: #000;
  background: url(https://cdn.luogu.com.cn/upload/image_hosting/wll5g2qk.png) fixed;
  background-size: 100%;
  background-repeat: no-repeat;
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Noto Sans SC",
               "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18.2px;
  line-height: 1.60;
  min-height: 101%;
}

:lang(en-US) {
  font-family: "Helvetica Neue", Roboto, "Segoe UI", SegoeUI, Helvetica, Arial, sans-serif;
}

/* ========== Layout / Nav ========== */
#home {
  opacity: 0.90;
  margin: 30px auto 50px;
  width: 85%;
  min-width: 950px;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
  font-size: 18.2px !important;
  line-height: 1.60 !important;
}

#blogTitle h1 {
  font-size: 31px;
  font-weight: bold;
  font-family: "Comic Sans MS";
  line-height: 1.45em;
  margin-top: 20px;
  color: #515151;
}

#navigator {
  font-size: 17px;
  border-bottom: 1px solid #ededed;
  border-top: 1px solid #ededed;
  width: 1550;
  height: 50px;
  clear: both;
  margin-top: 25px;
}

#navList a {
  display: block;
  width: 5em;
  height: 22px;
  float: left;
  text-align: center;
  padding-top: 18px;
  font-size: 17px !important;
}
#navList a:hover {
  color: #4C9ED9;
  text-decoration: none;
}

.catListTitle {
  margin-top: 21px;
  margin-bottom: 10.5px;
  text-align: left;
  border-left: 10px solid rgba(82, 168, 236, 0.8);
  padding: 10px 0 14px 10px;
  background-color: #f5f5f5;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* ========== Code fonts ========== */
.cnblogs_code pre {
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
  font-size: 17.2px !important;
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.45 !important;
}
.cnblogs_code span {
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
  font-size: 17.2px !important;
  line-height: 1.45 !important;
}

/* SyntaxHighlighter */
.syntaxhighlighter,
.syntaxhighlighter * {
  font-size: 24.2px !important;
  line-height: 1.42 !important;
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
}

/* ========== Post title ========== */
#topics .postTitle {
  border: 0px;
  font-size: 195%;
  font-weight: bold;
  float: left;
  line-height: 1.4;
  width: 100%;
  padding-left: 5px;
  margin-bottom: 0.5em !important;
}

/* ========== Markdown typography ========== */
/* Titles */
#topics h1, #topics h2, #topics h3, #topics h4, #topics h5, #topics h6 {
  font-weight: 750 !important;
  margin-top: 1.1em !important;
  margin-bottom: 0.45em !important;
  line-height: 1.25 !important;
  letter-spacing: 0px !important;
  word-spacing: normal !important;
}
#topics h1 { font-size: 1.95em !important; border-bottom: 2px solid #eee; padding-bottom: 0.22em; }
#topics h2 { font-size: 1.60em !important; border-left: 6px solid rgba(82, 168, 236, 0.9); padding-left: 10px; }
#topics h3 { font-size: 1.33em !important; border-left: 4px solid rgba(82, 168, 236, 0.7); padding-left: 9px; }
#topics h4 { font-size: 1.18em !important; border-left: 3px solid rgba(82, 168, 236, 0.5); padding-left: 8px; }
#topics h5 { font-size: 1.06em !important; }
#topics h6 { font-size: 1.0em !important; color: #666; }

/* Body text (keep your current feel) */
#topics p, #topics li, #topics blockquote, #topics table, #topics div, #topics span {
  font-size: 18.2px !important;
  line-height: 1.60 !important;
}

/* 段落间距：不用margin主控，避免margin折叠导致“改了没效果” */
#topics p{
  line-height: 1.58 !important;
  margin: 0 !important;
  padding: 0.36em 0 !important;
}


/* Lists */
#topics ul, #topics ol {
  margin-top: 0.45em !important;
  margin-bottom: 0.45em !important;
}
#topics li { margin: 0.18em 0 !important; }

/* Blockquote */
#topics blockquote {
  padding: 10px 14px !important;
  margin: 0.8em 0 !important;
  background: #f7f9fb !important;
  border-left: 6px solid rgba(82, 168, 236, 0.8) !important;
  color: #333 !important;
}

/* Tables */
#topics table { font-size: 18px !important; line-height: 1.50 !important; }
#topics table td, #topics table th { padding: 9px 11px !important; }

/* Inline code + code blocks */
#topics code {
  font-size: 17.2px !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
  background: #f3f5f7 !important;
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
}
#topics pre code {
  font-size: 17.2px !important;
  line-height: 1.45 !important;
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
}

/* Slight spacing for readability (excluding code) */
#topics :not(pre):not(code):not(.syntaxhighlighter):not(.cnblogs_code):not(.syntaxhighlighter *) {
  letter-spacing: 0.12px !important;
  word-spacing: 0.04em !important;
}

/* ========== Comments ========== */
div.commentform p { margin-bottom: 10px; font-size: 17.8px !important; line-height: 1.55 !important; }

#commentform_title {
  background-image: none;
  background-repeat: no-repeat;
  margin-bottom: 10px;
  padding: 0;
  font-size: 23px;
  font-weight: 700;
}

#commentbox_opt, #commentbox_opt + p {
  text-align: center;
  font-size: 17.8px !important;
  line-height: 1.55 !important;
}

.commentbox_title { width: 100%; }

#tbCommentBody {
  font-family: "Microsoft Yahei", Microsoft Yahei, 宋体, sans-serif;
  margin-top: 10px;
  max-width: 100%;
  min-width: 100%;
  background: white;
  color: #333;
  border: 2px solid #fff;
  box-shadow: inset 0 0 8px #aaa;
  height: 250px;
  font-size: 17.8px;
  min-height: 120px;
  line-height: 1.55;
}

.comment_btn {
  padding: 5px 10px;
  height: 35px;
  width: 90px;
  border: 0 none;
  border-radius: 5px;
  background: #ddd;
  color: #999;
  cursor: pointer;
  font-family: "Lato", Helvetica Neue, Helvetica, Microsoft Yahei, 宋体, Arial, sans-serif;
  text-shadow: 0 0 1px #fff;
  display: inline !important;
  font-size: 16.5px !important;
}
.comment_btn:hover {
  background: #258fb8;
  color: white;
}

#blog-comments-placeholder, #comment_form {
  padding: 20px;
  background: #fff;
  -webkit-box-shadow: 1px 2px 3px #ddd;
  box-shadow: 0 0 3px #ddd;
  margin-bottom: 50px;
  font-size: 17.8px !important;
  line-height: 1.55 !important;
}

.feedback_area_title {
  margin-bottom: 15px;
  font-size: 1.75em;
  font-weight: 800;
}

.feedbackItem {
  border-bottom: 1px solid #CCC;
  margin-bottom: 10px;
  padding: 5px;
  background: rgb(248, 248, 248);
  font-size: 17.8px;
  line-height: 24px;
  box-shadow: 0 0 5px #aaa;
}

.color_shine { background: rgb(226, 242, 255); }
.feedbackItem:hover {
  -webkit-animation-name: color_shine;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
}

#comment_form .title {
  font-weight: normal;
  margin-bottom: 15px;
  font-size: 18.2px !important;
}
