/* 《无相慈佛》骨架样式 —— 刻意做成 2010 年代个人博客的质感 */
* { box-sizing: border-box; }

body {
  margin: 0;
  font: 15px/1.9 "Microsoft YaHei", "微软雅黑", sans-serif;
  color: #333;
  background: #f2f0eb;
  -webkit-font-smoothing: antialiased;
}

a { color: #2a5db0; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 页头 ---------- */
.hdr { background: #fff; border-bottom: 3px solid #b9b2a4; }
.hdr-in {
  max-width: 780px; margin: 0 auto; padding: 22px 20px 0;
}
.logo { font-size: 26px; font-weight: 700; color: #1a1a1a; letter-spacing: 1px; }
.logo span { font-size: 13px; font-weight: 400; color: #999; margin-left: 6px; letter-spacing: 0; }
.nav { margin-top: 14px; }
.nav a {
  display: inline-block; padding: 7px 16px; font-size: 14px; color: #666;
  border: 1px solid #e0dcd3; border-bottom: none;
  border-radius: 4px 4px 0 0; background: #faf9f6; margin-right: 3px;
}
.nav a.on { background: #fff; color: #1a1a1a; font-weight: 700; position: relative; top: 1px; }

/* ---------- 正文 ---------- */
.wrap { max-width: 780px; margin: 0 auto; padding: 26px 20px 40px; }

.post { background: #fff; padding: 34px 38px; border: 1px solid #e6e2d9; }
.post h1 { font-size: 25px; margin: 0 0 10px; color: #1a1a1a; font-weight: 700; }
.meta { font-size: 12.5px; color: #aaa; border-bottom: 1px dashed #e6e2d9; padding-bottom: 16px; margin-bottom: 22px; }
.post p { margin: 0 0 17px; text-indent: 2em; }
.post .sig { text-align: right; text-indent: 0; color: #888; font-size: 14px; margin-top: 26px; }

/* ---------- 评论 ---------- */
.cmt { background: #fff; border: 1px solid #e6e2d9; border-top: none; padding: 0 38px 24px; }
.cmt-h { font-size: 14px; font-weight: 700; color: #555; padding: 18px 0 12px; border-bottom: 1px solid #f0ede6; }
.cmt-i { padding: 15px 0; border-bottom: 1px solid #f7f5f0; }
.cmt-i b { font-size: 13.5px; color: #2a5db0; }
.cmt-i span { font-size: 12px; color: #bbb; margin-left: 10px; }
.cmt-i p { margin: 6px 0 0; font-size: 14px; color: #444; }

/* ---------- 友链 ---------- */
.links { margin-top: 30px; background: #fff; border: 1px solid #e6e2d9; padding: 22px 38px 26px; }
.links h2 { font-size: 14px; color: #555; margin: 0 0 12px; font-weight: 700; }
.links ul { margin: 0; padding-left: 20px; }
.links li { margin-bottom: 9px; font-size: 13.5px; color: #777; }

/* ---------- 页脚 ---------- */
.ftr { border-top: 1px solid #e0dcd3; margin-top: 40px; padding: 20px 0 44px; }
.ftr p { font-size: 12.5px; color: #aaa; margin: 0 0 4px; }
.ftr .tiny { font-size: 11.5px; color: #c9c4b9; }

/* ---------- 404 ---------- */
.p404 { background: #f7f6f3; }
.errbox { max-width: 560px; margin: 110px auto; text-align: center; padding: 0 24px; }
.errcode { font: 700 76px/1 Georgia, serif; color: #ddd8cc; letter-spacing: 4px; }
.errmsg { font-size: 16px; color: #666; margin: 22px 0 6px; }
.errsub { font-size: 13px; color: #aaa; margin: 0 0 26px; }
.erract { font-size: 14px; }

/* ---------- 客服浮窗 ---------- */
.chat {
  position: fixed; right: 26px; bottom: 26px; width: 330px; background: #fff;
  border: 1px solid #d8d3c8; box-shadow: 0 6px 26px rgba(0,0,0,.13);
  display: flex; flex-direction: column; font-size: 13.5px; z-index: 99;
}
.chat-h {
  background: #f4f2ed; border-bottom: 1px solid #e6e2d9; padding: 9px 12px;
  font-weight: 700; color: #555; font-size: 13px;
}
.chat-h .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #6bbf59; margin-right: 6px;
}
.chat-x { float: right; color: #bbb; font-size: 17px; line-height: 1; }
.chat-b { height: 240px; overflow-y: auto; padding: 12px; background: #fbfaf7; }
.chat-f { display: flex; border-top: 1px solid #e6e2d9; }
.chat-f input { flex: 1; border: none; outline: none; padding: 11px 12px; font: inherit; background: #fff; }
.chat-f button {
  border: none; background: #5a8dd6; color: #fff; padding: 0 18px;
  font: inherit; cursor: pointer;
}
.chat-f button:hover { background: #4a7dc6; }

.m { margin-bottom: 10px; max-width: 84%; clear: both; }
.m .who { font-size: 11px; color: #bbb; margin-bottom: 3px; }
.m .txt { padding: 8px 11px; border-radius: 3px; line-height: 1.65; word-break: break-word; }
.m.bot .txt { background: #eef1f6; color: #3a4453; float: left; }
.m.me  { text-align: right; }
.m.me .txt { background: #5a8dd6; color: #fff; float: right; text-align: left; }
.m.sys { text-align: center; }
.m.sys .txt { background: transparent; color: #b9b2a4; font-size: 12px; padding: 4px; }

.typing .txt::after { content: "…"; animation: bl 1s steps(4) infinite; }
@keyframes bl { 0%,100% { opacity: .25 } 50% { opacity: 1 } }
