:root {
  color-scheme: dark;
  --mist-ink: #f3f5f7;
  --mist-muted: #d0dae3;
  --mist-line: rgba(237, 244, 250, .28);
  --mist-panel: rgba(29, 53, 73, .76);
  --mist-panel-soft: rgba(55, 79, 101, .64);
  --mist-radius: 20px;
  --mist-shadow: 0 14px 45px #12253426;
  --mist-heading: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --mist-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 0; background: #405d74; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color: var(--mist-ink);
  background: linear-gradient(180deg, #1b344c18, #18334b15 65%, #172b4430), url('/assets/mist-landscape.webp') center bottom / cover no-repeat #405d74;
  font: 16px/1.6 var(--mist-body);
}
button, input, select, textarea { font: inherit; }
button, summary, .file { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid #fff8e6;
  outline-offset: 3px;
}
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: #dbe9f855; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  button, summary, .file {
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --mist-panel: #29455c; --mist-panel-soft: #365269; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
