* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; scroll-padding-top: 90px; }
body {
  background: var(--bg); color: #eceadf;
  font-family: var(--fb), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.1; background-image: url('../img/bg-pattern.svg');
  background-repeat: repeat; background-size: 400px 400px;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: var(--bg); opacity: 0.85;
}
body > * { position: relative; z-index: 2; }
body.lock { overflow: hidden; }
::selection { background: var(--gold); color: #0a0a06; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #2a2a26; border: 2px solid #080808; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
a { color: inherit; } button { font-family: inherit; }