/* ==========================================================================
   Batihost Wiki - Stil Dosyası  v2.0.0
   Tüm kurallar .wiki-wrap altında kapsüllenmiştir; mevcut WHMCS temanızın
   stilleriyle çakışmaz. Açık ve koyu tema desteklidir.
   ========================================================================== */

.wiki-wrap {
  /* --- Yüzeyler --- */
  --w-bg:        #f7f8fa;
  --w-surface:   #ffffff;
  --w-surface-2: #f2f4f8;
  --w-surface-3: #eaedf3;

  /* --- Metin --- */
  --w-ink:       #0d1526;
  --w-ink-2:     #3d4a5c;
  --w-ink-3:     #6b7789;
  --w-ink-4:     #8d97a6;

  /* --- Çizgiler --- */
  --w-line:      #e4e8ef;
  --w-line-2:    #eef1f6;

  /* --- Marka --- */
  --w-accent:    #f2640b;
  --w-accent-2:  #ff8a3d;
  --w-accent-sk: rgba(242,100,11,.12);
  --w-link:      #1350c4;
  --w-link-hov:  #0c3b96;

  /* --- Kod --- */
  --w-code-bg:   #0e1626;
  --w-code-bar:  #16203444;
  --w-code-ink:  #dde6f5;
  --w-code-dim:  #7d8ca8;

  /* --- Durum renkleri --- */
  --w-info-bg: #eff5ff; --w-info-bd: #cbdefb; --w-info-ic: #1a5fd0; --w-info-tx: #123163;
  --w-ok-bg:   #eefbf5; --w-ok-bd:   #bfe9d6; --w-ok-ic:   #0b8f66; --w-ok-tx:   #0c4433;
  --w-warn-bg: #fff8e9; --w-warn-bd: #f5e0ae; --w-warn-ic: #b57500; --w-warn-tx: #573f07;
  --w-dngr-bg: #fff1f0; --w-dngr-bd: #f8ccc7; --w-dngr-ic: #d33b2f; --w-dngr-tx: #6b1c15;

  /* --- Ölçüler --- */
  --w-r:    12px;
  --w-r-sm: 8px;
  --w-r-lg: 18px;
  --w-sh-1: 0 1px 2px rgba(13,21,38,.04);
  --w-sh-2: 0 1px 2px rgba(13,21,38,.05), 0 6px 20px -8px rgba(13,21,38,.10);
  --w-sh-3: 0 18px 48px -14px rgba(13,21,38,.22);
  --w-col:  760px;

  --w-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --w-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  background: var(--w-bg);
  color: var(--w-ink);
  font-family: var(--w-sans);
  font-size: 17px;
  line-height: 1.72;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Wiki her zaman AÇIK TEMA kullanır. Koyu tema desteği bilinçli olarak
   kaldırılmıştır; kullanıcının işletim sistemi koyu temada olsa bile
   sayfa açık kalır. Renk değiştirmek isterseniz yukarıdaki değişkenler
   tek kaynaktır, başka yeri düzenlemeniz gerekmez. */
.wiki-wrap { color-scheme: light; }

.wiki-wrap *,
.wiki-wrap *::before,
.wiki-wrap *::after { box-sizing: border-box; }

.wiki-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.wiki-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wiki-wrap ::selection { background: var(--w-accent-sk); color: var(--w-ink); }
.wiki-wrap :focus-visible {
  outline: 2px solid var(--w-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.wiki-wrap a, .wiki-wrap button, .wiki-wrap summary { -webkit-tap-highlight-color: var(--w-accent-sk); }

/* ==========================================================================
   Okuma ilerleme çubuğu
   ========================================================================== */
.wiki-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999;
  background: transparent; pointer-events: none;
}
.wiki-progress__bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--w-accent), var(--w-accent-2));
  box-shadow: 0 0 12px -2px var(--w-accent);
  transition: width .1s linear;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.wiki-hero {
  position: relative;
  background: var(--w-surface);
  border-bottom: 1px solid var(--w-line);
  overflow: hidden;
}
.wiki-hero::before {
  content: ""; position: absolute; top: -260px; right: -160px;
  width: 720px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, var(--w-accent-sk), transparent 72%);
}
.wiki-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--w-accent) 0%, var(--w-accent-2) 22%, transparent 62%);
  opacity: .85;
}
.wiki-hero__inner { position: relative; z-index: 1; padding: 4px 0 42px; max-width: 900px; }

.wiki-crumbs { position: relative; z-index: 1; padding: 20px 0 18px; }
.wiki-crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px;
}
.wiki-crumbs li { display: flex; align-items: center; gap: 7px; color: var(--w-ink-4); }
.wiki-crumbs li + li::before { content: "›"; opacity: .55; font-size: 14px; }
.wiki-crumbs a { color: var(--w-ink-3); text-decoration: none; border-radius: 4px; }
.wiki-crumbs a:hover { color: var(--w-link); text-decoration: underline; text-underline-offset: 2px; }
.wiki-crumbs [aria-current="page"] {
  color: var(--w-ink-2); font-weight: 600;
  max-width: 44ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.wiki-hero__cat {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--w-accent-sk); border: 1px solid transparent;
  color: var(--w-accent); text-decoration: none;
  font-size: 12px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
  transition: background .18s ease, transform .18s ease;
}
.wiki-hero__cat::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.wiki-hero__cat:hover { background: rgba(242,100,11,.2); color: var(--w-accent); transform: translateY(-1px); }

