/* 28 Kas 2026 (yobro): YoBro'nin notr gri yuzeyleri (#060606, #0b0b0b, #161616, #303030 ...) ayni acikliktaki sicak gece
   tonlarina cevrildi (r+1, g-2, b+5); destek sayfasindaki zeytin tonlar da. */
/* Docs page only: the reading typography, in baaf's dark dress. */

.doc { padding: 36px 0 72px; }

.doc-grid { display: grid; grid-template-columns: 210px 1fr; gap: 48px; align-items: start; }

/* sticky table of contents */
.doc-toc {
  position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.doc-toclabel {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2); padding: 0 12px 8px;
}
.doc-toc a {
  font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px;
  border-radius: var(--r-xl); transition: color 0.2s ease, background 0.2s ease;
}
.doc-toc a:hover { color: var(--foreground); background: var(--surface); }
/* BULUNDUGUN BOLUM ISARETLI (17 Eyl, Cihan). Okuyucu hangi bolumdeyse sol
   listedeki bagi acik yazi + zemin + solda lime cizgi alir; isareti kaydirmaya
   gore Site.tsx (useTocSpy) koyar. Telefonda liste yatay satir oldugundan
   cizgi alta iner ve secili cip gorunur alana kaydirilir. */
.doc-toc a { position: relative; }
.doc-toc a[aria-current="true"] { color: var(--foreground); background: var(--surface); font-weight: 600; }
.doc-toc a[aria-current="true"]::before {
  content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 10px; background: var(--accent);
}

/* body: a comfortable measure, not the full page width */
.doc-body { max-width: 720px; min-width: 0; }
.doc-body h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.doc-lede { font-size: 17px; color: var(--muted); margin: 12px 0 8px; line-height: 1.6; }
.doc-body h2 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  margin: 48px 0 14px; padding-top: 20px; border-top: 1px solid var(--border);
  scroll-margin-top: 92px;
}
.doc-body h3 { font-size: 17px; font-weight: 700; margin: 30px 0 10px; letter-spacing: -0.01em; }
.doc-body p { line-height: 1.7; margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 20px; }
.doc-body li { line-height: 1.65; margin-bottom: 9px; color: var(--muted); font-size: 15px; }
.doc-body strong { font-weight: 600; color: var(--foreground); }
.doc-body .split, .doc-body .wallets, .doc-body .tiers { margin: 18px 0 22px; }

/* numbered flow: the step number does the work a heading would */
.doc-steps { counter-reset: s; list-style: none; padding-left: 0; }
.doc-steps li {
  counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 13px;
}
.doc-steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
}

.doc-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 20px; font-size: 14px; border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; background: var(--surface); }
.doc-table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 500;
  padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02);
}
.doc-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table td:not(:first-child) { font-family: var(--mono); color: var(--foreground); }
.doc-table td strong { color: var(--foreground); }

.doc-q { font-weight: 600; margin-top: 22px; margin-bottom: 6px; color: var(--foreground); }
.doc-foot {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted-2);
}
.doc-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .doc-foot a:hover { color: var(--accent-strong); } }

@media (max-width: 900px) {
  /* the contents list becomes a scrolling row above the text */
  .doc-grid { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc {
    position: static; flex-direction: row; gap: 4px;
    overflow-x: auto;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
  }
  .doc-toclabel { display: none; }
  .doc-toc a { white-space: nowrap; padding: 6px 10px; }
  /* telefonda secili bolum yalniz alt cizgiyle isaretli (22 Eyl, Cihan): cerceve ve zemin yok */
  .doc-toc a[aria-current="true"] { background: transparent; box-shadow: none; }
  .doc-toc a[aria-current="true"]::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 2px; }
  .doc { padding: 24px 0 56px; }
  .doc-body h1 { font-size: 30px; }
  .doc-body h2 { font-size: 22px; margin-top: 40px; }
  .doc-table { display: block; overflow-x: auto; }
}

/* Ortak okuma parcalari (hukuk sayfalari, Security, destek). 29 Kas 2026: eski Docs'un teknik bilesenleri
   (meta, ozet kutusu, fg-* cizim renkleri, kod blogu, bolum cubugu) yeni Docs (.yd, asagida) ile kalkti. */

/* section numbering lives in CSS only, so the bot's text copy keeps plain headings */
.doc-body { counter-reset: sec; }
.doc-body h2 { counter-increment: sec; position: relative; }
.doc-body h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 6px;
}

.doc-fig {
  border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--surface);
  padding: 18px 18px 14px; margin: 20px 0 26px;
}
.doc-fig svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.doc-fig figcaption { font-size: 13px; line-height: 1.6; color: var(--muted-2); margin-top: 12px; }
.doc-fig figcaption b { color: var(--foreground); font-weight: 600; }

/* prose tables: reading cells in the sans face; `kv` keeps the value column in mono */
.doc-table.prose td:not(:first-child) { font-family: var(--sans); color: var(--muted); }
.doc-table.prose.kv td:nth-child(2) { font-family: var(--mono); color: var(--foreground); white-space: nowrap; }
.doc-table.prose td:first-child { color: var(--foreground); font-weight: 500; }
@media (max-width: 900px) { .doc-table.prose.kv td:nth-child(2) { white-space: normal; } }

