/* Reference: the current Blog list. Load after page CSS. */
.hf-shell {
  --hf-night: #08090b;
  --hf-night-2: #121419;
  --hf-night-ink: #eceef2;
  --hf-night-dim: #8a92a0;
  --hf-night-rule: #23262e;
  --hf-sky: #2aa6ea;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  color: var(--hf-night-ink);
  font-family: var(--f-sans, var(--f-body, "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif));
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.hf-shell *, .hf-shell *::before, .hf-shell *::after { box-sizing: border-box; }
.hf-shell .hf-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.hf-shell a { text-decoration: none; text-transform: none; letter-spacing: normal; }
.hf-shell button { appearance: none; -webkit-appearance: none; box-shadow: none; }
.hf-shell :is(a, button):focus-visible { outline: 2px solid var(--hf-sky); outline-offset: 3px; }
.hf-shell .hf-mono {
  font-family: var(--f-mono, "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body > .hf-site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  inset-inline: auto;
  z-index: 40;
  display: block;
  height: auto;
  min-height: 0;
  margin-block: 0;
  background: rgb(8 9 11 / 88%);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 0;
  border-bottom: 1px solid var(--hf-night-rule);
}
.hf-site-head .hf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.hf-shell .hf-brand { display: block; flex: 0 0 auto; margin: 0; padding: 0; border: 0; line-height: 1; background: none; }
.hf-shell .hf-brand img { height: 30px; width: auto; max-width: none; display: block; margin: 0; border: 0; border-radius: 0; object-fit: contain; filter: none; opacity: 1; }
.hf-shell .hf-nav { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; width: auto; border: 0; background: none; }
.hf-shell .hf-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--hf-night-dim);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.hf-shell .hf-nav a:hover { color: var(--hf-night-ink); background: var(--hf-night-2); }
.hf-shell .hf-nav a[aria-current="page"] { color: var(--hf-night-ink); }
.hf-shell .hf-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border: 0; border-radius: 2px; background: var(--hf-sky); }
.hf-shell .hf-theme-btn {
  position: relative;
  flex: 0 0 36px;
  margin: 0 0 0 6px;
  padding: 0;
  width: 36px;
  height: 36px;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  color: var(--hf-night-dim);
  border: 1px solid var(--hf-night-rule);
  transition: color .2s, border-color .2s;
}
.hf-shell .hf-theme-btn::before { content: ""; position: absolute; inset: -4px; }
.hf-shell .hf-theme-btn:hover { color: var(--hf-night-ink); border-color: var(--hf-night-dim); }
.hf-shell .hf-theme-btn svg { width: 16px; height: 16px; margin: 0; fill: none; }
.hf-shell .hf-theme-btn .hf-moon { display: none; }
:root[data-theme="dark"] .hf-shell .hf-theme-btn .hf-sun { display: none; }
:root[data-theme="dark"] .hf-shell .hf-theme-btn .hf-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hf-shell .hf-theme-btn .hf-sun { display: none; }
  :root:not([data-theme="light"]) .hf-shell .hf-theme-btn .hf-moon { display: block; }
}
body > .hf-site-foot { position: relative; display: block; margin-top: clamp(72px, 10vw, 128px); background: var(--hf-night); color: var(--hf-night-dim); border: 0; }
.hf-site-foot .hf-wrap { padding-block: 56px 28px; }
.hf-shell .hf-foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hf-night-rule); }
.hf-shell .hf-foot-top > * { min-width: 0; }
.hf-shell .hf-foot-top img { height: 30px; width: auto; max-width: none; display: block; margin: 0 0 18px; border: 0; border-radius: 0; object-fit: contain; filter: none; opacity: 1; }
.hf-shell .hf-tag { font-family: var(--f-display, "Newsreader", "Songti SC", "Noto Serif SC", Georgia, serif); font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: normal; color: var(--hf-night-ink); max-width: 22ch; margin: 0; padding: 0; }
.hf-shell .hf-foot-col h4 { margin: 0 0 14px; padding: 0; color: var(--hf-night-dim); font-weight: 400; line-height: 1.6; }
.hf-shell .hf-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hf-shell .hf-foot-col li { display: block; list-style: none; margin: 0; padding: 0; }
.hf-shell .hf-foot-col a { display: inline-block; color: var(--hf-night-ink); font-size: 15px; font-weight: 400; line-height: 1.6; transition: color .2s; }
.hf-shell .hf-foot-col a:hover { color: var(--hf-sky); }
.hf-shell .hf-mail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hf-shell .hf-mail span { color: var(--hf-night-ink); font-size: 15px; line-height: 1.6; user-select: all; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.hf-shell .hf-copy {
  position: relative;
  margin: 0;
  padding: 4px 8px;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  font-family: var(--f-mono, "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hf-night-dim);
  background: transparent;
  border: 1px solid var(--hf-night-rule);
  border-radius: 6px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.hf-shell .hf-copy::before { content: ""; position: absolute; inset: -9px -2px; }
.hf-shell .hf-copy:hover { color: var(--hf-night-ink); border-color: var(--hf-night-dim); }
.hf-shell .hf-foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; line-height: 1.6; }
.hf-shell .hf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
@media (max-width: 760px) { .hf-shell .hf-foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hf-shell .hf-foot-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hf-shell .hf-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
@media (max-width: 480px) {
  .hf-shell .hf-nav a { padding-inline: 8px; }
  .hf-shell .hf-brand img { height: 26px; }
  .hf-shell .hf-foot-top { column-gap: 24px; }
}
@media (max-width: 380px) {
  .hf-site-head .hf-wrap { gap: 8px; }
  .hf-shell .hf-nav { gap: 2px; }
  .hf-shell .hf-nav a { padding-inline: 6px; }
  .hf-shell .hf-nav a[aria-current="page"]::after { left: 6px; right: 6px; }
  .hf-shell .hf-theme-btn { margin-left: 2px; }
  .hf-shell .hf-foot-top { grid-template-columns: 1fr; row-gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hf-shell *, .hf-shell *::before, .hf-shell *::after { transition: none !important; } }
@media (max-width: 420px) {
  .hf-site-head .hf-wrap { gap: 8px; }
  .hf-shell .hf-nav { gap: 0; }
  .hf-shell .hf-nav a { padding-inline: 6px; font-size: 13.5px; }
  .hf-shell .hf-nav a[aria-current="page"]::after { left: 6px; right: 6px; }
  .hf-shell .hf-theme-btn { margin-left: 4px; }
}
@media (max-width: 380px) {
  .hf-shell .hf-brand img { height: 24px; }
  .hf-shell .hf-nav a { padding-inline: 5px; font-size: 13px; }
  .hf-shell .hf-nav a[aria-current="page"]::after { left: 5px; right: 5px; }
}