.wiki-hero__title {
  margin: 0 0 16px;
  font-size: clamp(29px, 4.1vw, 46px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.028em;
  color: var(--w-ink); text-wrap: balance;
}
.wiki-hero__desc {
  margin: 0 0 26px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6;
  color: var(--w-ink-3); max-width: 68ch; text-wrap: pretty;
}
.wiki-hero__meta {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
  font-size: 13px; color: var(--w-ink-4);
}
.wiki-hero__meta li { display: flex; align-items: center; gap: 7px; padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--w-line); }
.wiki-hero__meta li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.wiki-ico {
  width: 14px; height: 14px; flex-shrink: 0; display: inline-block; background: currentColor; opacity: .75;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
}
.wiki-ico--clock    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.wiki-ico--refresh  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E"); }
.wiki-ico--calendar { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.wiki-ico--user     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Izgara
   ========================================================================== */
.wiki-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
  padding-top: 44px;
  padding-bottom: 76px;
}
.wiki-main { min-width: 0; max-width: var(--w-col); }

/* ==========================================================================
   Kısaca özet
   ========================================================================== */
.wiki-tldr {
  position: relative;
  background: var(--w-surface);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg);
  padding: 22px 26px 22px 28px;
  margin: 0 0 34px;
  box-shadow: var(--w-sh-1);
  overflow: hidden;
}
.wiki-tldr::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--w-accent), var(--w-accent-2));
}
.wiki-tldr__title {
  margin: 0 0 12px; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; color: var(--w-accent);
  display: flex; align-items: center; gap: 8px;
}
.wiki-tldr__title::after { content: ""; flex: 1; height: 1px; background: var(--w-line); }
.wiki-tldr ul { margin: 0; padding: 0; list-style: none; }
.wiki-tldr li {
  position: relative; margin: 9px 0; padding-left: 22px;
  color: var(--w-ink-2); font-size: 15.8px; line-height: 1.62;
}
.wiki-tldr li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--w-accent); opacity: .65;
}
.wiki-tldr code { font-size: .88em; }

/* ==========================================================================
   İçindekiler
   ========================================================================== */
/* --- Yan sütundaki sabit sürüm (masaüstü) --- */
.wiki-toc--side {
  position: relative;
  display: flex; flex-direction: column; min-height: 0;
}
.wiki-toc--side .wiki-toc__head {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-4);
}
.wiki-toc--side .wiki-toc__head::after { content: ""; flex: 1; height: 1px; background: var(--w-line); }
.wiki-toc--side .wiki-toc__toggle { display: none; }

/* Kaydırılabilir liste: ince, yuvarlak, temaya uygun kaydırma çubuğu.
   Üstte ve altta yumuşak solma maskesi ile kesik görünüm engellenir. */
.wiki-toc--side .wiki-toc__list {
  flex: 1 1 auto; min-height: 0;
  list-style: none; margin: 0; padding: 2px 0 2px 1px;
  border-left: 2px solid var(--w-line);
  overflow-y: auto; overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--w-line) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.wiki-toc--side .wiki-toc__list::-webkit-scrollbar { width: 6px; }
