:root {
  --fondo: #050507;
  --capa: #0e0e12;
  --capa2: #16161c;
  --linea: #26262e;
  --texto: #f5f5f7;
  --tenue: #8b8b96;
  --acento: #ff2bd6;
  --acento2: #00e5ff;
  --ok: #b6ff00;
  --alerta: #ff4d2e;
  --radio: 14px;
  --letra: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { background: var(--fondo); color: var(--texto); font-family: var(--letra); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--acento2); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

.marca { font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }
.marca b { color: var(--acento); font-weight: 800; }
.etiqueta { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tenue); }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--texto); color: var(--fondo); font-weight: 700; letter-spacing: -0.01em;
  transition: transform 0.12s, opacity 0.2s;
}
.boton:active { transform: scale(0.97); }
.boton.sec { background: var(--capa2); color: var(--texto); border: 1px solid var(--linea); }
.boton.peligro { background: var(--alerta); color: #fff; }
.boton:disabled { opacity: 0.4; cursor: default; }

.panel { background: var(--capa); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--tenue); display: inline-block; }
.punto.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.punto.off { background: var(--alerta); }
.punto.mic { background: var(--acento2); box-shadow: 0 0 10px var(--acento2); }

input[type='range'] { width: 100%; accent-color: var(--texto); }
.campo {
  height: 48px; padding: 0 16px; border-radius: 12px; background: var(--capa2);
  border: 1px solid var(--linea); width: 100%;
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
