:root{font-family:system-ui,sans-serif;color:#1b2430;background:#f4f6f9}body{margin:0}main{max-width:720px;margin:0 auto;padding:16px}h1{font-size:1.4rem}[hidden]{display:none!important}button{font:inherit;padding:12px 16px;border:0;border-radius:10px;background:#2563eb;color:#fff;cursor:pointer}button.grande{font-size:1.2rem;padding:22px 16px;flex:1 1 220px}button.rojo{background:#dc2626}button.apagado{background:#6b7280}.botones,.controles{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.check{display:block;margin-top:12px}#estado{font-weight:600;padding:10px 12px;background:#e0e7ff;border-radius:8px}#estado.error{background:#fee2e2;color:#991b1b}.videos{position:relative;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:4 / 3}#remoto{width:100%;height:100%;object-fit:cover}#local{position:absolute;right:8px;bottom:8px;width:28%;border-radius:8px;border:2px solid #fff;background:#222}.stats{font-size:.85rem;color:#475569;background:#fff;border-radius:8px;padding:8px 12px}