.wiki-toc--side .wiki-toc__list::-webkit-scrollbar-track { background: transparent; }
.wiki-toc--side .wiki-toc__list::-webkit-scrollbar-thumb {
  background: var(--w-line); border-radius: 999px;
  border: 1.5px solid var(--w-bg); background-clip: padding-box;
}
.wiki-toc--side .wiki-toc__list:hover::-webkit-scrollbar-thumb { background: #cdd5e2; background-clip: padding-box; }
.wiki-toc--side .wiki-toc__list::-webkit-scrollbar-thumb:active { background: var(--w-accent); background-clip: padding-box; }

.wiki-toc--side .wiki-toc__list li { margin: 0; }
.wiki-toc--side .wiki-toc__list a {
  display: block; padding: 6px 12px; margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 13.6px; line-height: 1.45; color: var(--w-ink-3); text-decoration: none;
  scroll-margin: 12px 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.wiki-toc--side .wiki-toc__list li.lvl3 a { padding-left: 24px; font-size: 13px; color: var(--w-ink-4); }
.wiki-toc--side .wiki-toc__list a:hover {
  color: var(--w-ink); border-left-color: #c9d2e0;
  background: linear-gradient(90deg, var(--w-surface-2), transparent 88%);
}
.wiki-toc--side .wiki-toc__list a.is-current {
  color: var(--w-accent); font-weight: 680; border-left-color: var(--w-accent);
  background: linear-gradient(90deg, var(--w-accent-sk), transparent 88%);
}

/* --- Makale içindeki açılır sürüm (mobil / dar ekran) --- */
.wiki-toc--inline {
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r); margin-bottom: 30px; overflow: hidden;
}
.wiki-toc--inline .wiki-toc__head {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  background: var(--w-surface-2); border-bottom: 1px solid var(--w-line); font-size: 14.5px;
}
.wiki-toc--inline .wiki-toc__toggle {
  margin-left: auto; background: none; border: 1px solid var(--w-line); border-radius: 7px;
  padding: 3px 11px; font: inherit; font-size: 12.5px; color: var(--w-ink-3); cursor: pointer;
}
.wiki-toc--inline .wiki-toc__toggle:hover { color: var(--w-accent); border-color: var(--w-accent); }
.wiki-toc--inline .wiki-toc__list { list-style: none; margin: 0; padding: 12px 18px 16px; counter-reset: toc; }
.wiki-toc--inline .wiki-toc__list li.lvl2 { counter-increment: toc; }
.wiki-toc--inline .wiki-toc__list li.lvl2 > a::before {
  content: counter(toc) "."; color: var(--w-accent); font-weight: 700; margin-right: 8px; font-variant-numeric: tabular-nums;
}
.wiki-toc--inline .wiki-toc__list li.lvl3 { padding-left: 24px; font-size: 14px; }
.wiki-toc--inline .wiki-toc__list li.lvl3 > a::before { content: "–"; color: var(--w-ink-4); margin-right: 8px; }
.wiki-toc--inline .wiki-toc__list a { color: var(--w-ink-2); text-decoration: none; display: inline-block; padding: 3px 0; }
.wiki-toc--inline .wiki-toc__list a:hover { color: var(--w-accent); }
.wiki-toc--inline.is-collapsed .wiki-toc__list { display: none; }

.wiki-toc__icon {
  width: 15px; height: 15px; flex-shrink: 0; background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

@media (min-width: 1081px) { .wiki-toc--inline { display: none; } }
@media (max-width: 1080px) { .wiki-toc--side, .wiki-side__box--toc { display: none; } }

/* ==========================================================================
   Makale tipografisi
   ========================================================================== */
.wiki-content { color: var(--w-ink-2); font-size: 17px; }
.wiki-content > *:first-child { margin-top: 0; }

.wiki-content > p:first-of-type {
  font-size: 18.5px; line-height: 1.66; color: var(--w-ink); font-weight: 420;
}

.wiki-content h2 {
  position: relative;
  margin: 56px 0 18px; padding-bottom: 12px;
  font-size: clamp(23px, 2.7vw, 30px);
  font-weight: 780; letter-spacing: -.022em; line-height: 1.24; color: var(--w-ink);
  border-bottom: 1px solid var(--w-line);
  scroll-margin-top: 84px; text-wrap: balance;
}
.wiki-content h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px;
  background: var(--w-accent); border-radius: 2px;
}
.wiki-content h3 {
  margin: 38px 0 13px; font-size: clamp(18.5px, 2vw, 21px);
  font-weight: 700; line-height: 1.36; letter-spacing: -.012em;
  color: var(--w-ink); scroll-margin-top: 84px;
}
.wiki-content h4 { margin: 28px 0 9px; font-size: 17px; font-weight: 700; color: var(--w-ink); }

.wiki-anchor {
  margin-left: 10px; color: var(--w-ink-4); text-decoration: none;
  opacity: 0; font-weight: 400; font-size: .78em; transition: opacity .15s ease, color .15s ease;
}
.wiki-content h2:hover .wiki-anchor, .wiki-content h3:hover .wiki-anchor,
.wiki-faq h2:hover .wiki-anchor,     .wiki-related h2:hover .wiki-anchor { opacity: 1; }
.wiki-anchor:hover { color: var(--w-accent); }

.wiki-content p { margin: 0 0 19px; text-wrap: pretty; }
.wiki-content a {
  color: var(--w-link); text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--w-link) 32%, transparent);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.wiki-content a:hover { color: var(--w-link-hov); text-decoration-color: currentColor; }
.wiki-content strong { font-weight: 680; color: var(--w-ink); }
.wiki-content em { color: var(--w-ink); }

.wiki-content ul, .wiki-content ol { margin: 0 0 20px; padding-left: 4px; list-style: none; }
.wiki-content ul > li, .wiki-content ol > li { position: relative; margin: 9px 0; padding-left: 26px; }
.wiki-content ul > li::before {
  content: ""; position: absolute; left: 7px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--w-accent); opacity: .55;
}
.wiki-content ol { counter-reset: wol; }
.wiki-content ol > li { counter-increment: wol; }
.wiki-content ol > li::before {
  content: counter(wol) "."; position: absolute; left: 0; top: 0;
  color: var(--w-accent); font-weight: 700; font-variant-numeric: tabular-nums; font-size: .95em;
}
.wiki-content li > ul, .wiki-content li > ol { margin: 9px 0 0; }
.wiki-content li > ul > li::before { background: var(--w-ink-4); width: 5px; height: 5px; }

.wiki-content hr { border: 0; border-top: 1px solid var(--w-line); margin: 46px 0; }
.wiki-content img { max-width: 100%; height: auto; border-radius: var(--w-r); border: 1px solid var(--w-line); }
.wiki-content figure { margin: 28px 0; }
.wiki-content figcaption { font-size: 13.5px; color: var(--w-ink-4); text-align: center; margin-top: 10px; }

.wiki-content blockquote {
  position: relative; margin: 28px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--w-accent);
  color: var(--w-ink); font-size: 18px; line-height: 1.62; font-style: normal; font-weight: 460;
}
.wiki-content blockquote p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Kod
   ========================================================================== */
.wiki-content :not(pre) > code {
  font-family: var(--w-mono); font-size: .855em; font-weight: 500;
  background: var(--w-surface-3); color: var(--w-ink);
  padding: .18em .45em; border-radius: 5px;
  border: 1px solid var(--w-line); word-break: break-word;
}
.wiki-content a > code { color: inherit; border-color: color-mix(in srgb, var(--w-link) 26%, transparent); }

