/* index.css — extracted from inline <style> blocks. Generated by scripts/h1-extract.mjs */
:root { color-scheme: dark; }
  html, body {
    margin: 0; height: 100%;
    background: #0b0d10; color: #e6e6e6;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
  }
  #wrap {
    display: flex; flex-direction: column;
    height: 100%;
  }
  #toolbar {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 8px 10px;
    background: #14171c;
    border-bottom: 1px solid #222;
    align-items: center;
  }
  #toolbar button {
    background: #1e232b; color: #e6e6e6;
    border: 1px solid #2a313b;
    padding: 6px 12px; border-radius: 6px;
    cursor: pointer; font-size: 13px;
    min-height: 44px;
  }
  #toolbar button:hover { background: #262d37; }
  #toolbar button.active {
    background: #2d7fff; border-color: #4a94ff;
    color: white; font-weight: 600;
  }
  #toolbar label { font-size: 12px; opacity: 0.75; margin-left: 8px; }
  #toolbar input[type=range] { width: 110px; min-height: 44px; }
  #stage {
    flex: 1; position: relative;
    display: flex; align-items: center; justify-content: center;
  }
  canvas {
    background: #000;
    cursor: crosshair;
    image-rendering: pixelated;
    max-width: 100%; max-height: 100%;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    touch-action: none;
  }
  .dot {
    display: inline-block; width: 10px; height: 10px;
    border-radius: 50%; margin-right: 6px;
    vertical-align: middle;
  }
  @media (max-width: 768px) {
    #toolbar {
      padding: 6px;
      gap: 4px;
      max-height: 110px;
      overflow-y: auto;
    }
    #toolbar button {
      padding: 8px 10px;
      font-size: 12px;
      min-height: 44px;
    }
    #toolbar label { margin-left: 4px; font-size: 11px; }
    #toolbar input[type=range] { width: 80px; }
    #toolbar > span:last-child { display: none; }
    .dot { width: 8px; height: 8px; margin-right: 4px; }
  }
  @media (max-width: 480px) {
    #toolbar {
      padding: 4px;
      gap: 3px;
      max-height: 100px;
    }
    #toolbar button {
      padding: 6px 8px;
      font-size: 11px;
      min-height: 44px;
    }
    #toolbar input[type=range] { width: 60px; }
  }
