/* core.css — Cobject Web Architecture substrate */

html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Typography, base layout, etc. (expand as needed) */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;     /* plain base, theme will override */
}

/* --- GLOBAL KEYFRAME LIBRARY (available to all themes) --- */
@keyframes shimmer {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

@keyframes driftField {
  0%   { background-position: 30% 30%; }
  50%  { background-position: 70% 70%; }
  100% { background-position: 30% 30%; }
}

/* --- THEME LAYER ANCHOR --- */
.theme-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}