/* phones: a figure keeps its drawn size and pans sideways instead of shrinking its labels below legibility */
@media (max-width: 640px) {

  .doc-fig { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .doc-fig svg { min-width: 620px; }
  .doc-fig figcaption { position: sticky; left: 0; }
  /* the drawing is wider than the phone: say so, and fade the cut edge */
  .doc-fig::before {
    content: "swipe sideways to see the whole figure";
    position: sticky; left: 0; display: block; font-family: var(--mono); font-size: 10.5px;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
  }
}

/* DESTEK SAYFASININ TABANI (.dx). 29 Kas 2026: Docs .yd'ye gecti (asagidaki "YOBRO DOCS" bolumu); burada yalniz
   destek sayfasinin (class="doc dx sp") okudugu kurallar kaldi. */
.dx { padding: 0 0 64px; }
.dx-px { display: block; fill: #aaa; }
.dx a:focus-visible, .dx button:focus-visible, .dx summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.dx-eyebrow { margin: 0 0 24px; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.dx h1 { margin: 0; font-size: clamp(48px, 5.2vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.034em; }
.dx h1 span { color: var(--accent); }
.dx .doc-lede { max-width: 470px; margin: 24px 0; font-size: 20px; line-height: 1.5; color: var(--muted); }
.dx .doc-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 56px; margin-top: 48px; }
.dx .doc-body { max-width: 840px; counter-reset: none; }
.dx .doc-toc { top: calc(var(--topbar) + 24px); max-height: calc(100dvh - var(--topbar) - 40px); gap: 0; }
.dx .doc-toclabel { font-size: 11px; padding-left: 12px; }
.dx .doc-toc a { display: flex; padding: 8px 12px; font-size: 13px; line-height: 1.35; border-radius: 5px; }
.dx .doc-toc a[aria-current="true"]::before { background: var(--accent); width: 2px; }
.dx .doc-toc a[aria-current="true"] { background: #ff6a000a; }
.dx-chap-ic { width: 28px; height: 28px; display: grid; place-items: center; }
.dx-chap-ic svg { width: 28px; height: 28px; }
.dx-chap-ic .dx-px { fill: var(--accent); opacity: .85; }
.dx .doc-body h2::before { content: none; }
.dx .doc-body h2 { margin: 0 0 20px; padding: 0; border: 0; font-size: clamp(28px, 2.9vw, 40px); font-weight: 750; line-height: 1.12; letter-spacing: -.034em; scroll-margin-top: calc(var(--topbar) + 64px); text-wrap: balance; }
.dx .doc-body h3 { margin: 32px 0 12px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.dx .doc-body p, .dx .doc-body li { font-size: 15px; line-height: 1.65; }
.dx .doc-body .dx-intro { font-size: 17px; line-height: 1.6; }
.dx .doc-body a { color: #dedede; text-decoration: underline; text-decoration-color: #606060; text-underline-offset: 3px; }
.dx .doc-body a:hover { color: #fff; text-decoration-color: var(--accent); }
.dx .doc-table { font-size: 15px; background: #120f16; border-radius: 8px; line-height: 1.5; }
.dx .doc-table th { font-size: 11px; padding: 12px; }
.dx .doc-table td { padding: 12px; vertical-align: top; }
.dx .doc-table.prose.kv td:nth-child(2) { white-space: normal; font-family: var(--sans); }
.dx .doc-table.prose.kv td:first-child { width: 22%; }
.dx .doc-table.prose.kv td:nth-child(2) { width: 26%; }
.dx .doc-fig { position: relative; margin: 24px 0; padding: 22px 18px 0; border: 1px solid #353239; border-radius: 10px; background: linear-gradient(145deg,#17141b,#0d0a11); box-shadow: none; }
.dx .doc-fig svg { min-width: 0; }
.dx .doc-fig::before { content: none; }
.dx .doc-fig figcaption { position: static; margin: 18px -18px 0; padding: 14px 18px; border-top: 1px solid #2c2930; font-size: 13px; line-height: 1.55; }
.dx .dx-risks { padding: 0; list-style: none; }
.dx .dx-risks li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--border); }
.dx-risk-ic svg { width: 26px; height: 26px; margin-top: 2px; }
.dx .dx-risks strong { display: block; margin-bottom: 5px; }
@media (max-width: 1100px) {
  .dx .doc-grid { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .dx .doc-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .dx .doc-body { max-width: none; }
  .dx .doc-toc { display: grid; grid-template-columns: 1fr 1fr; position: static; max-height: none; overflow: visible; mask-image: none; padding-bottom: 24px; gap: 0 14px; }
  .dx .doc-toclabel { display: block; grid-column: 1 / -1; padding: 0 0 6px; }
  .dx .doc-toc a { white-space: normal; padding: 9px 0; border-radius: 0; }
  .dx .doc-toc a[aria-current="true"] { background: none; }
  .dx .doc-toc a[aria-current="true"]::before { content: none; }
  .dx .doc-table { display: table; }
}
@media (max-width: 640px) {
  .dx-eyebrow { margin-bottom: 18px; }
  .dx h1 { font-size: 48px; }
  .dx .doc-lede { font-size: 20px; margin: 18px 0 8px; }
  .dx .doc-grid { margin-top: 20px; gap: 32px; }
  .dx .doc-body h2 { font-size: 30px; margin-bottom: 18px; }
  .dx .doc-body h3 { margin-top: 28px; }
  .dx .doc-fig { padding: 16px 10px 0; overflow: hidden; }
  .dx .doc-fig figcaption { margin: 14px -10px 0; padding: 14px; }
  .dx .doc-table, .dx .doc-table tbody { display: block; }
  .dx .doc-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .dx .doc-table tr { display: grid; gap: 5px; padding: 16px; border-bottom: 1px solid #312e35; }
  .dx .doc-table tr:last-child { border: 0; }
  .dx .doc-table td, .dx .doc-table.prose.kv td { display: block; padding: 0; border: 0; width: auto; }
  .dx .doc-table td:first-child { font-weight: 650; color: #eee; }
  .dx .doc-table.prose.kv td:nth-child(2) { color: #c6c6c6; }
}
@media (max-width: 360px) {
  .dx h1 { font-size: 44px; }
  .dx .doc-lede { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .dx *, .dx *::before, .dx *::after { animation: none !important; transition: none !important; }
}

/* Support has its own reading layout; Docs and the app keep their styles. */
.sp { --sp-muted: #b7b7b7; --sp-line: #312e35; --sp-panel: #120f16; }
.sp [hidden] { display: none !important; }
.sp :where(section) { padding: 0; border-bottom: 0; }
.sp :where(a, button, input, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sp-hub.doc { padding-top: 0; }
.sp-label { display: block; font: 600 11px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.sp a.btn, .sp .doc-body a.btn { min-height: 46px; padding: 12px 20px; background: var(--accent); color: #101400; font-size: 15px; font-weight: 650; text-decoration: none; box-shadow: none; }
.sp a.btn:hover, .sp .doc-body a.btn:hover { color: #101400; background: #ff974d; text-decoration: none; }
.sp .btn svg { width: 17px; height: 17px; }
.sp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 26px; }
.sp-tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: #ddd; }
.sp-tlink svg { width: 18px; height: 18px; }
.sp-hero { padding: 48px 0; border-bottom: 1px solid #26232a; background: #07040b; }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 64px; }
.sp .sp-hero h1 { font-size: clamp(44px, 4.7vw, 64px); }
.sp .sp-hero .doc-lede { max-width: 470px; color: #bfbfbf; }
.sp-conversation { border: 1px solid #3d3a41; border-radius: 12px; background: linear-gradient(150deg, #1c1622, #120f16 48%, #100d13); box-shadow: 0 20px 60px #0004; overflow: hidden; }
.sp-chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #ffffff0d; }
.sp-chat-face { display: block; width: 38px; height: 38px; flex: none; }
.sp-chat-face svg { display: block; width: 100%; height: 100%; }
.sp-chat-head > div { display: grid; gap: 4px; }
.sp-chat-head b { font-size: 15px; font-weight: 650; color: #f5f5f5; }
.sp-chat-head > div span { font-size: 11px; color: #aaa; }
.sp-chat-example { margin-left: auto; font-size: 11px; color: #bec99a; white-space: nowrap; }
.sp-chat-messages { display: flex; flex-direction: column; gap: 15px; padding: 22px; }
.sp-chat-user { align-self: flex-end; max-width: 90%; margin: 0; padding: 10px 14px; border-radius: 10px 10px 4px 10px; background: #2b2d25; color: #f0f0e9; font-size: 15px; line-height: 1.5; }
.sp-chat-answer { padding-right: 16px; }
.sp-chat-answer p { margin: 0; font-size: 15px; line-height: 1.65; color: #c4c4c4; }
.sp-chat-answer strong { color: #f1f1eb; font-weight: 550; }
.sp-chat-answer a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 5px; color: var(--accent); font-size: 13px; font-weight: 600; }
.sp-chat-answer a svg { width: 15px; height: 15px; }
.sp-chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 18px 18px; padding: 12px 14px; border: 1px solid #32342d; border-radius: 8px; font-size: 13px; color: #aaa; }
.sp-chat-foot svg { width: 18px; height: 18px; color: #bec99a; flex: none; }
.sp-finder { padding-top: 36px !important; }
.sp .sp-finder h2, .sp .sp-sec > h2, .sp .sp-end h2 { margin: 0 0 20px; font-size: clamp(28px, 2.5vw, 36px); font-weight: 750; line-height: 1.2; letter-spacing: -.034em; }
.sp-search-field { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px; border: 1px solid #444; border-radius: 8px; background: #110e15; }
.sp-search-field:focus-within { border-color: #bc7440; box-shadow: 0 0 0 3px #ff6a000b; }
.sp-search-field > svg { width: 21px; height: 21px; flex: none; color: #bac88a; }
.sp-search-field input { flex: 1; width: 100%; min-width: 0; padding: 14px 0; border: 0; outline: none; background: transparent; color: #fff; font: 400 17px/1.5 var(--sans); }
.sp-search-field input::placeholder { color: #aaa; opacity: 1; }
.sp-search-field button, .sp-empty button { border: 0; background: transparent; color: #eee; font: 500 15px/1.5 var(--sans); min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.sp-search-status { margin: 10px 0 0; color: #aaa; font-size: 13px; }
.sp-jumps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sp-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; background: #ffffff05; font-size: 13px; color: #c6c6c6; }
.sp-jumps a:hover { background: #ff6a0010; color: #efd4c0; }
.sp-results { list-style: none; margin: 24px 0 0; padding: 0; }
.sp-results li { border-bottom: 1px solid #2a272e; }
.sp-results a { display: grid; gap: 5px; padding: 18px 0; }
.sp-results b { font-size: 17px; line-height: 1.4; color: #eee; }
.sp-results span, .sp-empty { color: var(--sp-muted); font-size: 15px; line-height: 1.65; }
.sp-results small { color: #aebb82; font-size: 13px; }
.sp-results a:hover b { color: var(--accent); }
.sp-empty a { color: #eee; text-decoration: underline; text-underline-offset: 4px; }
.sp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp-sec { padding-top: 48px !important; }
.sp .sp-sec > .dx-intro { max-width: 620px; margin: -8px 0 20px; font-size: 17px; line-height: 1.65; color: var(--sp-muted); }
.sp-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sp-top-a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 14px; min-height: 84px; padding: 18px; border: 1px solid #2c2e26; border-radius: 8px; background: linear-gradient(140deg, #181a12, #10110e); color: #eee; }
.sp-top-ic, .sp-top-ic svg { width: 24px; height: 24px; }
.sp-top-ic .dx-px { fill: #dca680; }
.sp-top-a b { font-size: 15px; font-weight: 600; line-height: 1.5; }
.sp-top-go svg { display: block; width: 16px; height: 16px; color: #939c77; }
.sp-top-a:hover { border-color: #7a4a2a; background: #21160f; }
.sp-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.sp-topic { scroll-margin-top: calc(var(--topbar) + 28px); padding-top: 22px; border-top: 1px solid #34382a; }
.sp-topic-head { display: flex; align-items: center; gap: 12px; }
.sp-topic-head .dx-chap-ic, .sp-topic-head .dx-chap-ic svg { width: 24px; height: 24px; flex: none; }
.sp-topic-head h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: #eee; }
.sp-topic-count { margin-left: auto; color: #909581; font: 400 13px/1 var(--mono); }
.sp-topic-desc { margin: 10px 0 14px; color: var(--sp-muted); font-size: 13px; line-height: 1.6; }
.sp-topic ul { margin: 0; padding: 0; list-style: none; }
.sp-topic li a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 9px 0; font-size: 15px; line-height: 1.5; color: #cecece; }
.sp-topic li svg { width: 14px; height: 14px; flex: none; color: #777; }
.sp-topic li a:hover, .sp-topic li a:hover svg { color: var(--accent); }
.sp-topic-wide { grid-column: 1 / -1; }
.sp-topic-wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.sp-safe { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; padding: 16px 18px; border-radius: 8px; background: #15170f; font-size: 13px; line-height: 1.65; color: #bec2b2; }
.sp-safe-ic, .sp-safe-ic svg { flex: none; width: 22px; height: 22px; }
.sp-safe-ic .dx-px { fill: #d7af93; }
.sp-safe b { color: #e5e8db; font-weight: 600; }
.sp-safe a, .sp-safe-more a { flex: none; margin-left: auto; color: #f3e1d2; text-decoration: underline; text-decoration-color: #8a5a3a; text-underline-offset: 4px; }
.sp .sp-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin: 28px 0 0; }
.sp .sp-rules li { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.65; color: var(--sp-muted); }
.sp .sp-rules strong { display: block; margin-bottom: 8px; font-size: 17px; line-height: 1.45; color: #eee; }
.sp .sp-rules .dx-risk-ic .dx-px { fill: #a6ba70; }
.sp-official { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; padding: 20px; border: 1px solid #343138; border-radius: 8px; background: #110e15; }
.sp-official a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 32px; }
.sp-official em { font-style: normal; font-size: 13px; color: #aaa; }
.sp-official b { font-size: 15px; font-weight: 600; color: #eee; }
.sp-safe-more { margin: 18px 0 0; font-size: 15px; line-height: 1.65; color: var(--sp-muted); }
.sp-end { display: grid; justify-items: center; margin-top: 56px; padding: 40px 0 8px !important; border-top: 1px solid #2a272e !important; text-align: center; }
.sp-end-face { width: 52px; height: 52px; margin-bottom: 20px; }
.sp-end-face svg { display: block; width: 100%; height: 100%; }
.sp .sp-end h2 span { color: var(--accent); }
.sp-end p { max-width: 580px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--sp-muted); }
.sp-end .sp-cta { justify-content: center; }
/* Guides: a compact navigator, clear preparation, numbered instructions. */
.sp-guide .doc-grid { margin-top: 16px; grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
.sp .sp-body { max-width: 880px; }
.sp .sp-rail { gap: 4px; padding-right: 12px; scrollbar-width: thin; }
.sp .sp-rail .sp-rail-home { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 44px; margin-bottom: 12px; color: #eee; font-size: 13px; font-weight: 600; }
.sp-rail-home svg { width: 14px; height: 14px; rotate: 180deg; }
.sp-nav-group { flex-shrink: 0; }
.sp-nav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: #b4b4b4; cursor: pointer; list-style: none; }
.sp-nav-group summary::-webkit-details-marker { display: none; }
.sp-nav-group summary::after { content: "+"; font: 400 17px/1 var(--sans); color: #999; }
.sp-nav-group[open] > summary { color: #e6cebd; }
.sp-nav-group[open] > summary::after { content: "−"; color: #c3d490; }
.sp-nav-group > div { padding-bottom: 12px; }
.sp .sp-nav-group a { display: block; min-height: 44px; padding: 10px 12px; border-radius: 6px; font-size: 13px; line-height: 1.6; color: #aaa; }
.sp .sp-nav-group a:hover { color: #fff; background: #ffffff07; }
.sp .sp-nav-group a[aria-current="page"] { color: #f4d7c3; background: #ff6a000b; font-weight: 600; box-shadow: inset 2px 0 var(--accent); }
.sp-mobile-nav { display: none; }
.sp .doc-body a { color: #e0e5d6; text-decoration-thickness: 1px; text-decoration-color: #66704f; text-underline-offset: 4px; }
.sp .doc-body a:hover { color: #ffbc8d; text-decoration-color: var(--accent); }
.sp .sp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; color: #92988a; }
.sp .doc-body .sp-crumb a { color: #aeb3a4; text-decoration: none; }
.sp .sp-body h1 { margin: 0 0 14px; font-size: clamp(32px, 3.1vw, 44px); font-weight: 750; line-height: 1.15; letter-spacing: -.034em; text-wrap: balance; }
.sp .doc-body > .dx-intro { font-size: 17px; line-height: 1.65; color: #bcbcbc; max-width: 65ch; }
.sp .doc-body :is(p, li) { overflow-wrap: break-word; }
.sp .doc-body :is(.sp-steps, .sp-before, .sp-fixes, .sp-ask, .sp-still, .dx-intro) b { color: #f2f2ed; font-weight: 650; }
.sp .doc-body .sp-h2 { margin: 0 0 20px; padding: 0; border: 0; font-size: 20px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.sp-before { margin: 22px 0 30px; padding: 16px 20px; border-left: 2px solid #af6c3c; border-radius: 0 8px 8px 0; background: linear-gradient(90deg, #1a1d11, #10120d); }
.sp-before .sp-label { color: #c2cbac; margin-bottom: 10px; }
.sp .doc-body .sp-before p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #c5c8bd; }
.sp .doc-body .sp-before p:last-child { margin-bottom: 0; }
.sp-workflow { margin-top: 28px; }
.sp-workflow-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.sp .doc-body .sp-workflow-head .sp-h2 { margin: 0; }
.sp-plats { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #33372a; border-radius: 8px; background: #11120e; }
.sp-plats button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 13px; border: 0; border-radius: 5px; background: none; color: #b3b6ac; font: 500 13px/1 var(--sans); cursor: pointer; }
.sp-plats button svg { width: 16px; height: 16px; }
.sp-plats button[aria-selected="true"] { background: #ff6a00; color: #182100; font-weight: 650; }
.sp-panel { display: block; }
.sp-panel.sp-only > .sp-label { margin: -8px 0 20px; }
.sp-instructions { min-width: 0; }
.sp .doc-body .sp-steps { margin: 0; padding: 0; list-style: none; max-width: 66ch; }
.sp .doc-body .sp-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; gap: 14px; margin: 0 0 24px; padding: 0; font-size: 17px; line-height: 1.7; color: #c9c9c9; }
.sp-step-n { color: #dfac88; font: 500 13px/1.6 var(--mono); font-variant-numeric: tabular-nums; }
.sp .doc-body .sp-steps li:last-child { margin-bottom: 0; }
.sp .doc-body .sp-fig { margin: 28px 0 0; padding: 0; background: linear-gradient(140deg, #1a1c15, #11120f); border: 1px solid #3a3e30; border-radius: 10px; box-shadow: none; overflow: hidden; }
.sp-fig-label { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #34372c; font-size: 11px; line-height: 1.4; color: #a8ac9d; }
.sp-fig-label span:first-child { color: #d7e3b8; }
.sp .doc-body .sp-shot { position: relative; display: flex; justify-content: center; margin: 16px; border: 1px solid #35303d; border-radius: 8px; overflow: hidden; background: #090a0b; text-decoration: none; cursor: zoom-in; }
.sp-shot img { display: block; max-width: 100%; width: auto; height: auto; max-height: 510px; object-fit: contain; }
.sp-shot-hint { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #525746; border-radius: 5px; background: #171a12ef; color: #f3e0d2; font-size: 11px; }
.sp-shot-hint svg { width: 13px; height: 13px; }
.sp .sp-fig figcaption { margin: 0; padding: 0 16px 16px; border: 0; color: #b4b7aa; font-size: 13px; line-height: 1.6; }
.sp .sp-fig figcaption b { color: #eee; }
.sp-ask { margin: 32px 0 0; padding: 22px; border: 1px solid #343b25; border-radius: 8px; background: linear-gradient(110deg, #191d10, #10120d); }
.sp-ask .sp-label { color: #bccd91; }
.sp-ask-row { display: grid; gap: 10px; margin-top: 12px; }
.sp .doc-body .sp-ask-prompt { margin: 0; font-size: 20px; line-height: 1.45; color: #e9efdc; font-weight: 500; letter-spacing: -.01em; }
.sp .doc-body .sp-ask-then { margin: 0; font-size: 15px; line-height: 1.65; color: #b7bdae; }
.sp .doc-body .sp-ask-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 10px 0 -6px; font-size: 13px; }
.sp .doc-body .sp-ask-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: #edd0bc; text-decoration: none; }
.sp-ask-links svg { width: 16px; height: 16px; }
.sp .doc-body .sp-ask.is-cannot p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: #c3c7ba; }
.sp-troubleshoot { margin-top: 34px; }
.sp .doc-body .sp-fixes { margin: 0; padding: 0; list-style: none; max-width: 70ch; }
.sp .doc-body .sp-fixes li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; margin: 0 0 18px; padding: 0; font-size: 15px; line-height: 1.7; color: #bebebe; }
.sp-fix-mark { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 4px; border: 1px solid #7a5a45; border-radius: 50%; font-size: 11px; line-height: 1; color: #d9b89f; }
.sp-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #2d3027; }
.sp-related .sp-label { grid-column: 1 / -1; }
.sp .doc-body .sp-related a { display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-content: start; gap: 8px 10px; padding: 0; text-decoration: none; }
.sp .doc-body .sp-related a b { font-size: 15px; line-height: 1.5; font-weight: 600; color: #e0e4d6; }
.sp-related a span { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; color: #a9ad9f; }
.sp-related a svg { grid-row: 1; grid-column: 2; align-self: center; width: 14px; height: 14px; color: #a4b17e; }
.sp .doc-body .sp-related a:hover b { color: var(--accent); }
.sp-still { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 22px; border: 1px solid #34392a; border-radius: 8px; background: #14160f; }
.sp .doc-body .sp-still p { margin: 0; font-size: 15px; line-height: 1.65; color: #bbc0b0; max-width: 50ch; }
.sp .doc-body .sp-still p b { display: block; margin-bottom: 4px; font-size: 17px; color: #edf2e1; }
.sp-still .btn { flex: none; }
.sp-skip { position: fixed; top: -100px; left: 16px; z-index: 2000; padding: 14px 18px; color: #000; background: #fff; border-radius: 8px; }
.sp-skip:focus { top: 12px; }
.sp-viewing { overflow: hidden; }
.sp-lightbox { margin: auto; width: min(1160px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; color: #eee; background: #10110e; border: 1px solid #515843; border-radius: 10px; }
.sp-lightbox::backdrop { background: #000d; }
.sp-lightbox-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #383d2e; }
.sp-lightbox-bar p { flex: 1; margin: 0; font: 400 15px/1.5 var(--sans); }
.sp-lightbox-bar button { flex: none; min-height: 44px; padding: 8px 12px; border: 1px solid #535c40; border-radius: 6px; font: 500 13px/1.4 var(--sans); color: #eef3e3; background: #22261a; cursor: pointer; }
.sp-lightbox-scroll { display: flex; overflow: auto; padding: 16px; max-height: calc(100dvh - 140px); }
.sp-lightbox-scroll img { display: block; flex: none; margin: auto; max-width: 100%; max-height: calc(100dvh - 172px); width: auto; height: auto; object-fit: contain; }
.sp-actual .sp-lightbox-scroll img { max-width: none; max-height: none; }
@media (min-width: 1180px) {
  .sp-portrait { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 32px; }
  .sp .doc-body .sp-portrait .sp-fig { margin-top: 0; }
}
@media (max-width: 1100px) {
  .sp-hero-grid { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 410px); }
  .sp-guide .doc-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 900px) {
  .sp-hero { padding: 36px 0; }
  .sp-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .sp-conversation { width: 100%; max-width: 560px; }
  .sp .sp-hero .doc-lede { max-width: 600px; }
  .sp-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-topics { gap: 28px; }
  .sp-topic-wide ul { gap: 0 28px; }
  .sp .sp-rules { gap: 26px; }
  .sp-guide .sp-rail { display: none; }
  .sp-guide .doc-grid { margin-top: 4px; gap: 24px; grid-template-columns: 1fr; }
  .sp-mobile-nav { display: block; border: 1px solid #34392b; border-radius: 8px; background: #10120d; }
  .sp-mobile-nav > summary { min-height: 48px; padding: 13px 16px; color: #dae3c5; font-size: 13px; cursor: pointer; }
  .sp-mobile-nav nav { max-height: 65dvh; overflow: auto; padding: 0 8px 12px; }
  .sp-mobile-nav .sp-nav-group summary, .sp-mobile-nav .sp-nav-group a { font-size: 15px; }
}
@media (max-width: 560px) {
  .sp .sp-hero h1 { font-size: 42px; }
  .sp .sp-hero .doc-lede { margin: 18px 0 0; font-size: 17px; }
  .sp-hero .sp-cta { margin-top: 22px; }
  .sp-hero { padding: 28px 0 32px; }
  .sp-chat-head { padding: 14px; gap: 10px; }
  .sp-chat-head > div span { display: none; }
  .sp-chat-face { width: 32px; height: 32px; }
  .sp-chat-messages { padding: 16px; gap: 14px; }
  .sp-chat-answer { padding-right: 0; }
  .sp-chat-foot { margin: 0 14px 14px; font-size: 11px; }
  .sp-sec { padding-top: 36px !important; }
  .sp-finder { padding-top: 30px !important; }
  .sp-search-field { gap: 10px; padding-inline: 12px; }
  .sp-search-field input { font-size: 16px; }
  .sp-jumps { gap: 4px; }
  .sp-jumps a { padding: 8px 10px; }
  .sp-top { grid-template-columns: 1fr; gap: 8px; }
  .sp-top-a { min-height: 64px; padding: 14px 16px; }
  .sp-topics { grid-template-columns: 1fr; gap: 24px; }
  .sp-topic { padding-top: 20px; }
  .sp-topic-wide ul { grid-template-columns: 1fr; }
  .sp .sp-rules { grid-template-columns: 1fr; }
  .sp-safe { flex-wrap: wrap; align-items: flex-start; padding: 16px; gap: 10px 12px; }
  .sp-safe > span:nth-child(2) { flex: 1 1 calc(100% - 34px); }
  .sp-safe a { min-height: 32px; margin-left: 34px; }
  .sp-official { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sp-end { margin-top: 40px; padding-top: 32px !important; }
  .sp .sp-body h1 { font-size: 32px; }
  .sp .sp-crumb { margin-bottom: 14px; }
  .sp-before { padding: 16px; margin: 20px 0 26px; }
  .sp-workflow-head { align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .sp-plats { width: 100%; }
  .sp-plats button { flex: 1; min-height: 44px; }
  .sp .doc-body .sp-steps li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin-bottom: 22px; }
  .sp-ask, .sp-still { padding: 18px; }
  .sp-still { flex-wrap: wrap; gap: 16px; }
  .sp-related { grid-template-columns: 1fr; gap: 20px; }
  .sp-related a span { max-width: 42ch; }
  .sp-lightbox-bar { flex-wrap: wrap; }
  .sp-lightbox-bar p { flex-basis: 100%; font-size: 13px; }
  .sp-lightbox-scroll { max-height: calc(100dvh - 210px); }
  .sp-lightbox-scroll img { max-height: calc(100dvh - 242px); }
}

/* HUKUK ARAMASI (14 Eki 2026, Selcuk: secenek a). Terms, Privacy ve Risk'te
   basligin altindaki kutu ve yerinde acilan sonuc listesi. Kutu Destek
   sayfasindaki aramanin aynisi (.sp-search-field); sonuc satiri .sp-results
   gibi. Kapsam .legal, oteki sayfalara dokunmaz. */
.legal .lg-search { margin: 22px 0 6px; scroll-margin-top: calc(var(--topbar) + 20px); }
.legal .lg-field > svg { width: 21px; height: 21px; }
.legal .lg-field input::-webkit-search-cancel-button { display: none; }
.lg-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.legal .lg-out:empty { display: none; }
.legal .lg-out { padding-bottom: 6px; }
.legal .doc-body .lg-status { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #aaa; }
.legal .doc-body .lg-status b { color: #eee; font-weight: 600; }
.legal .doc-body .lg-status i { font-style: normal; color: #cfd8ae; }
.legal .doc-body .lg-status a { color: #eee; }
.legal .doc-body .lg-res { list-style: none; margin: 6px 0 0; padding: 0; }
.legal .doc-body .lg-res li { margin: 0; border-bottom: 1px solid #2a272e; }
.legal .doc-body .lg-res a { display: grid; gap: 5px; padding: 14px 0; color: inherit; text-decoration: none; }
.legal .doc-body .lg-res small { font-size: 13px; line-height: 1.4; color: #aebb82; }
.legal .doc-body .lg-res span { font-size: 15px; line-height: 1.6; color: #c4c4c4; }
@media (hover: hover) { .legal .doc-body .lg-res a:hover span { color: #eee; } }
.legal .doc-body .lg-res a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.legal .doc-body .lg-group { margin: 22px 0 0; font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.legal .doc-body .lg-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; color: #eee; font: 500 13px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.legal .doc-body .lg-more + .lg-more { margin-left: 18px; }
.legal .doc-body mark { background: #ff6a0026; color: #f9eae0; border-radius: 3px; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal .doc-body .lg-target { scroll-margin-top: calc(var(--topbar) + 40px); outline: none; }
.legal .doc-toc .lg-jump { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.legal .doc-toc .lg-jump svg { width: 15px; height: 15px; flex: none; color: #bac88a; }
@media (max-width: 900px) {
  .legal .lg-search { margin-top: 20px; }
  /* telefonda kutu sayfanin basinda, seridin hemen altinda: kisayola gerek yok */
  .legal .doc-toc .lg-jump { display: none; }
  .legal .doc-body .lg-res span { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   YOBRO DOCS (.yd) (29 Kas 2026, Cihan: "dokumanlarin tasarimini da degistir, daha kaliteli bir sey olsun").
   Bastan yeni gorunus: kapakta Bro'nun hazirladigi emir karti, yapiskan icindekiler (telefonda yapiskan cip seridi),
   her bolum bir kart, cizimler .yd belirteclerinden renk alir. Iki okuma temasi: koyu (varsayilan, sitenin kendisi) ve
   aydinlik (data-yd-theme="light", docsPage.ts). Yazi tipi adi gomulmez: var(--sans), rakamlar var(--mono).
   Cerceve tek cizgi (border); ust isik golgesi yazilmaz (npm run check:cift-cizgi). Koseler: dugme 10, kart 14-18.
   ═══════════════════════════════════════════════════════════════════════ */
.yd {
  --yd-bg: transparent;
  --yd-glass: rgba(13, 11, 16, 0.86);
  --yd-panel: #15121a;
  --yd-panel-2: #1c1922;
  --yd-panel-3: #25212c;
  --yd-line: rgba(255, 255, 255, 0.07);
  --yd-line-2: rgba(255, 255, 255, 0.13);
  --yd-ink: #fbf7f2;
  --yd-ink-2: #c3bcc8;
  --yd-ink-3: #8e8794;
  --yd-accent: #ff6a00;
  --yd-accent-ink: #ff8a3d;
  --yd-accent-soft: rgba(255, 106, 0, 0.12);
  --yd-accent-line: rgba(255, 106, 0, 0.38);
  --yd-gain: #2bd67b;
  --yd-loss: #ff4d6d;
  --yd-loss-soft: rgba(255, 77, 109, 0.1);
  --yd-on-acc: #1a0c02;
  --yd-lift: rgba(0, 0, 0, 0.5);
  --yd-shade: rgba(0, 0, 0, 0.4);
}
.yd[data-yd-theme="light"] {
  --yd-bg: #f6f1ea;
  --yd-glass: rgba(246, 241, 234, 0.9);
  --yd-panel: #fffdfa;
  --yd-panel-2: #f9f4ed;
  --yd-panel-3: #efe7dc;
  --yd-line: rgba(48, 28, 10, 0.09);
  --yd-line-2: rgba(48, 28, 10, 0.17);
  --yd-ink: #1d1520;
  --yd-ink-2: #4b4350;
  --yd-ink-3: #7b7280;
  --yd-accent: #f06400;
  --yd-accent-ink: #c04e00;
  --yd-accent-soft: rgba(240, 100, 0, 0.1);
  --yd-accent-line: rgba(240, 100, 0, 0.34);
  --yd-gain: #12a15a;
  --yd-loss: #db2f4c;
  --yd-loss-soft: rgba(219, 47, 76, 0.08);
  --yd-lift: rgba(70, 36, 10, 0.16);
  --yd-shade: rgba(70, 36, 10, 0.14);
  color-scheme: light;
}
.doc.yd { padding: 0 0 88px; color: var(--yd-ink); background: var(--yd-bg); transition: background-color 0.25s ease; }
.yd a:focus-visible, .yd button:focus-visible, .yd summary:focus-visible { outline: 2px solid var(--yd-accent); outline-offset: 4px; border-radius: 6px; }
.yd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.yd-ic { display: block; }

/* kapak */
.yd-hero { padding: 56px 0 44px; }
.yd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.yd-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 12px; border-radius: 10px; background: var(--yd-accent-soft); color: var(--yd-accent-ink); font: 700 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.yd-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yd-accent); box-shadow: 0 0 0 4px var(--yd-accent-soft); }
.yd h1 { margin: 0; font: 800 clamp(46px, 5.6vw, 80px)/0.98 var(--sans); letter-spacing: -0.045em; color: var(--yd-ink); text-wrap: balance; }
.yd h1 span { color: var(--yd-accent); }
.yd .yd-lede { max-width: 540px; margin: 24px 0 0; font-size: 19px; line-height: 1.6; color: var(--yd-ink-2); }
.yd-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.yd-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--yd-line-2); border-radius: 10px; background: var(--yd-panel); color: var(--yd-ink); font: 650 15px/1 var(--sans); text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.yd-btn:hover { border-color: var(--yd-accent-line); color: var(--yd-ink); }
.yd-btn.yd-btn-main { border-color: var(--yd-accent); background: var(--yd-accent); color: var(--yd-on-acc); }
.yd-btn.yd-btn-main:hover { background: #ff7d22; color: var(--yd-on-acc); }
.yd-theme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--yd-line); border-radius: 10px; background: transparent; color: var(--yd-ink-2); font: 600 14px/1 var(--sans); cursor: pointer; }
.yd-theme:hover { color: var(--yd-ink); border-color: var(--yd-line-2); }
.yd-theme .yd-ic { width: 17px; height: 17px; }
.yd-facts { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; padding: 0; list-style: none; border: 1px solid var(--yd-line); border-radius: 14px; background: var(--yd-panel); overflow: hidden; }
.yd-facts li { display: grid; gap: 6px; padding: 16px 18px; }
.yd-facts li + li { border-left: 1px solid var(--yd-line); }
.yd-facts b { font: 700 26px/1 var(--mono); letter-spacing: -0.02em; color: var(--yd-ink); font-variant-numeric: tabular-nums; }
.yd-facts li:last-child b { color: var(--yd-accent); }
.yd-facts span { font-size: 13px; line-height: 1.3; color: var(--yd-ink-3); }
.yd-hero-art .yd-art { display: block; width: 100%; height: auto; }

/* yerlesim ve icindekiler */
.yd-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 12px; }
.yd .doc-toc { position: sticky; top: calc(var(--topbar, 64px) + 20px); max-height: calc(100dvh - var(--topbar, 64px) - 40px); overflow-y: auto; display: flex; flex-direction: column; gap: 1px; padding: 4px 0; scrollbar-width: thin; }
.yd .doc-toclabel { padding: 0 12px 4px; font: 700 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yd-ink-3); }
.yd-toc-group { padding: 18px 12px 6px; font: 600 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--yd-ink-3); opacity: 0.85; }
.yd .doc-toc a { position: relative; display: block; padding: 8px 12px; border-radius: 8px; background: none; color: var(--yd-ink-2); font: 500 14px/1.35 var(--sans); text-decoration: none; }
.yd .doc-toc a:hover { color: var(--yd-ink); background: var(--yd-panel); }
.yd .doc-toc a[aria-current="true"] { color: var(--yd-ink); background: var(--yd-accent-soft); font-weight: 650; }
.yd .doc-toc a[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--yd-accent); }
.yd .doc-toc .yd-toc-out { margin-top: 14px; font-size: 13px; color: var(--yd-ink-3); }

/* govde: her bolum bir kart */
.yd-body { display: grid; gap: 20px; min-width: 0; max-width: 820px; }
.yd-sec { position: relative; padding: 36px 40px 34px; border: 1px solid var(--yd-line); border-radius: 18px; background: var(--yd-panel); }
.yd[data-yd-theme="light"] .yd-sec { box-shadow: 0 18px 40px -32px var(--yd-lift); }
.yd-sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.yd-sec-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--yd-accent-soft); color: var(--yd-accent); }
.yd-sec-ic .yd-ic { width: 21px; height: 21px; }
.yd-sec-n { font: 600 13px/1 var(--mono); letter-spacing: 0.06em; color: var(--yd-ink-3); }
.yd h2 { margin: 0 0 14px; font: 750 clamp(28px, 3vw, 36px)/1.12 var(--sans); letter-spacing: -0.03em; color: var(--yd-ink); text-wrap: balance; scroll-margin-top: calc(var(--topbar, 64px) + 28px); }
.yd h3 { margin: 32px 0 10px; font: 700 19px/1.3 var(--sans); letter-spacing: -0.015em; color: var(--yd-ink); scroll-margin-top: calc(var(--topbar, 64px) + 28px); }
.yd-body p, .yd-body li, .yd-body td { font-size: 16px; line-height: 1.7; color: var(--yd-ink-2); }
.yd-body p { margin: 0 0 14px; }
.yd-body p:last-child { margin-bottom: 0; }
.yd-body strong { font-weight: 650; color: var(--yd-ink); }
.yd .yd-intro { max-width: 62ch; margin: 0 0 22px; font-size: 18px; line-height: 1.6; color: var(--yd-ink-2); }
.yd-body a { color: var(--yd-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: var(--yd-accent-line); text-underline-offset: 3px; }
.yd-body a:hover { color: var(--yd-accent-ink); text-decoration-color: var(--yd-accent); }

.yd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.yd-card { padding: 20px; border: 1px solid var(--yd-line); border-radius: 14px; background: var(--yd-panel-2); }
.yd-card-ic { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 0 14px; border-radius: 10px; background: var(--yd-panel-3); color: var(--yd-ink); }
.yd-card-ic .yd-ic { width: 20px; height: 20px; }
.yd .yd-card h3 { margin: 0 0 6px; font-size: 17px; }
.yd-body .yd-card p { margin: 0; font-size: 14.5px; line-height: 1.6; }

.yd-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.yd-list li { position: relative; margin: 0; padding: 0 0 0 24px; }
.yd-list li::before { content: ""; position: absolute; left: 3px; top: 0.66em; width: 7px; height: 7px; border-radius: 2px; background: var(--yd-accent); transform: rotate(45deg); }

.yd-steps { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: yd-adim; }
.yd-steps li { counter-increment: yd-adim; position: relative; margin: 0; padding: 14px 16px 14px 58px; border: 1px solid var(--yd-line); border-radius: 12px; background: var(--yd-panel-2); }
.yd-steps li::before { content: counter(yd-adim); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--yd-accent); color: var(--yd-on-acc); font: 700 13px/1 var(--mono); }

.yd-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.yd-tiers li { margin: 0; padding: 16px; border: 1px solid var(--yd-line); border-radius: 12px; background: var(--yd-panel-2); font-size: 15px; line-height: 1.5; }
.yd-body .yd-tiers li { font-size: 18px; font-weight: 700; color: var(--yd-ink); }
.yd-body .yd-tiers li strong { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--yd-ink-3); }

.yd-table { width: 100%; margin: 6px 0 18px; border: 1px solid var(--yd-line); border-collapse: separate; border-spacing: 0; border-radius: 14px; background: var(--yd-panel-2); overflow: hidden; }
.yd-table th { padding: 12px 16px; border-bottom: 1px solid var(--yd-line); text-align: left; font: 650 11.5px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--yd-ink-3); }
.yd-table td { padding: 14px 16px; border-bottom: 1px solid var(--yd-line); vertical-align: top; }
.yd-body .yd-table td { font-size: 15px; line-height: 1.6; }
.yd-table tr:last-child td { border-bottom: 0; }
.yd-body .yd-table td:first-child { width: 28%; color: var(--yd-ink); font-weight: 600; }
.yd-body .yd-table td:nth-child(2):not(:last-child) { width: 22%; color: var(--yd-ink); font-weight: 600; }

.yd-callout { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--yd-accent-line); border-radius: 14px; background: var(--yd-accent-soft); }
.yd-callout-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--yd-accent); color: var(--yd-on-acc); }
.yd-callout-ic .yd-ic { width: 20px; height: 20px; }

.yd-fees, .yd-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.yd-fees li, .yd-split li { margin: 0; padding: 20px 22px; border: 1px solid var(--yd-line); border-radius: 14px; background: var(--yd-panel-2); }
.yd-fees li strong { display: block; margin-bottom: 8px; font: 750 30px/1.05 var(--sans); letter-spacing: -0.03em; color: var(--yd-ink); }
.yd-split li strong { display: block; margin-bottom: 6px; font-size: 18px; line-height: 1.35; }
.yd-split li:first-child { border-color: transparent; background: linear-gradient(140deg, #ff6a00, #ff9447); }
.yd-body .yd-split li:first-child, .yd-body .yd-split li:first-child strong { color: var(--yd-on-acc); }

.yd-fig { margin: 6px 0 22px; padding: 18px; border: 1px solid var(--yd-line); border-radius: 14px; background: var(--yd-panel-2); }
.yd-fig .yd-art { display: block; width: 100%; height: auto; }
.yd-fig .yd-art-tall { display: none; }
.yd-fig figcaption { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--yd-ink-3); }
.yd-fig figcaption b { font-weight: 650; color: var(--yd-ink-2); }

.yd-q { border-top: 1px solid var(--yd-line); }
.yd-q:last-of-type { border-bottom: 1px solid var(--yd-line); }
.yd-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; list-style: none; cursor: pointer; font: 650 17px/1.4 var(--sans); color: var(--yd-ink); }
.yd-q summary::-webkit-details-marker { display: none; }
.yd-q summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--yd-panel-3); color: var(--yd-ink-2); font: 500 18px/1 var(--sans); transition: transform 0.2s ease, background 0.2s ease; }
.yd-q[open] summary::after { transform: rotate(45deg); background: var(--yd-accent-soft); color: var(--yd-accent); }
.yd-body .yd-q p { margin: 0 0 18px; padding-right: 42px; }

.yd-sign { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px dashed var(--yd-line-2); border-radius: 18px; }
.yd-sign-bro { flex: none; width: 50px; height: 58px; overflow: visible; }
.yd-sign p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--yd-ink-2); }
.yd-sign b { color: var(--yd-ink); font-weight: 650; }
.yd-sign a { color: var(--yd-ink); text-decoration: underline; text-decoration-color: var(--yd-accent-line); text-underline-offset: 3px; }

.yd-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.yd-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #ff6a00, #ffb066); }

/* cizim siniflari (docsArt.ts) */
.yd-art text { font-family: var(--sans); }
.yd-art .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.yd-art .t-xs { font-size: 11.5px; }
.yd-art .t-s { font-size: 13px; }
.yd-art .t-m { font-size: 15px; }
.yd-art .t-l { font-size: 19px; }
.yd-art .t-xl { font-size: 27px; letter-spacing: -0.02em; }
.yd-art .w6 { font-weight: 600; }
.yd-art .w7 { font-weight: 700; }
.yd-art .caps { letter-spacing: 0.12em; }
.yd-art .ink { fill: var(--yd-ink); }
.yd-art .ink2 { fill: var(--yd-ink-2); }
.yd-art .ink3 { fill: var(--yd-ink-3); }
.yd-art .acc { fill: var(--yd-accent); }
.yd-art .gain { fill: var(--yd-gain); }
.yd-art .loss { fill: var(--yd-loss); }
.yd-art .on-acc { fill: var(--yd-on-acc); }
.yd-art .on-acc2 { fill: var(--yd-on-acc); opacity: 0.72; }
.yd-art .a-panel { fill: var(--yd-panel-2); stroke: var(--yd-line); }
.yd-art .a-sub { fill: var(--yd-panel-3); stroke: var(--yd-line); }
.yd-art .a-card { fill: var(--yd-panel); stroke: var(--yd-line-2); }
.yd-art .a-lift { filter: drop-shadow(0 18px 26px var(--yd-lift)); }
.yd-art .a-row { fill: var(--yd-panel-2); stroke: var(--yd-line); }
.yd-art .a-chip { fill: var(--yd-panel-3); stroke: var(--yd-line); }
.yd-art .a-chip-no { fill: var(--yd-loss-soft); stroke: var(--yd-loss); stroke-opacity: 0.4; }
.yd-art .a-yobro { fill: var(--yd-accent-soft); stroke: var(--yd-accent-line); }
.yd-art .a-btn, .yd-art .a-acc { fill: var(--yd-accent); }
.yd-art .a-gain { fill: var(--yd-gain); }
.yd-art .a-loss { fill: var(--yd-loss); }
.yd-art .a-gain-s { stroke: var(--yd-gain); stroke-width: 1.4; }
.yd-art .a-loss-s { stroke: var(--yd-loss); stroke-width: 1.4; }
.yd-art .a-neutral { fill: var(--yd-panel-3); stroke: var(--yd-line-2); }
.yd-art .a-ring { fill: none; stroke: var(--yd-accent); stroke-width: 2; opacity: 0; }
.yd-art .a-rule { fill: none; stroke: var(--yd-line-2); stroke-width: 1; }
.yd-art .a-line { fill: none; stroke: var(--yd-ink-3); stroke-width: 1.6; }
.yd-art .a-line-acc { fill: none; stroke: var(--yd-accent); stroke-width: 1.8; }
.yd-art .a-dash { stroke-dasharray: 5 5; }
.yd-art .a-bubble { fill: var(--yd-panel); stroke: var(--yd-line-2); }
.yd-art .a-bubble-tail { fill: var(--yd-panel); }
.yd-art .a-shadow { fill: var(--yd-shade); }
.yd-art .a-band-acc { fill: var(--yd-accent); opacity: 0.26; }
.yd-art .a-band { fill: var(--yd-ink-3); opacity: 0.16; }
.yd-art .a-burn { fill: url(#yd-g-acc); }
.yd-art .acc-c { stroke: var(--yd-accent); }
.yd-art .ink2-c { stroke: var(--yd-ink-2); }
.yd-art .yd-flame { color: var(--yd-on-acc); }
.yd .a-ah { fill: var(--yd-ink-3); }
.yd .a-ah-acc { fill: var(--yd-accent); }
.yd .a-dot { fill: var(--yd-line-2); }
.yd .a-stop1 { stop-color: #ff6a00; }
.yd .a-stop2 { stop-color: #ff9a4a; }

/* hareket: yalniz ekrandayken (.is-on) */
.yd-hero-art.is-on .yd-hop { animation: yd-hop 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.yd-hero-art.is-on .yd-bro .e, .yd-fig.is-on .yd-bro .e { animation: yd-blink 4.6s infinite; transform-box: fill-box; transform-origin: center; }
.yd-hero-art.is-on .a-ring { animation: yd-ring 2.6s ease-out infinite; }
.yd-fig.is-on .yd-flame { animation: yd-flick 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.yd-fig.is-on .a-line-acc.a-dash { animation: yd-flow 1.4s linear infinite; }
@keyframes yd-hop { 0%, 62%, 100% { transform: none; } 72% { transform: translateY(-10px); } 82% { transform: translateY(0) scale(1.03, 0.97); } 88% { transform: none; } }
@keyframes yd-blink { 0%, 92%, 96%, 100% { transform: none; } 94% { transform: scaleY(0.1); } }
@keyframes yd-ring { 0% { opacity: 0.7; stroke-width: 2; } 100% { opacity: 0; stroke-width: 14; } }
@keyframes yd-flick { 50% { transform: scale(1.06, 0.94); } }
@keyframes yd-flow { to { stroke-dashoffset: -20; } }

@media (max-width: 1100px) {
  .yd-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  .yd-hero-grid { gap: 36px; }
  .yd-sec { padding: 32px 30px 30px; }
}
@media (max-width: 900px) {
  .yd-hero { padding: 32px 0 24px; }
  .yd-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .yd-hero-art { max-width: 560px; }
  .yd-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 0; }
  .yd .doc-toc {
    position: sticky; top: var(--topbar, 56px); z-index: 5; flex-direction: row; align-items: center; gap: 6px;
    max-height: none; margin: 0 -16px; padding: 10px 16px; overflow-x: auto; overflow-y: hidden;
    border-bottom: 1px solid var(--yd-line); background: var(--yd-glass);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    -webkit-mask-image: none; mask-image: none; scrollbar-width: none;
  }
  .yd .doc-toc::-webkit-scrollbar { display: none; }
  .yd .doc-toclabel, .yd-toc-group { display: none; }
  .yd .doc-toc a { flex: none; white-space: nowrap; padding: 8px 12px; border: 1px solid var(--yd-line); border-radius: 10px; font-size: 13.5px; }
  .yd .doc-toc a[aria-current="true"] { border-color: var(--yd-accent-line); color: var(--yd-accent-ink); }
  .yd .doc-toc a[aria-current="true"]::before { content: none; }
  .yd .doc-toc .yd-toc-out { margin-top: 0; }
  .yd h2, .yd h3 { scroll-margin-top: calc(var(--topbar, 56px) + 80px); }
  .yd-body { max-width: none; }
}
@media (max-width: 640px) {
  .yd h1 { font-size: 46px; }
  .yd .yd-lede { font-size: 17px; }
  .yd-facts li { padding: 14px 12px; }
  .yd-facts b { font-size: 21px; }
  .yd-facts span { font-size: 12px; }
  .yd-sec { padding: 24px 18px 22px; border-radius: 16px; }
  .yd h2 { font-size: 27px; }
  .yd .yd-intro { font-size: 16.5px; }
  .yd-body p, .yd-body li { font-size: 15.5px; }
  .yd-cards, .yd-fees, .yd-split, .yd-tiers { grid-template-columns: 1fr; }
  .yd-fig { margin-left: -6px; margin-right: -6px; padding: 12px; }
  .yd-fig .yd-art-wide { display: none; }
  .yd-fig .yd-art-tall { display: block; }
  .yd-table, .yd-table tbody, .yd-table tr, .yd-table td { display: block; }
  .yd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .yd-table tr { padding: 14px 16px; border-bottom: 1px solid var(--yd-line); }
  .yd-table tr:last-child { border-bottom: 0; }
  .yd-table td, .yd-body .yd-table td:first-child, .yd-body .yd-table td:nth-child(2):not(:last-child) { width: auto; padding: 0; border: 0; }
  .yd-body .yd-table td:first-child { margin-bottom: 4px; }
  .yd-body .yd-table td:nth-child(2):not(:last-child) { margin-bottom: 4px; font-size: 14px; color: var(--yd-accent-ink); }
  .yd-steps li { padding: 14px 14px 14px 52px; }
  .yd-body .yd-q p { padding-right: 0; }
  .yd-sign { align-items: flex-start; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .yd *, .yd *::before, .yd *::after { animation: none !important; transition: none !important; }
}
