/* Reset + type. Every colour, font and corner comes from css/theme.css (ธีม ดำมืด ผู้ใช้เลือก 22 พ.ย. 69). */

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

html { background: var(--page); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 90% 420px at 50% -120px, var(--page-glow), transparent 70%) no-repeat, var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a { color: var(--text-2); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
