/* ÖYG213 — slayt teması. Renkler token olarak tanımlı; koyu tema aynı tokenları yeniden tanımlar. */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #eeece6;
  --ink: #101216;
  --ink-2: #4a4d55;
  --muted: #84868c;
  --line: #d9d6cd;
  --accent: #d4541f;
  --accent-ink: #ffffff;
  --blue: #2a78d6;
  --good: #0a8a0a;
  --bad: #d03b3b;
  --warn: #b97a00;
  --user-bubble: #2a78d6;
  --user-ink: #ffffff;
  --bot-bubble: #eeece6;
  --tok1: #cde2fb; --tok2: #fbdccd; --tok3: #c9efdf; --tok4: #fbe9b8; --tok5: #f6d3e1;
  --code-bg: #14171d;
  --code-ink: #e8eaee;
  --shadow: 0 10px 30px rgba(16, 18, 22, .10);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0f13;
  --surface: #181b21;
  --surface-2: #232730;
  --ink: #f2f3f5;
  --ink-2: #c1c4cb;
  --muted: #8a8d95;
  --line: #333843;
  --accent: #f0703a;
  --accent-ink: #14100d;
  --blue: #5b9ff0;
  --good: #36c236;
  --bad: #ef6b6b;
  --warn: #f2b23a;
  --user-bubble: #2f6fc4;
  --user-ink: #ffffff;
  --bot-bubble: #232730;
  --tok1: #1c4a80; --tok2: #7a3a1c; --tok3: #14573f; --tok4: #6b4f08; --tok5: #6e2a47;
  --code-bg: #07080b;
  --code-ink: #e8eaee;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

html, body { background: var(--bg); }
.reveal {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  color: var(--ink);
  line-height: 1.35;
}
.reveal-viewport { background: var(--bg); }
.reveal .slides { text-align: left; }
.reveal .slides > section, .reveal .slides > section > section {
  box-sizing: border-box;
  padding: 10px 28px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}
.reveal h1, .reveal h2, .reveal h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
.reveal h1 { font-size: 2.6em; }
.reveal h2 { font-size: 1.55em; }
.reveal h3 { font-size: 1.05em; font-weight: 700; margin-bottom: .35em; }
.reveal p { margin: 0 0 .6em; }
.reveal ul, .reveal ol { margin: 0 0 .6em 1.1em; padding: 0; }
.reveal li { margin: .28em 0; }
.reveal li::marker { color: var(--accent); }
.reveal strong { font-weight: 750; }
.reveal em { font-style: normal; color: var(--accent); font-weight: 650; }
.reveal a { color: var(--blue); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); }
.reveal code { font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace; font-size: .88em; background: var(--surface-2); padding: .08em .3em; border-radius: 6px; }
.reveal small, .reveal .s { font-size: .76em; color: var(--ink-2); }
.reveal .muted { color: var(--muted); }
.reveal .c { text-align: center; }
.reveal .xl { font-size: 1.5em; font-weight: 750; line-height: 1.2; text-wrap: balance; }
.reveal .lead { font-size: 1.15em; color: var(--ink-2); text-wrap: pretty; }

/* Bölüm etiketi (her slaytın üstünde) */
.reveal .kicker {
  font-size: .56em; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .7em;
}

/* Kapak ve bölüm ayırıcı slaytlar */
.reveal section.t { text-align: left; }
.reveal section.t h1 { font-size: 3em; }
.reveal section.t .no {
  font-size: 5.2em; font-weight: 850; line-height: .9; color: var(--accent);
  letter-spacing: -0.04em; margin-bottom: .12em;
}
.reveal section.t p { font-size: 1.1em; color: var(--ink-2); max-width: 26em; }
.reveal section.t p.kicker { font-size: .56em; color: var(--accent); max-width: none; }
.reveal p.author { display: flex; align-items: center; gap: .45em; font-size: .62em; color: var(--ink-2); max-width: none; margin-top: 1.1em; }
.reveal p.author img { width: 1.25em; height: 1.25em; margin: 0; }
.reveal p.author a { color: var(--accent); }
.reveal section.t p.author { font-size: .56em; color: var(--ink-2); margin-top: .9em; padding-top: .6em; border-top: 1px solid var(--line); }
.reveal section.t:has(> p.author) .no { font-size: 3.9em; }
:root[data-theme="dark"] .reveal p.author img { filter: invert(1); }
.reveal section.t p.src { font-size: .5em; color: var(--muted); max-width: none; }
.reveal section.t ul.plan { list-style: none; margin: .8em 0 0; display: flex; flex-wrap: wrap; gap: .4em .5em; }
.reveal section.t ul.plan li { font-size: .68em; padding: .3em .7em; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); margin: 0; }

