#forest-fire-world {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  background: var(--bg);
  outline: 1px solid var(--line);
  image-rendering: pixelated;
  cursor: crosshair;
  touch-action: manipulation;
}
.forest-fire-actions { display: flex; flex-wrap: wrap; }
.forest-fire-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .25rem 1.25rem;
  margin-bottom: 1rem;
}
.tool .forest-fire-controls input[type="range"] { padding: 0; accent-color: var(--fg); }
#forest-fire-status { color: var(--mute); font-family: var(--mono); font-size: .85rem; }
#forest-fire-share-result { margin-bottom: 1rem; }
#forest-fire-share-result input { width: 100%; }
#forest-fire-chart { display: block; width: 100%; max-width: 600px; height: auto; background: var(--bg); outline: 1px solid var(--line); }
.forest-fire-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.forest-fire-legend .tree { color: #a8dbac; }
.forest-fire-legend .fire { color: #ffbe8e; }
.forest-fire-legend .empty { color: #8a8a8a; }
