:root {
  --ui-scale: 1.2;
  --font-min-size: 14px;
  --font-size-caption: 14px;
  --font-size-body: 14px;
  --font-size-title: 16px;
  --font-size-section: 20px;
  --ink-900: #050b16;
  --ink-850: #071122;
  --ink-800: #0a1628;
  --ink-750: #0d1c31;
  --ink-700: #11243c;
  --line: rgba(95, 227, 255, 0.14);
  --line-strong: rgba(95, 227, 255, 0.32);
  --cyan: #5fe3ff;
  --cyan-soft: rgba(95, 227, 255, 0.12);
  --blue: #8ba7ff;
  --mint: #69f0c0;
  --amber: #ffc76b;
  --rose: #ff7a8a;
  --text: #e8f2ff;
  --text-2: #9db0c9;
  --text-3: #6b809c;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 24px 60px rgba(2, 8, 20, 0.55);
  --font-ui: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-num: "Bahnschrift", "DIN Alternate", "PingFang SC", sans-serif;
}

html {
  zoom: var(--ui-scale);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  font-size: var(--font-size-body);
  color: var(--text);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
}

.font-readable {
  font-size: var(--font-min-size) !important;
}

.font-readable::before,
.font-readable::after {
  font-size: var(--font-min-size) !important;
}

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

::selection {
  background: rgba(95, 227, 255, 0.28);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(120, 160, 200, 0.28);
  border-radius: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.num {
  font-family: var(--font-num);
  letter-spacing: 0.02em;
}
