/* Restrained aluminium, celadon accents and translucent polymer details. */
:root {
  --bg: #e9edeb;
  --paper: #f5f7f4;
  --ink: #203b3c;
  --muted: #596e6d;
  --line: #b9c8c5;
  --accent: #246d70;
  --soft: #dce8e3;
  --yellow: #a8cbc2;
  --metal: linear-gradient(110deg, #a5b0af, #f6f9f7 17%, #c0cbc9 40%, #eef2ef 66%, #99a8a7);
}
body {
  background-image: radial-gradient(#5577732a .7px, transparent .95px);
  background-size: 15px 15px;
  padding-inline: 12px;
}
body::before, body::after {
  display: none;
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 8px;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(90deg, #829392, #eaf0ed 30%, #aebcb9 48%, #fafcfb 72%, #9fadaa);
  box-shadow: 1px 0 2px #193f3a30;
}
body::before { left: 0; }
body::after { right: 0; transform: scaleX(-1); }
.shell { max-width: 1120px; }
.header {
  background: #edf2efeb;
  border-bottom: 1px solid #91aaa5;
  box-shadow: 0 3px 0 #f9fcf9, 0 4px 0 #b1bfbb;
}
.header-inner { height: 90px; }
.brand img { border: 1px solid #9eb8b0; padding: 2px; background: #f7faf6; border-radius: 3px; }
.brand small { color: var(--accent); letter-spacing: 3px; }
.header nav [aria-current]::after { width: 18px; height: 2px; border-radius: 0; left: calc(50% - 9px); }
.header nav { white-space: nowrap; }
.intro {
  position: relative;
  isolation: isolate;
  margin-top: 33px;
  padding: 65px 42px 58px;
  gap: 42px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: -1;
  background: url('/assets/contours.svg') center right / auto 100% no-repeat, linear-gradient(105deg, #f5f8f2f5, #e4ede6d9);
  border: 1px solid #ffffffeb;
  box-shadow: none;
  opacity: .85;
  pointer-events: none;
}
.intro::after {
  content: "我能否将你比作夏日？";
  position: absolute;
  bottom: 36px;
  left: 42px;
  right: 42px;
  font: 9px "SimSun", "Songti SC", serif;
  color: #5d817b;
  letter-spacing: 5px;
  border-top: 1px solid #94aaa455;
  padding-top: 8px;
  pointer-events: none;
}
.intro > div { min-width: 0; }
.intro .eyebrow { color: #47746f; font-family: Consolas, monospace; letter-spacing: 2px; font-size: 10px; }
.small-line { height: 7px; width: 7px; background: var(--accent); }
.intro h1 { font-size: 43px; line-height: 1.55; letter-spacing: 0; margin-bottom: 32px; }
.highlight { font-family: "Songti SC", "SimSun", serif; font-weight: 400; color: #206b6c; }
.highlight::after { background: #84b6a62b; height: 14px; bottom: 3px; transform: none; border-bottom: 1px solid #5c9b8e; }
.star {
  color: var(--accent);
  font-size: 23px;
  right: -32px;
  top: 2px;
  border: 1px solid #5c9892;
  width: 25px;
  height: 31px;
  line-height: 28px;
  text-align: center;
  transform: none;
}
.intro-link { border-color: #6e9990; font-family: "SimSun", "Songti SC", serif; font-size: 13px; }
.profile {
  position: relative;
  transform: none;
  border: 1px solid #eaf3ee;
  border-radius: 2px;
  background: linear-gradient(120deg, #f8faf7ec, #dfeae3dc 70%, #f4f9f2e6);
  box-shadow: none;
  padding: 20px 22px 0;
}
.profile::before {
  content: "";
  position: absolute;
  inset: -13px -11px -9px -8px;
  border: 1px solid #ffffffcf;
  border-radius: 1px 5px 2px 8px;
  background:
    linear-gradient(113deg, transparent 38%, #ffffff3d 39%, #ffffffa6 39.5%, #8daca02e 40%, transparent 42%),
    linear-gradient(25deg, transparent 68%, #ffffff96 68.5%, #c2d5ca3b 69%, transparent 71%),
    linear-gradient(174deg, #ffffff59, transparent 8%, transparent 90%, #ffffffb3 91%, #a8c1b52e 93%, transparent 96%);
  box-shadow: 1px 1px 3px #45645a18;
  transform: rotate(-2deg);
  pointer-events: none;
  z-index: 2;
}
.profile::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, #7f9691 0 1px, #eaf3ed 1.5px 3px, transparent 3.5px),
    radial-gradient(circle at 100% 0, #7f9691 0 1px, #eaf3ed 1.5px 3px, transparent 3.5px),
    radial-gradient(circle at 0 100%, #7f9691 0 1px, #eaf3ed 1.5px 3px, transparent 3.5px),
    radial-gradient(circle at 100% 100%, #7f9691 0 1px, #eaf3ed 1.5px 3px, transparent 3.5px);
}
.display-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  --rod: 2px;
  --offset: 12px;
  --overhang: -9px;
}
.rail { position: absolute; border-radius: 0; }
.rail-top, .rail-bottom {
  left: var(--overhang);
  right: var(--overhang);
  height: var(--rod);
  background: #a6b8b0;
  border: 0;
  box-shadow: none;
}
.rail-top { top: var(--offset); }
.rail-bottom { bottom: var(--offset); }
.rail-left, .rail-right {
  top: var(--overhang);
  bottom: var(--overhang);
  width: var(--rod);
  background: #a6b8b0;
  border: 0;
  box-shadow: none;
}
.rail-left { left: var(--offset); }
.rail-right { right: var(--offset); }
.clamp {
  position: absolute;
  width: 12px;
  height: 20px;
  background: #e0e8e1;
  border: 1px solid #a8b9b0;
  border-radius: 1px;
  box-shadow: none;
}
.clamp-tl { top: 3px; left: 7px; }
.clamp-tr { top: 3px; right: 7px; }
.clamp-bl { bottom: 3px; left: 7px; }
.clamp-br { bottom: 3px; right: 7px; }
.clamp::before, .clamp::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.clamp::before {
  top: 3px;
  background: #80988a;
  box-shadow: none;
}
.clamp::after {
  bottom: 3px;
  background: transparent;
  border: 1px solid #91a69a;
  box-shadow: none;
}
.profile > .display-frame {
  inset: -15px;
  --rod: 1px;
  --offset: 4px;
  --overhang: -8px;
}
.profile .clamp { width: 8px; height: 14px; }
.profile .clamp-tl, .profile .clamp-bl { left: 1px; }
.profile .clamp-tr, .profile .clamp-br { right: 1px; }
.profile .clamp-tl, .profile .clamp-tr { top: -2px; }
.profile .clamp-bl, .profile .clamp-br { bottom: -2px; }
.profile .clamp::before, .profile .clamp::after { width: 2px; height: 2px; left: 2px; }
.profile .clamp::before { top: 2px; }
.profile .clamp::after { bottom: 2px; }
.profile-top { letter-spacing: 1.5px; font: 9px Consolas, monospace; }
.profile > img { margin-top: 22px; border-radius: 2px; border: 1px solid #a7c1b4; padding: 4px; background: #f5f7ef; }
.profile h2 { font-family: "Songti SC", "SimSun", serif; font-weight: 400; letter-spacing: 4px; }
.profile > p { font-size: 11px; }
.profile-stats { border-color: #9bb2a9; }
.profile-stats span { color: #50716c; }
.status-dot { background: #4d8d80; border-radius: 0; }
#notes { margin-top: 47px; }
.section-header {
  position: relative;
  padding: 21px 26px;
  border: 1px solid #a6bab2;
  border-left: 4px solid var(--accent);
  background: #e9f0e9;
  box-shadow: none;
}
.section-header .eyebrow { color: #4b7974; font-family: Consolas, monospace; font-size: 9px; margin-bottom: 7px; }
.section-header h2 { font-family: "Songti SC", "SimSun", serif; font-weight: 400; letter-spacing: 2px; }
.section-header > a { color: #416761; }
.post-row {
  position: relative;
  padding: 29px 27px;
  gap: 24px;
  border: 1px solid #b6c7bf;
  border-top: 0;
  background: #f4f7f2ed;
}
.row-number { color: #527e76; border-top: 1px solid #63978b; padding-top: 8px; }
.post-info h3 { font-size: 19px; }
.post-info > p { color: #566e67; }
.post-meta { font-family: Consolas, "Microsoft YaHei", sans-serif; color: #58736c; }
.tag { border-radius: 1px; border-color: #b2c8bd; color: #356b61; background: #e7efe6; }
.post-arrow { border-radius: 1px; color: #316c64; border-color: #a6bdb2; background: linear-gradient(135deg, #f7faf7, #d4dfd6); box-shadow: inset 1px 1px #ffffffb3; }
.page-heading { border-bottom: 1px solid #a7bdb2; background: url('/assets/contours.svg') right center / 530px auto no-repeat; }
.page-heading h1 { font-family: "Songti SC", "SimSun", serif; font-weight: 400; color: var(--accent); }
.archive-year { background: #f3f7f0e8; border: 1px solid var(--line); padding: 25px; }
.archive-year h2 { font-size: 25px; color: var(--accent); }
.archive-item { border-color: #baccc1; }
.tag-grid { margin-top: 25px; }
.tag-grid > a { background: linear-gradient(125deg, #f7f9f5, #e2ece3); border-radius: 1px; box-shadow: inset 0 2px #fff; }
.article-header { padding-inline: 0; }
.article-header h1 { color: #234d48; }
.article-layout { gap: 34px; grid-template-columns: minmax(0, 1fr) 185px; }
.prose { background: #f9fbf7; border: 1px solid #b4c5ba; padding: 25px 31px; color: #314b42; box-shadow: inset 3px 0 #d3e0d4; }
.prose h2 { color: #246a60; border-top: 1px solid #c8d9ca; padding-top: 25px; }
.prose h2:first-child { margin-top: 0; }
.prose pre { background: #e8eee5; border-radius: 1px; border-color: #bfd0c0; }
.prose mark { background: #e1ecdc; }
.prose img { border-radius: 1px; }
.prose td, .prose th { border-color: #bacfc0; }
.toc { border-left: 2px solid #609786; padding-top: 13px; background: #eef3eddb; }
.toc p { font-family: "SimSun", serif; color: var(--accent); letter-spacing: 3px; }
.comments { background: #f3f7f0; border: 1px solid var(--line); padding: 25px; }
.comments > h2 { font-family: "SimSun", serif; font-weight: 400; color: var(--accent); }
.comment-avatar { border-radius: 2px; border: 1px solid #b7cdbb; }
.comment-note { color: #5e756b; }
.article-nav { background: #edf3e9cc; padding: 20px; border: 1px solid var(--line); }
.search-form { margin-top: 28px; }
.search-form > div { border: 3px solid #b8c7bf; border-radius: 1px; box-shadow: 0 0 0 1px #7f9d8f, inset 1px 1px white; }
.footer { background: #e7eee6db; padding-inline: 20px; border-top: 3px double #9fb7a8; color: #526f63; }
@media (max-width: 950px) {
  .intro { grid-template-columns: minmax(0, 1fr) 245px; gap: 28px; padding-inline: 30px; }
  .intro h1 { font-size: 35px; }
  .intro::after { left: 30px; right: 30px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 145px; gap: 24px; }
  .prose { padding-inline: 23px; }
}
@media (max-width: 700px) {
  body { padding-inline: 5px; }
  body::before, body::after { width: 4px; }
  .shell { width: calc(100% - 28px); }
  .header-inner { height: 77px; gap: 12px; }
  .header nav { gap: 16px; }
  .search-link { padding-left: 12px; }
  .brand { gap: 8px; }
  .brand > span { font-size: 14px; }
  .brand small { letter-spacing: 1px; }
  .intro { margin-top: 27px; padding: 42px 29px 65px; }
  .intro::before { inset: 20px; background-position: 43% center; background-size: auto 100%; opacity: .72; }
  .intro > .display-frame { --rod: 1px; --offset: 8px; --overhang: -5px; }
  .intro > .display-frame .clamp { width: 9px; height: 15px; }
  .intro > .display-frame .clamp-tl, .intro > .display-frame .clamp-bl { left: 4px; }
  .intro > .display-frame .clamp-tr, .intro > .display-frame .clamp-br { right: 4px; }
  .intro > .display-frame .clamp-tl, .intro > .display-frame .clamp-tr { top: 1px; }
  .intro > .display-frame .clamp-bl, .intro > .display-frame .clamp-br { bottom: 1px; }
  .intro > .display-frame .clamp::before, .intro > .display-frame .clamp::after { width: 3px; height: 3px; left: 2px; }
  .intro > .display-frame .clamp::before { top: 2px; }
  .intro > .display-frame .clamp::after { bottom: 2px; }
  .intro h1 { font-size: 31px; line-height: 1.65; }
  .intro .eyebrow { font-size: 8px; letter-spacing: 1px; margin-bottom: 20px; }
  .intro::after { left: 29px; right: 29px; bottom: 31px; font-size: 8px; letter-spacing: 3px; }
  .star { font-size: 18px; width: 21px; height: 25px; line-height: 23px; right: -27px; top: -1px; }
  #notes { margin-top: 29px; }
  .section-header { padding: 17px 17px; }
  .section-header h2 { font-size: 20px; }
  .section-header .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .post-row { padding: 24px 16px; gap: 12px; }
  .post-info h3 { font-size: 16px; line-height: 1.75; }
  .row-number { font-size: 9px; }
  .post-arrow { width: 23px; height: 23px; font-size: 13px; }
  .page-heading { padding-bottom: 25px; background-size: 320px auto; }
  .archive-year { padding: 19px 16px; }
  .archive-item { gap: 13px; }
  .article-header h1 { font-size: 25px; }
  .article-layout { display: block; }
  .prose { padding: 18px 17px; }
  .prose h2 { font-size: 20px; }
  .comments { padding: 20px 16px; }
  .tag-grid > a { padding-inline: 12px; }
  .footer { padding-inline: 14px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header nav { gap: 8px; }
  .search-link { padding-left: 8px; }
  .brand > span { font-size: 13px; }
  .brand { gap: 6px; }
  .brand img { width: 28px; height: 28px; }
}
@media print {
  body { padding: 0; background: white; }
  body::before, body::after { display: none; }
  .prose { padding: 0; background: white; border: 0; box-shadow: none; color: black; }
}
