:root{
  --bg:#f5f7f6;
  --surface:#ffffff;
  --surface-2:#f1f5f3;
  --border:rgba(15,32,24,.10);
  --border-hi:rgba(15,32,24,.18);
  --text:#1f2a33;
  --muted:#67757f;
  --dim:#a3aeb8;
  --accent:#0d9488;
  --accent-2:#16a34a;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}

*{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.78 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:720px;margin:0 auto;padding:0 22px}

/* 顶栏 */
.site-head{border-bottom:1px solid var(--border);background:var(--surface)}
.site-head .wrap{display:flex;align-items:baseline;gap:18px;height:58px}
.site-head .brand{font-weight:600;font-size:16px;color:var(--text);letter-spacing:.2px}
.site-head .brand:hover{text-decoration:none;color:var(--accent)}
.site-head nav{margin-left:auto;display:flex;gap:16px;font-size:14px}
.site-head nav a{color:var(--muted)}
.site-head nav a:hover{color:var(--accent);text-decoration:none}

/* 正文 */
main{padding:44px 0 72px}

h1{font-size:27px;line-height:1.35;font-weight:650;margin:0 0 10px;letter-spacing:-.2px}
h2{font-size:20px;line-height:1.45;font-weight:620;margin:38px 0 12px}
h3{font-size:17px;font-weight:620;margin:28px 0 8px}

p{margin:0 0 17px}

.lede{font-size:17px;color:var(--muted);line-height:1.8;margin-bottom:32px}

.meta{font-size:13.5px;color:var(--dim);margin-bottom:26px}
.meta span+span::before{content:"·";margin:0 8px;color:var(--dim)}

ul,ol{margin:0 0 17px;padding-left:22px}
li{margin-bottom:7px}

hr{border:0;border-top:1px solid var(--border);margin:36px 0}

blockquote{
  margin:0 0 17px;padding:2px 0 2px 16px;
  border-left:3px solid var(--border-hi);color:var(--muted);
}

code{
  font-family:var(--mono);font-size:13.5px;
  background:var(--surface-2);border:1px solid var(--border);
  border-radius:5px;padding:1px 5px;
}

pre{
  background:var(--surface-2);border:1px solid var(--border);
  border-radius:9px;padding:14px 16px;overflow-x:auto;margin:0 0 17px;
}
pre code{background:none;border:0;padding:0;font-size:13px;line-height:1.65}

table{
  width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14.5px;
}
th,td{
  text-align:left;padding:9px 12px;border-bottom:1px solid var(--border);
  vertical-align:top;
}
th{font-weight:600;background:var(--surface-2);white-space:nowrap}
.table-scroll{overflow-x:auto;margin-bottom:20px}
.table-scroll table{margin-bottom:0}

strong{font-weight:640}

/* 文章列表 */
.post-list{list-style:none;padding:0;margin:0}
.post-list li{
  padding:20px 0;border-bottom:1px solid var(--border);margin:0;
}
.post-list li:last-child{border-bottom:0}
.post-list .t{font-size:17px;font-weight:600;display:block;margin-bottom:5px}
.post-list .d{font-size:14.5px;color:var(--muted);margin-bottom:7px;line-height:1.65}
.post-list .m{font-size:13px;color:var(--dim)}

/* 页脚 */
.site-foot{
  border-top:1px solid var(--border);background:var(--surface);
  padding:26px 0;font-size:13.5px;color:var(--dim);
}
.site-foot .wrap{display:flex;gap:14px;flex-wrap:wrap}
.site-foot a{color:var(--muted)}

/* 返回链接 */
.back{display:inline-block;font-size:14px;margin-bottom:22px;color:var(--muted)}
.back:hover{color:var(--accent)}

@media (max-width:600px){
  main{padding:30px 0 56px}
  h1{font-size:23px}
  h2{font-size:18.5px}
  body{font-size:15.5px}
  .site-head .wrap{height:52px;gap:12px}
  .site-head nav{gap:12px;font-size:13.5px}
}