.wiki-code, .wiki-content pre {
  position: relative; margin: 26px 0;
  background: var(--w-code-bg); color: var(--w-code-ink);
  border: 1px solid #1b2537; border-radius: var(--w-r);
  overflow: hidden; box-shadow: var(--w-sh-2);
}
/* üst çubuk */
.wiki-code::before, .wiki-content pre::before {
  content: attr(data-lang);
  position: absolute; top: 0; left: 0; right: 0; height: 38px;
  display: flex; align-items: center; padding-left: 46px;
  font-family: var(--w-sans); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--w-code-dim);
  background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.07);
}
/* pencere noktaları */
.wiki-code::after, .wiki-content pre::after {
  content: ""; position: absolute; top: 15px; left: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
  opacity: .8;
}
.wiki-code code, .wiki-content pre code {
  display: block; font-family: var(--w-mono);
  font-size: 13.7px; line-height: 1.78; letter-spacing: -.002em;
  padding: 52px 20px 20px; overflow-x: auto; white-space: pre;
  background: none; border: 0; color: inherit;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.wiki-code code::-webkit-scrollbar, .wiki-content pre code::-webkit-scrollbar { height: 8px; }
.wiki-code code::-webkit-scrollbar-thumb, .wiki-content pre code::-webkit-scrollbar-thumb { background: #2a3648; border-radius: 8px; }

.wiki-copy {
  position: absolute; top: 7px; right: 8px; z-index: 3;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  color: #b9c6dc; font: inherit; font-size: 11.5px; font-weight: 650;
  padding: 4px 11px; border-radius: 6px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.wiki-copy:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.wiki-copy.is-done { background: rgba(40,200,64,.16); border-color: rgba(40,200,64,.4); color: #7ee29a; }

/* ==========================================================================
   Bilgi kutuları
   ========================================================================== */
.wiki-note, .wiki-tip, .wiki-warn, .wiki-danger, .wiki-success {
  position: relative; margin: 28px 0; padding: 17px 22px 17px 58px;
  border-radius: var(--w-r); border: 1px solid; font-size: 15.8px; line-height: 1.65;
}
.wiki-note > *:last-child, .wiki-tip > *:last-child, .wiki-warn > *:last-child,
.wiki-danger > *:last-child, .wiki-success > *:last-child { margin-bottom: 0; }
.wiki-note strong:first-child, .wiki-tip strong:first-child, .wiki-warn strong:first-child,
.wiki-danger strong:first-child, .wiki-success strong:first-child {
  display: block; margin-bottom: 5px; font-weight: 750; font-size: 14.5px;
  letter-spacing: .01em; color: inherit;
}
.wiki-note::before, .wiki-tip::before, .wiki-warn::before, .wiki-danger::before, .wiki-success::before {
  position: absolute; left: 18px; top: 17px;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
  font-size: 14px; font-weight: 800; line-height: 1; font-family: var(--w-sans);
}
.wiki-note    { background: var(--w-info-bg); border-color: var(--w-info-bd); color: var(--w-info-tx); }
.wiki-note::before    { content: "i";  background: var(--w-info-ic); }
.wiki-tip     { background: var(--w-ok-bg);   border-color: var(--w-ok-bd);   color: var(--w-ok-tx); }
.wiki-tip::before     { content: "★"; background: var(--w-ok-ic); font-size: 12px; }
.wiki-warn    { background: var(--w-warn-bg); border-color: var(--w-warn-bd); color: var(--w-warn-tx); }
.wiki-warn::before    { content: "!";  background: var(--w-warn-ic); }
.wiki-danger  { background: var(--w-dngr-bg); border-color: var(--w-dngr-bd); color: var(--w-dngr-tx); }
.wiki-danger::before  { content: "✕"; background: var(--w-dngr-ic); font-size: 12px; }
.wiki-success { background: var(--w-ok-bg);   border-color: var(--w-ok-bd);   color: var(--w-ok-tx); }
.wiki-success::before { content: "✓"; background: var(--w-ok-ic); font-size: 13px; }
.wiki-note a, .wiki-tip a, .wiki-warn a, .wiki-danger a, .wiki-success a { color: inherit; text-decoration-thickness: 1px; }
.wiki-note code, .wiki-tip code, .wiki-warn code, .wiki-danger code, .wiki-success code {
  background: rgba(255,255,255,.62) !important;
}

/* ==========================================================================
   İndirme kutusu
   ========================================================================== */
.wiki-dl {
  margin: 30px 0;
  background: var(--w-surface);
  border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg);
  overflow: hidden;
  box-shadow: var(--w-sh-1);
}
.wiki-dl__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: var(--w-surface-2);
  border-bottom: 1px solid var(--w-line);
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--w-ink-3);
}
.wiki-dl__head::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--w-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.wiki-dl__list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.wiki-content .wiki-dl__list > li {
  display: flex; align-items: center; gap: 16px;
  margin: 0; padding: 14px 20px;
  border-top: 1px solid var(--w-line-2);
}
.wiki-content .wiki-dl__list > li::before { display: none; }
.wiki-dl__list > li:first-child { border-top: 0; }
.wiki-dl__list > li:hover { background: var(--w-surface-2); }
.wiki-dl__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wiki-dl__name { font-weight: 650; font-size: 15.4px; color: var(--w-ink); line-height: 1.4; }
.wiki-dl__meta {
  font-size: 12.8px; color: var(--w-ink-4); font-variant-numeric: tabular-nums;
  display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.wiki-dl__btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 9px;
  background: var(--w-accent-sk); color: var(--w-accent) !important;
  border: 1px solid transparent;
  font-size: 13.6px; font-weight: 700; text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.wiki-dl__btn::after {
  content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 11 5 5 5-5'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.wiki-dl__btn:hover { background: var(--w-accent); color: #fff !important; transform: translateY(-1px); }
.wiki-dl__note {
  margin: 0 !important; padding: 11px 20px;
  background: var(--w-surface-2); border-top: 1px solid var(--w-line-2);
  font-size: 12.6px; color: var(--w-ink-4);
}
.wiki-dl__tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 4px; vertical-align: 1px;
  background: var(--w-accent-sk); color: var(--w-accent); margin-left: 8px;
}
@media (max-width: 560px) {
  .wiki-content .wiki-dl__list > li { flex-direction: column; align-items: stretch; gap: 10px; }
  .wiki-dl__btn { justify-content: center; }
}

/* ==========================================================================
   Adım listesi
   ========================================================================== */
.wiki-steps { list-style: none; counter-reset: step; margin: 32px 0; padding: 0; }
.wiki-steps > li {
  position: relative; counter-increment: step;
  padding: 0 0 32px 58px; margin: 0;
}
.wiki-steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -3px; z-index: 1;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--w-surface); color: var(--w-accent);
  border: 1.5px solid var(--w-accent);
  font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px -3px var(--w-accent-sk);
}
.wiki-steps > li::after {
  content: ""; position: absolute; left: 17.5px; top: 38px; bottom: 8px;
  width: 1.5px; background: linear-gradient(180deg, var(--w-line), transparent 92%);
}
.wiki-steps > li:last-child { padding-bottom: 0; }
.wiki-steps > li:last-child::after { display: none; }
.wiki-steps > li > h3, .wiki-steps > li > h4 { margin-top: 2px; margin-bottom: 10px; }
.wiki-steps > li > h3 { font-size: 19px; }
.wiki-steps > li > *:last-child { margin-bottom: 0; }
.wiki-steps > li ul > li, .wiki-steps > li ol > li { padding-left: 24px; }

