/* ==========================================================================
   Tawny bot sayfaları — /botlar.html, /gelistirici.html, /dokumanlar.html
   Landing temasının (assets/index-*.css) üstüne eklenir.
   ========================================================================== */
:root {
    --ds-bg: #060607;
    --ds-panel: #0c0c0f;
    --ds-card: #101014;
    --ds-card-2: #15151b;
    --ds-border: rgba(255,255,255,.07);
    --ds-border-2: rgba(255,255,255,.12);
    --ds-text: #f4f4f5;
    --ds-muted: #8b8b93;
    --ds-faint: #55555c;
    --ds-violet: #f4f4f5; /* vurgu: beyaz (tema) */
    --ds-violet-2: #e4e4e7;
    --ds-amber: #e4e4e7;
    --ds-green: #22c55e;
    --ds-red: #ef4444;
    --ds-ease: cubic-bezier(.22,1,.36,1);
    --ds-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
html { scroll-behavior: smooth; }
body { background: var(--ds-bg); }
.ds-root { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ds-text); }

/* Ortak üst menü davranışı (landing ile aynı) */
nav { animation: dsNavDown .9s var(--ds-ease); transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; border-bottom: 1px solid transparent; }
nav.is-scrolled { background-color: hsl(var(--background) / .74); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: hsl(var(--border) / .35); }
nav a { white-space: nowrap; }
@media (max-width: 640px) { nav { padding-left: 1rem !important; padding-right: 1rem !important; } nav .gap-12 { gap: 1rem; } }
@keyframes dsNavDown { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 60; box-shadow: 0 12px 40px rgba(0,0,0,.55); }
.lang-menu.open { display: flex; }
.lang-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: hsl(var(--foreground)); background: transparent; border: 0; cursor: pointer; text-align: left; width: 100%; font-family: inherit; }
.lang-item:hover { background: rgba(255,255,255,.07); }
.lang-item .nm { color: hsl(var(--muted-foreground)); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ds-ease), transform .7s var(--ds-ease); }
.reveal.in { opacity: 1; transform: none; }

/* Dil blokları: tr dışındaki diller İngilizce içeriği görür */
html[lang="tr"] .l-en { display: none !important; }
html:not([lang="tr"]) .l-tr { display: none !important; }

