/* base.css — the reset every Kaayko page shares.
   Moved out of storestyle.css (its first four rules) and header.css (the dark
   footer rule) on 12 Sep 2026: the paddling pages had been loading 2 700 lines
   of store CSS for exactly these declarations, and nothing else in those files
   matched a paddling page. Load order on every page: tokens.css, base.css,
   then the page's own sheets. Declarations are byte-identical to before. */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  background-color: var(--color-body-bg);
  color: var(--color-text-base);
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
}

main { flex: 1; padding: 0 var(--spacing-medium); background: inherit; }

html.dark-theme footer {
  background: #222;
  color: #ccc;
}