/* ==========================================================================
   Tablolar
   ========================================================================== */
.wiki-table {
  margin: 30px 0; overflow-x: auto; border-radius: var(--w-r);
  border: 1px solid var(--w-line); background: var(--w-surface);
  box-shadow: var(--w-sh-1); scrollbar-width: thin;
}
.wiki-content table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.wiki-content thead th {
  background: var(--w-surface-2); color: var(--w-ink);
  font-weight: 700; text-align: left; padding: 13px 18px;
  font-size: 12.5px; letter-spacing: .045em; text-transform: uppercase;
  white-space: nowrap; border-bottom: 1px solid var(--w-line);
  position: sticky; top: 0;
}
.wiki-content tbody td, .wiki-content tbody th {
  padding: 13px 18px; border-top: 1px solid var(--w-line-2);
  vertical-align: top; text-align: left; color: var(--w-ink-2);
}
.wiki-content tbody tr:first-child td, .wiki-content tbody tr:first-child th { border-top: 0; }
.wiki-content tbody tr:hover { background: var(--w-surface-2); }
.wiki-content tbody td:first-child { font-weight: 620; color: var(--w-ink); }
.wiki-content caption {
  caption-side: bottom; font-size: 13px; color: var(--w-ink-4);
  padding: 12px 18px; text-align: left; border-top: 1px solid var(--w-line-2);
}
.w-yes, .w-no { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.w-yes { color: var(--w-ok-ic); }
.w-no  { color: var(--w-dngr-ic); }
.w-yes::before { content: "✓"; }
.w-no::before  { content: "✕"; font-size: .9em; }

/* ==========================================================================
   Kart ızgarası / kutular / tanım listesi
   ========================================================================== */
.wiki-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; margin: 30px 0; }
.wiki-box {
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r); padding: 20px 22px; box-shadow: var(--w-sh-1);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.wiki-box:hover { border-color: color-mix(in srgb, var(--w-accent) 40%, var(--w-line)); box-shadow: var(--w-sh-2); }
.wiki-box h3, .wiki-box h4 { margin-top: 0; margin-bottom: 9px; }
.wiki-box h3 { font-size: 17.5px; }
.wiki-box > *:last-child { margin-bottom: 0; }
.wiki-box p, .wiki-box li { font-size: 15.3px; }

.wiki-kv {
  display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 0; margin: 30px 0;
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r); overflow: hidden; box-shadow: var(--w-sh-1);
}
.wiki-kv dt {
  font-weight: 680; color: var(--w-ink); font-size: 14.6px;
  padding: 13px 18px; background: var(--w-surface-2); border-bottom: 1px solid var(--w-line-2);
}
.wiki-kv dd {
  margin: 0; color: var(--w-ink-2); font-size: 15.2px;
  padding: 13px 20px; border-bottom: 1px solid var(--w-line-2);
}
.wiki-kv dt:last-of-type, .wiki-kv dd:last-of-type { border-bottom: 0; }

/* ==========================================================================
   CTA
   ========================================================================== */
.wiki-cta {
  position: relative; margin: 52px 0 0; border-radius: var(--w-r-lg);
  background: linear-gradient(135deg, #101a2e 0%, #1a2942 55%, #16233a 100%);
  color: #fff; overflow: hidden; box-shadow: var(--w-sh-3);
  border: 1px solid #22304a;
}
.wiki-cta::before {
  content: ""; position: absolute; top: -140px; right: -80px; width: 420px; height: 380px;
  background: radial-gradient(closest-side, rgba(242,100,11,.42), transparent 70%); pointer-events: none;
}
.wiki-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.7), transparent 65%);
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.7), transparent 65%);
}
.wiki-cta__body { position: relative; z-index: 1; padding: 30px 32px; }
.wiki-cta__badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #ffb27a;
  background: rgba(242,100,11,.16); border: 1px solid rgba(242,100,11,.34);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.wiki-cta__title { margin: 0 0 10px; font-size: 23px; font-weight: 800; color: #fff; letter-spacing: -.018em; line-height: 1.25; }
.wiki-cta__text  { margin: 0 0 20px; color: rgba(255,255,255,.72); font-size: 15.4px; line-height: 1.62; max-width: 58ch; }

.wiki-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .16s ease, background .16s ease;
}
.wiki-btn span { transition: transform .16s ease; }
.wiki-btn:hover span { transform: translateX(3px); }
.wiki-btn--primary {
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
  color: #fff; box-shadow: 0 8px 22px -8px rgba(242,100,11,.85);
}
.wiki-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(242,100,11,.95); color: #fff; }
.wiki-btn--ghost {
  background: var(--w-surface-2); color: var(--w-ink); border-color: var(--w-line);
}
.wiki-btn--ghost:hover { border-color: var(--w-accent); color: var(--w-accent); background: var(--w-accent-sk); }

