/* ============================================================
   calismalari-yetkinlik.css — /calismalari#yetkinlikler (2026-12-01)
   İşaretleme: calismalari.asp (.yk-*), veri yetkinlik-veri.asp. calismalari.css
   değişkenleriyle (--cl-*) birlikte yüklenir.
   Yerleşim "okuyucu": solda numaralı dizin (dokuz alan), sağda seçili alanın sayfası
   (dev filigran numara, simge, tek cümlelik ilke, terimler). JS yoksa dizin gizlenir,
   dokuz sayfa alt alta okunur. Alan renkleri /deneyim/yetkinlikler ile aynı (g0..g8).
   Metin tam siyah / tam beyaz; alan rengi yalnız simge, numara ve çizgilerde.
   ============================================================ */
.yk .g0 { --c: #a8749a; } .yk .g1 { --c: #503b4b; } .yk .g2 { --c: #436189; }
.yk .g3 { --c: #2a7f8f; } .yk .g4 { --c: #3b6b52; } .yk .g5 { --c: #a8562f; }
.yk .g6 { --c: #b9831a; } .yk .g7 { --c: #5b6bb0; } .yk .g8 { --c: #6b6f76; }
body.active-dark-mode .yk .g0 { --c: #efc2e2; } body.active-dark-mode .yk .g1 { --c: #d3abc6; }
body.active-dark-mode .yk .g2 { --c: #86a8d4; } body.active-dark-mode .yk .g3 { --c: #63c1d1; }
body.active-dark-mode .yk .g4 { --c: #78b893; } body.active-dark-mode .yk .g5 { --c: #e08d63; }
body.active-dark-mode .yk .g6 { --c: #e2b552; } body.active-dark-mode .yk .g7 { --c: #9aa6ea; }
body.active-dark-mode .yk .g8 { --c: #a3a8b0; }

.yk-okuyucu { display: flex; flex-direction: column; gap: 22px; }
.yk-okuyucu:not(.yk-js) .yk-dizin { display: none; }
.yk-okuyucu.yk-js { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.yk-okuyucu.yk-js .yk-panel { height: 100%; }   /* sayfa dizinle aynı boyda: altta boşluk kalmaz */
.yk-paneller { display: flex; flex-direction: column; gap: 22px; }
.yk-panel[hidden] { display: none !important; }

/* ---------- dizin ---------- */
.yk-dizin { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 18px;
    background: var(--cl-zemin-2); border: 1px solid var(--cl-cizgi); }
.yk-dizin button {
    position: relative; display: grid; grid-template-columns: 26px 34px minmax(0, 1fr); align-items: center; gap: 10px;
    width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
    text-align: left; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--cl-metin);
    transition: background .2s, box-shadow .2s;
}
.yk-dizin button:hover { background: var(--cl-zemin); }
.yk-dizin button[aria-selected="true"] { background: var(--cl-zemin); box-shadow: var(--cl-golge); font-weight: 800; }
.yk-dizin button[aria-selected="true"]::before {
    content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c);
}
.yk-dizin button:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.yk-no { font-family: Consolas, "SF Mono", monospace; font-size: 12.5px; font-weight: 700; color: var(--c); }
.yk-ik { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff; background: var(--c); }
body.active-dark-mode .yk-ik, body.active-dark-mode .yk-ik-b { color: #17151a; }
.yk-ad { min-width: 0; }

/* ---------- alan sayfası ---------- */
.yk-panel {
    position: relative; overflow: hidden; padding: 34px 36px 32px; border-radius: 22px;
    background: var(--cl-zemin); border: 1px solid var(--cl-cizgi); border-top: 5px solid var(--c);
    box-shadow: var(--cl-golge-us);
}
.yk-panel:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.yk-filigran { position: absolute; right: 22px; top: -22px; font-size: 150px; font-weight: 900; line-height: 1;
    letter-spacing: -.05em; color: var(--c); opacity: .1; pointer-events: none; }
.yk-panel-bas { position: relative; display: flex; align-items: center; gap: 16px; }
.yk-ik-b { flex: none; width: 60px; height: 60px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; background: var(--c); }
.yk-panel h3 { margin: 0; font-size: clamp(22px, 15px + 1vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--cl-metin); }
.yk-sayi { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--c); }
.cl-alan .yk-panel p.yk-ilke {
    position: relative; margin: 24px 0 0; padding-left: 16px; border-left: 3px solid var(--c);
    font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--cl-metin);
}
.yk-terimler { position: relative; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.yk-terimler li { margin: 0; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--cl-cizgi);
    background: var(--cl-zemin-2); font-size: 14px; line-height: 1.3; color: var(--cl-metin); }
.yk-terimler li.bag a { font-weight: 700; color: var(--cl-metin); text-decoration: underline; text-decoration-color: var(--c);
    text-decoration-thickness: 2px; text-underline-offset: 3px; }

.cl-alan p.yk-alt { margin: 18px 0 0; font-size: 14.5px; }
.yk-alt a { font-weight: 700; color: var(--cl-erik); }
body.active-dark-mode .yk-alt a { color: #d9c3d2; }

/* ---------- dar ekran: dizin yatay şerit ---------- */
@media (max-width: 991px) {
    .yk-okuyucu.yk-js { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .yk-okuyucu.yk-js .yk-panel { height: auto; }
    .yk-dizin { flex-direction: row; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: thin; }
    .yk-dizin button { flex: none; width: auto; grid-template-columns: 34px auto; padding: 8px 14px 8px 8px; white-space: nowrap; }
    .yk-dizin .yk-no { display: none; }
    .yk-dizin button[aria-selected="true"]::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
}
@media (max-width: 575px) {
    .yk-panel { padding: 26px 20px 24px; }
    .yk-filigran { font-size: 110px; right: 12px; top: -14px; }
    .yk-ik-b { width: 50px; height: 50px; font-size: 20px; }
    .cl-alan .yk-panel p.yk-ilke { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .yk-dizin button { transition: none; }
}
