:root{--rojo:#e4122b;--tinta:#161616;--gris:#f2f2f2;--verde:#1b8a3a}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-family:system-ui,-apple-system,sans-serif;color:var(--tinta);background:#fff}#barra{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem 1rem;background:var(--rojo);color:#fff;padding-top:calc(.7rem + env(safe-area-inset-top))}#titulo{font-weight:700}.chip{font-size:.75rem;background:#fff3;padding:.35rem .7rem;border-radius:999px;border:0;color:inherit;font-family:inherit}.chip.off{background:#b00020}.chip.ok{background:var(--verde)}.chip.sync{background:#d99e00}#app{padding:1rem;max-width:640px;margin:0 auto}button{font:inherit}.btn{width:100%;padding:.9rem;border:0;border-radius:.6rem;background:var(--rojo);color:#fff;font-weight:600}input{width:100%;padding:.8rem;border:1px solid #ccc;border-radius:.6rem;font:inherit}.lista{list-style:none;padding:0;margin:0}.item{display:flex;align-items:center;gap:.75rem;padding:.7rem;border-bottom:1px solid var(--gris)}.item .nom{flex:1}.toggle{min-width:5.5rem;min-height:2.75rem;padding:.6rem;border-radius:.5rem;border:2px solid #ccc;background:#fff}.toggle.on{border-color:var(--verde);background:#e7f6ec;color:var(--verde);font-weight:700}.toggle.no{border-color:#c9ced4;background:#f6f7f8;color:#6b7280}.toggle.rol.on{border-color:var(--tinta);background:#eceff3;color:var(--tinta)}.pasos{display:flex;align-items:center;gap:.4rem}.pasos button{width:2.75rem;height:2.75rem;border-radius:.5rem;border:1px solid #ccc;background:#fff;font-size:1.2rem}.pasos .n{min-width:1.5rem;text-align:center;font-weight:700}.pasos .tarj{width:2.75rem;height:2.75rem;font-size:1.1rem;filter:grayscale(1);opacity:.45}.pasos .tarj.on{filter:none;opacity:1;border-color:var(--tinta);font-weight:700}.tabs{display:flex;gap:.5rem;margin-bottom:1rem}.tabs button{flex:1;padding:.7rem;border:0;border-radius:.6rem;background:var(--gris)}.tabs button.activa{background:var(--tinta);color:#fff}.filtros{display:flex;gap:.4rem;margin-bottom:.8rem;overflow-x:auto;padding-bottom:.2rem}.filtros .fchip{flex:0 0 auto;padding:.35rem .8rem;border:0;border-radius:999px;background:var(--gris);font-size:.85rem}.filtros .fchip.on{background:var(--tinta);color:#fff;font-weight:600}.tarjeta{border:1px solid var(--gris);border-radius:.6rem;padding:.8rem;margin-bottom:.6rem}.encabezado{font-size:.7rem;text-transform:uppercase;letter-spacing:.02em;color:#666;font-weight:700;border-bottom:2px solid var(--gris)}.encabezado .cab-tog{min-width:5.5rem;text-align:center}.encabezado .nom{color:#666}.encabezado .cab-goles{min-width:3.2rem;text-align:center}.encabezado .cab-icono{min-width:3.2rem;text-align:center;white-space:nowrap;font-size:.62rem}.pasos .chip-evento{min-width:3.2rem;height:2.75rem;border:1px solid #ccc;border-radius:.5rem;background:#fff;font-weight:700;font-size:1rem}.barra-equipo{position:sticky;top:0;z-index:5;background:#fff;padding:.5rem 0 .6rem;border-bottom:1px solid var(--gris)}.barra-equipo .resumen{font-size:.85rem;color:#444;font-weight:600;margin:0 0 .5rem}.barra-equipo .acciones{display:flex;gap:.5rem;align-items:center}.barra-equipo input{flex:1;min-height:2.75rem;padding:.5rem .7rem}.barra-equipo .todos{flex:0 0 auto;min-height:2.75rem;padding:.5rem .8rem;border:2px solid var(--verde);border-radius:.5rem;background:#fff;color:var(--verde);font-weight:700;white-space:nowrap}.barra-equipo .todos[disabled]{border-color:#ccc;color:#999;font-weight:600}.sin-resultados{padding:.8rem;color:#666}.editor-ov{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem}.editor{background:#fff;border-radius:.8rem;padding:1.2rem;width:100%;max-width:20rem;text-align:center}.editor h3{margin:.2rem 0 1rem;font-size:1rem}.editor-num{font-size:3.5rem;font-weight:800;line-height:1;padding:1rem;border:2px dashed #ccc;border-radius:.6rem;touch-action:none;cursor:ns-resize;-webkit-user-select:none;user-select:none}.editor-pasos{display:flex;gap:.6rem;margin:.8rem 0}.editor-pasos button{flex:1;height:3rem;font-size:1.6rem;border:1px solid #ccc;border-radius:.6rem;background:#fff}.editor-ayuda{font-size:.8rem;color:#666;margin:.4rem 0 1rem}.editor .modal-msg{font-size:1rem;line-height:1.4;margin:.4rem 0 1.2rem;white-space:pre-line;text-align:left}.editor-acc{display:flex;gap:.6rem}.editor-acc button{flex:1;padding:.9rem;border-radius:.6rem;font-weight:600}.editor-cancelar{border:1px solid #ccc;background:#fff}.editor-confirmar{border:0}
