/* 調音器頁專用樣式；欄位沿用 site.css 的 .qr-field */
.tn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.tn-row > * { min-width: 0; }
.tn-a4wrap { margin: 10px 0; }
.tn-a4wrap > label { display: block; margin-bottom: 4px; }
.tn-a4row { display: flex; gap: 6px; align-items: center; }
.tn-a4row input[type=number] { flex: 1 1 70px; min-width: 0; width: 100%; min-height: 48px; padding: 0 8px; border: 2px solid var(--line); border-radius: 10px; font: inherit; font-size: 1.05rem; text-align: center; }
.tn-a4row .btn { flex: none; min-height: 48px; padding: 0 10px; }
.tn-go { width: 100%; min-height: 56px; font-size: 1.15rem; margin-top: 6px; }
.tn-go.playing { background: var(--bad); border-color: var(--bad); }
.tn-meter { margin-top: 10px; padding: 12px 12px 10px; border: 2px solid var(--line); border-radius: 14px; background: #f8fafc; text-align: center; }
.tn-meter.ok { border-color: var(--ok); background: #ecfdf5; }
.tn-meter.low, .tn-meter.high { border-color: var(--warn); background: #fff7ed; }
.tn-notebox { display: flex; align-items: baseline; justify-content: center; gap: 4px; line-height: 1; }
.tn-note { font-size: 4.5rem; font-weight: 800; color: var(--brand-dark); }
.tn-oct { font-size: 1.8rem; font-weight: 700; color: var(--muted); }
.tn-cents { margin: 6px 0; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tn-scale { position: relative; height: 40px; margin: 8px 6px 18px; background: #e5e7eb; border-radius: 8px; }
.tn-zone { position: absolute; left: 45%; width: 10%; top: 0; bottom: 0; background: #86efac; }
.tn-needle { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 6px; margin-left: -3px; background: var(--brand-dark); border-radius: 3px; transition: left .08s linear; }
.tn-tick { position: absolute; top: 44px; font-size: .85rem; color: var(--muted); transform: translateX(-50%); }
.tn-tick.l { left: 0; transform: none; }
.tn-tick.m { left: 50%; }
.tn-tick.r { right: 0; left: auto; transform: none; }
.tn-hint { min-height: 1.5em; margin: 10px 0 4px; font-weight: 600; }
.tn-hz { margin: 4px 0; color: var(--muted); }
.tn-levelwrap { display: flex; align-items: center; gap: 8px; margin-top: 8px; justify-content: center; font-size: .9rem; color: var(--muted); }
.tn-levelbar { width: 55%; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.tn-levelbar span { display: block; height: 100%; width: 0; background: var(--brand); }
.tn-strlabel { margin: 14px 0 6px; font-weight: 600; }
.tn-strings { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-str { flex: 1 1 72px; min-width: 64px; min-height: 56px; padding: 4px 6px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--fg); }
.tn-str strong { font-size: 1.2rem; }
.tn-str small { color: var(--muted); font-size: .8rem; }
.tn-str.near { border-color: var(--brand); background: #eff4ff; }
.tn-str.playing { border-color: var(--ok); background: #ecfdf5; }
@media (max-width: 480px) {
  .tn-row { grid-template-columns: 1fr; }
  .tn-note { font-size: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) { .tn-needle { transition: none; } }
.sources li { overflow-wrap: anywhere; }