.wiki-cta--side { margin: 0; }
.wiki-cta--side .wiki-cta__body { padding: 22px 22px 24px; }
.wiki-cta--side .wiki-cta__title { font-size: 17.5px; }
.wiki-cta--side .wiki-cta__text { font-size: 13.9px; margin-bottom: 16px; }
.wiki-cta--side .wiki-btn { width: 100%; font-size: 14.2px; padding: 10px 16px; }

/* ==========================================================================
   SSS
   ========================================================================== */
.wiki-faq { margin-top: 60px; }
.wiki-faq > h2, .wiki-related > h2 {
  position: relative; margin: 0 0 22px; padding-bottom: 12px;
  font-size: clamp(23px, 2.7vw, 30px); font-weight: 780; letter-spacing: -.022em;
  color: var(--w-ink); border-bottom: 1px solid var(--w-line); scroll-margin-top: 84px;
}
.wiki-faq > h2::after, .wiki-related > h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px;
  background: var(--w-accent); border-radius: 2px;
}
.wiki-faq__list {
  display: grid; gap: 0;
  border: 1px solid var(--w-line); border-radius: var(--w-r);
  background: var(--w-surface); overflow: hidden; box-shadow: var(--w-sh-1);
}
.wiki-faq__item { border-bottom: 1px solid var(--w-line-2); }
.wiki-faq__item:last-child { border-bottom: 0; }
.wiki-faq__item summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 22px;
  font-weight: 650; font-size: 16.2px; line-height: 1.5; color: var(--w-ink);
  position: relative; transition: color .15s ease, background .15s ease;
}
.wiki-faq__item summary::-webkit-details-marker { display: none; }
.wiki-faq__item summary:hover { color: var(--w-accent); background: var(--w-surface-2); }
.wiki-faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--w-ink-4); border-bottom: 2px solid var(--w-ink-4);
  transform: rotate(45deg); transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .15s ease;
}
.wiki-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--w-accent); }
.wiki-faq__item[open] summary { color: var(--w-accent); }
.wiki-faq__answer {
  padding: 2px 22px 20px; color: var(--w-ink-2); font-size: 15.8px; line-height: 1.68;
}
.wiki-faq__answer > *:last-child { margin-bottom: 0; }
.wiki-faq__answer p { margin: 0 0 12px; }
.wiki-faq__answer a { color: var(--w-link); }

/* ==========================================================================
   İlgili yazılar
   ========================================================================== */
.wiki-related { margin-top: 60px; }
.wiki-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.wiki-card {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r); padding: 18px 20px 20px; text-decoration: none;
  box-shadow: var(--w-sh-1); overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease, border-color .18s ease;
}
.wiki-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--w-accent); transform: scaleY(0); transform-origin: top;
  transition: transform .22s cubic-bezier(.2,.8,.3,1);
}
.wiki-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--w-accent) 32%, var(--w-line)); box-shadow: var(--w-sh-2); }
.wiki-card:hover::before { transform: scaleY(1); }
.wiki-card__cat { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--w-accent); }
.wiki-card__title { font-size: 15.6px; font-weight: 680; color: var(--w-ink); line-height: 1.42; }
.wiki-card__desc { font-size: 13.5px; color: var(--w-ink-4); line-height: 1.58; }

/* ==========================================================================
   Kategori gezintisi (ana sütun altı)
   ========================================================================== */
.wiki-catnav { margin-top: 56px; }
.wiki-catnav > h2 {
  position: relative; margin: 0 0 20px; padding-bottom: 12px;
  font-size: clamp(21px, 2.4vw, 26px); font-weight: 780; letter-spacing: -.02em;
  color: var(--w-ink); border-bottom: 1px solid var(--w-line); scroll-margin-top: 84px;
}
.wiki-catnav > h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 2px;
  background: var(--w-accent); border-radius: 2px;
}
.wiki-catnav__list {
  list-style: none !important; margin: 0 !important;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 26px;
  border: 1px solid var(--w-line); border-radius: var(--w-r);
  background: var(--w-surface); box-shadow: var(--w-sh-1);
  padding: 12px 18px !important;
}
.wiki-catnav__list > li { margin: 0 !important; padding: 0 !important; }
.wiki-catnav__list > li::before { display: none !important; content: none !important; }
.wiki-catnav__list a,
.wiki-catnav__list span {
  display: block; position: relative;
  padding: 7px 6px 7px 20px; border-radius: 7px;
  font-size: 14.4px; line-height: 1.45; text-decoration: none;
  color: var(--w-ink-3);
  transition: color .14s ease, background .14s ease;
}
.wiki-catnav__list a::before {
  content: ""; position: absolute; left: 7px; top: 15px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--w-ink-4); opacity: .5;
  transition: background .14s ease, opacity .14s ease;
}
.wiki-catnav__list a:hover { color: var(--w-accent); background: var(--w-surface-2); }
.wiki-catnav__list a:hover::before { background: var(--w-accent); opacity: 1; }
.wiki-catnav__list li.is-pillar a,
.wiki-catnav__list li.is-pillar span { font-weight: 700; color: var(--w-ink); }
.wiki-catnav__list li.is-active span {
  color: var(--w-accent); font-weight: 700; background: var(--w-accent-sk);
}
.wiki-catnav__list li.is-active span::before {
  content: "▸"; position: absolute; left: 6px; top: 7px;
  width: auto; height: auto; border-radius: 0; background: none; color: var(--w-accent); opacity: 1;
}

