/* ══════════════════════════════════════════════════════════════════
   KAŞİF REHBER TURU — spotlight + balon (2026-07-27)
   Karartma "delik" numarasıyla yapılır: küçük kutu + devasa box-shadow.
   ══════════════════════════════════════════════════════════════════ */

.kr-katman {
    position: fixed;
    z-index: 20000;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(10, 25, 40, .62);
    border: 2px solid #ffc107;
    border-radius: 8px;
    transition: all .25s ease;
}

/* Hedefsiz adım — tüm ekran karanlık, çerçeve görünmesin */
.kr-katman.kr-deliksiz {
    border-color: transparent;
    box-shadow: 0 0 0 9999px rgba(10, 25, 40, .68);
}

.kr-balon {
    position: fixed;
    z-index: 20001;
    width: 480px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
    font-family: 'Segoe UI', -apple-system, Arial, sans-serif;
    overflow: visible;
    transition: top .25s ease, left .25s ease;
}

/* Ok işareti — balonun hedefe bakan tarafı */
.kr-balon::before {
    content: '';
    position: absolute;
    left: var(--kr-ok-sol, 30px);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
}

.kr-balon[data-ok="ust"]::before {
    top: -9px;
    border-bottom: 9px solid #2b6ea8;
}

.kr-balon[data-ok="alt"]::before {
    bottom: -9px;
    border-top: 9px solid #fff;
}

.kr-balon[data-ok="yok"]::before { display: none; }

.kr-bas {
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(90deg, #2b6ea8, #3f8fce);
    color: #fff;
    padding: 11px 16px;
    border-radius: 12px 12px 0 0;
}

.kr-sayac {
    font-size: .72rem;
    font-weight: 800;
    background: rgba(255, 255, 255, .22);
    border-radius: 99px;
    padding: 3px 10px;
    white-space: nowrap;
}

.kr-baslik {
    font-size: 1.02rem;
    font-weight: 700;
    flex: 1;
    line-height: 1.25;
}

.kr-kapat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    padding: 0 2px;
}

.kr-kapat:hover { opacity: 1; }

.kr-govde {
    padding: 15px 18px;
    font-size: 1rem;
    color: #354c5e;
    line-height: 1.65;
}

.kr-govde b { color: #1b3346; }

.kr-ornek {
    margin: 0 18px 14px;
    background: #fff8e1;
    border-left: 5px solid #ffc107;
    border-radius: 0 7px 7px 0;
    padding: 11px 14px;
    font-size: .95rem;
    color: #6b551a;
    line-height: 1.65;
}

.kr-ornek b {
    font-size: .68rem;
    letter-spacing: .9px;
    color: #a17d16;
}

.kr-alt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-top: 1px solid #eef3f8;
    background: #f8fbfd;
    border-radius: 0 0 12px 12px;
}

.kr-btn {
    border: 1px solid #c9dcea;
    background: #fff;
    color: #3d5568;
    border-radius: 7px;
    padding: 7px 18px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}

.kr-btn:hover:not(:disabled) { background: #eef6fc; }
.kr-btn:disabled { opacity: .45; cursor: default; }

.kr-btn.kr-vurgu {
    background: #2b6ea8;
    border-color: #2b6ea8;
    color: #fff;
    margin-left: auto;
}

.kr-btn.kr-vurgu:hover { background: #24608f; }

.kr-noktalar {
    display: flex;
    gap: 4px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.kr-nokta {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d3e2ee;
    cursor: pointer;
    display: inline-block;
}

.kr-nokta.gecti { background: #93d3a2; }
.kr-nokta.aktif { background: #2b6ea8; width: 9px; height: 9px; }