/* Yerleşim */
.reveal .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.reveal .cols.c3 { grid-template-columns: repeat(3, 1fr); }
.reveal .cols.c4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reveal .cols.w64 { grid-template-columns: 3fr 2fr; }
.reveal .cols.w46 { grid-template-columns: 2fr 3fr; }
.reveal .cols.mid { align-items: center; }
.reveal .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow);
}
.reveal .card h3 { margin-bottom: .3em; }
.reveal .card p:last-child, .reveal .card ul:last-child { margin-bottom: 0; }
.reveal .card.good { border-color: var(--good); }
.reveal .card.bad { border-color: var(--bad); }
.reveal .card.hl { border-color: var(--accent); border-width: 2px; }
.reveal .tag { display: inline-block; font-size: .58em; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: .2em .6em; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); vertical-align: middle; }
.reveal .tag.good { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.reveal .tag.bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.reveal .tag.acc { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }

/* Büyük sayı */
.reveal .stat { font-size: 3.6em; font-weight: 850; letter-spacing: -0.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.reveal .stat + p { margin-top: .3em; color: var(--ink-2); }
.reveal .stat.sm { font-size: 2.2em; }

/* Kaynak satırı */
.reveal .src { font-size: .5em; color: var(--muted); margin-top: 1.1em; line-height: 1.4; }
.reveal .src a { color: var(--muted); border-bottom-color: var(--line); }

/* Görsel */
.reveal figure { margin: 0; }
.reveal figure img, .reveal img.fig {
  display: block; max-width: 100%; max-height: 520px; margin: 0 auto; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.reveal figure.tall img { max-height: 470px; }
.reveal figure.short img { max-height: 380px; }
.reveal figure.plain img { border: 0; background: transparent; border-radius: 0; }
.reveal figcaption { font-size: .5em; color: var(--muted); margin-top: .6em; text-align: center; }
.reveal figcaption a { color: var(--muted); }
.reveal img.logo { height: 150px; width: auto; display: block; margin: 0 auto; border: 0; background: transparent; }
.reveal img.logo.sm { height: 54px; display: inline-block; margin: 0; vertical-align: middle; }
:root[data-theme="dark"] .reveal img.mono { filter: invert(1); }

/* Sohbet penceresi maketi */
.reveal .chat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; font-size: .74em;
}
.reveal .chat::before {
  content: attr(data-title); display: block; padding: .5em .9em; font-weight: 700;
  font-size: .85em; color: var(--ink-2); background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.reveal .chat > p { margin: .55em .8em; padding: .55em .8em; border-radius: 14px; max-width: 86%; width: fit-content; }
.reveal .chat > p.u { background: var(--user-bubble); color: var(--user-ink); margin-left: auto; border-bottom-right-radius: 4px; }
.reveal .chat > p.a { background: var(--bot-bubble); color: var(--ink); border-bottom-left-radius: 4px; }
.reveal .chat > p.sys { background: transparent; border: 1px dashed var(--line); color: var(--muted); max-width: 100%; width: auto; font-size: .9em; }
.reveal .chat > p.think { background: transparent; border-left: 3px solid var(--warn); border-radius: 0; color: var(--ink-2); font-style: italic; max-width: 100%; }
.reveal .chat > p.tool { background: var(--code-bg); color: var(--code-ink); font-family: ui-monospace, Consolas, monospace; font-size: .9em; max-width: 100%; }

/* Prompt kutusu */
.reveal .prompt {
  background: var(--code-bg); color: var(--code-ink); border-radius: 14px; padding: 16px 18px;
  font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace;
  font-size: .66em; line-height: 1.5; white-space: pre-wrap; position: relative; box-shadow: var(--shadow);
}
.reveal .prompt[data-l]::before {
  content: attr(data-l); display: block; font-family: system-ui, sans-serif; font-weight: 750;
  font-size: .8em; letter-spacing: .08em; text-transform: uppercase; color: #f0a070; margin-bottom: .6em;
}
.reveal .prompt b { color: #8fd0ff; font-weight: 600; }
.reveal .prompt i { color: #9aa0aa; font-style: normal; }
.reveal .prompt mark { background: #5a3d00; color: #ffe2a0; padding: 0 .2em; border-radius: 4px; }

/* Token görselleştirme */
.reveal .tok { font-family: ui-monospace, Consolas, monospace; font-size: .95em; line-height: 2; }
.reveal .tok span { padding: .18em .12em; border-radius: 5px; white-space: pre; }
.reveal .tok span:nth-child(5n+1) { background: var(--tok1); }
.reveal .tok span:nth-child(5n+2) { background: var(--tok2); }
.reveal .tok span:nth-child(5n+3) { background: var(--tok3); }
.reveal .tok span:nth-child(5n+4) { background: var(--tok4); }
.reveal .tok span:nth-child(5n+5) { background: var(--tok5); }
.reveal .tokn { font-size: .62em; color: var(--ink-2); font-weight: 700; }

/* Yatay çubuk grafik: tek seri, tek renk; değer doğrudan etiketli */
.reveal .bars { display: grid; gap: 10px; font-size: .72em; }
.reveal .bars > div { display: grid; grid-template-columns: var(--lw, 11em) 1fr 6.5em; align-items: center; gap: 12px; }
.reveal .bars > div::before { content: attr(data-l); color: var(--ink); text-align: right; line-height: 1.15; }
.reveal .bars > div::after { content: attr(data-v); color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.reveal .bars > div > i {
  display: block; height: 22px; border-radius: 0 4px 4px 0; background: var(--blue);
  width: calc(var(--v) * 1%); min-width: 2px; transition: width .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal .bars > div.hl > i { background: var(--accent); }
.reveal .bars > div.dim > i { background: var(--muted); }
.reveal .bars > div:hover > i { filter: brightness(1.12); }
.reveal section:not(.present) .bars > div > i { width: 0; }

/* Olasılık tablosu (sonraki token) */
.reveal .probs { display: grid; gap: 6px; font-size: .7em; font-family: ui-monospace, Consolas, monospace; }
.reveal .probs > div { display: grid; grid-template-columns: 7em 1fr 3.4em; gap: 10px; align-items: center; }
.reveal .probs > div::before { content: attr(data-l); }
.reveal .probs > div::after { content: attr(data-v); color: var(--ink-2); }
.reveal .probs > div > i { display: block; height: 18px; border-radius: 0 4px 4px 0; background: var(--blue); width: calc(var(--v) * 1%); min-width: 2px; }
.reveal .probs > div.hl > i { background: var(--accent); }

/* Zaman çizelgesi */
.reveal .tl { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.reveal .tl li { position: relative; margin: 0; padding: .32em 0 .32em 1em; font-size: .8em; }
.reveal .tl li::before { content: ""; position: absolute; left: -9px; top: .72em; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-sizing: border-box; }
.reveal .tl li b { display: inline-block; margin-right: .5em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tablo */
.reveal table { border-collapse: collapse; width: 100%; font-size: .76em; }
.reveal th, .reveal td { text-align: left; padding: .45em .6em; border-bottom: 1px solid var(--line); vertical-align: top; }
.reveal th { font-weight: 750; color: var(--ink-2); font-size: .9em; }
.reveal td.n, .reveal th.n { text-align: right; font-variant-numeric: tabular-nums; }
.reveal .tscroll { overflow-x: auto; }

/* Quiz */
.reveal .quiz { display: grid; gap: 12px; }
.reveal .quiz.g2 { grid-template-columns: 1fr 1fr; }
.reveal .quiz button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: .7em; align-items: center;
  background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: .6em .8em;
  font-size: .82em; color: var(--ink); transition: border-color .15s, transform .15s, background .15s;
}
.reveal .quiz button::before {
  content: attr(data-k); flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); font-weight: 800; font-size: .85em; color: var(--ink-2);
}
.reveal .quiz button:hover { border-color: var(--accent); transform: translateY(-1px); }
.reveal .quiz button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.reveal .quiz.done button { cursor: default; transform: none; opacity: .55; }
.reveal .quiz.done button.ok { border-color: var(--good); background: color-mix(in srgb, var(--good) 14%, var(--surface)); opacity: 1; }
.reveal .quiz.done button.ok::before { content: "✓"; background: var(--good); color: #fff; }
.reveal .quiz.done button.no { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); opacity: 1; }
.reveal .quiz.done button.no::before { content: "✗"; background: var(--bad); color: #fff; }
.reveal .exp { display: none; margin-top: 16px; padding: 14px 18px; border-left: 4px solid var(--good); background: var(--surface); border-radius: 0 12px 12px 0; font-size: .74em; }
.reveal .exp.show { display: block; animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reveal .qmark { display: inline-block; font-size: .56em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: .25em .7em; border-radius: 99px; margin-bottom: .8em; }

/* YouTube (tıklayınca yüklenir) */
.reveal .yt { position: relative; display: block; aspect-ratio: 16/9; max-height: 470px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000 center/cover no-repeat; cursor: pointer; }
.reveal .yt::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 96px; height: 66px; border-radius: 18px; background: rgba(220, 30, 30, .92); color: #fff; display: grid; place-items: center; font-size: 34px; }
.reveal .yt.on::after { display: none; }
.reveal .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reveal .ytw { min-width: 0; }
.reveal .ytcap { margin: .55em 0 0; font-size: .5em; line-height: 1.35; color: var(--ink-2); text-align: center; }
.reveal .ytcap b { color: var(--ink); }

/* Kod kutusu araçları (deck.js): satır numarası, − ⤢ + */
.reveal .codew { position: relative; min-width: 0; }
.reveal .code.numbered { display: flex; }
.reveal .code .codegut { flex: none; position: sticky; left: 0; padding-right: .8em; margin-right: .8em; text-align: right; color: #a3a8b0; background: inherit; border-right: 1px solid var(--line); user-select: none; }
:root[data-theme="dark"] .reveal .code .codegut { color: #5d636e; }
.reveal .code .codesrc { flex: none; }
.reveal .codetools { position: absolute; bottom: 6px; right: 6px; display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: .55; transition: opacity .15s; z-index: 2; }
.reveal .codew:hover .codetools, .reveal .codetools:focus-within { opacity: 1; }
@media (hover: none) { .reveal .codetools { opacity: .85; } }
.reveal .codetools button { all: unset; cursor: pointer; width: 26px; height: 24px; display: grid; place-items: center; border-radius: 7px; font: 600 15px/1 system-ui, sans-serif; color: var(--ink-2); }
.reveal .codetools button:hover { background: var(--surface-2); color: var(--ink); }

/* Tweet kartı */
.reveal .tweet { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); font-size: .72em; }
.reveal .tweet .who { font-weight: 750; margin-bottom: .4em; }
.reveal .tweet .who span { font-weight: 400; color: var(--muted); }
.reveal .tweet p:last-child { margin: 0; }

/* Alıntı */
.reveal blockquote { margin: 0 0 .6em; padding: .3em 0 .3em .9em; border-left: 5px solid var(--accent); font-size: 1.12em; font-weight: 600; line-height: 1.3; text-wrap: balance; width: auto; box-shadow: none; background: none; font-style: normal; }
.reveal blockquote cite { display: block; font-size: .55em; font-weight: 400; color: var(--muted); margin-top: .5em; font-style: normal; }

/* Akış kutuları */
.reveal .flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.reveal .flow > div { flex: 1 1 0; min-width: 130px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: .72em; position: relative; }
.reveal .flow > div b { display: block; font-size: 1.15em; margin-bottom: .25em; }
.reveal .flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 800; z-index: 2; font-size: 1.2em; }
.reveal .flow > div .n { color: var(--accent); font-weight: 850; font-size: 1.5em; line-height: 1; display: block; margin-bottom: .2em; }

/* Bağlam penceresi çubuğu */
.reveal .ctx { display: flex; height: 54px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); font-size: .5em; font-weight: 700; }
.reveal .ctx > span { display: grid; place-items: center; color: #fff; white-space: nowrap; overflow: hidden; border-right: 2px solid var(--bg); }
.reveal .ctx > span:last-child { border-right: 0; }
.reveal .ctx .sys { background: #6b5bd0; } .reveal .ctx .his { background: #2a78d6; } .reveal .ctx .doc { background: #199e70; }
.reveal .ctx .tool { background: #c98500; } .reveal .ctx .now { background: #d4541f; } .reveal .ctx .free { background: var(--surface-2); color: var(--muted); }

/* Reveal parçaları */
.reveal .fragment.blur { filter: blur(14px); opacity: 1; visibility: visible; transition: filter .35s; }
.reveal .fragment.blur.visible { filter: none; }
.reveal .slide-number { background: transparent; color: var(--muted); font-size: 13px; right: 14px; bottom: 10px; font-family: inherit; }
.reveal .progress { color: var(--accent); height: 4px; }
.reveal .controls { color: var(--accent); }

/* Araç çubuğu */
#bar { position: fixed; top: 10px; right: 12px; z-index: 40; display: flex; gap: 6px; opacity: .28; transition: opacity .2s; }
#bar:hover, #bar:focus-within { opacity: 1; }
#bar button, #bar a {
  all: unset; cursor: pointer; box-sizing: border-box; min-width: 36px; height: 36px; padding: 0 9px; border-radius: 10px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font: 700 14px/1 system-ui, sans-serif;
}
#bar button:hover, #bar a:hover { border-color: var(--accent); }
#bar button:focus-visible, #bar a:focus-visible { outline: 2px solid var(--blue); }
#zoomv { min-width: 44px; height: 36px; display: grid; place-items: center; font: 700 12px/1 system-ui, sans-serif; color: var(--muted); }

/* Dar ekran: reveal kaydırma görünümüne geçer; sütunları alt alta diz */
@media (max-width: 700px) {
  .reveal { font-size: 24px; }
  .reveal section.t h1 { font-size: 2.1em; }
  .reveal section.t .no { font-size: 3.6em; }
  .reveal .flow > div:not(:last-child)::after { display: none; }
  .reveal img.logo { height: 110px; }
  .reveal .cols, .reveal .cols.c3, .reveal .cols.c4, .reveal .cols.w64, .reveal .cols.w46, .reveal .quiz.g2 { grid-template-columns: 1fr; }
  .reveal .bars > div { grid-template-columns: 7em 1fr 4em; }
  #bar { top: 6px; right: 6px; }
}
@media print { #bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .reveal .bars > div > i, .reveal .exp.show { transition: none; animation: none; } }

/* İngilizce karşılık: terimin yanında, soluk */
.reveal .en { font-size: .62em; font-weight: 500; font-style: italic; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.reveal h1 .en { font-size: .45em; }
.reveal p .en, .reveal li .en { font-size: .82em; }
.reveal .cols figure + figure { margin-top: 0; }

/* Portreler */
.reveal img.face { width: 170px; height: 170px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 3px solid var(--line); background: var(--surface-2); display: block; margin: 0 auto .35em; }
.reveal img.face.lg { width: 260px; height: 260px; }
.reveal img.face.sm { width: 120px; height: 120px; }
.reveal .faces { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 18px 14px; text-align: center; }
.reveal .faces p { margin: 0; font-size: .7em; line-height: 1.25; }
.reveal .faces p b { display: block; font-size: 1.1em; }
@media (max-width: 700px) { .reveal .faces { grid-template-columns: repeat(2, 1fr); } .reveal img.face, .reveal img.face.lg { width: 110px; height: 110px; } }

/* ---- 2. ünite bileşenleri ---- */
/* Terminal penceresi: <div class="term" data-t="bash"><span class="p">$</span> komut … */
.reveal .term, .doc .term {
  background: #0f1115; color: #d7dae0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace; font-size: .62em; line-height: 1.5;
  white-space: pre-wrap; padding: 0 16px 14px; border: 1px solid #2a2e36; text-align: left;
}
.reveal .term::before, .doc .term::before {
  content: "●  ●  ●     " attr(data-t); display: block; margin: 0 -16px 10px; padding: 6px 14px; background: #1d2027;
  color: #8b9099; font-size: .82em; letter-spacing: .02em; white-space: pre;
  background-image: none;
}
.reveal .term .p, .doc .term .p { color: #6ad46a; font-weight: 700; }
.reveal .term .o, .doc .term .o { color: #aab0ba; }
.reveal .term .e, .doc .term .e { color: #ff7b72; }
.reveal .term .c, .doc .term .c { color: #6f7682; font-style: italic; }
.reveal .term .h, .doc .term .h { color: #ffd479; }
.reveal .term b, .doc .term b { color: #ffffff; font-weight: 600; }

/* Renkli kod: .k anahtar kelime, .s metin, .f fonksiyon, .n sayı, .c yorum, .t tür */
.reveal .code, .doc .code {
  background: #fbfaf7; color: #24292f; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  font-family: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace; font-size: .64em; line-height: 1.5;
  white-space: pre; overflow-x: auto; text-align: left; counter-reset: ln;
}
:root[data-theme="dark"] .reveal .code, :root[data-theme="dark"] .doc .code { background: #15181e; color: #e6e6e6; }
.reveal .code .k, .doc .code .k { color: #cf222e; font-weight: 600; }
.reveal .code .s, .doc .code .s { color: #0a7a3a; }
.reveal .code .f, .doc .code .f { color: #8250df; }
.reveal .code .n, .doc .code .n { color: #0550ae; }
.reveal .code .c, .doc .code .c { color: #6e7781; font-style: italic; }
.reveal .code .t, .doc .code .t { color: #953800; }
:root[data-theme="dark"] .reveal .code .k, :root[data-theme="dark"] .doc .code .k { color: #ff7b72; }
:root[data-theme="dark"] .reveal .code .s, :root[data-theme="dark"] .doc .code .s { color: #7ee787; }
:root[data-theme="dark"] .reveal .code .f, :root[data-theme="dark"] .doc .code .f { color: #d2a8ff; }
:root[data-theme="dark"] .reveal .code .n, :root[data-theme="dark"] .doc .code .n { color: #79c0ff; }
:root[data-theme="dark"] .reveal .code .c, :root[data-theme="dark"] .doc .code .c { color: #8b949e; }
:root[data-theme="dark"] .reveal .code .t, :root[data-theme="dark"] .doc .code .t { color: #ffa657; }
.reveal .code.plain *, .doc .code.plain * { color: inherit !important; font-weight: 400 !important; font-style: normal !important; }
.reveal .code.ln > span.l, .doc .code.ln > span.l { counter-increment: ln; }
.reveal .code.ln > span.l::before, .doc .code.ln > span.l::before { content: counter(ln); display: inline-block; width: 2em; margin-right: 1em; text-align: right; color: #9aa0a8; }
.reveal .code.prop, .doc .code.prop { font-family: Georgia, "Times New Roman", serif; font-size: .7em; }

/* "X mi Y mi?" karşılaştırması */
.reveal .vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.reveal .vs > .x { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 850; font-size: .8em; }

/* Proje fikri kartları */
.reveal .ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reveal .ideas > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .62em; line-height: 1.35; }
.reveal .ideas > div b { display: block; font-size: 1.12em; margin-bottom: .25em; }
.reveal .ideas > div .ic { font-size: 1.6em; display: block; line-height: 1; margin-bottom: .2em; }

/* Canlı arayüz öğeleri (GUI sözlüğü) */
.reveal .uibox { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 18px; display: grid; place-items: center; min-height: 150px; position: relative; font-family: system-ui, sans-serif; }
.reveal .ui-btn { all: unset; cursor: pointer; display: inline-block; padding: .45em 1.1em; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 650; font-size: .75em; }
.reveal .ui-btn.ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.reveal .ui-input { border: 1.5px solid var(--line); border-radius: 10px; padding: .4em .7em; font-size: .72em; color: var(--muted); background: var(--bg); min-width: 12em; display: inline-block; }
.reveal .ui-toggle { width: 64px; height: 34px; border-radius: 99px; background: var(--good); position: relative; display: inline-block; }
.reveal .ui-toggle::after { content: ""; position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.reveal .ui-toggle.off { background: var(--line); } .reveal .ui-toggle.off::after { right: auto; left: 4px; }
.reveal .ui-toast { position: absolute; right: 14px; bottom: 14px; background: #1d2027; color: #fff; padding: .55em 1em; border-radius: 10px; font-size: .62em; box-shadow: 0 8px 24px rgba(0,0,0,.3); display: flex; gap: .6em; align-items: center; }
.reveal .ui-modal-bg { position: absolute; inset: 0; background: rgba(10,12,16,.45); border-radius: 14px; display: grid; place-items: center; }
.reveal .ui-modal { background: var(--surface); border-radius: 14px; padding: 16px 20px; width: 60%; font-size: .62em; box-shadow: 0 16px 40px rgba(0,0,0,.35); color: var(--ink); }
.reveal .ui-modal b { display: block; font-size: 1.2em; margin-bottom: .3em; }
.reveal .ui-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); font-size: .66em; width: 100%; }
.reveal .ui-tabs span { padding: .4em 1em; color: var(--muted); }
.reveal .ui-tabs span.on { color: var(--blue); border-bottom: 3px solid var(--blue); margin-bottom: -2px; font-weight: 700; }
.reveal .ui-acc { width: 100%; font-size: .62em; }
.reveal .ui-acc > div { border: 1px solid var(--line); padding: .5em .8em; margin-top: -1px; display: flex; justify-content: space-between; }
.reveal .ui-acc > p { border: 1px solid var(--line); border-top: 0; margin: 0; padding: .5em .8em; color: var(--ink-2); }
.reveal .ui-nav { width: 100%; display: flex; align-items: center; gap: 1.2em; background: var(--surface-2); padding: .5em 1em; border-radius: 10px; font-size: .62em; }
.reveal .ui-nav b { margin-right: auto; }
.reveal .ui-bread { font-size: .66em; color: var(--muted); } .reveal .ui-bread b { color: var(--ink); }
.reveal .ui-badge { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; border-radius: 99px; background: var(--bad); color: #fff; font-size: .55em; font-weight: 800; padding: 0 .3em; }
.reveal .ui-spin { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--blue); animation: uispin 1s linear infinite; }
@keyframes uispin { to { transform: rotate(360deg); } }
.reveal .ui-skel { width: 100%; display: grid; gap: 8px; } .reveal .ui-skel i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: uiskel 1.4s ease infinite; }
@keyframes uiskel { to { background-position: -200% 0; } }
.reveal .ui-bar { width: 100%; height: 14px; border-radius: 99px; background: var(--surface-2); overflow: hidden; } .reveal .ui-bar i { display: block; height: 100%; width: 62%; background: var(--blue); }
.reveal .ui-tip { position: relative; display: inline-block; }
.reveal .ui-tip::after { content: attr(data-tip); position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); background: #1d2027; color: #fff; font-size: .5em; padding: .35em .7em; border-radius: 8px; white-space: nowrap; }
.reveal .ui-check { font-size: .7em; display: flex; gap: .5em; align-items: center; }
.reveal .ui-check i { width: 1em; height: 1em; border: 2px solid var(--blue); border-radius: 4px; display: inline-grid; place-items: center; font-style: normal; font-size: .9em; background: var(--blue); color: #fff; }
.reveal .ui-check i.r { border-radius: 50%; background: transparent; color: var(--blue); }
.reveal .ui-select { border: 1.5px solid var(--line); border-radius: 10px; font-size: .66em; background: var(--surface); width: 12em; }
.reveal .ui-select div { padding: .35em .7em; } .reveal .ui-select div:first-child { border-bottom: 1px solid var(--line); font-weight: 650; } .reveal .ui-select div.on { background: color-mix(in srgb, var(--blue) 15%, transparent); }
.reveal .ui-card { width: 13em; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .6em; background: var(--bg); }
.reveal .ui-card > i { display: block; height: 70px; background: linear-gradient(135deg, var(--blue), var(--accent)); }
.reveal .ui-card > div { padding: .6em .8em; }
.reveal .ui-pag { display: flex; gap: 6px; font-size: .62em; } .reveal .ui-pag span { width: 2em; height: 2em; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; } .reveal .ui-pag span.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.reveal .ui-ham { display: grid; gap: 6px; width: 40px; } .reveal .ui-ham i { display: block; height: 5px; border-radius: 3px; background: var(--ink); }
@media (max-width: 700px) { .reveal .ideas { grid-template-columns: 1fr; } .reveal .vs { grid-template-columns: 1fr; } }
/* Kod içindeki .s (metin) ve .c (yorum) sınıfları genel .s / .c kurallarından etkilenmesin */
.reveal .code .s, .reveal .term .s, .reveal .prompt .s { font-size: inherit; }
.reveal .code .c, .reveal .term .c { text-align: inherit; }

/* Destenin son sayfasında önceki/sonraki deste bağlantıları */
.reveal .decknav { font-size: .62em; margin-top: 1.2em; padding-top: .7em; border-top: 1px solid var(--line); }
.reveal .decknav a { margin: 0 .2em; }

/* Her slaydın altında ders, hazırlayan ve GitHub */
#foot { position: fixed; left: 14px; bottom: 9px; z-index: 30; font: 500 13px/1.2 Inter, system-ui, sans-serif; color: var(--ink-2); opacity: .85; pointer-events: auto; }
#foot b { font-weight: 650; }
#foot a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
@media print { #foot { display: none; } }

/* Lisans simgeleri (Creative Commons resmi simgeleri: assets/img/cc) */
.reveal .card .lic { float: right; display: flex; gap: 4px; margin: 0 0 .2em .5em; }
.reveal .lic img { width: 34px; height: 34px; margin: 0; border-radius: 50%; background: #fff; box-shadow: none; }
.reveal .lic .lg { width: 34px; height: 34px; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--ink); font: 800 19px/1 system-ui, sans-serif; color: var(--ink); }

/* Tartışma slaydı: soru + (isteğe bağlı) ilgi çekici görsel; görüşler .fragment ile sonra gelir */
.reveal .disc-q { font-size: .82em; color: var(--ink-2); line-height: 1.45; }
.reveal .disc-q li { margin: .35em 0; }
.reveal .views { margin-top: .9em; padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; font-size: .62em; box-shadow: var(--shadow); }
.reveal .views b { color: var(--ink); }
.reveal .timer { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .35em; margin-left: .6em; padding: .2em .65em; border-radius: 99px; border: 2px solid var(--accent); color: var(--accent); font: 750 .5em/1.2 system-ui, sans-serif; vertical-align: middle; font-variant-numeric: tabular-nums; }
.reveal .timer i { font-style: normal; }
.reveal .timer.run { background: var(--accent); color: var(--accent-ink); }
.reveal .timer.end { border-color: var(--bad); color: var(--bad); animation: pop .4s ease-out 3; }

/* Kısa videolar ve terminal kayıtları */
.reveal figure video { display: block; max-width: 100%; max-height: 520px; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.reveal .cast { font-size: 16px; border-radius: 10px; overflow: hidden; text-align: left; }

/* Kopyala düğmesi */
.reveal .prompt, .reveal pre, .reveal .code, .reveal .term { position: relative; }
.kopyala { position: absolute; top: .45rem; right: .45rem; z-index: 2; font: 600 .72rem/1 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none;
  padding: .35rem .55rem; border-radius: .45rem; border: 1px solid rgba(127,127,127,.45); background: rgba(255,255,255,.88); color: #1f2430; cursor: pointer; opacity: .55; transition: opacity .15s; }
.reveal .prompt:hover .kopyala, .reveal pre:hover .kopyala, .reveal .code:hover .kopyala, .reveal .term:hover .kopyala, .kopyala:focus-visible { opacity: 1; }
.kopyala.ok { background: #1a9a6a; border-color: #1a9a6a; color: #fff; opacity: 1; }
@media (hover: none) { .kopyala { opacity: .9; } }
/* Slayta sığmayan kutu kısaltılır ve içinde kaydırılır (deck.js fitBoxes) */
.reveal .kaydir { box-sizing: border-box; overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; }
.reveal .kaydir::-webkit-scrollbar { width: 8px; }
.reveal .kaydir::-webkit-scrollbar-thumb { background: color-mix(in srgb, currentColor 35%, transparent); border-radius: 4px; }
.reveal .slides > section.tasar, .reveal .slides > section > section.tasar { overflow-y: auto; scrollbar-width: thin; }

/* Kod yazı tiplerinde bitişik harf (ligature) kapalı: "==", "!=", "->", "<=" yazıldığı gibi görünsün */
code, pre, kbd, samp, .code, .term, .tok, .probs, .chat > p.tool, .asciinema-player, .ap-term {
  font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0, "dlig" 0;
}
