/* Metronome — tool-specific styles */
.mt-card { text-align: center; }
.mt-beats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; min-height: 24px; }
.mt-beat { width: 20px; height: 20px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line);
  transition: transform .08s, background .08s, box-shadow .08s; }
.mt-beat.accent { background: var(--card-2); border-color: var(--accent); }
.mt-beat.on { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 16px -2px rgba(108,139,255,.8); }
.mt-beat.accent.on { background: var(--accent-2); box-shadow: 0 0 18px -2px rgba(92,214,192,.9); }

.mt-bpm { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 14px; }
.mt-step { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--text); font-size: 1.6rem; font-weight: 700; cursor: pointer; flex-shrink: 0;
  transition: border-color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.mt-step:hover { border-color: var(--accent); }
.mt-step:active { transform: scale(.9); }
.mt-bpm-display { min-width: 150px; }
.mt-bpm-display b { font-size: 3.6rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  line-height: 1; display: block; }
.mt-bpm-display span { color: var(--muted-2); font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; }
.mt-bpm-display small { display: block; color: var(--accent-2); font-size: .9rem; font-weight: 600; margin-top: 4px; }

#mtSlider { max-width: 440px; margin: 6px auto 20px; }

.mt-controls { display: flex; gap: 12px; justify-content: center; margin-bottom: 22px; }
.mt-play { font-size: 1.05rem; padding: 14px 36px; border-radius: 999px; min-width: 140px; }
.mt-tap-flash { animation: mt-tapflash .15s; }
@keyframes mt-tapflash { from { background: var(--accent); color: #0b0e1c; } }

.mt-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left;
  padding-top: 18px; border-top: 1px solid var(--line); }
.mt-options select { background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  padding: 11px 12px; border-radius: var(--radius-sm); font-family: inherit; font-size: .92rem; width: 100%; }

@media (max-width: 640px) { .mt-options { grid-template-columns: 1fr; } .mt-bpm-display b { font-size: 3rem; } }
