@import url("https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-web@1.521.0/lxgwwenkaiscreen/result.css");

:root {
  --sky-50: #f4faf9;
  --sky-100: #e9f4f3;
  --sky-200: #d9e9ea;
  --mist-300: #bdd2d5;
  --jade-400: #79a49b;
  --cyan-600: #39787a;
  --cyan-700: #2f6669;
  --ink-900: #18292e;
  --ink-700: #465d63;
  --ink-600: #536a70;
  --white-solid: #f8fcfc;
  --white-glass: rgba(248, 252, 252, 0.68);
  --white-glass-hover: rgba(248, 252, 252, 0.76);
  --white-strong: rgba(250, 253, 253, 0.88);
  --line-glass: rgba(255, 255, 255, 0.72);
  --line-cool: rgba(63, 99, 104, 0.1);
  --focus-ring: #2f7478;
  --danger: #9b4b48;
  --success: #4f756a;

  --font-serif:
    "LXGW WenKai Screen",
    "LXGW WenKai",
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    "STSong",
    serif;
  --font-reading:
    "LXGW WenKai Screen",
    "LXGW WenKai",
    "Kaiti SC",
    "STKaiti",
    "Microsoft YaHei",
    sans-serif;
  --font-sans:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    system-ui,
    sans-serif;
  --font-ui: var(--font-sans);
  --font-mono:
    "JetBrains Mono",
    "SFMono-Regular",
    Consolas,
    monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-control: 14px;
  --radius-nav: 22px;
  --radius-image: 22px;
  --radius-card: 24px;
  --radius-feature: 30px;
  --radius-glass-control: 16px;
  --radius-glass-group: 24px;

  --material-content: rgba(248, 252, 252, 0.88);
  --material-content-soft: rgba(248, 252, 252, 0.78);
  --material-control: rgba(244, 251, 251, 0.7);
  --material-control-strong: rgba(248, 252, 252, 0.82);
  --glass-highlight: rgba(255, 255, 255, 0.88);
  --glass-shade: rgba(43, 86, 91, 0.08);

  --shadow-soft:
    0 20px 56px rgba(40, 73, 78, 0.1),
    0 4px 14px rgba(42, 72, 76, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  --shadow-float:
    0 24px 64px rgba(40, 73, 78, 0.12),
    0 4px 14px rgba(42, 72, 76, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --shadow-hover:
    0 28px 72px rgba(40, 73, 78, 0.16),
    0 8px 22px rgba(42, 72, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);

  --motion-fast: 220ms;
  --motion-base: 260ms;
  --motion-press: 130ms;
  --motion-fluid: 420ms;
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  --content-wide: 1180px;
  --article-copy: 720px;
  --article-head: 840px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--sky-100);
  font-family: var(--font-reading);
  font-size: 17px;
  line-height: 1.88;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-synthesis: none;
}

body {
  font-family: var(--font-reading);
}

button,
input,
select,
textarea {
  font-family: var(--font-ui);
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-ui);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

::selection {
  color: var(--white-solid);
  background: var(--cyan-600);
}

.shell {
  width: min(var(--content-wide), calc(100% - 48px));
  margin-inline: auto;
}

.ui-text {
  font-family: var(--font-sans);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.82;
  }

  .shell {
    width: min(var(--content-wide), calc(100% - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
