/* ══════════════════════════════════════════════════════════════════════
   DEMO VİTRİNİ — halka açık taraf (mobil öncelikli)
   ──────────────────────────────────────────────────────────────────────
   blog.css ile aynı ölçü/renk dilini kullanır ama ayrı bir dosyadır:
   vitrinin birinci sınıf bileşeni yazı değil, ÇALIŞAN PROJE. Bu yüzden
   burada kart yerine "proje künyesi" (teknoloji rozetleri, zorluk, canlı
   adres) ve blogda karşılığı olmayan bir kod gezgini var.

   Ölçüler clamp() ile akışkan — ayrı mobil/masaüstü ölçü listesi tutmak
   yerine tek eğri, ara genişliklerde de düzgün davranıyor.
   ══════════════════════════════════════════════════════════════════════ */

.kut-page {
    --d-ink: #16202b;
    --d-muted: #5b6b7c;
    --d-line: #e4ecf4;
    --d-accent: #0f6cbf;
    --d-accent-2: #17a673;
    --d-surface: #ffffff;
    --d-bg: #f6f9fc;
    --d-radius: 14px;
    --d-max: 1180px;

    max-width: var(--d-max);
    color: var(--d-ink);
}

/* ─────────────────────────── Hero ─────────────────────────── */
.kut-hero {
    position: relative;
    background: linear-gradient(135deg, #0d1b2a 0%, #10314f 50%, #0f6cbf 100%);
    color: #fff;
    border-radius: var(--d-radius);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
}
/* Arka plandaki hafif ızgara: düz renk yerine "teknik" bir doku verir */
.kut-hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 82% 18%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 82% 18%, #000, transparent 70%);
}
.kut-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.kut-hero h1 {
    font-size: clamp(1.5rem, 4.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}
.kut-hero p { color: rgba(255,255,255,.82); font-size: clamp(.95rem, 2vw, 1.05rem); margin-bottom: 0; }
.kut-hero__meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 1rem; font-size: .85rem; color: rgba(255,255,255,.72);
}
.kut-hero__meta i { margin-right: .35rem; }

