/* 節拍器頁專用樣式；欄位與核取沿用 site.css 與 image-tools-common 的命名（這裡自帶 it-check） */
.mt-honest { background: #fff7ed; border-left: 4px solid var(--warn); padding: 10px 14px; border-radius: 6px; font-size: 1rem; }
.mt-panel { margin-top: 10px; padding: 12px 8px 8px; border: 2px solid var(--brand); border-radius: 14px; background: #eff4ff; text-align: center; }
.mt-panel.flash { background: #bfd2ff; }
.mt-bpmrow { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mt-bpmbox { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.mt-bpm { font-size: 4rem; font-weight: 800; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.mt-unit { font-size: .95rem; color: var(--muted); margin-top: 4px; }
.mt-step { flex: none; min-width: 48px; min-height: 48px; padding: 0 6px; border: 2px solid var(--brand); border-radius: 10px; background: #fff; color: var(--brand); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.mt-step:active { background: #dbe6ff; }
.mt-term { min-height: 1.5em; margin: 8px 0 4px; font-size: 1rem; color: var(--brand-dark); font-weight: 600; }
.mt-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 34px; margin: 4px 0; }
.mt-dot { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--brand); background: #fff; }
.mt-dot.first { border-color: var(--bad); }
.mt-dot.on { background: var(--brand); }
.mt-dot.first.on { background: var(--bad); }
.mt-beatline { margin: 4px 0; color: var(--muted); }
.mt-range { width: 100%; min-height: 36px; margin-top: 4px; }
.mt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.mt-row > * { min-width: 0; }
.mt-tapwrap .btn { width: 100%; }
.mt-tapwrap .hint { margin: 4px 0 0; font-size: .9rem; }
.mt-go { width: 100%; min-height: 60px; font-size: 1.3rem; margin-top: 8px; }
.mt-go.playing { background: var(--bad); border-color: var(--bad); }
.mt-checks { display: grid; gap: 2px; margin-top: 4px; }
.it-check { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; font-size: 1rem; cursor: pointer; }
.it-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
#mt-terms tr.hit td { background: #eff4ff; font-weight: 700; }
@media (max-width: 480px) {
  .mt-bpm { font-size: 3.2rem; }
  .mt-step { min-width: 44px; padding: 0 4px; }
  .mt-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mt-panel.flash { background: #eff4ff; } }
.sources li { overflow-wrap: anywhere; }
