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

body {
  font-family: system-ui, sans-serif;
  background: #12131a;
  color: #eee;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

header { text-align: center; }
h1 { font-size: 2rem; }
#status { color: #8a8fa3; margin-top: 0.25rem; min-height: 1.2em; }

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 960px;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

#video { display: none; }

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

button {
  font: inherit;
  color: #eee;
  background: #23252f;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

button:hover { background: #2f3240; transform: translateY(-1px); }

#filters button.active {
  background: #3b5bdb;
  border-color: #74a0ff;
}

.actions { display: flex; gap: 0.5rem; }
