/* Noise player pages (brown, white, pink): the play button, panel and animated background. */
.tool { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
    #bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; transition: opacity .6s; }
    .tool.no-bg #bg-canvas { opacity: 0; }
    .tool-inner { position: relative; z-index: 1; padding: 40px 0 56px; text-align: center; background: linear-gradient(to bottom, rgba(11,11,16,.35), rgba(11,11,16,.6)); }
    .tool h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 6px; }
    .tool .lede { color: var(--text-dim); margin: 0 auto 28px; max-width: 32em; }
    .play {
      width: 168px; height: 168px; border-radius: 50%; border: 0; cursor: pointer; color: #1a0d05;
      background: radial-gradient(circle at 35% 30%, var(--accent-2), var(--accent) 65%, #c4491c);
      box-shadow: 0 0 0 10px rgba(255,122,61,.14), 0 20px 60px rgba(255,122,61,.35);
      display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .3s;
    }
    .play:hover { transform: scale(1.04); }
    .play:active { transform: scale(0.97); }
    .play svg { width: 64px; height: 64px; fill: currentColor; }
    .play .i-pause { display: none; }
    .play[aria-pressed="true"] .i-play { display: none; }
    .play[aria-pressed="true"] .i-pause { display: block; }
    .play[aria-pressed="true"] { animation: pulse 4s ease-in-out infinite; }
    @keyframes pulse { 50% { box-shadow: 0 0 0 22px rgba(255,122,61,.06), 0 20px 80px rgba(255,122,61,.5); } }
    .status { min-height: 1.6em; margin: 18px 0 24px; color: var(--text-dim); }
    .panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 24px; max-width: 760px; margin: 0 auto; padding: 22px; text-align: left;
             background: rgba(20,20,28,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--radius); }
    .seg { display: flex; gap: 6px; }
    .seg .btn { flex: 1; padding: 0 8px; }
    .toggle-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 14px; }
    .toggle-row input { width: 22px; height: 22px; accent-color: var(--accent); }
    .scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
    kbd { background: var(--surface-2); border-radius: 5px; padding: 1px 6px; font-size: .9em; }