.wiki-catnav__tags { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wiki-catnav__tagslabel {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--w-ink-4); margin-right: 4px;
}
.wiki-catnav__tags ul {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.wiki-content .wiki-catnav__tags li { margin: 0; padding: 0; }
.wiki-content .wiki-catnav__tags li::before { display: none; }
.wiki-catnav__tags a {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: 999px; padding: 5px 13px; font-size: 12.7px; font-weight: 600;
  color: var(--w-ink-3); text-decoration: none;
  transition: border-color .14s ease, color .14s ease;
}
.wiki-catnav__tags a span { color: var(--w-ink-4); font-size: 11px; font-variant-numeric: tabular-nums; }
.wiki-catnav__tags a:hover { border-color: var(--w-accent); color: var(--w-accent); }
.wiki-catnav__tags a:hover span { color: inherit; opacity: .7; }

@media (max-width: 620px) {
  .wiki-catnav__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Alt not
   ========================================================================== */
.wiki-foot-note {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--w-line);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: 13.8px; color: var(--w-ink-4); line-height: 1.6;
}
.wiki-foot-note p { margin: 0; max-width: 68ch; }
.wiki-foot-note a { color: var(--w-link); }
.wiki-backtop {
  flex-shrink: 0; text-decoration: none; font-weight: 650; font-size: 13.5px; color: var(--w-ink-3);
  border: 1px solid var(--w-line); border-radius: 9px; padding: 8px 15px; background: var(--w-surface);
  transition: color .15s ease, border-color .15s ease;
}
.wiki-backtop:hover { color: var(--w-accent); border-color: var(--w-accent); }

/* ==========================================================================
   Yan sütun
   ========================================================================== */
/* Yan sütun sayfa boyunca sabit kalır ve kullanıcıyla birlikte iner.
   --w-side-top: sitenin kendi yapışkan navbar'ı varsa bu değeri arttırın. */
.wiki-side {
  --w-side-top: 24px;
  position: sticky;
  top: var(--w-side-top);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - var(--w-side-top) - 24px);
  min-height: 0;
}
/* Yalnızca içindekiler bloğu esner ve gerekirse kendi içinde kayar;
   CTA ve destek kutusu her zaman görünür kalır. */
.wiki-side__box--toc { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.wiki-side > .wiki-cta,
.wiki-side > .wiki-side__support { flex: 0 0 auto; }

.wiki-side__title {
  margin: 0 0 13px; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; color: var(--w-ink-4);
  display: flex; align-items: center; gap: 9px;
}
.wiki-side__title::after { content: ""; flex: 1; height: 1px; background: var(--w-line); }

.wiki-side__support {
  background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r); padding: 20px; box-shadow: var(--w-sh-1);
}
.wiki-side__support .wiki-side__title { margin-bottom: 10px; }
.wiki-side__support p { margin: 0 0 15px; font-size: 14px; color: var(--w-ink-3); line-height: 1.6; }
.wiki-side__support .wiki-btn { width: 100%; font-size: 14px; padding: 10px 14px; }

/* ==========================================================================
   Wiki ana sayfası
   ========================================================================== */
.wiki-home__search { position: relative; z-index: 1; max-width: 640px; margin-top: 26px; }
.wiki-home__search input {
  width: 100%; padding: 15px 18px 15px 48px; font-size: 16px; font-family: inherit;
  border-radius: 12px; border: 1px solid var(--w-line);
  background: var(--w-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d97a6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 17px center;
  background-size: 18px; color: var(--w-ink); outline: none;
  box-shadow: var(--w-sh-1); transition: border-color .16s ease, box-shadow .16s ease;
}
.wiki-home__search input::placeholder { color: var(--w-ink-4); }
.wiki-home__search input:focus {
  border-color: var(--w-accent);
  box-shadow: 0 0 0 4px var(--w-accent-sk);
}

.wiki-home__stats {
  display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 0; padding: 0; list-style: none;
  position: relative; z-index: 1;
}
.wiki-home__stats li {
  color: var(--w-ink-4); font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--w-line);
}
.wiki-home__stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.wiki-home__stats strong {
  display: block; font-size: 30px; font-weight: 800; color: var(--w-ink);
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 3px; text-transform: none;
}

.wiki-home__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.wiki-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--w-line); background: var(--w-surface);
  font-size: 13.4px; font-weight: 620; color: var(--w-ink-3); text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.wiki-chip:hover { border-color: var(--w-accent); color: var(--w-accent); }
.wiki-chip.is-active {
  background: var(--w-ink); border-color: var(--w-ink); color: var(--w-bg);
}
.wiki-chip span { font-size: 11.4px; opacity: .65; font-variant-numeric: tabular-nums; }

