/* ============================================================
   基础重置与通用元素
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  background: var(--ink-1);
  color: var(--t-0);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overflow-x: hidden;
}

/* 极淡的纸纹，避免大片纯色显得廉价 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 顶部一道极淡的灵气光，暗示"这不是普通网页" */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(93, 202, 165, 0.05), transparent 70%);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: rgba(93, 202, 165, 0.24);
  color: #fff;
}

/* 细滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--ink-4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--line-bright);
}

/* 通用工具类 */
[hidden] {
  display: none !important;
}

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

.label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--t-2);
  text-transform: uppercase;
}

.hr {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 14px 0;
}

/* 极细的分隔装饰：中间一个点 */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t-3);
  font-size: 10px;
  letter-spacing: 0.3em;
  margin: 18px 0 14px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