/* ---------- Düğmeler / rozetler ---------- */
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--ds-border-2); background: rgba(255,255,255,.04); color: var(--ds-text); font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; text-decoration: none; transition: all .2s var(--ds-ease); white-space: nowrap; }
.ds-btn:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.ds-btn.primary { background: #fff; color: #0b0b0d; border-color: #fff; }
.ds-btn.primary:hover { box-shadow: 0 14px 34px -14px rgba(255,255,255,.55); }
.ds-btn.violet { background: #fff; border-color: #fff; color: #0b0b0d; }
.ds-btn.violet:hover { background: #e4e4e7; box-shadow: 0 14px 34px -14px rgba(255,255,255,.5); }
.ds-btn.danger { color: #fca5a5; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); }
.ds-btn.danger:hover { background: rgba(239,68,68,.16); }
.ds-btn.sm { height: 34px; padding: 0 13px; font-size: .82rem; border-radius: 9px; }
.ds-btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.ds-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--ds-violet-2); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.bot-tag { display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px; border-radius: 5px; background: #f4f4f5; color: #0b0b0d; font-size: .62rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle;  }
.bot-tag i { font-size: .52rem; }
.ds-ver { color: var(--ds-amber); }
.ds-input, .ds-textarea, .ds-select { width: 100%; border-radius: 11px; border: 1px solid var(--ds-border-2); background: rgba(255,255,255,.035); color: #fff; font: inherit; font-size: .92rem; padding: 11px 14px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.ds-textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.ds-input:focus, .ds-textarea:focus { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.055); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.ds-label { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 8px; }
.ds-label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ds-faint); }
.ds-hint { font-size: .8rem; color: var(--ds-faint); margin-top: 7px; line-height: 1.5; }
.ds-field { margin-bottom: 22px; }
.ds-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; display: inline-block; }
.ds-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ds-switch span { position: absolute; inset: 0; border-radius: 999px; background: #3f3f46; transition: background .25s; }
.ds-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ds-ease); }
.ds-switch input:checked + span { background: var(--ds-green); }
.ds-switch input:checked + span::after { transform: translateX(20px); }
.ds-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: #111114; border: 1px solid var(--ds-border-2); color: #fff; font-size: .88rem; font-weight: 600; box-shadow: 0 20px 50px -10px rgba(0,0,0,.9); transition: all .35s var(--ds-ease); display: flex; align-items: center; gap: 9px; }
.ds-toast.on { transform: translate(-50%, 0); opacity: 1; }
.ds-toast.err { border-color: rgba(239,68,68,.4); color: #fecaca; }
.ds-toast i { color: var(--ds-green); }
.ds-toast.err i { color: var(--ds-red); }

/* ---------- Bot dizini ---------- */
.bd-hero { position: relative; max-width: 76rem; margin: 0 auto; padding: 9rem 2rem 3rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
@media (max-width: 960px) { .bd-hero { grid-template-columns: 1fr; padding-top: 7.5rem; } }
.bd-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; margin-top: 1.2rem; }
.bd-hero h1 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; background: linear-gradient(100deg, #e4e4e7, #f4f4f5); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.bd-hero p { margin-top: 1.2rem; max-width: 34rem; color: hsl(var(--muted-foreground)); font-size: 1.06rem; line-height: 1.7; }
.bd-actions { margin-top: 1.8rem; display: flex; gap: 12px; flex-wrap: wrap; }
.bd-search { margin-top: 1.6rem; display: flex; align-items: center; gap: 12px; max-width: 30rem; height: 50px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--ds-border-2); color: var(--ds-muted); transition: border-color .2s, box-shadow .3s; }
.bd-search:focus-within { border-color: rgba(255,255,255,.3); box-shadow: 0 0 0 4px rgba(255,255,255,.05); color: #fff; }
.bd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: .95rem; }
/* Sağdaki canlı sohbet sahnesi */
.bd-stage { position: relative; border-radius: 22px; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--ds-border-2); box-shadow: 0 40px 100px -40px rgba(255,255,255,.08); overflow: hidden; }
.bd-stage::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 70%; height: 70%; background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent); filter: blur(10px); animation: bdGlow 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes bdGlow { to { transform: translate(-20%, 20%) scale(1.2); } }
.bd-stage-head { position: relative; display: flex; align-items: center; gap: 8px; padding: 2px 4px 14px; border-bottom: 1px solid var(--ds-border); color: var(--ds-muted); font-size: .82rem; font-weight: 600; }
.bd-stage-head i.fa-hashtag { color: var(--ds-faint); }
.bd-chat { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 14px; min-height: 290px; }
.bd-msg { display: flex; gap: 11px; opacity: 0; transform: translateY(10px); animation: bdIn .5s var(--ds-ease) forwards; }
.bd-msg .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.bd-msg .av img { width: 100%; height: 100%; object-fit: cover; }
.bd-msg b { font-size: .86rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.bd-msg b small { color: var(--ds-faint); font-weight: 500; font-size: .7rem; }
.bd-msg p { margin-top: 3px; font-size: .9rem; color: #d4d4d8; line-height: 1.45; }
.bd-msg code { font-family: var(--ds-mono); font-size: .82rem; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.07); color: #e4e4e7; }
.bd-embed { margin-top: 7px; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.035); border-left: 3px solid var(--ds-violet); font-size: .84rem; color: #c4c4cc; }
.bd-typing { display: inline-flex; gap: 4px; padding: 8px 0 0 47px; }
.bd-typing i { width: 6px; height: 6px; border-radius: 50%; background: #71717a; animation: bdDot 1s infinite; }
.bd-typing i:nth-child(2) { animation-delay: .15s; } .bd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bdIn { to { opacity: 1; transform: none; } }
@keyframes bdDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.bd-wrap { max-width: 76rem; margin: 0 auto; padding: 1rem 2rem 4rem; }
.bd-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.bd-sec-head h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.bd-sec-head span { color: var(--ds-muted); font-size: .9rem; }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.bd-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--ds-card); border: 1px solid var(--ds-border); cursor: pointer; transition: transform .45s var(--ds-ease), border-color .3s, box-shadow .45s; animation: bdIn .6s var(--ds-ease) both; animation-delay: calc(var(--i, 0) * 50ms); overflow: hidden; }
.bd-card::before { content: ""; position: absolute; inset: -40% -20% auto; height: 180px; background: radial-gradient(closest-side, rgba(255,255,255,.25), transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bd-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.45); box-shadow: 0 30px 60px -30px rgba(255,255,255,.6); }
.bd-card:hover::before { opacity: 1; }
.bd-card-top { position: relative; display: flex; align-items: center; gap: 14px; }
.bd-av { position: relative; width: 58px; height: 58px; border-radius: 18px; overflow: hidden; flex-shrink: 0; background: #1c1c22; border: 1px solid var(--ds-border-2); }
.bd-av img { width: 100%; height: 100%; object-fit: cover; }
.bd-dot { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: #52525b; border: 3px solid var(--ds-card); }
.bd-dot.on { background: var(--ds-green); }
.bd-card h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.bd-card .meta { color: var(--ds-muted); font-size: .78rem; margin-top: 3px; }
.bd-card p { position: relative; color: #a1a1aa; font-size: .88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.1em; }
.bd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-tag { font-size: .7rem; font-weight: 600; color: #a1a1aa; padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.05); border: 1px solid var(--ds-border); }
.bd-card-foot { position: relative; display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.bd-card-foot .ds-btn { flex: 1; }
.bd-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1.5rem; border-radius: 22px; border: 1px dashed var(--ds-border-2); color: var(--ds-muted); }
.bd-empty i { font-size: 2.4rem; color: #3f3f46; margin-bottom: 1rem; display: block; }
.bd-empty h3 { color: var(--ds-text); font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.bd-skel { height: 230px; border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,.025) 25%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.025) 75%); background-size: 300% 100%; animation: dsSk 1.5s linear infinite; border: 1px solid var(--ds-border); }
@keyframes dsSk { to { background-position: -150% 0; } }
.bd-dev { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .bd-dev { grid-template-columns: 1fr; } }
.bd-feature { padding: 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--ds-border); }
.bd-feature i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--ds-violet-2); font-size: 1.05rem; margin-bottom: 14px; }
.bd-feature h3 { font-size: 1.05rem; font-weight: 650; }
.bd-feature p { color: var(--ds-muted); font-size: .9rem; line-height: 1.6; margin-top: 6px; }
.bd-cta { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 30px; border-radius: 24px; border: 1px solid rgba(255,255,255,.28); background: radial-gradient(ellipse at top left, rgba(255,255,255,.16), transparent 60%), rgba(255,255,255,.02); }
@media (max-width: 860px) { .bd-cta { grid-template-columns: 1fr; } }
.bd-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
.bd-cta p { color: var(--ds-muted); margin: .7rem 0 1.4rem; line-height: 1.6; }

/* ---------- Kod blokları (dizin + dokümanlar) ---------- */
.ds-code { position: relative; border-radius: 14px; background: #0a0a0d; border: 1px solid var(--ds-border-2); overflow: hidden; }
.ds-code-head { display: flex; align-items: center; gap: 4px; padding: 6px 8px 0; border-bottom: 1px solid var(--ds-border); background: rgba(255,255,255,.02); }
.ds-code-tab { border: 0; background: transparent; color: var(--ds-muted); font: inherit; font-size: .78rem; font-weight: 650; padding: 8px 12px 9px; cursor: pointer; border-bottom: 2px solid transparent; }
.ds-code-tab.on { color: #fff; border-bottom-color: var(--ds-violet); }
.ds-code-copy { margin-left: auto; border: 0; background: transparent; color: var(--ds-muted); font: inherit; font-size: .76rem; padding: 6px 10px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ds-code-copy:hover { background: rgba(255,255,255,.06); color: #fff; }
.ds-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--ds-mono); font-size: .82rem; line-height: 1.65; color: #e4e4e7; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 24%, transparent) transparent; }
.ds-code pre[hidden] { display: none; }
.tk-k { color: #c792ea; } .tk-s { color: #c3e88d; } .tk-n { color: #f78c6c; } .tk-c { color: #5c6370; font-style: italic; } .tk-f { color: #82aaff; } .tk-p { color: #89ddff; }

/* ---------- Geliştirici portalı ---------- */
.dp { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; padding-top: 68px; }
@media (max-width: 860px) { .dp { grid-template-columns: 1fr; } .dp-side { position: static !important; height: auto !important; border-right: 0 !important; border-bottom: 1px solid var(--ds-border); } }
.dp-side { position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; padding: 22px 14px; border-right: 1px solid var(--ds-border); background: rgba(10,10,12,.6); }
.dp-side h4 { font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--ds-faint); padding: 0 10px; margin: 14px 0 8px; }
.dp-link { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; color: var(--ds-muted); font: inherit; font-size: .9rem; font-weight: 550; cursor: pointer; text-decoration: none; text-align: left; transition: all .18s; }
.dp-link img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }
.dp-link i { width: 26px; text-align: center; }
.dp-link span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.dp-link.on { background: rgba(255,255,255,.14); color: #fff; }
.dp-main { min-width: 0; padding: 34px 40px 80px; }
@media (max-width: 640px) { .dp-main { padding: 24px 18px 60px; } }
.dp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.dp-head h1 { font-size: 2rem; font-weight: 650; letter-spacing: -.03em; }
.dp-head p { color: var(--ds-muted); margin-top: 6px; font-size: .95rem; }
.dp-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.dp-app { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 16px 20px; border-radius: 18px; background: var(--ds-card); border: 1px solid var(--ds-border); cursor: pointer; transition: all .35s var(--ds-ease); animation: bdIn .5s var(--ds-ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.dp-app:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.4); box-shadow: 0 24px 50px -26px rgba(255,255,255,.6); }
.dp-app img { width: 84px; height: 84px; border-radius: 24px; object-fit: cover; background: #1c1c22; }
.dp-app b { font-size: .98rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-app small { color: var(--ds-muted); font-size: .76rem; }
.dp-new { border-style: dashed; justify-content: center; color: var(--ds-muted); min-height: 200px; }
.dp-new i { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.04); font-size: 1.4rem; }
.dp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ds-border); margin-bottom: 26px; overflow-x: auto; }
.dp-tab { border: 0; background: transparent; color: var(--ds-muted); font: inherit; font-size: .9rem; font-weight: 600; padding: 12px 14px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.dp-tab:hover { color: #fff; }
.dp-tab.on { color: #fff; border-bottom-color: var(--ds-violet); }
.dp-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
@media (max-width: 1100px) { .dp-grid2 { grid-template-columns: 1fr; } }
.dp-avatar { position: relative; width: 120px; height: 120px; border-radius: 34px; overflow: hidden; cursor: pointer; background: #1c1c22; border: 1px solid var(--ds-border-2); }
.dp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dp-avatar::after { content: "\f030"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; opacity: 0; transition: opacity .2s; }
.dp-avatar:hover::after { opacity: 1; }
.dp-box { padding: 20px; border-radius: 16px; background: var(--ds-card); border: 1px solid var(--ds-border); margin-bottom: 18px; }
.dp-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.dp-box > p { color: var(--ds-muted); font-size: .88rem; line-height: 1.55; margin-bottom: 14px; }
.dp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp-token { display: flex; gap: 8px; align-items: stretch; }
.dp-token code { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 11px; background: #0a0a0d; border: 1px solid var(--ds-border-2); font-family: var(--ds-mono); font-size: .82rem; color: #e4e4e7; overflow-x: auto; white-space: nowrap; }
.dp-token code.masked { color: var(--ds-faint); letter-spacing: .1em; }
.dp-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .84rem; line-height: 1.5; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #f6d9ae; margin-top: 12px; }
.dp-warn.red { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.3); color: #fecaca; }
.dp-perms { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.dp-perm { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--ds-border); background: rgba(255,255,255,.02); cursor: pointer; font-size: .86rem; color: #d4d4d8; transition: all .15s; user-select: none; }
.dp-perm:hover { border-color: var(--ds-border-2); }
.dp-perm input { accent-color: var(--ds-violet); width: 16px; height: 16px; }
.dp-perm code { margin-left: auto; font-family: var(--ds-mono); font-size: .7rem; color: var(--ds-faint); }
.dp-url { display: flex; gap: 8px; margin-top: 14px; }
.dp-url input { font-family: var(--ds-mono); font-size: .8rem; color: #e4e4e7; }
.dp-preview { position: sticky; top: 90px; }
.dp-preview small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 10px; }
.dp-login { max-width: 460px; margin: 18vh auto 0; text-align: center; padding: 40px 28px; border-radius: 24px; border: 1px solid var(--ds-border-2); background: radial-gradient(ellipse at top, rgba(255,255,255,.16), transparent 60%), var(--ds-card); }
.dp-login i { font-size: 2.4rem; color: var(--ds-violet-2); margin-bottom: 14px; }
.dp-login h2 { font-size: 1.5rem; font-weight: 650; }
.dp-login p { color: var(--ds-muted); margin: 10px 0 22px; line-height: 1.6; }
.ds-modal-back { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.ds-modal-back.on { opacity: 1; }
.ds-modal { width: min(460px, 100%); border-radius: 20px; background: #0e0e11; border: 1px solid var(--ds-border-2); padding: 24px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.95); transform: translateY(16px) scale(.97); transition: transform .4s var(--ds-ease); }
.ds-modal-back.on .ds-modal { transform: none; }
.ds-modal h3 { font-size: 1.2rem; font-weight: 700; }
.ds-modal > p { color: var(--ds-muted); font-size: .9rem; margin: 6px 0 18px; line-height: 1.55; }
.ds-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.ds-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ds-muted); line-height: 1.5; cursor: pointer; margin-bottom: 16px; }
.ds-check input { margin-top: 3px; accent-color: var(--ds-violet); }

/* ---------- Dokümanlar ---------- */
.dc { display: grid; grid-template-columns: 270px minmax(0, 1fr); padding-top: 68px; }
@media (max-width: 960px) { .dc { grid-template-columns: 1fr; } .dc-side { display: none; } .dc-side.open { display: block; position: fixed; inset: 68px 0 0; z-index: 40; } }
.dc-side { position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; padding: 22px 14px 40px; border-right: 1px solid var(--ds-border); background: rgba(8,8,10,.92); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 24%, transparent) transparent; }
.dc-side h4 { font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: var(--ds-faint); padding: 0 10px; margin: 18px 0 6px; text-transform: uppercase; }
.dc-side a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--ds-muted); font-size: .88rem; text-decoration: none; transition: all .15s; }
.dc-side a:hover { color: #fff; background: rgba(255,255,255,.04); }
.dc-side a.on { color: #fff; background: rgba(255,255,255,.14); }
.dc-side a .m { font-family: var(--ds-mono); font-size: .62rem; font-weight: 700; width: 44px; flex-shrink: 0; }
.dc-main { min-width: 0; max-width: 880px; padding: 40px 48px 120px; }
@media (max-width: 640px) { .dc-main { padding: 26px 18px 80px; } }
.dc-main section { scroll-margin-top: 90px; padding-bottom: 18px; }
.dc-main h1 { font-size: 2.4rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.dc-main h2 { font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; margin: 48px 0 12px; padding-top: 22px; border-top: 1px solid var(--ds-border); }
.dc-main h3 { font-size: 1.15rem; font-weight: 650; margin: 30px 0 10px; }
.dc-main p, .dc-main li { color: #b4b4bc; line-height: 1.75; font-size: .95rem; }
.dc-main p { margin: 10px 0; }
.dc-main ul, .dc-main ol { padding-left: 1.3em; margin: 10px 0; }
.dc-main li { margin: 4px 0; }
.dc-main a { color: var(--ds-violet-2); text-decoration: underline; text-underline-offset: 3px; }
.dc-main code { font-family: var(--ds-mono); font-size: .84em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: #e4e4e7; }
.dc-main pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.dc-main .ds-code { margin: 16px 0; }
.dc-lead { font-size: 1.08rem !important; color: #c4c4cc !important; margin-top: 14px !important; }
.dc-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.25); }
.dc-note i { color: var(--ds-violet-2); margin-top: 4px; }
.dc-note p { margin: 0 !important; color: #d4d4d8 !important; font-size: .9rem !important; }
.dc-note.warn { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); }
.dc-note.warn i { color: var(--ds-amber); }
.dc-note.warn p { color: #f6d9ae !important; }
.dc-ep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; padding: 10px 14px; border-radius: 11px; background: #0a0a0d; border: 1px solid var(--ds-border-2); font-family: var(--ds-mono); font-size: .86rem; }
.dc-ep .m { padding: 3px 8px; border-radius: 6px; font-weight: 800; font-size: .72rem; letter-spacing: .04em; }
.m-get { background: rgba(34,197,94,.15); color: #4ade80; }
.m-post { background: rgba(96,165,250,.15); color: #60a5fa; }
.m-put { background: rgba(251,191,36,.15); color: #fbbf24; }
.m-delete { background: rgba(239,68,68,.15); color: #f87171; }
.m-patch { background: rgba(167,139,250,.15); color: #c4b5fd; }
.dc-ep .p { color: #e4e4e7; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
/* Uzun uç nokta yolu dar ekranda kendi satırında kırılır (sayfayı yatay taşırmaz) */
.dc-ep { min-width: 0; max-width: 100%; }
.dc-ep .p em { color: #93c5fd; font-style: normal; }
.dc-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: .88rem; border: 1px solid var(--ds-border); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.dc-table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-muted); font-weight: 700; padding: 10px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--ds-border); white-space: nowrap; }
.dc-table td { padding: 10px 14px; border-bottom: 1px solid var(--ds-border); color: #c4c4cc; vertical-align: top; line-height: 1.55; }
.dc-table tr:last-child td { border-bottom: 0; }
.dc-table td:first-child { white-space: nowrap; }
.dc-steps { counter-reset: st; list-style: none; padding: 0 !important; }
.dc-steps > li { position: relative; padding: 4px 0 18px 48px !important; margin: 0 !important; }
.dc-steps > li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.15); color: var(--ds-violet-2); font-weight: 800; font-size: .88rem; }
.dc-steps > li::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: 4px; width: 2px; background: var(--ds-border); }
.dc-steps > li:last-child::after { display: none; }
.dc-steps > li > b { color: #fff; display: block; margin-bottom: 2px; font-size: 1rem; }
.dc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 20px 0; }
.dc-card { display: block; padding: 18px; border-radius: 14px; background: var(--ds-card); border: 1px solid var(--ds-border); text-decoration: none !important; transition: all .25s var(--ds-ease); }
.dc-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.dc-card i { color: var(--ds-violet-2); font-size: 1.1rem; }
.dc-card b { display: block; color: #fff; margin-top: 10px; font-size: .98rem; }
.dc-card span { display: block; color: var(--ds-muted); font-size: .84rem; margin-top: 4px; line-height: 1.5; }
.dc-mobile-nav { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 50px; height: 50px; border-radius: 16px; border: 1px solid var(--ds-border-2); background: #111114; color: #fff; box-shadow: 0 16px 40px -10px rgba(0,0,0,.9); }
@media (max-width: 960px) { .dc-mobile-nav { display: grid; place-items: center; } }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } .bd-msg, .bd-card, .dp-app { animation: none; opacity: 1; transform: none; } }
