/* ==========================================================================
   KEYİFBİZDE.COM - GÜNCEL FAL SALONU & #SINAV (7/24 KPSS ÇALIŞMA ODASI) STİLLERİ
   Web + Mobil + Açık/Koyu Tüm Temalarla %100 Uyumludur
   ========================================================================== */

/* 1. Üst Açılır Menüdeki ve Üst Bardaki Fal & #Sınav Butonları */
html body .header #kbSmartPopoverMenu.topbar-center .kb-soc-fal   { order: 31 !important; grid-column: span 1 !important; }
html body .header #kbSmartPopoverMenu.topbar-center .kb-soc-sinav { order: 31 !important; grid-column: span 1 !important; }
html body .header #kbSmartPopoverMenu.topbar-center .kb-soc-fal > i   { background: rgba(147, 51, 234, 0.16) !important; color: #9333ea !important; }
html body .header #kbSmartPopoverMenu.topbar-center .kb-soc-sinav > i { background: rgba(5, 150, 105, 0.16) !important; color: #059669 !important; }

#kbTopFalBtn.kb-top-fal-btn {
    width: auto !important;
    height: 30px !important;
    max-height: 30px !important;
    padding: 0 8px 0 6px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #6b21a8 0%, #9333ea 55%, #db2777 100%) !important;
    border: 1.5px solid #ffffff !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.30) !important;
    cursor: pointer !important;
}
html.kb-view-mobil #kbTopFalBtn.kb-top-fal-btn { width: 30px !important; padding: 0 !important; }
html.kb-view-mobil #kbTopFalBtn.kb-top-fal-btn .kb-fal-txt { display: none !important; }

