.particle-life-controls { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.particle-life-controls > div { flex: 1 1 10rem; min-width: 0; }
.particle-life-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
#particle-life-world { display: block; width: 100%; max-width: 600px; height: auto; border: 1px solid var(--line); }
#particle-life-status { font-variant-numeric: tabular-nums; }
.particle-life-table { overflow-x: auto; }
.particle-life-table table { width: auto; }
.particle-life-table th, .particle-life-table td { padding: .4rem .5rem; white-space: nowrap; }
.particle-life-table td { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
.pl-swatch { display: inline-block; width: .7em; height: .7em; margin-right: .35em; border-radius: 50%; }
.pl-c0 { background: #ff5a5a; } .pl-c1 { background: #ffc23a; } .pl-c2 { background: #7be36b; }
.pl-c3 { background: #45d4e6; } .pl-c4 { background: #6f8bff; } .pl-c5 { background: #e070ff; }
.pl-vp0, .pl-vm0 { background: transparent; }
.pl-vp1 { background: rgba(80, 200, 110, .15); } .pl-vp2 { background: rgba(80, 200, 110, .3); }
.pl-vp3 { background: rgba(80, 200, 110, .45); } .pl-vp4 { background: rgba(80, 200, 110, .6); }
.pl-vm1 { background: rgba(230, 80, 80, .15); } .pl-vm2 { background: rgba(230, 80, 80, .3); }
.pl-vm3 { background: rgba(230, 80, 80, .45); } .pl-vm4 { background: rgba(230, 80, 80, .6); }
.tool .particle-life-actions button:disabled { opacity: .5; cursor: default; }
#particle-life-share-result { margin-bottom: 1rem; }
#particle-life-share-result input { width: 100%; }
