/* ders-kapak.css — ders kapak şemaları: ORTAK renk değişkenleri + şekil kuralları + kutu.
   Üreten: python3 kapak.py --css > ders-kapak.css   (elle düzenleme; kaynak kapak.py)
   Değerler mevcut ders CSS'lerindeki şekil paletiyle aynıdır (yorulma.css --yo-*, kompozit.css --k-*, mkc523.css --svg-*).
   Koyu tema sitenin kuralıyla aynı: :root[data-theme="dark"]. */
:root {
  --kv-c1: #2a78d6; --kv-c2: #d4581f; --kv-c3: #138a5f; --kv-c4: #b7791f;
  --kv-ink2: #4f5866; --kv-mute: #8a8f98; --kv-grid: #e1e0d9;
  --kv-f0: #f7f7f5; --kv-f1: #e4eefb; --kv-f2: #fbe9df; --kv-f3: #ddf3ea;
}
:root[data-theme="dark"] {
  --kv-c1: #5aa2f0; --kv-c2: #f08a52; --kv-c3: #3fc590; --kv-c4: #e0a84a;
  --kv-ink2: #b9b5ab; --kv-mute: #8a8f98; --kv-grid: #2b3038;
  --kv-f0: #20232a; --kv-f1: #1b2a3d; --kv-f2: #3a2519; --kv-f3: #163329;
}
.ders-kapak { margin: 28px 0 0; }
.ders-kapak .kv-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.ders-kapak .kv { display: block; width: 100%; height: auto; min-width: 560px; max-width: 760px; margin: 0 auto; }
.ders-kapak figcaption { max-width: 760px; margin: 8px auto 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.ders-kapak figcaption b { color: var(--fg); }
/* --- şekil kuralları (SVG içindeki sınıflar) --- */
.kv text{font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;fill:var(--kv-ink,var(--fg,#1c2431));font-size:12.5px}
.kv .kv-m{font-family:"Cambria Math","STIX Two Math","Times New Roman",Georgia,serif;font-style:italic;font-size:15px}
.kv .kv-up{font-style:normal}
.kv .kv-s{fill:var(--kv-mute,var(--muted,#59606c));font-size:11px}
.kv .kv-tag{fill:var(--kv-acc,var(--blue,#97652a));font-size:11px;font-weight:700;letter-spacing:.09em}
.kv .kv-ttl{font-size:15px;font-weight:700}
.kv .kv-bg{fill:var(--kv-paper,var(--paper,#fff));stroke:var(--kv-line,var(--line,#e2e2df));stroke-width:1}
.kv .kv-strip{fill:var(--kv-soft,var(--panel,#f5f6f7))}
.kv .kv-rule{stroke:var(--kv-line,var(--line,#e2e2df));stroke-width:1;fill:none}
.kv .kv-grid{stroke:var(--kv-grid,#e1e0d9);stroke-width:1;fill:none}
.kv .kv-ax{stroke:var(--kv-ink2,#4f5866);stroke-width:1.5;fill:none}
.kv .kv-ln{stroke:var(--kv-ink,var(--fg,#1c2431));stroke-width:1.5;fill:none}
.kv .kv-aux{stroke:var(--kv-mute,#8a8f98);stroke-width:1.2;fill:none;stroke-dasharray:5 4}
.kv .kv-c1{stroke:var(--kv-c1,#2a78d6);stroke-width:2.4;fill:none;stroke-linejoin:round}
.kv .kv-c2{stroke:var(--kv-c2,#d4581f);stroke-width:2.4;fill:none;stroke-linejoin:round;stroke-dasharray:7 4}
.kv .kv-c3{stroke:var(--kv-c3,#138a5f);stroke-width:2.4;fill:none;stroke-linejoin:round;stroke-dasharray:2 3.5}
.kv .kv-c4{stroke:var(--kv-c4,#b7791f);stroke-width:2.4;fill:none;stroke-linejoin:round;stroke-dasharray:11 3 2 3}
.kv .kv-t1{fill:var(--kv-c1,#2a78d6);font-weight:700}
.kv .kv-t2{fill:var(--kv-c2,#d4581f);font-weight:700}
.kv .kv-t3{fill:var(--kv-c3,#138a5f);font-weight:700}
.kv .kv-t4{fill:var(--kv-c4,#b7791f);font-weight:700}
.kv .kv-f1{fill:var(--kv-f1,#e4eefb);stroke:none}
.kv .kv-f2{fill:var(--kv-f2,#fbe9df);stroke:none}
.kv .kv-f3{fill:var(--kv-f3,#ddf3ea);stroke:none}
.kv .kv-dot1{fill:var(--kv-c1,#2a78d6)}
.kv .kv-dot2{fill:var(--kv-c2,#d4581f)}
.kv .kv-dot3{fill:var(--kv-c3,#138a5f)}
.kv .kv-dotk{fill:var(--kv-ink,var(--fg,#1c2431));stroke:var(--kv-paper,var(--paper,#fff));stroke-width:1.5}
.kv .kv-t3.kv-s{font-weight:700}
.kv .kv-lead{stroke:var(--kv-mute,#8a8f98);stroke-width:1;fill:none}
.kv .kv-circ{fill:var(--kv-f1,#e4eefb);stroke:var(--kv-c1,#2a78d6);stroke-width:2.4}
.kv .kv-ring{fill:var(--kv-paper,var(--paper,#fff));stroke:var(--kv-c1,#2a78d6);stroke-width:2.4}
.kv .kv-solidln{stroke-dasharray:none}
.kv .kv-load{stroke:var(--kv-c2,#d4581f)}
.kv .kv-beam{stroke-width:5}
.kv .kv-dim{stroke:var(--kv-ink2,#4f5866)}
.kv .kv-mom{fill:var(--kv-f2,#fbe9df);stroke:var(--kv-c2,#d4581f);stroke-width:2.4}
.kv .kv-halo{fill:var(--kv-paper,var(--paper,#fff))}
.kv .kv-arrow{fill:var(--kv-c2,#d4581f)}
.kv .kv-solid{fill:var(--kv-f0,#f7f7f5);stroke:var(--kv-ink,var(--fg,#1c2431));stroke-width:1.5}

/* kaydirma-ipucu (Asama 1, elle eklendi; kapak.py --css yeniden uretirse bu blok korunmali) */
@media (max-width: 640px) {
  .ders-kapak .kv-scroll::after { content: "Şemayı yatay kaydırarak inceleyebilirsiniz"; display: block; margin-top: 6px; text-align: center; font-size: .78rem; color: var(--muted); }
}