/* 2. Kanallar Listesindeki Özel #Sinav (KPSS) Sekmesi (Web & Mobil) */
html body .pencereler .kanallar .kanal:is([id="kanal-#sinav"], [chan="#Sinav"], [chan="#sinav"]),
html.kb-view-mobil body:is(.kb-theme-dark, .kb-theme-night) .pencereler .kanallar .kanal:is([id="kanal-#sinav"], [chan="#Sinav"], [chan="#sinav"]) {
    background: linear-gradient(135deg, #047857 0%, #0d9488 52%, #0284c7 100%) !important;
    border: 1px solid rgba(110, 231, 183, 0.78) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28) !important;
    gap: 5px !important;
}
html body .pencereler .kanallar .kanal:is([id="kanal-#sinav"], [chan="#Sinav"], [chan="#sinav"]).kactive {
    background: linear-gradient(135deg, #059669 0%, #0284c7 50%, #4f46e5 100%) !important;
    border-color: #fde047 !important;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.42) !important;
}
html body .pencereler .kanallar .kanal:is([id="kanal-#sinav"], [chan="#Sinav"], [chan="#sinav"]) :is(.kanalname, .kapat) {
    color: #ffffff !important;
    font-weight: 800 !important;
}
html body .pencereler .kanallar .kanal:is([id="kanal-#sinav"], [chan="#Sinav"], [chan="#sinav"])::before {
    content: "🏆" !important;
    font-size: 12px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

/* 3. #Sinav Odası Aktifken .msg Esnek Yerleşimi (Sahne ile Mesajlar Asla Çakışmaz) */
html body.kb-kpss-room .msg,
html.kb-view-mobil body.kb-kpss-room .msg {
    display: flex !important;
    flex-direction: column !important;
}
html body.kb-kpss-room .msg > #kbKpssStageBar,
html.kb-view-mobil body.kb-kpss-room .msg > #kbKpssStageBar {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    z-index: 24 !important;
}
html body.kb-kpss-room .msg > .kanal.mactive,
html.kb-view-mobil body.kb-kpss-room .msg > .kanal.mactive {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 1 1 0% !important;
    min-height: 60px !important;
    height: auto !important;
}

/* 4. 7/24 KPSS Çalışma Sahnesi (#kbKpssStageBar) */
.kb-kpss-stage-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
    border-bottom: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    max-height: 68%;
    overflow-y: auto;
}
.kb-kpss-collapsible {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kb-kpss-stage-bar.is-collapsed .kb-kpss-collapsible {
    display: none !important;
}

.kb-kpss-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    padding-right: 96px; /* Sağ üstteki Akış Kilidi (#scrollLockBtn) ile çakışmayı önler */
}
.kb-kpss-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.kb-kpss-live-pill {
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #059669, #0284c7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}
.kb-kpss-score-pill,
.kb-kpss-timer-pill {
    padding: 3px 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}
.kb-kpss-score-pill b { color: #059669; }
.kb-kstr-tag {
    font-style: normal;
    color: #ea580c;
    font-weight: 900;
    margin-left: 2px;
}
.kb-kpss-timer-pill.is-urgent {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #dc2626 !important;
}

.kb-kpss-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.kb-kpss-act-btn {
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
}
.kb-kpss-act-btn:hover { background: #f1f5f9; }
.kb-kpss-act-btn.note { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.kb-kpss-act-btn.rank { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }

/* Ders Filtresi Çipleri */
.kb-kpss-subjects {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}
.kb-kpss-sub-chip {
    flex: 0 0 auto;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.kb-kpss-sub-chip.active {
    background: linear-gradient(135deg, #059669, #0284c7);
    border-color: transparent;
    color: #ffffff;
}

/* Soru ve Şıklar Kartı */
.kb-kpss-qbox {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kb-kqb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    color: #0284c7;
}
.kb-kqb-round {
    background: #e0f2fe;
    color: #0369a1;
    padding: 1px 7px;
    border-radius: 999px;
}
.kb-kqb-question {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.42;
}
.kb-kqb-opts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 5px;
}
.kb-kpss-opt-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    text-align: left;
    padding: 5px 8px;
    border-radius: 9px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.14s ease;
}
.kb-kpss-opt-btn:hover:not(:disabled) {
    background: #eff6ff;
    border-color: #60a5fa;
}
.kb-kob-let {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kb-kpss-opt-btn.is-selected {
    background: #dbeafe !important;
    border-color: #2563eb !important;
    color: #1e3a8a !important;
}
.kb-kpss-opt-btn.is-selected .kb-kob-let { background: #2563eb; color: #ffffff; }
.kb-kpss-opt-btn.is-correct {
    background: #dcfce7 !important;
    border-color: #16a34a !important;
    color: #14532d !important;
}
.kb-kpss-opt-btn.is-correct .kb-kob-let { background: #16a34a; color: #ffffff; }
.kb-kpss-opt-btn.is-wrong {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #7f1d1d !important;
}
.kb-kpss-opt-btn.is-wrong .kb-kob-let { background: #ef4444; color: #ffffff; }

.kb-kpss-my-status {
    font-size: 11.5px;
    color: #0369a1;
    font-weight: 600;
}
.kb-kpss-my-status.hint { color: #64748b; }
.kb-kpss-my-status.is-locked {
    background: #eff6ff;
    border: 1px dashed #60a5fa;
    border-radius: 8px;
    padding: 5px 9px;
    color: #1e40af;
    font-weight: 700;
}
.kb-klock-cnt { color: #059669; font-weight: 800; }
.kb-keb-winners {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(16, 185, 129, 0.35);
    font-size: 11.5px;
    color: #065f46;
}
.kb-keb-winners.muted { color: #64748b; }

/* 10 Soruluk Tur Şampiyonluk Podyumu */
.kb-kpss-podium {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 55%, #ecfdf5 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 12px;
    padding: 9px 11px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kb-kpod-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #92400e;
}
.kb-kpod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 6px;
}
.kb-kpodium-slot {
    background: #ffffff;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 7px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}
.kb-kpodium-slot.gold   { border-color: #f59e0b; background: linear-gradient(180deg, #fef9c3, #ffffff); box-shadow: 0 3px 10px rgba(245, 158, 11, 0.18); }
.kb-kpodium-slot.silver { border-color: #94a3b8; background: linear-gradient(180deg, #f1f5f9, #ffffff); }
.kb-kpodium-slot.bronze { border-color: #fdba74; background: linear-gradient(180deg, #ffedd5, #ffffff); }
.kb-kps-medal { font-size: 20px; line-height: 1.1; }
.kb-kps-nick  { font-size: 12.5px; font-weight: 900; color: #0f172a; }
.kb-kps-pts   { font-size: 11px; font-weight: 700; color: #059669; }
.kb-kpodium-empty { font-size: 12px; color: #78350f; text-align: center; padding: 6px; }

.kb-kpss-exp-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 9px;
    padding: 6px 9px;
    font-size: 12px;
    color: #14532d;
    line-height: 1.4;
}
.kb-kpss-exp-box.is-wrong-box {
    background: #fff1f2;
    border-color: #fda4af;
    color: #881337;
}
.kb-keb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.kb-keb-ans { margin-bottom: 3px; }
.kb-kpss-inline-next {
    padding: 3px 10px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #059669, #0284c7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}
.kb-kpss-inline-next:active { transform: scale(0.96); }

/* Sahne Önemli Hap Not Kartı */
.kb-kpss-stage-note {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 9px 12px;
    color: #78350f;
}
.kb-ksn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}
.kb-ksn-badge { font-size: 10px; font-weight: 900; letter-spacing: 0.05em; color: #b45309; margin-bottom: 0; }
.kb-ksn-title { font-size: 13px; font-weight: 800; color: #92400e; margin-bottom: 4px; }
.kb-ksn-body  { font-size: 12.5px; line-height: 1.45; }

/* Sohbet Akışı KPSS Kartları */
.kb-kpss-feed-item { margin: 4px 6px; }
.kb-kfeed-card {
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12.5px;
    line-height: 1.4;
    border-left: 4px solid #0284c7;
    background: #f8fafc;
    color: #1e293b;
}
.kb-kfeed-card .kb-kfc-head {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #0369a1;
}
.kb-kfeed-card.rev  { border-left-color: #16a34a; background: #f0fdf4; color: #14532d; }
.kb-kfeed-card.rev .kb-kfc-head { color: #15803d; }
.kb-kfeed-card.note { border-left-color: #d97706; background: #fffbeb; color: #78350f; }
.kb-kfeed-card.note .kb-kfc-head { color: #b45309; }
.kb-kfeed-card.welcome,
.kb-kfeed-card.info { border-left-color: #6366f1; background: #eef2ff; color: #312e81; }
.kb-kfeed-card.lock {
    border-left-color: #2563eb;
    background: #eff6ff;
    color: #1e3a8a;
    padding: 4px 9px;
    font-size: 12px;
}
.kb-klock-sec { color: #0284c7; font-weight: 700; font-size: 11px; }
.kb-kfeed-card.podium {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #78350f;
}
.kb-kfeed-card.podium .kb-kfc-head { color: #b45309; }

/* 5. Güncel Fal Salonu Modalı & Sohbet Fal Kartı */
.kb-fal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100020;
    background: rgba(15, 23, 42, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.kb-fal-dialog {
    width: min(560px, 100%);
    max-height: 88dvh;
    background: #ffffff;
    border: 1.5px solid #ddd6fe;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(30, 27, 75, 0.38);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.kb-fal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #3b0764 0%, #6d28d9 55%, #4f46e5 100%);
    color: #ffffff;
}
.kb-fal-brand { display: flex; align-items: center; gap: 10px; }
.kb-fal-orb {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.kb-fal-brand h3 { margin: 0; font-size: 15px; font-weight: 800; color: #ffffff; }
.kb-fal-brand p  { margin: 2px 0 0 0; font-size: 11px; opacity: 0.88; color: #ede9fe; }
.kb-fal-close {
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, 0.18); color: #ffffff; cursor: pointer; font-size: 14px;
}

.kb-fal-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 8px 12px;
    background: #f5f3ff;
    border-bottom: 1px solid #e2e8f0;
}
.kb-fal-tab {
    height: 32px;
    border-radius: 10px;
    border: 1px solid #ddd6fe;
    background: #ffffff;
    color: #4c1d95;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.kb-fal-tab.active {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-color: transparent;
    color: #ffffff;
}

.kb-fal-body {
    padding: 14px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kb-fal-stage { display: flex; flex-direction: column; gap: 10px; }
.kb-fal-cup-hero {
    display: flex; align-items: center; gap: 12px;
    background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 14px; padding: 10px 12px;
}
.kb-fal-cup-visual {
    width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    border: 2px solid #c084fc; display: flex; align-items: center; justify-content: center;
    font-size: 30px; overflow: hidden;
}
.kb-fal-cup-visual img { width: 100%; height: 100%; object-fit: cover; }
.kb-fal-cup-meta h4 { margin: 0 0 3px 0; font-size: 13.5px; color: #3b0764; }
.kb-fal-cup-meta p  { margin: 0 0 7px 0; font-size: 11.5px; color: #64748b; line-height: 1.35; }
.kb-fal-photo-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px; background: #ffffff;
    border: 1px dashed #9333ea; color: #7e22ce; font-size: 11px; font-weight: 800; cursor: pointer;
}

.kb-fal-label { font-size: 11.5px; font-weight: 800; color: #475569; }
.kb-fal-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-fal-chip {
    padding: 6px 12px; border-radius: 999px; border: 1px solid #cbd5e1;
    background: #f8fafc; color: #334155; font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.kb-fal-chip.active { background: #7c3aed; border-color: #7c3aed; color: #ffffff; }

.kb-tarot-backs { display: flex; justify-content: center; gap: 12px; padding: 6px 0; }
.kb-tarot-back-card {
    width: 78px; height: 110px; border-radius: 12px;
    background: linear-gradient(135deg, #312e81, #7c3aed);
    border: 2px solid #fde047; color: #fde047;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    box-shadow: 0 6px 16px rgba(109, 40, 217, 0.25);
}
.kb-tarot-back-card span  { font-size: 24px; }
.kb-tarot-back-card small { font-size: 10.5px; font-weight: 800; color: #ffffff; }

.kb-fal-zgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kb-fal-zbtn {
    height: 34px; border-radius: 10px; border: 1px solid #cbd5e1;
    background: #f8fafc; color: #1e293b; font-size: 12px; font-weight: 700; cursor: pointer;
}
.kb-fal-zbtn.active { background: #6d28d9; border-color: #6d28d9; color: #ffffff; }

.kb-niyet-orb-wrap { text-align: center; padding: 6px 8px; }
.kb-niyet-orb { font-size: 42px; margin-bottom: 4px; }
.kb-niyet-orb-wrap p { margin: 0; font-size: 12px; color: #475569; }
.kb-fal-wish-inp {
    width: 100%; height: 38px; border-radius: 10px; border: 1px solid #cbd5e1;
    padding: 0 12px; font-size: 12.5px; box-sizing: border-box;
}

.kb-fal-submit-btn {
    height: 40px; border-radius: 12px; border: none;
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    color: #ffffff; font-size: 13px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

.kb-fal-loading { text-align: center; padding: 26px 12px; }
@keyframes kbFalSpinPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.18) rotate(12deg); }
}
.kb-fal-spinner { font-size: 42px; display: inline-block; animation: kbFalSpinPulse 1s infinite ease-in-out; }
.kb-fal-loading h4 { margin: 10px 0 4px 0; color: #4c1d95; font-size: 14px; }
.kb-fal-loading p  { margin: 0; color: #64748b; font-size: 12px; }

/* Fal Sonuçları */
.kb-fal-result-wrap { display: flex; flex-direction: column; gap: 8px; }
.kb-fal-res-banner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
    background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 12px; padding: 8px 12px;
}
.kb-fal-res-banner h4 { margin: 0; font-size: 13.5px; color: #4c1d95; }
.kb-fal-res-banner small { font-size: 11px; color: #64748b; }
.kb-fal-lucky-box { display: flex; flex-direction: column; font-size: 11px; color: #6d28d9; text-align: right; }

.kb-tarot-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kb-tarot-rcard {
    background: #f8fafc; border: 1px solid #ddd6fe; border-radius: 12px; padding: 8px; text-align: center;
}
.kb-trc-pos  { font-size: 10px; font-weight: 800; color: #7c3aed; display: block; }
.kb-trc-ico  { font-size: 24px; margin: 4px 0; }
.kb-trc-name { font-size: 11.5px; color: #1e1b4b; display: block; margin-bottom: 4px; }
.kb-trc-desc { font-size: 11px; color: #475569; margin: 0; line-height: 1.35; }

.kb-fal-sec-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 11px;
}
.kb-fsc-head { font-size: 12.5px; color: #3b0764; margin-bottom: 3px; }
.kb-fal-sec-card p { margin: 0; font-size: 12px; color: #334155; line-height: 1.45; }

.kb-fal-advice {
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
    padding: 7px 10px; font-size: 11.5px; font-weight: 700; color: #92400e;
    display: flex; align-items: center; gap: 7px;
}
.kb-fal-res-actions { display: flex; gap: 8px; margin-top: 2px; }
.kb-fal-act-btn {
    flex: 1; height: 36px; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; border: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.kb-fal-act-btn.secondary { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.kb-fal-act-btn.primary   { background: linear-gradient(135deg, #7c3aed, #db2777); color: #ffffff; }

/* Sohbet İçi Fal Paylaşım Kartı */
.kb-fal-chat-card {
    display: inline-flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    margin: 2px 0 !important;
    padding: 6px 10px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%) !important;
    border: 1px solid #d8b4fe !important;
    max-width: min(520px, 94%) !important;
    vertical-align: middle !important;
}
.kb-fcc-head {
    display: flex !important; align-items: center !important; gap: 6px !important; flex-wrap: wrap !important;
}
.kb-fcc-title { color: #581c87 !important; font-size: 12px !important; }
.kb-fcc-try-btn {
    margin-left: auto !important; padding: 2px 8px !important; border-radius: 999px !important;
    border: none !important; background: #7c3aed !important; color: #ffffff !important;
    font-size: 10.5px !important; font-weight: 800 !important; cursor: pointer !important;
}
.kb-fcc-body { color: #3b0764 !important; font-size: 12px !important; line-height: 1.38 !important; }

/* Liderlik Tablosu Satırları & Sekmeleri */
.kb-krank-header { background: linear-gradient(135deg, #065f46 0%, #059669 50%, #0284c7 100%); }
.kb-krank-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    padding: 8px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
}
.kb-krank-tab {
    height: 32px; border-radius: 9px; border: 1px solid #cbd5e1;
    background: #ffffff; color: #334155; font-size: 11.5px; font-weight: 800; cursor: pointer;
}
.kb-krank-tab.active {
    background: linear-gradient(135deg, #059669, #0284c7); border-color: transparent; color: #ffffff;
}
.kb-krank-row {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 12.5px;
}
.kb-krank-row.top-1 { border-color: #f59e0b; background: #fffbeb; }
.kb-krr-pos   { width: 28px; font-weight: 900; }
.kb-krr-nick  { flex: 1; color: #0f172a; display: inline-flex; align-items: center; gap: 5px; }
.kb-krr-crown { padding: 1px 6px; border-radius: 999px; background: #fef3c7; border: 1px solid #f59e0b; color: #b45309; font-size: 10.5px; font-weight: 800; }
.kb-krr-stat  { font-size: 11px; color: #64748b; }
.kb-krr-pts   { font-weight: 800; color: #059669; }
.kb-krank-empty { text-align: center; padding: 18px; color: #64748b; font-size: 12.5px; }

/* 6. Koyu Tema (Dark / Night) Uyumu */
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-stage-bar {
    background: linear-gradient(180deg, #0f172a 0%, #162036 100%);
    border-bottom-color: #334155;
}
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-kpss-score-pill, .kb-kpss-timer-pill, .kb-kpss-act-btn:not(.note):not(.rank), .kb-kpss-sub-chip:not(.active), .kb-kpss-qbox) {
    background: #1e293b; border-color: #334155; color: #e2e8f0;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kqb-question { color: #f8fafc; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-opt-btn:not(.is-selected):not(.is-correct):not(.is-wrong) {
    background: #0f172a; border-color: #334155; color: #e2e8f0;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kfeed-card.q { background: #1e293b; color: #e2e8f0; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-fal-dialog { background: #162036; border-color: #334155; color: #e2e8f0; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-fal-tabs { background: #0f172a; border-bottom-color: #334155; }
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fal-tab:not(.active), .kb-fal-sec-card, .kb-tarot-rcard, .kb-fal-zbtn:not(.active), .kb-fal-chip:not(.active), .kb-krank-row) {
    background: #1e293b; border-color: #334155; color: #e2e8f0;
}
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fal-cup-hero, .kb-fal-res-banner) {
    background: #1e1b4b; border-color: #4c1d95;
}
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fal-cup-meta h4, .kb-fal-res-banner h4, .kb-fsc-head, .kb-trc-name, .kb-krr-nick) { color: #f5f3ff; }
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fal-sec-card p, .kb-trc-desc) { color: #cbd5e1; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-fal-wish-inp { background: #0f172a; border-color: #334155; color: #f8fafc; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-exp-box:not(.is-wrong-box) {
    background: #064e3b; border-color: #10b981; color: #ecfdf5;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-exp-box.is-wrong-box {
    background: #4c0519; border-color: #fb7185; color: #ffe4e6;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-keb-winners { color: #a7f3d0; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-my-status.is-locked {
    background: #172554; border-color: #3b82f6; color: #dbeafe;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kfeed-card.lock {
    background: #172554; color: #dbeafe;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpss-podium,
body:is(.kb-theme-dark, .kb-theme-night) .kb-kfeed-card.podium {
    background: #1e293b; border-color: #f59e0b; color: #fde68a;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpod-head { color: #fcd34d; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-kpodium-slot {
    background: #0f172a; border-color: #334155;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-kps-nick { color: #f8fafc; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-krank-tabs { background: #0f172a; border-bottom-color: #334155; }
body:is(.kb-theme-dark, .kb-theme-night) .kb-krank-tab:not(.active) { background: #1e293b; border-color: #334155; color: #e2e8f0; }

/* 7. Mobil Tam Görünür Soru Penceresi & Kompakt Uyum */
html.kb-view-mobil .kb-kpss-stage-bar {
    padding: 6px 7px !important;
    gap: 5px !important;
    max-height: calc(100vh - 185px) !important;
    max-height: calc(100dvh - 185px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
html.kb-view-mobil .kb-kpss-collapsible {
    gap: 5px !important;
}
html.kb-view-mobil .kb-kpss-toprow {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding-right: 36px !important; /* Sağ üstteki Kilit ikonunun soluna kaydırır */
}
html.kb-view-mobil body.kb-kpss-room .scrolllock-floating .kb-sl-lbl {
    display: none !important;
}
html.kb-view-mobil .kb-kpss-title-wrap {
    flex-wrap: nowrap !important;
    gap: 3px !important;
    min-width: 0 !important;
}
html.kb-view-mobil :is(.kb-klp-lbl, .kb-kps-lbl, .kb-kpt-lbl, .kb-kpss-act-btn span) {
    display: none !important;
}
html.kb-view-mobil :is(.kb-kpss-live-pill, .kb-kpss-score-pill, .kb-kpss-timer-pill) {
    padding: 2px 6px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
}
html.kb-view-mobil .kb-kpss-top-actions {
    gap: 3px !important;
    flex: 0 0 auto !important;
}
html.kb-view-mobil .kb-kpss-act-btn {
    height: 24px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
}
html.kb-view-mobil .kb-kpss-sub-chip {
    height: 22px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
}
html.kb-view-mobil .kb-kpss-qbox {
    padding: 7px 8px !important;
    gap: 5px !important;
}
html.kb-view-mobil .kb-kqb-sub {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}
html.kb-view-mobil .kb-kqb-question {
    font-size: 12.5px !important;
    line-height: 1.38 !important;
}
html.kb-view-mobil .kb-kqb-opts {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
}
html.kb-view-mobil .kb-kpss-opt-btn {
    padding: 5px 8px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}
html.kb-view-mobil .kb-kpss-exp-box {
    padding: 6px 8px !important;
    font-size: 11.5px !important;
}
html.kb-view-mobil .kb-fal-tabs { grid-template-columns: repeat(2, 1fr); }
html.kb-view-mobil .kb-tarot-result-grid { grid-template-columns: 1fr; }

/* 8. Arkadaşlar & İstekler Merkezi Modalı (#kbFriendsCenterModal) */
.kb-fr-dialog { width: min(500px, 100%); }
.kb-fr-header { background: linear-gradient(135deg, #065f46 0%, #059669 52%, #0284c7 100%); }
.kb-fr-addbar {
    display: flex; gap: 6px; padding: 10px 14px;
    background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.kb-fr-add-inp {
    flex: 1; min-width: 0; height: 34px; border-radius: 10px;
    border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a;
    padding: 0 11px; font-size: 12.5px; outline: none;
}
.kb-fr-add-inp:focus { border-color: #059669; }
.kb-fr-add-btn {
    height: 34px; padding: 0 12px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, #059669, #0284c7); color: #ffffff;
    font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center;
    gap: 5px; cursor: pointer; white-space: nowrap;
}
.kb-fr-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    padding: 8px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
}
.kb-fr-tab {
    height: 32px; border-radius: 9px; border: 1px solid #cbd5e1;
    background: #ffffff; color: #334155; font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.kb-fr-tab.active {
    background: linear-gradient(135deg, #059669, #0284c7);
    border-color: transparent; color: #ffffff;
}
.kb-fr-tab-alert {
    padding: 1px 7px; border-radius: 999px; background: #ef4444; color: #ffffff;
    font-size: 10.5px; font-weight: 900;
}
.kb-fr-list { min-height: 190px; max-height: 54dvh; gap: 7px; padding: 12px 14px; }
.kb-fr-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 5px; padding: 28px 14px; color: #64748b;
}
.kb-fr-empty i { font-size: 28px; color: #94a3b8; margin-bottom: 2px; }
.kb-fr-empty b { font-size: 13px; color: #334155; }
.kb-fr-empty small { font-size: 11.5px; line-height: 1.4; max-width: 300px; }

.kb-fr-row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 8px 10px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0;
}
.kb-fr-row.is-req { background: #fffbeb; border-color: #fde68a; }
.kb-fr-user {
    display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; cursor: pointer;
}
.kb-fr-av {
    position: relative; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
    background: #e2e8f0;
}
.kb-fr-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.kb-fr-sdot {
    position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px;
    border-radius: 50%; border: 2px solid #ffffff; background: #94a3b8;
}
.kb-fr-sdot.online { background: #10b981; }
.kb-fr-sdot.busy   { background: #ef4444; }
.kb-fr-sdot.away   { background: #f59e0b; }
.kb-fr-meta { display: flex; flex-direction: column; min-width: 0; }
.kb-fr-meta strong {
    font-size: 13px; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kb-fr-sub { font-size: 11px; color: #64748b; font-weight: 700; }
.kb-fr-sub.online { color: #059669; }
.kb-fr-sub.busy   { color: #dc2626; }
.kb-fr-sub.away   { color: #d97706; }

.kb-fr-actions { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.kb-fr-btn {
    height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid #cbd5e1;
    background: #ffffff; color: #334155; font-size: 11.5px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.kb-fr-btn.pm     { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.kb-fr-btn.del    { color: #dc2626; border-color: #fecaca; background: #fff1f2; padding: 0 8px; }
.kb-fr-btn.accept { background: #16a34a; border-color: #16a34a; color: #ffffff; }
.kb-fr-btn.reject { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; padding: 0 9px; }

body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fr-addbar, .kb-fr-tabs) {
    background: #0f172a; border-bottom-color: #334155;
}
body:is(.kb-theme-dark, .kb-theme-night) :is(.kb-fr-add-inp, .kb-fr-tab:not(.active), .kb-fr-row, .kb-fr-btn:not(.accept):not(.pm):not(.del):not(.reject)) {
    background: #1e293b; border-color: #334155; color: #e2e8f0;
}
body:is(.kb-theme-dark, .kb-theme-night) .kb-fr-meta strong,
body:is(.kb-theme-dark, .kb-theme-night) .kb-fr-empty b { color: #f8fafc; }
html.kb-view-mobil .kb-fr-btn.pm span { display: none; }
