@font-face {
  font-family: "Smiley Sans";
  src: url("../fonts/SmileySans-Oblique.woff2") format("woff2");
  font-display: swap;
  font-style: oblique;
  font-weight: 100 900;
}

:root {
  --page: #eef2f5;
  --surface: #f5f7f9;
  --surface-soft: #e6ecf1;
  --surface-strong: #cbd6de;
  --ink: #1d2a34;
  --muted: #455a68;
  --line: #c5d1da;
  --blue: #365d79;
  --blue-strong: #365d79;
  --blue-soft: #e6ecf1;
  --on-blue: #fff;
  --orange: #f2652f;
  --shadow: 0 18px 48px rgba(31, 64, 72, .12);
  --shadow-hover: 0 14px 30px rgba(31, 64, 72, .16);
  --focus: 0 0 0 4px rgba(20, 104, 212, .18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --max-width: 1680px;
  --stage-height: 660px;
  --stage-shadow: 0 22px 40px -25px #3b536740;
  --display-font: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  --motion-fast: 160ms;
  --motion-base: 280ms;
  --motion-layout: 360ms;
  --ease-standard: ease;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

:root[data-display-font="smiley"] {
  --display-font: "Smiley Sans", "Noto Sans SC", sans-serif;
}

:root[data-display-font="wenkai"] {
  --display-font: "LXGW WenKai Screen", "Noto Sans SC", sans-serif;
}

:root[data-theme="dark"] {
  --page: #080c0f;
  --surface: #10181d;
  --surface-soft: #111b22;
  --surface-strong: #25343d;
  --ink: #eff4f7;
  --muted: #b7c9d2;
  --line: #2a3b46;
  --stage-shadow: 0 20px 42px -24px #00000070, inset 0 0 0 1px #50708230;
  --blue: #afd2e9;
  --blue-strong: #afd2e9;
  --blue-soft: #111b22;
  --on-blue: #080c0f;
  --orange: #ff8153;
  --shadow: 0 20px 56px rgba(0, 0, 0, .28);
  --shadow-hover: 0 16px 34px rgba(0, 0, 0, .34);
  --focus: 0 0 0 4px rgba(102, 168, 255, .2);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.archive-home {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

