/* 9. Bakım ve pratik */

/* ---------- tel değiştirme ---------- */
.td-svg { width: 100%; height: auto; display: block; flex: none; overflow: hidden; }
.td-svg.zoom { height: 230px; }
.td-body path { fill: var(--bone); stroke: var(--line-2); stroke-width: 1; }
.td-rose circle { fill: var(--wood); }
.td-rose .r2 { fill: var(--bone); }
.td-rose .hole { fill: var(--wood-2); }
.td-cut { fill: var(--bg); }
.td-head { fill: var(--wood-3); filter: drop-shadow(0 6px 8px rgba(36, 21, 15, .25)); }
.td-board { fill: var(--wood); filter: drop-shadow(0 6px 8px rgba(36, 21, 15, .22)); }
.td-fret { fill: var(--nickel); }
.td-inlay { fill: var(--bone); opacity: .85; }
.td-nut, .td-saddle { fill: var(--bone); }
.td-bridge { fill: var(--wood); }
.td-shaft { fill: var(--nickel); }
.td-key { fill: var(--bone); stroke: rgba(42, 28, 25, .35); stroke-width: 1; }
.td-post { fill: var(--nickel-hi); stroke: rgba(20, 10, 8, .4); stroke-width: 1; }
.td-pin { fill: var(--bone); stroke: rgba(20, 10, 8, .45); stroke-width: 1; }
.td-str { fill: none; stroke: var(--nickel-hi); stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .45)); }
.td-str.wound { stroke: #cfc0a0; }
.td-s6 { fill: none; stroke: #cfc0a0; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .45)); }
.td-s6.new { stroke: var(--root); }
.td-oldwraps path, .td-newwraps path { fill: none; stroke: #cfc0a0; stroke-width: 2.6; }
.td-newwraps path { stroke: var(--root); }
.td-ball { fill: var(--root); stroke: rgba(20, 10, 8, .5); }
.td-dust circle { fill: var(--bone); }
.td-cloth rect { fill: var(--surface-2); stroke: var(--line-2); }
.td-cloth path { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.td-cloth, .td-finger, .td-cutter, .td-tuner, .td-slackmark, .td-arrow, .td-oldpin, .td-newpin { transition: opacity .25s; }
.td-finger ellipse { fill: var(--rh-p); stroke: rgba(42, 28, 25, .45); }
.td-finger path { fill: none; stroke: rgba(42, 28, 25, .4); }
.td-cutter path { fill: var(--seventh); stroke: rgba(20, 10, 8, .5); }
.td-cutter circle { fill: var(--nickel-hi); }
.td-slackmark path { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.td-slackmark text { font: 600 12px var(--f-body); fill: var(--accent); text-anchor: middle; }
.td-arrow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 3; opacity: 0; }
.td-tuner rect { fill: var(--wood); }
.td-tuner .arc { fill: none; stroke: rgba(239, 231, 214, .35); stroke-width: 2; }
.td-tuner .ndl { stroke: var(--root); stroke-width: 2.5; stroke-linecap: round; }
.td-tuner.ok .ndl { stroke: var(--f2); }
.td-tuner text { font: 700 14px var(--f-mono); fill: var(--bone); text-anchor: middle; }
.td-tuner .ct { font-size: 11px; }
.td-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.td-pills { display: flex; gap: 5px; flex-wrap: wrap; }
.td-pill {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2);
  font: 700 .82rem var(--f-body); color: var(--ink-2); cursor: pointer; padding: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.td-pill.done { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.td-pill.on { background: var(--wood); color: var(--bone); border-color: var(--wood); }
.td-cap { min-height: 4.6em; }
.td-cap-t { margin: 0 0 .25rem; font-size: 1.1rem; }
.td-cap-p { margin: 0; font-size: .9rem; color: var(--ink-2); max-width: 68ch; }
.td-gauges { display: grid; gap: 3px; }
.td-gauges button {
  display: grid; grid-template-columns: 3.4em 2.6em 1fr 13.5em; align-items: center; gap: 10px;
  border: 0; background: transparent; padding: 3px 8px; border-radius: 8px; cursor: pointer; text-align: left; color: var(--ink);
}
.td-gauges button:hover { background: var(--surface); }
.td-sn { font-weight: 650; font-size: .82rem; color: var(--ink-2); }
.td-nn { font: 600 .8rem var(--f-mono); color: var(--muted); }
.td-bar { display: flex; align-items: center; height: 14px; }
.td-bar i { display: block; width: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--nickel-hi), var(--nickel) 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
.td-gauges .wound .td-bar i { background: repeating-linear-gradient(100deg, #cfc0a0 0 2px, #a8977a 2px 3px); }
.td-gauges .nylon .td-bar i { background: linear-gradient(180deg, #fbf6ec, var(--bone)); }
.td-gauges button.ring .td-bar i { animation: tdRing .9s ease-out; }
@keyframes tdRing { 0%, 40% { transform: translateY(1.5px); } 20%, 60% { transform: translateY(-1.5px); } 100% { transform: none; } }
.td-g { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-setnote { margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) {
  .td-gauges button { grid-template-columns: 3.2em 2.4em 1fr; }
  .td-g { grid-column: 1 / -1; padding-left: 0; white-space: normal; margin-top: -4px; }
}

/* ---------- aksiyon ve intonasyon ---------- */
.ai-svg { width: 100%; height: auto; display: block; flex: none; overflow: visible; }
.ai-body { fill: var(--bg-2); }
.ai-board { fill: var(--wood); }
.ai-fret { fill: var(--nickel); }
.ai-fret.f12 { fill: var(--nickel-hi); stroke: var(--accent); stroke-width: 1; }
.ai-nut, .ai-sad { fill: var(--bone); stroke: rgba(42, 28, 25, .3); }
.ai-bbase { fill: var(--nickel); }
.ai-str { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-linejoin: round; }
.ai-env { fill: rgba(31, 111, 106, .14); stroke: none; }
.ai-buzz circle { fill: none; stroke: var(--seventh); stroke-width: 2; }
.ai-nom { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.ai-lab { font: 600 11px var(--f-body); fill: var(--muted); text-anchor: middle; }
.ai-dim line { stroke: var(--accent); stroke-width: 1.5; }
.ai-dimt { font: 700 12px var(--f-body); fill: var(--accent); }
.ai-dim, .ai-finger, .ai-touch { transition: opacity .2s; }
.ai-finger ellipse { fill: var(--rh-p); stroke: rgba(42, 28, 25, .45); }
.ai-touch { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 2.5; opacity: 0; }
.ai-meter { display: inline-block; width: 60px; height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; vertical-align: middle; }
.ai-meter i { display: block; height: 100%; background: var(--f2); transition: width .15s, background .15s; }
.ai-meter.hard i { background: var(--seventh); }
.ai-res { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; }
.ai-res > div:first-child { display: flex; flex-direction: column; }
.ai-big { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1; color: var(--seventh); font-variant-numeric: tabular-nums; transition: color .2s; }
.ai-big.ok { color: var(--f2); }
.ai-scale { position: relative; height: 34px; }
.ai-scale::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(200, 67, 79, .35), var(--surface) 42% 58%, rgba(200, 67, 79, .35)); }
.ai-scale .z { position: absolute; left: calc(50% - 1px); top: 4px; width: 2px; height: 18px; background: var(--f2); }
.ai-scale .mk { position: absolute; top: 5px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--seventh); box-shadow: 0 0 0 3px var(--bg); transition: left .2s, background .2s; }
.ai-scale.ok .mk { background: var(--f2); }
.ai-scale small { position: absolute; top: 20px; font-size: .7rem; color: var(--muted); }
.ai-scale .l { left: 0; } .ai-scale .c { left: 50%; transform: translateX(-50%); } .ai-scale .r { right: 0; }
.ai-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--ink-2); }
.ai-beat { color: var(--muted); }
.ai-mic { gap: 8px 12px; font-size: .86rem; }
.ai-mic-msg { color: var(--ink-2); }
.ai-mic-msg.warn { background: rgba(232, 178, 61, .16); padding: 4px 10px; border-radius: 10px; }
.ai-priv { margin: 0; font-size: .78rem; color: var(--muted); }

/* ---------- pratik planı ---------- */
.pp-wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px 26px; min-height: 0; overflow: auto; align-items: start; padding-right: 4px; }
.pp-plan, .pp-bookwrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pp-ribbon { display: flex; gap: 3px; height: 26px; }
.pp-seg { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 4px; overflow: hidden; background: color-mix(in srgb, var(--sc) 22%, var(--surface)); min-width: 22px; }
.pp-seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--sc); transition: width .3s linear; }
.pp-seg small { position: relative; font-weight: 700; font-size: .72rem; color: var(--ink); }
.pp-seg.done small, .pp-seg.now small { color: #fff; }
.pp-seg.now { box-shadow: 0 0 0 2px var(--ink); }
.pp-timer { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.pp-tl { display: flex; align-items: center; gap: 14px; }
.pp-clock { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); min-width: 3.1em; }
.pp-tinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-stepname { font-weight: 700; color: var(--ink); }
.pp-what { font-size: .84rem; color: var(--ink-2); }
.pp-bar { display: block; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pp-bar i { display: block; height: 100%; width: 0; background: var(--sc, var(--accent)); transition: width .3s linear; }
.pp-tbtns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pp-tbtns .spacer { flex: 1; }
.pp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pp-list li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sc); }
.pp-li-t { display: flex; flex-direction: column; min-width: 0; font-size: .86rem; line-height: 1.35; }
.pp-li-t b { font-weight: 650; color: var(--ink); }
.pp-li-t span { color: var(--muted); font-size: .8rem; }
.pp-li-dk { font-size: .82rem; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pp-li-go { padding: .2em .7em; }
.pp-list li.done .pp-li-t b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.pp-list li.now .pp-li-t b { color: var(--accent); }
.pp-book h4 { margin: 14px 0 6px; font-family: var(--f-display); font-size: 1rem; font-weight: 700; font-stretch: 90%; }
.pp-book h4:first-child { margin-top: 0; }
.pp-chips, .kp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pp-chip { padding: 2px 9px; border-radius: 999px; background: var(--wood); color: var(--bone); font-size: .82rem; }
.pp-empty { margin: 0; font-size: .84rem; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pp-table { width: 100%; }
.pp-table .chord { font-size: .82rem; }
.pp-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 64px; align-items: end; }
.pp-day { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: 3px; }
.pp-day i { display: block; min-height: 3px; border-radius: 3px 3px 1px 1px; background: var(--accent); opacity: .85; }
.pp-day small { font-size: .64rem; text-align: center; color: var(--muted); line-height: 1; }
.pp-day.today small { color: var(--ink); font-weight: 700; }
.pp-sum { margin: 6px 0 0; font-size: .82rem; color: var(--ink-2); }
.pp-priv { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.pp-priv svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.pp-delrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pp-del.armed { background: var(--seventh); color: #fff; border-color: var(--seventh); }
.pp-delmsg { font-size: .82rem; color: var(--f2); }
.pp-float {
  position: fixed; right: var(--gutter); top: 14px; z-index: 7;
  border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer;
  background: var(--wood); color: var(--bone); font: 650 .82rem var(--f-body); font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 24px rgba(36, 21, 15, .3);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.pp-float.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 1250px) { .pp-wrap { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .pp-wrap { overflow: visible; } }

/* ---------- kapanış ---------- */
.kp-links { padding-left: 1.1em; }
.kp-links li { margin-bottom: .2em; }
.kp-chip {
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); border-radius: 999px;
  padding: .28em .75em; font-size: .8rem; cursor: pointer;
}
.kp-chip.on { background: var(--wood); color: var(--bone); border-color: var(--wood); }
.kp-title { min-height: 2.2rem; }
.kp-note { margin: 0; font-size: .88rem; color: var(--ink-2); }
.kp-note:empty { display: none; }
.ai-sadlab { text-anchor: end; }
