/* [2026-02-24][CLX][ART-COMFORT] Reset + Typography
   [2026-03-27][CLX][THEME] Migrated to unified theme tokens */

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

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow: hidden;
}

a {
  color: var(--accent-text, var(--accent));
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1 { font-size: var(--text-3xl); font-weight: 600; }
h2 { font-size: var(--text-2xl); font-weight: 600; }
h3 { font-size: var(--text-xl); font-weight: 500; }

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

input, select, button, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--accent-light);
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb, var(--border)); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover, var(--text-muted)); }