.wiki-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.wiki-catcard {
  position: relative; background: var(--w-surface); border: 1px solid var(--w-line);
  border-radius: var(--w-r-lg); padding: 24px 26px 22px; box-shadow: var(--w-sh-1);
  overflow: hidden; transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease, border-color .18s ease;
}
.wiki-catcard::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--w-accent), var(--w-accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.8,.3,1);
}
.wiki-catcard:hover { transform: translateY(-3px); box-shadow: var(--w-sh-2); border-color: color-mix(in srgb, var(--w-accent) 28%, var(--w-line)); }
.wiki-catcard:hover::before { transform: scaleX(1); }
.wiki-catcard__head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 7px; }
.wiki-catcard__head h2 { margin: 0; font-size: 18.5px; font-weight: 750; letter-spacing: -.015em; line-height: 1.3; }
.wiki-catcard__head h2 a { color: var(--w-ink); text-decoration: none; }
.wiki-catcard__head h2 a:hover { color: var(--w-accent); }
.wiki-catcard__count {
  flex-shrink: 0; font-size: 11px; font-weight: 800; color: var(--w-accent);
  background: var(--w-accent-sk); border-radius: 999px; padding: 3px 10px; letter-spacing: .03em;
}
.wiki-catcard__desc { margin: 0 0 16px; font-size: 14.2px; color: var(--w-ink-4); line-height: 1.58; }
.wiki-catcard ul { list-style: none; margin: 0; padding: 0; }
.wiki-catcard li { border-top: 1px solid var(--w-line-2); }
.wiki-catcard li:first-child { border-top: 0; }
.wiki-catcard li a {
  display: block; padding: 8px 0 8px 16px; position: relative;
  font-size: 14.4px; line-height: 1.45; color: var(--w-ink-3); text-decoration: none;
  transition: color .14s ease, padding-left .14s ease;
}
.wiki-catcard li a::before {
  content: "›"; position: absolute; left: 2px; color: var(--w-ink-4);
  opacity: 0; transition: opacity .14s ease, transform .14s ease; transform: translateX(-3px);
}
.wiki-catcard li a:hover { color: var(--w-accent); padding-left: 20px; }
.wiki-catcard li a:hover::before { opacity: 1; transform: translateX(0); color: var(--w-accent); }
.wiki-catcard li.is-pillar a { font-weight: 700; color: var(--w-ink); }
.wiki-catcard li.is-pillar a::after {
  content: "ANA REHBER"; margin-left: 9px; font-size: 9.5px; font-weight: 800;
  letter-spacing: .08em; color: var(--w-accent); background: var(--w-accent-sk);
  padding: 2px 7px; border-radius: 4px; vertical-align: 1.5px;
}

.wiki-section-title {
  margin: 56px 0 22px; font-size: 23px; font-weight: 780; letter-spacing: -.02em; color: var(--w-ink);
}
.wiki-empty {
  padding: 48px 24px; text-align: center; color: var(--w-ink-4); font-size: 15px;
  background: var(--w-surface); border: 1px dashed var(--w-line); border-radius: var(--w-r-lg);
}
.wiki-empty a { color: var(--w-link); }

/* ==========================================================================
   Duyarlı
   ========================================================================== */
@media (max-width: 1180px) {
  .wiki-grid { grid-template-columns: minmax(0, 1fr) 272px; gap: 40px; }
}
@media (max-width: 1080px) {
  .wiki-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .wiki-main { max-width: none; }
  .wiki-side {
    position: static; max-height: none;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 22px;
  }
}
@media (max-width: 680px) {
  .wiki-wrap { font-size: 16.2px; }
  .wiki-container { padding: 0 16px; }
  .wiki-hero__inner { padding-bottom: 32px; }
  .wiki-hero__meta { font-size: 12.2px; }
  .wiki-hero__meta li { padding-right: 12px; margin-right: 12px; }
  .wiki-content { font-size: 16.4px; }
  .wiki-content > p:first-of-type { font-size: 17.4px; }
  .wiki-content h2 { margin-top: 42px; }
  .wiki-steps > li { padding-left: 48px; padding-bottom: 26px; }
  .wiki-steps > li::before { width: 31px; height: 31px; font-size: 14px; border-radius: 9px; }
  .wiki-steps > li::after { left: 15px; top: 33px; }
  .wiki-cta__body { padding: 24px 20px; }
  .wiki-cta__title { font-size: 20px; }
  .wiki-note, .wiki-tip, .wiki-warn, .wiki-danger, .wiki-success { padding: 15px 17px 15px 52px; font-size: 15.2px; }
  .wiki-crumbs [aria-current="page"] { max-width: 20ch; }
  .wiki-side { grid-template-columns: 1fr; }
  .wiki-home__stats li { padding-right: 18px; margin-right: 18px; }
  .wiki-home__stats strong { font-size: 25px; }
  .wiki-catgrid { grid-template-columns: 1fr; }
  .wiki-content thead th { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .wiki-wrap *, .wiki-wrap *::before, .wiki-wrap *::after {
    transition-duration: .01ms !important; animation-duration: .01ms !important;
  }
}

/* ==========================================================================
   Yazdırma
   ========================================================================== */
@media print {
  .wiki-side, .wiki-cta, .wiki-copy, .wiki-backtop, .wiki-toc__toggle,
  .wiki-related, .wiki-progress, .wiki-crumbs { display: none !important; }
  .wiki-wrap { background: #fff; color: #000; font-size: 11pt; }
  .wiki-hero { background: #fff !important; border: 0; }
  .wiki-hero::before, .wiki-hero::after { display: none; }
  .wiki-hero__title { font-size: 22pt; }
  .wiki-grid { display: block; padding: 0; }
  .wiki-main { max-width: none; }
  .wiki-content pre, .wiki-code { background: #f5f5f5 !important; color: #000 !important; border: 1px solid #ccc; box-shadow: none; }
  .wiki-content pre::before, .wiki-content pre::after { display: none; }
  .wiki-content pre code { padding: 14px; color: #000; }
  .wiki-faq__item { break-inside: avoid; }
  .wiki-faq__item summary::after { display: none; }
  .wiki-content h2, .wiki-content h3 { break-after: avoid; }
  .wiki-content a { color: #000; text-decoration: underline; }
}
