/* ============================================================
   Kelebek PDF Araçları — görünüm uyarlaması
   BentoPDF koyu temalı; Kelebek Sistemi'yle aynı açık görünüme çevrilir.
   Kelebek'in içinde (çerçevede) açılınca BentoPDF'in kendi üst şeridi gizlenir.
   ============================================================ */

/* Tailwind renk değişkenleri: gri tonları tersine çevrilir (koyu → açık) */
html:root {
  color-scheme: light;
  --color-gray-950: #ffffff;
  --color-gray-900: #f4f6fb;
  --color-gray-850: #f7f8fc;
  --color-gray-800: #ffffff;
  --color-gray-750: #f1f3f8;
  --color-gray-700: #e3e7ef;
  --color-gray-600: #d3d9e4;
  --color-gray-500: #8a96ab;
  --color-gray-400: #5a6a80;
  --color-gray-300: #3d4a5f;
  --color-gray-200: #27324a;
  --color-gray-100: #1a2233;
  --color-gray-50: #111827;
}

body {
  background-color: #f4f6fb !important;
  color: #1a2233 !important;
}

/* beyaz yazılar koyu olsun … */
.text-white,
.hover\:text-white:hover { color: #1a2233; }
/* … ama renkli düğmelerin ve koyu kaplamaların üstündekiler beyaz kalsın */
[class*="bg-indigo"].text-white, [class*="bg-indigo"] .text-white,
[class*="bg-blue"].text-white, [class*="bg-blue"] .text-white,
[class*="bg-red"].text-white, [class*="bg-red"] .text-white,
[class*="bg-green"].text-white, [class*="bg-green"] .text-white,
[class*="bg-emerald"].text-white, [class*="bg-emerald"] .text-white,
[class*="bg-purple"].text-white, [class*="bg-purple"] .text-white,
[class*="bg-orange"].text-white, [class*="bg-orange"] .text-white,
[class*="bg-black"] .text-white, [class*="bg-black"].text-white,
[class*="from-"].text-white, [class*="from-"] .text-white,
.btn-gradient, .btn-gradient * { color: #ffffff; }

/* araç kartları: beyaz, ince çizgi, hafif gölge (Kelebek'in kartları gibi) */
.tool-card {
  background-color: #ffffff !important;
  border-color: #e3e7ef !important;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
}
.tool-card:hover {
  border-color: #c6d6ff !important;
  box-shadow: 0 10px 28px rgba(20, 30, 60, 0.10) !important;
}

/* BentoPDF'in kendi stil dosyasında sabit yazılmış koyu renkler */
.category-header, .category-header * { color: #1a2233 !important; }
.compact-mode .tool-card:hover { background-color: #ffffff !important; }
.pdf-panel { background-color: #ffffff !important; border-color: #e3e7ef !important; }
.pill { background-color: #eef1f7 !important; color: #3d4a5f !important; }
.shortcut-key { background-color: #eef1f7 !important; color: #1a2233 !important; }
.legal-content h2 { color: #1a2233 !important; }
#shortcuts-list::-webkit-scrollbar-track { background: #f4f6fb !important; }

input, textarea, select { color: #1a2233; }
input::placeholder, textarea::placeholder { color: #8a96ab; }

/* kaydırma çubuğu */
::-webkit-scrollbar-track { background: #f4f6fb; }
::-webkit-scrollbar-thumb { background: #cfd6e2; border-radius: 8px; }

/* Kelebek'in yazı tipi */
html:root { --font-sans: "Segoe UI", "Noto Sans", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
body, button, input, select, textarea, .font-sans {
  font-family: "Segoe UI", "Noto Sans", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
}

/* koyu zemin için seçilmiş açık vurgu yazıları açık zeminde okunmuyordu → koyulaştır */
.text-indigo-100, .text-indigo-200, .text-indigo-300, .text-indigo-400 { color: #4338ca !important; }
.text-blue-100, .text-blue-200, .text-blue-300, .text-blue-400 { color: #1d4ed8 !important; }
.text-sky-200, .text-sky-300, .text-sky-400, .text-cyan-300, .text-cyan-400 { color: #0369a1 !important; }
.text-yellow-100, .text-yellow-200, .text-yellow-300, .text-yellow-400,
.text-amber-200, .text-amber-300, .text-amber-400 { color: #92400e !important; }
.text-orange-300, .text-orange-400 { color: #c2410c !important; }
.text-green-200, .text-green-300, .text-green-400, .text-emerald-300, .text-emerald-400 { color: #047857 !important; }
.text-red-200, .text-red-300, .text-red-400 { color: #b91c1c !important; }
.text-purple-300, .text-purple-400, .text-violet-300, .text-violet-400 { color: #6d28d9 !important; }
.text-pink-300, .text-pink-400 { color: #be185d !important; }
/* koyu renkli yarı saydam kutular (bilgi/uyarı kutuları) açık tona */
[class*="bg-indigo-900"], [class*="bg-indigo-950"], [class*="bg-blue-900"], [class*="bg-blue-950"] { background-color: #eef2ff !important; border-color: #c7d2fe !important; }
[class*="bg-yellow-900"], [class*="bg-amber-900"], [class*="bg-yellow-950"], [class*="bg-amber-950"] { background-color: #fffbeb !important; border-color: #fde68a !important; }
[class*="bg-red-900"], [class*="bg-red-950"] { background-color: #fef2f2 !important; border-color: #fecaca !important; }
[class*="bg-green-900"], [class*="bg-green-950"], [class*="bg-emerald-900"] { background-color: #ecfdf5 !important; border-color: #a7f3d0 !important; }
/* açılır pencerelerin arkasındaki kaplama: simsiyah yerine yarı saydam */
.fixed.inset-0[class*="bg-black"], .fixed.inset-0[class*="bg-gray-900"] { background-color: rgba(15, 20, 35, 0.45) !important; }

/* klavye kısayolu ayarları (dişli) öğretmenler için gereksiz */
#open-shortcuts-btn { display: none !important; }

/* araç sayfalarının altındaki tanıtım bölümleri (İngilizce SSS, "nasıl çalışır", ilgili araçlar) */
body:not(.lp) > section { display: none !important; }

/* ---- Favori Araçlarım (yalnızca Kelebek üyelerine) ---- */
#kb-favori { margin: 0 0 8px; }
.kb-favori-bas { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; margin: 1.25rem 0 1rem;
  font-size: 1.25rem; font-weight: 700; color: #1a2233; }
.kb-favori-bas span { display: inline-flex; align-items: center; gap: 8px; }
.kb-favori-bos { margin: 0 0 12px; padding: 14px 16px; border: 1px dashed #cfd6e2; border-radius: 12px; color: #5a6a80;
  background: #ffffff; font-size: 14px; }
.kb-yildiz { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: #aab4c5; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s; }
.tool-card:hover .kb-yildiz, .kb-yildiz.dolu, .kb-yildiz:focus-visible { opacity: 1; }
.kb-yildiz:hover { background: #f1f3f8; color: #f5b301; }
@media (hover: none) { .kb-yildiz { opacity: 1; } }

/* alt bilgi: logo yok (üstte zaten var), "Kelebek PDF Araçları" renkli ve parlayan imza gibi.
   Ana sayfanın alt bilgisinde kimlik (id) yok; iki biçim de yakalanır. */
#footer-logo,
footer[data-simple-footer] .flex.items-center.mb-2 > img { display: none !important; }
footer[data-simple-footer] .flex.items-center.mb-2 > span,
#footer-brand {
  font-weight: 800 !important; letter-spacing: .6px; font-size: 1.6rem !important; line-height: 1.2;
  font-style: italic; padding: 2px 4px 2px 0;
  background: linear-gradient(90deg, #2f5fd0, #7b4fd0, #e0457b, #f59e0b, #2f5fd0);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  animation: kbImza 6s ease-in-out infinite;
}
@keyframes kbImza { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { #footer-brand, footer[data-simple-footer] .flex.items-center.mb-2 > span { animation: none; } }

/* ---- Kelebek'in içinde açıldığında ---- */
html.kb-gomulu nav[data-simple-nav],
html.kb-gomulu body > nav.sticky { display: none !important; }
html.kb-gomulu body { background-color: transparent !important; }

/* dil seçici gereksiz (site Türkçe); İngilizce "Sık Sorulan Sorular" penceresi gizli */
#simple-mode-lang-switcher, #faq-open-btn, #faq-modal { display: none !important; }

/* ============================================================
   Gece görünümü: Kelebek'te "Gece" teması seçiliyken (html.kb-gece)
   PDF araçları da koyu olur. Renkler Kelebek'in Gece temasıyla aynı.
   ============================================================ */
html.kb-gece:root {
  color-scheme: dark;
  --color-gray-950: #0d1117;
  --color-gray-900: #11151c;
  --color-gray-850: #161b24;
  --color-gray-800: #1b212b;
  --color-gray-750: #202733;
  --color-gray-700: #2b3443;
  --color-gray-600: #333d4d;
  --color-gray-500: #6b7a90;
  --color-gray-400: #9fb0c6;
  --color-gray-300: #c3cfdf;
  --color-gray-200: #dbe3ee;
  --color-gray-100: #e9eef6;
  --color-gray-50: #f4f7fb;
}
html.kb-gece body { background-color: #11151c !important; color: #e9eef6 !important; }
html.kb-gece.kb-gomulu body { background-color: transparent !important; }
html.kb-gece .text-white, html.kb-gece .hover\:text-white:hover { color: #e9eef6; }
html.kb-gece .tool-card { background-color: #1b212b !important; border-color: #333d4d !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
html.kb-gece .tool-card:hover { border-color: #5b8def !important; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important; }
html.kb-gece .category-header, html.kb-gece .category-header * { color: #e9eef6 !important; }
html.kb-gece .compact-mode .tool-card:hover { background-color: #232a36 !important; }
html.kb-gece .pdf-panel { background-color: #1b212b !important; border-color: #333d4d !important; }
html.kb-gece .pill { background-color: #232a36 !important; color: #c3cfdf !important; }
html.kb-gece .shortcut-key { background-color: #232a36 !important; color: #e9eef6 !important; }
html.kb-gece .legal-content h2 { color: #e9eef6 !important; }
html.kb-gece #shortcuts-list::-webkit-scrollbar-track { background: #11151c !important; }
html.kb-gece input, html.kb-gece textarea, html.kb-gece select { color: #e9eef6; }
html.kb-gece input::placeholder, html.kb-gece textarea::placeholder { color: #6b7a90; }
html.kb-gece ::-webkit-scrollbar-track { background: #11151c; }
html.kb-gece ::-webkit-scrollbar-thumb { background: #3a4558; }
/* vurgu yazıları koyu zeminde açık tonda */
html.kb-gece .text-indigo-100, html.kb-gece .text-indigo-200, html.kb-gece .text-indigo-300, html.kb-gece .text-indigo-400 { color: #a5b4fc !important; }
html.kb-gece .text-blue-100, html.kb-gece .text-blue-200, html.kb-gece .text-blue-300, html.kb-gece .text-blue-400 { color: #93c5fd !important; }
html.kb-gece .text-sky-200, html.kb-gece .text-sky-300, html.kb-gece .text-sky-400, html.kb-gece .text-cyan-300, html.kb-gece .text-cyan-400 { color: #7dd3fc !important; }
html.kb-gece .text-yellow-100, html.kb-gece .text-yellow-200, html.kb-gece .text-yellow-300, html.kb-gece .text-yellow-400,
html.kb-gece .text-amber-200, html.kb-gece .text-amber-300, html.kb-gece .text-amber-400 { color: #fcd34d !important; }
html.kb-gece .text-orange-300, html.kb-gece .text-orange-400 { color: #fdba74 !important; }
html.kb-gece .text-green-200, html.kb-gece .text-green-300, html.kb-gece .text-green-400, html.kb-gece .text-emerald-300, html.kb-gece .text-emerald-400 { color: #6ee7b7 !important; }
html.kb-gece .text-red-200, html.kb-gece .text-red-300, html.kb-gece .text-red-400 { color: #fca5a5 !important; }
html.kb-gece .text-purple-300, html.kb-gece .text-purple-400, html.kb-gece .text-violet-300, html.kb-gece .text-violet-400 { color: #c4b5fd !important; }
html.kb-gece .text-pink-300, html.kb-gece .text-pink-400 { color: #f9a8d4 !important; }
/* bilgi/uyarı kutuları koyu tonda */
html.kb-gece [class*="bg-indigo-900"], html.kb-gece [class*="bg-indigo-950"], html.kb-gece [class*="bg-blue-900"], html.kb-gece [class*="bg-blue-950"] { background-color: #1c2541 !important; border-color: #33427a !important; }
html.kb-gece [class*="bg-yellow-900"], html.kb-gece [class*="bg-amber-900"], html.kb-gece [class*="bg-yellow-950"], html.kb-gece [class*="bg-amber-950"] { background-color: #2e2614 !important; border-color: #6b5420 !important; }
html.kb-gece [class*="bg-red-900"], html.kb-gece [class*="bg-red-950"] { background-color: #2f1a1e !important; border-color: #6e2f37 !important; }
html.kb-gece [class*="bg-green-900"], html.kb-gece [class*="bg-green-950"], html.kb-gece [class*="bg-emerald-900"] { background-color: #142a22 !important; border-color: #2a5c47 !important; }
html.kb-gece .fixed.inset-0[class*="bg-black"], html.kb-gece .fixed.inset-0[class*="bg-gray-900"] { background-color: rgba(0, 0, 0, 0.6) !important; }
/* favori bölümü */
html.kb-gece .kb-favori-bas { color: #e9eef6; }
html.kb-gece .kb-favori-bos { background: #1b212b; border-color: #3a4558; color: #9fb0c6; }
html.kb-gece .kb-yildiz { color: #6b7a90; }
html.kb-gece .kb-yildiz:hover { background: #232a36; }

/* ============================================================
   Bekleme penceresi: Kanat sahneleri (kelebek.js, 5. bölüm) — 20 Ekim 2026
   ============================================================ */
#loader-modal.kbk-modal { background: rgba(24, 32, 64, .38) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
#loader-modal .kbk-kutu { background: #fff !important; border: 0 !important; border-radius: 24px !important; box-shadow: 0 22px 60px rgba(20, 30, 70, .28) !important;
  padding: 18px 26px 22px !important; gap: 4px !important; min-width: min(340px, 90vw); max-width: 92vw; }
#loader-modal .kbk-kutu .solid-spinner { display: none !important; }
#loader-modal .kbk-kutu #loader-text { color: #1d2a55 !important; font-weight: 600 !important; font-size: 17px !important; text-align: center; margin: 2px 0 0; }
#loader-modal .kbk-kutu .loader-progress-text { color: #5b6587 !important; }
.kbk-bekle .kbk-sahne { display: block; width: 300px; height: 196px; max-width: 78vw; }
.kbk-masa .kbk-sahne { width: 330px; height: 202px; }
.kbk-cubuk { width: 220px; max-width: 70vw; height: 6px; border-radius: 3px; background: #e6e9f3; margin-top: 10px; overflow: hidden; }
.kbk-cubuk b { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, #4f7cf0, #8b5cf6); animation: kbkilerle 2.4s ease-in-out infinite; }
.kbk-kutu:has(.loader-progress-container:not(.hidden)) .kbk-cubuk { display: none; }
html.kb-gece #loader-modal.kbk-modal { background: rgba(0, 0, 0, .55) !important; }
html.kb-gece #loader-modal .kbk-kutu { background: #1b2230 !important; box-shadow: 0 22px 60px rgba(0, 0, 0, .5) !important; }
html.kb-gece #loader-modal .kbk-kutu #loader-text { color: #e9eef6 !important; }
html.kb-gece .kbk-cubuk { background: #2a3344; }
@keyframes kbkknKanat{0%,100%{transform:rotate(0) scaleX(1)}50%{transform:rotate(-9deg) scaleX(.82)}}
@keyframes kbkknKanatS{0%,100%{transform:rotate(0) scaleX(1)}50%{transform:rotate(9deg) scaleX(.82)}}
@keyframes kbkkirp{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes kbkzipla{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes kbkbSol{0%,10%{transform:translate(-46px,6px) rotate(-10deg)}45%,100%{transform:translate(0,0) rotate(-2deg)}}
@keyframes kbkbSag{0%,10%{transform:translate(46px,6px) rotate(10deg)}45%,100%{transform:translate(4px,-4px) rotate(3deg)}}
@keyframes kbkzimba{0%,50%{transform:translateY(-14px);opacity:0}58%{opacity:1;transform:translateY(-14px)}64%{transform:translateY(0)}72%,90%{transform:translateY(-6px);opacity:1}100%{opacity:0}}
@keyframes kbkpat{0%,62%{opacity:0;transform:scale(.4)}66%{opacity:1;transform:scale(1)}80%,100%{opacity:0;transform:scale(1.3)}}
@keyframes kbkmakas{0%{transform:translate(0,0)}70%,100%{transform:translate(0,92px)}}
@keyframes kbkagiz{to{transform:rotate(16deg)}}
@keyframes kbkagiz2{to{transform:rotate(-16deg)}}
@keyframes kbkySol{0%,72%{transform:translateX(0)}88%,100%{transform:translateX(-8px) rotate(-3deg)}}
@keyframes kbkySag{0%,72%{transform:translateX(0)}88%,100%{transform:translateX(8px) rotate(3deg)}}
@keyframes kbksik{0%,15%{transform:scale(1,1)}45%{transform:scale(1.15,.35)}60%,80%{transform:scale(.55,.55)}100%{transform:scale(1,1)}}
@keyframes kbkpres{0%,15%{transform:translateY(22px)}45%{transform:translateY(68px)}60%,100%{transform:translateY(22px)}}
@keyframes kbkter{0%,50%{opacity:0;transform:translateY(0)}60%{opacity:1}90%{opacity:0;transform:translateY(10px)}100%{opacity:0}}
@keyframes kbkdegnek{from{transform:rotate(-18deg)}to{transform:rotate(14deg)}}
@keyframes kbkrenk{0%,30%{fill:#2b5fd9}55%,100%{fill:#e5484d}}
@keyframes kbkhw{0%,35%{opacity:1}50%,100%{opacity:0}}
@keyframes kbkhp{0%,40%{opacity:0}55%,100%{opacity:1}}
@keyframes kbkpirilti{0%,100%{opacity:0;transform:scale(.3) rotate(0)}50%{opacity:1;transform:scale(1) rotate(45deg)}}
@keyframes kbkbuyutec{0%{transform:translate(0,0)}22%{transform:translate(44px,0)}25%{transform:translate(0,16px)}47%{transform:translate(44px,16px)}50%{transform:translate(0,32px)}72%{transform:translate(44px,32px)}75%{transform:translate(0,48px)}97%,100%{transform:translate(44px,48px)}}
@keyframes kbkoku1{0%{stroke-dashoffset:46}22%,100%{stroke-dashoffset:0}}
@keyframes kbkoku2{0%,25%{stroke-dashoffset:46}47%,100%{stroke-dashoffset:0}}
@keyframes kbkoku3{0%,50%{stroke-dashoffset:46}72%,100%{stroke-dashoffset:0}}
@keyframes kbkoku4{0%,75%{stroke-dashoffset:46}97%,100%{stroke-dashoffset:0}}
.kbk-bekle .kbk-zipla{animation:kbkzipla 1.2s ease-in-out infinite}
.kbk-bekle .kbk-kagit{fill:#fff;stroke:#c9d1e6;stroke-width:1.5}
.kbk-bekle .kbk-satir{stroke:#d9dff0;stroke-width:3;stroke-linecap:round}
.kbk-bekle .kbk-b-sol{animation:kbkbSol 3s ease-in-out infinite}
.kbk-bekle .kbk-b-sag{animation:kbkbSag 3s ease-in-out infinite}
.kbk-bekle .kbk-zimba{animation:kbkzimba 3s ease-in-out infinite;transform-origin:center}
.kbk-bekle .kbk-pat{animation:kbkpat 3s infinite;opacity:0;transform-origin:center;transform-box:fill-box}
.kbk-bekle .kbk-makas{animation:kbkmakas 2.8s ease-in-out infinite}
.kbk-bekle .kbk-agiz1{transform-origin:12px 12px;animation:kbkagiz 0.35s ease-in-out infinite alternate}
.kbk-bekle .kbk-agiz2{transform-origin:12px 12px;animation:kbkagiz2 0.35s ease-in-out infinite alternate}
.kbk-bekle .kbk-y-sol{animation:kbkySol 2.8s ease-in-out infinite}
.kbk-bekle .kbk-y-sag{animation:kbkySag 2.8s ease-in-out infinite}
.kbk-bekle .kbk-sik{animation:kbksik 2.6s ease-in-out infinite;transform-origin:center bottom;transform-box:fill-box}
.kbk-bekle .kbk-pres{animation:kbkpres 2.6s ease-in-out infinite}
.kbk-bekle .kbk-ter{animation:kbkter 2.6s ease-in infinite;opacity:0}
.kbk-bekle .kbk-degnek{transform-origin:150px 108px;animation:kbkdegnek 1.4s ease-in-out infinite alternate}
.kbk-bekle .kbk-renk{animation:kbkrenk 2.8s ease-in-out infinite}
.kbk-bekle .kbk-harf-w{animation:kbkhw 2.8s infinite}
.kbk-bekle .kbk-harf-p{animation:kbkhp 2.8s infinite}
.kbk-bekle .kbk-yildiz{animation:kbkpirilti 1.4s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
.kbk-bekle .kbk-yildiz.kbk-y2{animation-delay:.45s}
.kbk-bekle .kbk-yildiz.kbk-y3{animation-delay:.9s}
.kbk-bekle .kbk-buyutec{animation:kbkbuyutec 3.2s ease-in-out infinite}
.kbk-bekle .kbk-okunan{stroke:#6fd3a9;stroke-width:3;stroke-linecap:round;stroke-dasharray:46;stroke-dashoffset:46}
.kbk-bekle .kbk-o1{animation:kbkoku1 3.2s linear infinite}
.kbk-bekle .kbk-o2{animation:kbkoku2 3.2s linear infinite}
.kbk-bekle .kbk-o3{animation:kbkoku3 3.2s linear infinite}
.kbk-bekle .kbk-o4{animation:kbkoku4 3.2s linear infinite}
@keyframes kbkknKanat{0%,100%{transform:rotate(0) scaleX(1)}50%{transform:rotate(-6deg) scaleX(.88)}}
@keyframes kbkknKanatS{0%,100%{transform:rotate(0) scaleX(1)}50%{transform:rotate(6deg) scaleX(.88)}}
@keyframes kbkyaz{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(6px,-2px) rotate(4deg)}50%{transform:translate(12px,0)}75%{transform:translate(6px,1px) rotate(-3deg)}}
@keyframes kbksy1{0%{stroke-dashoffset:34}30%,100%{stroke-dashoffset:0}}
@keyframes kbksy2{0%,33%{stroke-dashoffset:34}63%,100%{stroke-dashoffset:0}}
@keyframes kbksy3{0%,66%{stroke-dashoffset:34}96%,100%{stroke-dashoffset:0}}
@keyframes kbkbas{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}
@keyframes kbkbuhar{0%{opacity:0;transform:translateY(4px)}40%{opacity:.9}100%{opacity:0;transform:translateY(-10px)}}
@keyframes kbkyigin{0%{transform:translateY(0)}97%{transform:translateY(-3px)}}
@keyframes kbklamba{0%,100%{opacity:.35}50%{opacity:.6}}
.kbk-bekle .kbk-yaz{animation:kbkyaz .9s ease-in-out infinite;transform-origin:150px 128px}
.kbk-bekle .kbk-satir-y{stroke:#4f7cf0;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:34;stroke-dashoffset:34}
.kbk-bekle .kbk-sy1{animation:kbksy1 3.6s linear infinite}
.kbk-bekle .kbk-sy2{animation:kbksy2 3.6s linear infinite}
.kbk-bekle .kbk-sy3{animation:kbksy3 3.6s linear infinite}
.kbk-bekle .kbk-bas-sal{animation:kbkbas 3.6s ease-in-out infinite;transform-origin:105px 128px}
.kbk-bekle .kbk-buhar path{stroke:#c3cbe0;stroke-width:2;fill:none;stroke-linecap:round;animation:kbkbuhar 2.2s ease-in-out infinite;opacity:0}
.kbk-bekle .kbk-buhar path:nth-child(2){animation-delay:.7s}
.kbk-bekle .kbk-yigin{animation:kbkyigin 3.6s steps(1) infinite}
.kbk-bekle .kbk-lamba{animation:kbklamba 3s ease-in-out infinite}
/* 9.6.0: Kanat 3B kareleri (şerit resim, kare kare kayar) */
.kbk-bekle .kbk-kn3-F{animation:kbkkn3F .7s steps(12) infinite}
.kbk-bekle .kbk-kn3-L{animation:kbkkn3L 4s steps(24) infinite}
@keyframes kbkkn3F{from{transform:translateX(0)}to{transform:translateX(-2304px)}}
@keyframes kbkkn3L{from{transform:translateX(0)}to{transform:translateX(-6144px)}}
@keyframes kbkilerle{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
@media (prefers-reduced-motion: reduce) {
  .kbk-bekle *, .kbk-cubuk b { animation: none !important; }
  .kbk-bekle .kbk-okunan, .kbk-bekle .kbk-satir-y { stroke-dashoffset: 0; }
}

/* ============================================================
   28 Ekim 2026 — Smallpdf gibi sade kullanım
   6) ana sayfa vitrini  7) sonuç ekranı  8) araç sayfası
   ============================================================ */
:root { --kb-k: #2f5fd0; --kb-k2: #1f44a3; --kb-ks: rgba(47, 95, 208, .14); --kb-ks2: rgba(47, 95, 208, .32); --kb-m: #1a2233; --kb-g: #6b7a90; --kb-c: #e3e7ef; --kb-z: #f4f6fb; --kb-kart: #fff; }
html.kb-gece { --kb-m: #e9eef6; --kb-g: #9aa6ba; --kb-c: #2c3545; --kb-z: #11151c; --kb-kart: #1b212b; }

/* ---- 6) vitrin ---- */
html.kb-vitrin #tools-header { display: none !important; }
html.kb-vitrin #tool-grid > .category-group, html.kb-vitrin #tool-grid > #search-results { display: none !important; }
html.kb-vitrin #tool-grid { display: block !important; }
html.kb-vitrin #tool-grid:not(:has(#kb-favori)) { display: none !important; }
#kb-kahraman { text-align: center; padding: 26px 0 8px; }
#kb-kahraman h1 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--kb-m) !important; margin: 0 0 8px; }
#kb-kahraman > p { color: var(--kb-g) !important; margin: 0 0 22px; font-size: 15.5px; }
#kb-kahraman .kb-ara-kap { max-width: 620px !important; margin: 0 auto 30px !important; }
#kb-kahraman .kb-ara-kap > .relative { width: 100%; }
#kb-kahraman #search-bar { width: 100%; box-sizing: border-box; height: 56px; font-size: 16.5px !important; border-radius: 16px !important; background: var(--kb-kart) !important; border: 1.5px solid var(--kb-c) !important;
  box-shadow: 0 6px 22px rgba(20, 30, 70, .08); padding-left: 46px !important; color: var(--kb-m) !important; }
#kb-kahraman #search-bar:focus { border-color: var(--kb-k) !important; box-shadow: 0 0 0 4px var(--kb-ks) !important; outline: none; }
#kb-populer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 30px; }
.kb-pop { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 3px; padding: 18px 18px 16px; background: var(--kb-kart); border-radius: 18px;
  box-shadow: 0 2px 10px rgba(20, 30, 60, .05); text-decoration: none !important; color: var(--kb-m) !important; border: 1.5px solid var(--kb-c); transition: transform .18s, box-shadow .18s, border-color .18s; cursor: pointer; font: inherit; }
.kb-pop:hover, .kb-pop:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(47, 95, 208, .14); border-color: #c3d2f5; outline: none; }
.kb-pop-ik { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; margin-bottom: 10px; }
.kb-pop-ik svg, .kb-pop-ik .kb-ik-s { width: 24px !important; height: 24px !important; margin: 0 !important; }
.kb-pop-ik .kb-ik-f { font-size: 24px !important; line-height: 1; margin: 0 !important; color: inherit !important; }
.kb-pop b { font-size: 16.5px; font-weight: 800; color: var(--kb-m) !important; }
.kb-pop small { font-size: 13.5px; line-height: 1.4; color: var(--kb-g) !important; }
.kb-pop-roz { position: absolute; right: 14px; top: 16px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--kb-k); background: var(--kb-ks); padding: 4px 8px; border-radius: 99px; }
.kb-rozet { display: inline-flex; align-items: center; gap: 7px; background: var(--kb-ks); color: var(--kb-k) !important; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; margin-bottom: 14px; }
.kb-rozet svg { width: 14px; height: 14px; flex: none; }
html.kb-gece .kb-rozet { background: rgba(91, 141, 239, .16); color: #9db8ff !important; }
.kb-grup h3 i svg { width: 17px; height: 17px; }
html.kb-gece .kb-pop-ik { filter: saturate(.9); background-blend-mode: multiply; opacity: .95; }
.kb-bas { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--kb-g) !important; margin: 0 0 12px; }
.kb-bas span { font-weight: 600; letter-spacing: 0; text-transform: none; margin-left: 6px; opacity: .8; }
#kb-gruplar { margin-top: 28px; }
html.kb-vitrin #tool-grid:has(#kb-favori) { margin-bottom: 4px; }
.kb-grup-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.kb-grup { background: var(--kb-kart); border-radius: 18px; box-shadow: 0 2px 10px rgba(20, 30, 60, .06); padding: 18px 14px 14px; }
.kb-grup h3 { margin: 0 0 10px 4px; font-size: 16.5px; font-weight: 800; display: flex; gap: 10px; align-items: center; color: var(--kb-m) !important; }
.kb-grup h3 i { font-style: normal; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; }
/* 7 Kasım: grup simgesi kendi rengini taşır (eskiden başlığın rengini alıyordu → Gece'de açık zemin üstünde açık çizgi, görünmüyordu) */
html.kb-gece .kb-grup h3 i { background: color-mix(in srgb, var(--g) 24%, #1b212b) !important; color: color-mix(in srgb, var(--g) 45%, #ffffff) !important; }
.kb-grup-a { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; color: var(--kb-m) !important; text-decoration: none !important; font-size: 14.5px; background: none; border: 0; font: inherit; cursor: pointer; }
.kb-grup-a:hover { background: var(--kb-z); color: var(--kb-k) !important; }
.kb-grup-tum { background: none; border: 0; color: var(--kb-k) !important; font: inherit; font-weight: 700; font-size: 13.5px; padding: 8px 10px; cursor: pointer; }
.kb-grup-tum:hover { text-decoration: underline; }
.kb-dip { text-align: center; color: var(--kb-g) !important; font-size: 13.5px; margin: 22px 0 6px; }
html.kb-ariyor #kb-populer, html.kb-ariyor #kb-gruplar, html.kb-ariyor #kb-favori { display: none !important; }
#kb-sonuc-ara:empty { display: none; }
#kb-sonuc-ara { margin-bottom: 26px; }
.kb-sonuc-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kb-sonuc-k { display: block; text-align: left; background: var(--kb-kart); border-radius: 14px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(20, 30, 60, .06); text-decoration: none !important; border: 1.5px solid transparent; font: inherit; cursor: pointer; }
.kb-sonuc-k:hover, .kb-sonuc-k:focus-visible { border-color: var(--kb-ks2); }
.kb-sonuc-k b { display: block; color: var(--kb-m) !important; font-size: 15px; }
.kb-sonuc-k small { display: block; color: var(--kb-g) !important; font-size: 12.5px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-bos { text-align: center; color: var(--kb-g) !important; padding: 26px 0; }
@media (max-width: 1100px) { .kb-grup-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #kb-kahraman { padding-top: 10px; } #kb-kahraman > p { font-size: 14px; margin-bottom: 16px; }
  #kb-populer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kb-pop { padding: 14px 12px 12px; } .kb-pop-ik { width: 40px; height: 40px; font-size: 20px; margin-bottom: 8px; } .kb-pop b { font-size: 15px; } .kb-pop small { font-size: 12.5px; } .kb-pop-roz { display: none; }
  .kb-grup-izgara, .kb-sonuc-izgara { grid-template-columns: 1fr; }
}

/* ---- 7) sonuç ekranı ---- */
#kb-sonuc { position: fixed; inset: 0; z-index: 9990; background: var(--kb-z); overflow-y: auto; display: none; }
#kb-sonuc.acik { display: block; animation: kbSnGel .25s ease-out; }
@keyframes kbSnGel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.kb-sonuc-acik, html.kb-sonuc-acik body { overflow: hidden !important; }
.kb-sn-ic { max-width: 860px; margin: 0 auto; padding: 48px 22px 40px; position: relative; text-align: center; }
.kb-sn-kapat { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--kb-c); background: var(--kb-kart); color: var(--kb-g); font-size: 16px; cursor: pointer; }
.kb-sn-tik { width: 66px; height: 66px; border-radius: 50%; background: #e6f6ed; color: #00a152; display: grid; place-items: center; font-size: 32px; font-weight: 800; margin: 0 auto 14px; animation: kbSnTik .45s cubic-bezier(.2, 1.6, .4, 1) .05s both; }
@keyframes kbSnTik { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
html.kb-gece .kb-sn-tik { background: rgba(0, 161, 82, .16); }
.kb-sn-adim { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 18px; font-size: 12.5px; font-weight: 700; color: #127a51; background: #e0f5ea; padding: 6px 14px; border-radius: 99px; }
.kb-sn-adim em { font-style: normal; opacity: .5; }
html.kb-gece .kb-sn-adim { background: rgba(0, 161, 82, .16); color: #5fd3a0; }
#kb-sonuc h2 { margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--kb-m); }
.kb-sn-alt { color: var(--kb-g); margin: 0 0 24px; }
.kb-sn-dosya { background: var(--kb-kart); border-radius: 20px; box-shadow: 0 4px 18px rgba(20, 30, 60, .08); padding: 22px; display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; text-align: left; margin-bottom: 12px; }
.kb-sn-on { height: 140px; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; box-shadow: 0 6px 18px rgba(20, 30, 60, .1); position: relative; padding: 16px 12px; }
.kb-sn-on i { display: block; height: 6px; background: #e3e7ef; border-radius: 3px; margin-bottom: 8px; }
.kb-sn-on i:first-child { width: 70%; background: #c9d5ee; height: 9px; }
.kb-sn-on b { position: absolute; right: -8px; bottom: -8px; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 7px; letter-spacing: .03em; }
.kb-sn-ad { font-weight: 700; font-size: 17px; color: var(--kb-m); word-break: break-word; }
.kb-sn-bilgi small { color: var(--kb-g); }
.kb-sn-dug { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.kb-sn-indir { background: var(--kb-k); color: #fff; border: 0; font: inherit; font-weight: 800; font-size: 17px; padding: 14px 28px; border-radius: 14px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 95, 208, .28); transition: transform .15s, background .15s; }
.kb-sn-indir:hover { background: var(--kb-k2); transform: translateY(-1px); }
.kb-sn-indir:focus-visible { outline: 3px solid var(--kb-ks2); outline-offset: 3px; }
.kb-sn-yeni { border: 1px solid var(--kb-c); background: var(--kb-kart); color: var(--kb-m); font: inherit; font-weight: 600; padding: 14px 18px; border-radius: 14px; cursor: pointer; }
#kb-sonuc .kb-bas { text-align: left; margin-top: 28px; }
.kb-sn-devam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kb-sn-devam button { background: var(--kb-kart); border: 1.5px solid transparent; border-radius: 16px; box-shadow: 0 2px 10px rgba(20, 30, 60, .06); padding: 16px 14px; display: flex; gap: 10px; align-items: center;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--kb-m); cursor: pointer; text-align: left; }
.kb-sn-devam button:hover { border-color: var(--kb-ks2); }
.kb-sn-devam span { font-size: 21px; }
.kb-sn-baska { margin-top: 26px; background: none; border: 0; color: var(--kb-k); font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.kb-sn-bildir { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1a2233; color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 9999; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .5s; }
.kb-sn-bildir.git { opacity: 0; }
@media (max-width: 640px) {
  .kb-sn-ic { padding-top: 40px; } .kb-sn-dosya { grid-template-columns: 1fr; padding: 18px; }
  .kb-sn-on { display: none; } .kb-sn-dug button { flex: 1 1 auto; } .kb-sn-devam { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { #kb-sonuc.acik, .kb-sn-tik { animation: none; } }

/* ---- 8) araç sayfası: büyük dosya seç alanı ---- */
#tool-uploader { max-width: 780px !important; border: 0 !important; border-radius: 22px !important; box-shadow: 0 4px 22px rgba(20, 30, 60, .07) !important; }
#tool-uploader > h1 { text-align: center; font-size: clamp(24px, 3.2vw, 30px) !important; letter-spacing: -.02em; margin-top: 4px; }
#tool-uploader > h1 + p { text-align: center; }
#back-to-tools { color: var(--kb-g) !important; font-weight: 600; font-size: 14px; }
/* 30 Ekim: ok BentoPDF'in betiği yüklenince çiziliyordu (geç geliyordu); artık CSS'le hemen */
#back-to-tools > i[data-lucide], #back-to-tools > svg { display: none !important; }
#back-to-tools { display: inline-flex !important; align-items: center; gap: 8px; }
#back-to-tools::before { content: ""; display: inline-block; vertical-align: middle; flex: none; width: 20px; height: 20px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E") center / contain no-repeat; }
#back-to-tools:hover { color: var(--kb-k) !important; }
#drop-zone { height: auto !important; min-height: 300px; border: 2px dashed #a9bdee !important; background: var(--kb-kart) !important; border-radius: 22px !important; padding: 26px 16px; transition: background .2s, border-color .2s; }
#drop-zone:hover, #drop-zone.bg-gray-700 { background: #f3f6fd !important; border-color: var(--kb-k) !important; }
html.kb-gece #drop-zone:hover, html.kb-gece #drop-zone.bg-gray-700 { background: #1b2233 !important; }
#drop-zone .ph-upload-simple, #drop-zone [data-i18n="upload.clickToSelect"] { display: none !important; }
#drop-zone { box-shadow: inset 0 0 0 8px var(--kb-z); display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center; }
#drop-zone::before { content: ""; display: block; width: 76px; height: 76px; border-radius: 22px; margin: 6px auto 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5M7 10l5-5 5 5'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E") center / 38px no-repeat, linear-gradient(135deg, #2f5fd0, #7b4fd0);
  box-shadow: 0 12px 28px rgba(47, 95, 208, .3); animation: kbYuz 2.8s ease-in-out infinite; }
@keyframes kbYuz { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
#drop-zone:hover::before, #drop-zone.bg-gray-700::before { animation-play-state: paused; transform: translateY(-6px) scale(1.04); }
#drop-zone > div:first-of-type { padding-top: 0 !important; }
#drop-zone [data-i18n="upload.orDragAndDrop"] { font-size: 15px; color: var(--kb-g) !important; }
#drop-zone [data-i18n="upload.pdfOrImages"], #drop-zone > p.text-xs:not([data-i18n="upload.filesNeverLeave"]) { color: var(--kb-g) !important; font-size: 13px !important; margin-top: 4px; }
#drop-zone [data-i18n="upload.filesNeverLeave"] { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px !important; font-weight: 700; color: #127a51 !important; background: #e0f5ea; padding: 5px 12px; border-radius: 99px; }
#drop-zone [data-i18n="upload.filesNeverLeave"]::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
html.kb-gece #drop-zone [data-i18n="upload.filesNeverLeave"] { background: rgba(0, 161, 82, .16); color: #5fd3a0 !important; }
@media (prefers-reduced-motion: reduce) { #drop-zone::before { animation: none; } }
#drop-zone [data-i18n="upload.orDragAndDrop"]::first-letter { text-transform: uppercase; }
/* düğme CSS'le çizilir (sayfa ilk boyandığı anda hazır; sonradan eklenip titremez) */
#drop-zone > div:first-of-type::before { content: 'Dosya seç'; display: inline-block; background: var(--kb-k); color: #fff; font-weight: 800; font-size: 17px; padding: 15px 34px; border-radius: 14px; box-shadow: 0 10px 24px rgba(47, 95, 208, .28); margin-bottom: 14px; pointer-events: none; transition: transform .15s; font-family: inherit; line-height: 1.3; }
#drop-zone:has(input[accept*="pdf" i]) > div:first-of-type::before { content: 'PDF dosyası seç'; }
#drop-zone:has(input[accept*="pdf" i][multiple]) > div:first-of-type::before { content: 'PDF dosyalarını seç'; }
#drop-zone:has(input[accept^="image" i]) > div:first-of-type::before, #drop-zone:has(input[accept*=".jpg" i]) > div:first-of-type::before,
#drop-zone:has(input[accept*=".heic" i]) > div:first-of-type::before { content: 'Resim seç'; }
#drop-zone:has(input[accept^="image" i][multiple]) > div:first-of-type::before, #drop-zone:has(input[accept*=".jpg" i][multiple]) > div:first-of-type::before,
#drop-zone:has(input[accept*=".heic" i][multiple]) > div:first-of-type::before { content: 'Resimleri seç'; }
#drop-zone:has(input[accept*="pdf" i][accept*="image" i]) > div:first-of-type::before { content: 'Dosya seç'; }
#drop-zone:hover > div:first-of-type::before { transform: translateY(-2px); background: var(--kb-k2); }
#process-btn, .btn-gradient { background: var(--kb-k) !important; background-image: none !important; color: #fff !important; font-weight: 800 !important; font-size: 16.5px !important; border-radius: 14px !important; padding: 14px 20px !important; box-shadow: 0 10px 24px rgba(47, 95, 208, .22) !important; border: 0 !important; }
#process-btn:hover:not(:disabled), .btn-gradient:hover:not(:disabled) { background: var(--kb-k2) !important; }
#process-btn:disabled, .btn-gradient:disabled { opacity: .5; box-shadow: none !important; }

/* 28 Ekim: ana sayfa, yeni görünüm kurulana kadar gizli (eski başlık bir an görünmesin) */
html.kb-vitrin-bekle #app, html.kb-vitrin-bekle #tools-header, html.kb-vitrin-bekle #grid-view { visibility: hidden !important; }

/* ---- 28 Ekim: araç listelerinde araçların kendi simgeleri ---- */
.kb-grup-a { display: flex; align-items: center; gap: 10px; }
.kb-ik { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--kb-z); color: var(--kb-k); }
.kb-ik svg, .kb-ik .kb-ik-s { width: 16px !important; height: 16px !important; margin: 0 !important; }
.kb-ik .kb-ik-f { font-size: 16px !important; line-height: 1; margin: 0 !important; color: inherit !important; }
.kb-grup-a:hover .kb-ik { background: var(--kb-ks); }
.kb-sonuc-k { display: flex; gap: 12px; align-items: flex-start; }
.kb-sonuc-k .kb-ik { width: 34px; height: 34px; border-radius: 10px; }
.kb-sonuc-k .kb-ik svg, .kb-sonuc-k .kb-ik .kb-ik-s { width: 19px !important; height: 19px !important; }
.kb-sonuc-k .kb-ik .kb-ik-f { font-size: 19px !important; }
.kb-sk-y { min-width: 0; }

/* ---- 28 Ekim: satır içi ilerleme (pencere yerine dosyanın altında) ---- */
html.kb-ilerleme #loader-modal { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.kb-ilerleme #loader-modal > * { visibility: hidden !important; }
#kb-ilerle { position: relative; z-index: 60; margin-top: 16px; display: flex; gap: 16px; align-items: center; background: var(--kb-kart); border: 1.5px solid var(--kb-c); border-radius: 18px; padding: 14px 18px; box-shadow: 0 8px 26px rgba(20, 30, 60, .1); text-align: left; }
#kb-ilerle[hidden] { display: none; }
.kb-il-sahne { flex: none; width: 112px; height: 74px; display: grid; place-items: center; overflow: hidden; }
.kb-il-sahne .kbk-bekle { width: 112px !important; height: auto !important; margin: 0 !important; }
.kb-il-sahne svg { width: 112px !important; height: auto !important; }
.kb-il-sag { flex: 1; min-width: 0; }
.kb-il-ust { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.kb-il-yazi { font-size: 15px; color: var(--kb-m); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-il-yuzde { font-weight: 800; font-size: 26px; line-height: 1; color: var(--kb-k); font-variant-numeric: tabular-nums; }
.kb-il-cubuk { height: 14px; background: var(--kb-z); border-radius: 99px; margin: 10px 0 8px; overflow: hidden; }
.kb-il-cubuk i { display: block; height: 100%; width: 0; background-color: var(--kb-k); border-radius: 99px; transition: width .3s ease;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .22) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, .22) 75%, transparent 75%); background-size: 40px 40px; animation: kbKayma 1s linear infinite; }
@keyframes kbKayma { from { background-position: 0 0; } to { background-position: 40px 0; } }
#kb-ilerle.bitti .kb-il-cubuk i { background-color: #00a152; animation: none; }
.kb-il-adim { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--kb-g); flex-wrap: wrap; }
.kb-il-adim span { display: inline-flex; align-items: center; gap: 5px; }
.kb-il-adim span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kb-c); }
.kb-il-adim .ok { color: #127a51; } .kb-il-adim .ok::before { background: #127a51; }
.kb-il-adim .simdi { color: var(--kb-k); } .kb-il-adim .simdi::before { background: var(--kb-k); box-shadow: 0 0 0 3px var(--kb-ks); }
.kb-il-adim em { font-style: normal; color: var(--kb-c); }
#kb-ilerle.bitti .kb-il-adim .simdi { color: #127a51; } #kb-ilerle.bitti .kb-il-adim .simdi::before { background: #127a51; box-shadow: none; }
.kb-il-alt { color: var(--kb-g); font-size: 12.5px; }
@media (max-width: 560px) { .kb-il-sahne { width: 74px; height: 56px; } .kb-il-sahne .kbk-bekle, .kb-il-sahne svg { width: 74px !important; } #kb-ilerle { padding: 12px 14px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .kb-il-cubuk i { transition: none; animation: none; } }
.kb-grup-izgara > .kb-grup:nth-child(1) .kb-ik { color: #2b5fbf; background: #e8f0fe; }
.kb-grup-izgara > .kb-grup:nth-child(2) .kb-ik { color: #1e7b45; background: #eaf6ee; }
.kb-grup-izgara > .kb-grup:nth-child(3) .kb-ik { color: #b86e00; background: #fff4e0; }
.kb-grup-izgara > .kb-grup:nth-child(4) .kb-ik { color: #c0392b; background: #fdecea; }
html.kb-gece .kb-grup-izgara > .kb-grup .kb-ik { background: rgba(255, 255, 255, .06); }

/* ---- 30 Ekim: favori yıldızları yeni vitrinde (araç satırları ve arama sonuçları) ---- */
.kb-grup-a, .kb-sonuc-k, .kb-fav-a { position: relative; box-sizing: border-box; }
.kb-grup-a:has(.kb-yildiz) { padding-right: 40px; }
.kb-sonuc-k:has(.kb-yildiz) { padding-right: 44px; }
.kb-grup-a .kb-yildiz { top: 50%; right: 4px; transform: translateY(-50%); width: 30px; height: 30px; }
.kb-sonuc-k .kb-yildiz { top: 8px; right: 8px; }
.kb-grup-a:hover .kb-yildiz, .kb-sonuc-k:hover .kb-yildiz, .kb-grup-a:focus-visible .kb-yildiz { opacity: 1; }
#kb-favori .kb-favori-bas { font-size: 15px; margin: 6px 0 10px; }
.kb-fav-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-bottom: 18px; }
.kb-fav-a { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 40px 10px 12px; border-radius: 12px; background: var(--kb-kart);
  box-shadow: 0 2px 10px rgba(20, 30, 60, .06); color: var(--kb-m) !important; text-decoration: none !important; font: inherit; font-size: 14.5px; border: 1.5px solid transparent; text-align: left; cursor: pointer; }
.kb-fav-a:hover { border-color: var(--kb-ks2); }
.kb-fav-a .kb-yildiz { top: 50%; right: 6px; transform: translateY(-50%); opacity: 1; }
