:root {
  color-scheme: dark;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: #f2f2f2;
  background: #141414;
  line-height: 1.55;
}
body { margin: 0; }
main { width: min(100% - 32px, 410px); margin: 16vh auto 32px; }
h1, p { margin: 0 0 16px; }
h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
.site-mark { display: block; margin-bottom: 18px; border-radius: 7px; }
form { display: grid; gap: 12px; }
input, button { box-sizing: border-box; min-height: 44px; padding: 10px 12px; font: inherit; border: 1px solid #676767; border-radius: 6px; }
input { width: 100%; color: inherit; background: #202020; }
button { color: #141414; background: #eee; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.message { color: #ffb7ae; }
.preview-note, .preview-note a { color: #c7c7c7; }
.preview-note a { text-underline-offset: 3px; }
.icp { margin-top: 28px; text-align: center; }
.icp a { display: inline-flex; align-items: center; min-height: 44px; color: #c7c7c7; font-size: .85rem; }
.icp a:hover { color: #fff; }
.resume { width: min(100% - 32px, 850px); margin: 32px auto; }
.resume header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.resume header h1 { margin: 0; }
.resume img { display: block; width: 100%; margin-block: 12px; }