/* Seviye süzgeci */
.kut-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; position: relative; z-index: 1; }
.kut-filters a {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .82rem; font-weight: 500;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.kut-filters a:hover { background: rgba(255,255,255,.22); color: #fff; }
.kut-filters a.is-active { background: #fff; color: #0f2540; border-color: #fff; }

/* ─────────────────────────── Izgara ─────────────────────────── */
.kut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: clamp(.9rem, 2vw, 1.35rem);
    margin-bottom: 1.5rem;
}

.kut-card {
    display: flex; flex-direction: column;
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: var(--d-radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 37, 64, .12);
    border-color: #cfe0f0;
}

/* Öne çıkan kart iki sütun kaplar; dar ekranda tek sütuna düşer */
.kut-card--wide { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .kut-card--wide { flex-direction: row; }
    .kut-card--wide .kut-card__media { width: 46%; padding-top: 0; min-height: 240px; }
    .kut-card--wide .kut-card__body { flex: 1; }
}

.kut-card__media {
    position: relative;
    display: block;
    padding-top: 56.25%;
    background: linear-gradient(135deg, #14293f, #1d4e79);
    overflow: hidden;
}
.kut-card__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.kut-card:hover .kut-card__media img { transform: scale(1.04); }
.kut-card__ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 2.5rem;
}
.kut-card__cat {
    position: absolute; left: .75rem; top: .75rem;
    background: var(--cat, #0f6cbf);
    color: #fff;
    font-size: .7rem; font-weight: 600;
    padding: .2rem .6rem;
    border-radius: 999px;
    letter-spacing: .01em;
}
.kut-card__level {
    position: absolute; right: .75rem; top: .75rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .68rem; font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
    backdrop-filter: blur(3px);
}

.kut-card__body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.kut-card__title { font-size: 1.02rem; font-weight: 650; line-height: 1.35; margin: 0 0 .4rem; }
.kut-card__title a { color: var(--d-ink); text-decoration: none; }
.kut-card__title a:hover { color: var(--d-accent); }
.kut-card__excerpt {
    color: var(--d-muted);
    font-size: .875rem;
    line-height: 1.55;
    margin-bottom: .7rem;
    /* Kart yüksekliklerini eşitler; özet uzunluğu ızgarayı bozmasın */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.kut-tech { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .75rem; }
.kut-tech span {
    font-size: .7rem; font-weight: 500;
    color: #22536f;
    background: #eaf3fa;
    border: 1px solid #d7e8f5;
    padding: .13rem .5rem;
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.kut-card__stats {
    display: flex; flex-wrap: wrap; gap: .85rem;
    font-size: .76rem; color: var(--d-muted);
    margin-top: auto;
    padding-top: .6rem;
    border-top: 1px dashed var(--d-line);
}
.kut-card__stats i { margin-right: .3rem; opacity: .8; }

.kut-card__actions { display: flex; gap: .5rem; margin-top: .75rem; }
.kut-card__actions .btn { font-size: .8rem; padding: .32rem .75rem; }

.kut-empty {
    text-align: center;
    padding: clamp(2rem, 6vw, 3.5rem) 1rem;
    color: var(--d-muted);
    background: var(--d-surface);
    border: 1px dashed var(--d-line);
    border-radius: var(--d-radius);
}
.kut-empty i { display: block; font-size: 2.5rem; opacity: .35; margin-bottom: .75rem; }

/* ─────────────────────────── Kenar çubuğu ─────────────────────────── */
.kut-side { position: sticky; top: 1rem; }
.kut-widget {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: var(--d-radius);
    padding: 1.05rem 1.1rem;
    margin-bottom: 1.1rem;
}
.kut-widget h3 {
    font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--d-muted);
    margin: 0 0 .8rem;
}
.kut-widget__list { list-style: none; padding: 0; margin: 0; }
.kut-widget__list li + li { border-top: 1px solid var(--d-line); }
.kut-widget__list a {
    display: flex; align-items: center; gap: .55rem;
    padding: .5rem 0;
    color: var(--d-ink);
    font-size: .875rem;
    text-decoration: none;
}
.kut-widget__list a:hover { color: var(--d-accent); }
.kut-widget__list .count {
    margin-left: auto;
    font-size: .72rem;
    color: var(--d-muted);
    background: #f1f5f9;
    border-radius: 999px;
    padding: .1rem .45rem;
}
.kut-widget__list a.is-active { color: var(--d-accent); font-weight: 600; }

.kut-search { position: relative; }
.kut-search input {
    width: 100%;
    border: 1px solid var(--d-line);
    border-radius: 999px;
    padding: .55rem 2.6rem .55rem 1rem;
    font-size: .9rem;
    background: #fbfdff;
}
.kut-search input:focus { outline: none; border-color: var(--d-accent); box-shadow: 0 0 0 3px rgba(15,108,191,.12); }
.kut-search button {
    position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
    border: 0; background: var(--d-accent); color: #fff;
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}

.kut-tagcloud { display: flex; flex-wrap: wrap; gap: .35rem; }
.kut-tagcloud a {
    font-size: .76rem;
    color: #22536f;
    background: #eef5fb;
    border: 1px solid #dceaf6;
    padding: .18rem .55rem;
    border-radius: 5px;
    text-decoration: none;
}
.kut-tagcloud a:hover { background: var(--d-accent); border-color: var(--d-accent); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   DETAY SAYFASI
   ══════════════════════════════════════════════════════════════════════ */
.kut-detail__head {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: var(--d-radius);
    padding: clamp(1.15rem, 3vw, 1.9rem);
    margin-bottom: 1.25rem;
}
.kut-detail__crumbs { font-size: .8rem; color: var(--d-muted); margin-bottom: .6rem; }
.kut-detail__crumbs a { color: var(--d-muted); text-decoration: none; }
.kut-detail__crumbs a:hover { color: var(--d-accent); }
.kut-detail__head h1 {
    font-size: clamp(1.35rem, 3.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}
.kut-detail__summary { color: var(--d-muted); font-size: 1rem; line-height: 1.6; margin-bottom: .9rem; }

/* Eylem şeridi: Canlı Demo birincil, diğerleri ikincil */
.kut-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 .25rem; }
.kut-actions .btn { font-weight: 600; }
.kut-actions .btn-live {
    background: linear-gradient(135deg, #17a673, #0f8a5f);
    border: 0; color: #fff;
    box-shadow: 0 4px 14px rgba(23,166,115,.28);
}
.kut-actions .btn-live:hover { color: #fff; filter: brightness(1.06); }

.kut-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--d-line);
}
.kut-meta-grid div { font-size: .82rem; }
.kut-meta-grid dt { color: var(--d-muted); font-weight: 500; margin-bottom: .15rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.kut-meta-grid dd {
    margin: 0; font-weight: 600; color: var(--d-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all;
}

/* Galeri */
.kut-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.kut-gallery a {
    display: block; border-radius: 10px; overflow: hidden;
    border: 1px solid var(--d-line); background: #0d1b2a;
}
.kut-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; display: block; }

/* ─────────────────────────── Kod gezgini ─────────────────────────── */
.kut-explorer {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #1d2b3a;
    border-radius: var(--d-radius);
    overflow: hidden;
    background: #0d1117;
}
@media (min-width: 992px) {
    .kut-explorer { grid-template-columns: 250px 1fr; }
}

.kut-explorer__tree {
    background: #131c26;
    border-right: 1px solid #1d2b3a;
    max-height: 560px;
    overflow: auto;
    padding: .6rem .3rem;
}
.kut-explorer__tree ul { list-style: none; margin: 0; padding-left: .75rem; }
.kut-explorer__tree > ul { padding-left: .25rem; }
.kut-explorer__tree li { font-size: .8rem; line-height: 1.7; }
.kut-explorer__tree .node {
    display: flex; align-items: center; gap: .4rem;
    padding: .1rem .4rem;
    border-radius: 5px;
    color: #b6c6d6;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.kut-explorer__tree .node:hover { background: rgba(255,255,255,.06); color: #fff; }
.kut-explorer__tree .node.is-active { background: rgba(15,108,191,.32); color: #fff; }
.kut-explorer__tree .node.is-dir { font-weight: 600; color: #d6e2ee; }
.kut-explorer__tree .node.is-locked { opacity: .4; cursor: not-allowed; }
.kut-explorer__tree .caret { width: .7rem; font-size: .65rem; opacity: .7; }
.kut-explorer__tree .size { margin-left: auto; font-size: .68rem; opacity: .45; padding-left: .5rem; }

.kut-explorer__pane { display: flex; flex-direction: column; min-width: 0; }
.kut-explorer__bar {
    display: flex; align-items: center; gap: .6rem;
    padding: .5rem .85rem;
    background: #161f2b;
    border-bottom: 1px solid #1d2b3a;
    color: #8fa3b8;
    font-size: .78rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.kut-explorer__bar .path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kut-explorer__bar .spacer { margin-left: auto; }
.kut-explorer__bar button {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: #cfe0f0; border-radius: 6px;
    font-size: .72rem; padding: .18rem .55rem; cursor: pointer;
}
.kut-explorer__bar button:hover { background: rgba(255,255,255,.16); }

.kut-explorer__code { margin: 0; max-height: 560px; overflow: auto; background: #0d1117; }
.kut-explorer__code pre { margin: 0; }
.kut-explorer__code code { font-size: .8rem; line-height: 1.6; }
.kut-explorer__hint { padding: 2.5rem 1rem; text-align: center; color: #5f7488; font-size: .85rem; }

/* Maskeleme uyarısı — gizli değerlerin yıldızlandığını açıkça söyler */
.kut-mask-note {
    font-size: .76rem; color: #8a6d3b;
    background: #fcf8e3; border: 1px solid #faebcc;
    border-radius: 8px; padding: .5rem .75rem;
    margin-top: .6rem;
}

/* ─────────────────────── Markdown gövdesi ─────────────────────── */
.kut-body {
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: var(--d-radius);
    padding: clamp(1.15rem, 3vw, 1.9rem);
    line-height: 1.75;
    font-size: .97rem;
    overflow-wrap: break-word;
}
.kut-body .kut-md-h { font-weight: 700; letter-spacing: -.01em; margin: 1.6rem 0 .7rem; line-height: 1.3; }
.kut-body h2.kut-md-h { font-size: 1.35rem; padding-bottom: .35rem; border-bottom: 1px solid var(--d-line); }
.kut-body h3.kut-md-h { font-size: 1.15rem; }
.kut-body h4.kut-md-h { font-size: 1.02rem; }
.kut-body > .kut-md-h:first-child { margin-top: 0; }
.kut-body p { margin-bottom: 1rem; }
.kut-body a { color: var(--d-accent); }
.kut-body .kut-md-ul, .kut-body .kut-md-ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.kut-body .kut-md-ul li, .kut-body .kut-md-ol li { margin-bottom: .35rem; }
.kut-body .kut-md-code {
    background: #eef2f7; color: #b8305e;
    padding: .1rem .38rem; border-radius: 5px;
    font-size: .875em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.kut-body .kut-md-pre {
    background: #0d1117; color: #e6edf3;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    margin-bottom: 1.15rem;
}
.kut-body .kut-md-pre code { background: none; color: inherit; padding: 0; font-size: .84rem; line-height: 1.6; }
.kut-body .kut-md-quote {
    border-left: 3px solid var(--d-accent);
    background: #f4f9fd;
    padding: .7rem 1rem;
    margin: 0 0 1.1rem;
    color: var(--d-muted);
    border-radius: 0 8px 8px 0;
}
.kut-body .kut-md-hr { border: 0; border-top: 1px solid var(--d-line); margin: 1.75rem 0; }
.kut-body .kut-md-img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--d-line); }
.kut-body .kut-md-table-wrap { overflow-x: auto; margin-bottom: 1.15rem; }
.kut-body .kut-md-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.kut-body .kut-md-table th, .kut-body .kut-md-table td { border: 1px solid var(--d-line); padding: .5rem .7rem; text-align: left; }
.kut-body .kut-md-table th { background: #f5f9fc; font-weight: 650; }

/* Bölüm başlığı */
.kut-section-title {
    display: flex; align-items: center; gap: .5rem;
    font-size: 1.05rem; font-weight: 700;
    margin: 1.75rem 0 .85rem;
    color: var(--d-ink);
}
.kut-section-title i { color: var(--d-accent); }
.kut-section-title .sub { margin-left: auto; font-size: .78rem; font-weight: 400; color: var(--d-muted); }

@media (max-width: 575.98px) {
    .kut-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   SAYFALAMA
   ──────────────────────────────────────────────────────────────────────
   Daha önce blog şablonu ödünç alınıyordu; ürettiği .blog-pager sınıfları
   blog.css içinde tanımlı olduğu ve vitrin o dosyayı yüklemediği için
   sayfalama stilsiz görünüyordu. Artık kendi şablonu + kendi stili var.
   ══════════════════════════════════════════════════════════════════════ */
.kut-pager {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: .35rem; margin: 1.75rem 0 .5rem;
}
.kut-pager__btn,
.kut-pager__num {
    display: inline-flex; align-items: center; gap: .35rem;
    min-width: 2.35rem; height: 2.35rem; padding: 0 .7rem;
    justify-content: center;
    border: 1px solid var(--d-line);
    border-radius: 9px;
    background: var(--d-surface);
    color: var(--d-ink);
    font-size: .875rem; font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.kut-pager__btn:hover,
.kut-pager__num:hover { background: #eef5fc; border-color: var(--d-accent); color: var(--d-accent); text-decoration: none; }
.kut-pager__num.is-active {
    background: var(--d-accent); border-color: var(--d-accent); color: #fff;
    box-shadow: 0 2px 8px rgba(15,108,191,.28);
}
.kut-pager__num.is-active:hover { background: var(--d-accent); color: #fff; }
@media (max-width: 575.98px) {
    /* Dar ekranda "Önceki/Sonraki" metinleri satırı taşırıyordu; ok yeterli */
    .kut-pager__btn span { display: none; }
    .kut-pager__btn { padding: 0 .5rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   İÇERİK BÖLÜMLERİ — öne çıkanlar, senaryolar, kurulum, SSS
   ══════════════════════════════════════════════════════════════════════ */
.kut-points { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.kut-points li {
    position: relative;
    padding: .55rem .75rem .55rem 2.1rem;
    margin-bottom: .4rem;
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-radius: 10px;
    font-size: .9rem; line-height: 1.5;
}
.kut-points li::before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: .75rem; top: .62rem;
    color: var(--d-accent-2); font-size: .78rem;
}
/* Yan yana iki listede onay işareti "özellik" anlamı taşıyor; senaryo ve
   gereksinim listelerinde nötr bir işaret daha doğru */
.kut-points--plain li { padding-left: 1.6rem; }
.kut-points--plain li::before { content: "\f105"; color: var(--d-muted); left: .8rem; }

.kut-two-col { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }
@media (min-width: 768px) { .kut-two-col { grid-template-columns: 1fr 1fr; } }

.kut-steps { counter-reset: kutadim; list-style: none; padding: 0; margin: 0 0 1rem; }
.kut-steps li {
    counter-increment: kutadim;
    position: relative;
    padding: .7rem .9rem .7rem 3rem;
    margin-bottom: .5rem;
    background: var(--d-surface);
    border: 1px solid var(--d-line);
    border-left: 3px solid var(--d-accent);
    border-radius: 10px;
    font-size: .9rem; line-height: 1.55;
}
.kut-steps li::before {
    content: counter(kutadim);
    position: absolute; left: .85rem; top: .68rem;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--d-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
}
.kut-hint { font-size: .82rem; color: var(--d-muted); margin-bottom: 1.25rem; }
.kut-hint code { background: #eef5fc; padding: .1rem .35rem; border-radius: 4px; color: var(--d-accent); }

.kut-faq { margin-top: 1.5rem; }
.kut-faq__item { border: 1px solid var(--d-line); border-radius: 10px; margin-bottom: .5rem; background: var(--d-surface); overflow: hidden; }
.kut-faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .8rem 1rem; border: 0; background: none; text-align: left;
    font-weight: 650; font-size: .92rem; color: var(--d-ink); cursor: pointer;
}
.kut-faq__q i { color: var(--d-muted); font-size: .8rem; transition: transform .18s ease; }
.kut-faq__item.is-open .kut-faq__q i { transform: rotate(180deg); }
/* max-height ile animasyon içerik boyu bilinmediği için ya kırpıyor ya
   zıplatıyordu; basit display geçişi burada daha güvenilir */
.kut-faq__a { display: none; padding: 0 1rem 1rem; font-size: .89rem; line-height: 1.6; color: var(--d-muted); }
.kut-faq__item.is-open .kut-faq__a { display: block; }
.kut-faq__a p { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════
   BEĞENİ + PAYLAŞIM
   ══════════════════════════════════════════════════════════════════════ */
.kut-engage {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: .85rem; margin: 1.75rem 0 .5rem; padding: 1rem;
    background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-radius);
}
.kut-like {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.1rem; border-radius: 999px;
    border: 1px solid var(--d-line); background: var(--d-bg);
    color: var(--d-muted); font-weight: 600; font-size: .88rem; cursor: pointer;
    transition: all .18s ease;
}
.kut-like:hover { border-color: #e2574c; color: #e2574c; }
.kut-like.is-liked { background: #fdecea; border-color: #e2574c; color: #e2574c; }
.kut-like.is-liked i { animation: kutHeartPop .35s cubic-bezier(.34,1.56,.64,1); }
.kut-like__count { background: rgba(0,0,0,.06); border-radius: 999px; padding: .05rem .5rem; font-size: .8rem; }
@keyframes kutHeartPop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

.kut-share { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.kut-share__label { font-size: .82rem; color: var(--d-muted); margin-right: .15rem; }
.kut-share__btn {
    width: 2.15rem; height: 2.15rem; border-radius: 50%; border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff !important; font-size: .85rem; cursor: pointer; text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
    background: #64748b;
}
.kut-share__btn:hover { transform: translateY(-2px); opacity: .92; text-decoration: none; color: #fff; }
.kut-share__btn.is-x   { background: #0f172a; }
.kut-share__btn.is-li  { background: #0a66c2; }
.kut-share__btn.is-fb  { background: #1877f2; }
.kut-share__btn.is-wa  { background: #25d366; }
.kut-share__btn.is-tg  { background: #229ed9; }
.kut-share__btn.is-pin { background: #e60023; }
.kut-share__btn.is-copy { background: #475569; }
.kut-share__btn.is-copy.is-done { background: var(--d-accent-2); }
/* Markdown/YZ sürümü diğerlerinden ayrı dursun: bir sosyal ağ değil, bir biçim */
.kut-share__btn.is-md { background: #334155; }

/* ══════════════════════════════════════════════════════════════════════
   YORUMLAR
   ══════════════════════════════════════════════════════════════════════ */
.kut-comments { margin-top: 2.25rem; }
.kut-comment-list { margin-bottom: 1rem; }
.kut-comment-thread { border-bottom: 1px solid var(--d-line); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.kut-comment-thread:last-child { border-bottom: none; }

.kut-comment {
    border: 1px solid var(--d-line); border-radius: 12px;
    padding: 1rem 1.15rem; margin-bottom: .8rem;
    background: var(--d-surface);
    animation: kutFadeIn .25s ease;
}
.kut-comment.is-reply { background: var(--d-bg); border-color: rgba(15,108,191,.16); }
.kut-comment.is-team { border-left: 3px solid var(--d-accent); }
@keyframes kutFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.kut-comment__head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .35rem; }
.kut-comment__avatar {
    width: 32px; height: 32px; border-radius: 50%; color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
    background: var(--d-muted);
}
.kut-comment__avatar.is-team { background: var(--d-accent) !important; }
.kut-comment__name { font-weight: 650; color: var(--d-ink); }
.kut-comment__badge { font-size: .68rem; padding: .15rem .55rem; border-radius: 999px; background: #e0f2fe; color: #0369a1; font-weight: 600; }
.kut-comment__date { color: #8a95a6; font-size: .78rem; }
.kut-comment__body { white-space: pre-line; margin: .4rem 0 .6rem; color: #3c5267; line-height: 1.55; font-size: .92rem; }

.kut-comment__actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.kut-comment__like,
.kut-comment__reply-toggle,
.kut-comment__toggle-replies {
    border: 0; background: none; padding: 0; cursor: pointer;
    color: var(--d-muted); font-size: .85rem;
    display: inline-flex; align-items: center; transition: color .15s ease;
}
.kut-comment__like:hover:not(.is-liked) { color: #e2574c; }
.kut-comment__like.is-liked { color: #e2574c; cursor: default; }
.kut-comment__like.is-liked i { animation: kutHeartPop .35s cubic-bezier(.34,1.56,.64,1); }
.kut-comment__reply-toggle:hover,
.kut-comment__toggle-replies:hover { color: var(--d-accent); }
.kut-comment__toggle-replies i { transition: transform .15s ease; }
.kut-comment__toggle-replies.is-open i { transform: rotate(180deg); }

.kut-comment__replies {
    margin-left: 1.4rem; margin-top: .6rem; padding-left: 1rem;
    border-left: 2px solid var(--d-line);
    animation: kutFadeIn .2s ease;
}
.kut-comment__reply-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed var(--d-line); }
.kut-comment__msg { border-radius: 8px; padding: .55rem .8rem; font-size: .85rem; margin-bottom: .75rem; }
.kut-comment__msg.is-success { background: #e6f6ed; color: #2f9e67; }
.kut-comment__msg.is-error { background: #fdecea; color: #e2574c; }
.kut-comment__as { background: #e0f2fe; color: #0369a1; border-radius: 8px; padding: .5rem .8rem; font-size: .85rem; margin-bottom: 1rem; }
.kut-comment__as.is-sm { margin-bottom: .6rem; padding: .4rem .7rem; font-size: .8rem; }

.kut-comment-more {
    display: block; width: 100%; text-align: center; margin: .5rem 0 1.5rem; padding: .65rem;
    border: 1px dashed var(--d-line); border-radius: 12px;
    background: var(--d-bg); color: var(--d-accent);
    font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s ease;
}
.kut-comment-more:hover { border-color: var(--d-accent); }
.kut-comment-more:disabled { opacity: .6; cursor: default; }

.kut-comment-form { border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 1.25rem; background: var(--d-bg); }
.kut-comment-form__title { font-size: 1.05rem; margin-bottom: .3rem; color: var(--d-ink); }
.kut-comment-form__note { font-size: .82rem; color: var(--d-muted); margin-bottom: 1rem; }

/* Kenar çubuğu — son yorumlar */
.kut-comments-mini { list-style: none; padding: 0; margin: 0; }
.kut-comments-mini li { padding: .55rem 0; border-bottom: 1px solid var(--d-line); font-size: .84rem; }
.kut-comments-mini li:last-child { border-bottom: 0; padding-bottom: 0; }
.kut-comments-mini__who { display: block; font-weight: 650; color: var(--d-ink); font-size: .82rem; }
.kut-comments-mini__who.is-team { color: var(--d-accent); }
.kut-comments-mini a { display: block; color: var(--d-muted); line-height: 1.45; }
.kut-comments-mini a:hover { color: var(--d-accent); }
.kut-comments-mini__where { display: block; margin-top: .15rem; font-size: .74rem; color: #9aa7b4; }

@media (max-width: 575.98px) {
    .kut-comment { padding: .8rem .9rem; }
    .kut-comment__replies { margin-left: .8rem; padding-left: .7rem; }
    .kut-comment__actions { gap: .8rem; }
    .kut-engage { flex-direction: column; align-items: stretch; }
    .kut-like { justify-content: center; }
    .kut-share { justify-content: center; }
}
