/* =====================================================
   DIJINIKA - Ana stil dosyası (refactor v3)
   ===================================================== */

:root {
    --tema: #e31e24;
    --tema-aydinlik: #c91a1f;
    --tema-koyu: #a01519;

    --bg: #ffffff;
    --bg-2: #f7f8fa;
    --bg-3: #eef0f4;
    --bg-yan: #f9fafb;
    --metin: #1a1a1a;
    --metin-soluk: #555;
    --metin-cok-soluk: #888;
    --kenarlik: #e5e7eb;
    --kenarlik-koyu: #d1d5db;
    --link: var(--tema);
    --link-hover: var(--tema-aydinlik);
    --vurgu: #1d4ed8;
    --basari: #16a34a;
    --hata: #dc2626;
    --golge-sm: 0 1px 2px rgba(0,0,0,.05);
    --golge-md: 0 4px 12px rgba(0,0,0,.08);
    --golge-lg: 0 12px 32px rgba(0,0,0,.12);

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --yan-en: 300px;
    --ust-y: 84px;
    --icerik-en: 1400px;
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
}

body.tema-dark {
    --bg: #0a0a0a;
    --bg-2: #1a1a1a;
    --bg-3: #2a2a2a;
    --bg-yan: #0f0f0f;
    --metin: #e8eaed;
    --metin-soluk: #b0b4be;
    --metin-cok-soluk: #6b7280;
    --kenarlik: #333333;
    --kenarlik-koyu: #444444;
    --link: #ff6b6f;
    --link-hover: #ff8a8f;
    --golge-sm: 0 1px 2px rgba(0,0,0,.4);
    --golge-md: 0 4px 12px rgba(0,0,0,.5);
    --golge-lg: 0 12px 32px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--metin);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--link-hover); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--metin); line-height: 1.25; font-weight: 700; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--tema); color: #fff; }

/* =====================================================
   SİTE YERLEŞİMİ — Sol sidebar + Sağ içerik
   ===================================================== */
.site-yerlesim {
    display: flex;
    min-height: 100vh;
}

/* SOL SIDEBAR */
.site-yan {
    width: var(--yan-en);
    flex-shrink: 0;
    background: var(--bg-yan);
    border-right: 1px solid var(--kenarlik);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
}
.site-yan::-webkit-scrollbar { width: 6px; }
.site-yan::-webkit-scrollbar-thumb { background: var(--kenarlik-koyu); border-radius: 3px; }

/* Sidebar gruplar */
.yan-grup { margin-bottom: 28px; }
.yan-grup-baslik {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--metin-cok-soluk);
    margin-bottom: 12px;
    padding: 0 14px;
}
.yan-grup-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yan-grup-liste li { margin-bottom: 2px; }
.yan-grup-liste a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--metin-soluk);
    font-size: 14.5px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all .12s ease;
    text-decoration: none;
    line-height: 1.4;
}
.yan-grup-liste a:hover {
    background: var(--bg-3);
    color: var(--metin);
    text-decoration: none;
}
.yan-grup-liste a.aktif {
    background: var(--tema);
    color: #fff;
    font-weight: 600;
}
body.tema-dark .yan-grup-liste a.aktif { background: var(--link); color: var(--bg); }

/* Kategori ikonları */
.yan-kat-ikon {
    display: inline-grid;
    place-items: center;
    width: 24px; height: 24px;
    color: var(--metin-cok-soluk);
    flex-shrink: 0;
    transition: color .12s ease;
}
.yan-kat-ikon svg {
    width: 20px; height: 20px;
}
.yan-grup-liste a:hover .yan-kat-ikon { color: var(--tema); }
body.tema-dark .yan-grup-liste a:hover .yan-kat-ikon { color: var(--link); }
.yan-grup-liste a.aktif .yan-kat-ikon { color: #fff; }
body.tema-dark .yan-grup-liste a.aktif .yan-kat-ikon { color: var(--bg); }
.yan-kat-isim { flex: 1; min-width: 0; }

/* Telif */
.yan-telif {
    font-size: 11px;
    line-height: 1.55;
    color: var(--metin-cok-soluk);
    padding: 14px 6px 4px;
    margin-top: auto;
    border-top: 1px solid var(--kenarlik);
}

/* Mobil kapat butonu */
.yan-mobil-kapat {
    display: none;
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-3);
    color: var(--metin);
    font-size: 22px;
    line-height: 1;
}

/* =====================================================
   SAĞ ANA İÇERİK
   ===================================================== */
.site-ana {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* =====================================================
   ÜST BAR — Logo + Trendler + Arama + Sosyal + Tema
   ===================================================== */
.ust-cubuk {
    height: var(--ust-y);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    color: #000;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 30;
}

/* Logo (header sol) */
.site-logo {
    flex-shrink: 0;
    line-height: 0;
    margin: 0;
    font-size: 0;
    padding: 0 10px 0 10px;
    order: -1;
}
@media (max-width: 768px) {
    .site-logo {
        padding-left: 4px;
    }
}
@media (max-width: 480px) {
    .site-logo {
        padding-left: 2px;
    }
}
.site-logo a.logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.site-logo img:not(.logo-badge) {
    height: auto;
    width: 194px;
    flex-shrink: 0;
}
.site-logo img.logo-badge {
    height: 40px !important;
    flex-shrink: 0;
    margin-left: 0;
}
.site-logo-koyu { display: none; }
body.tema-dark .site-logo-acik { display: none; }
body.tema-dark .site-logo-koyu { display: block; }

/* Hızlı nav (Trendler + Twitter) */
.ust-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.ust-nav-trend,
.ust-nav-twitter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--metin-soluk);
    text-decoration: none;
    transition: all .15s ease;
}
.ust-nav-trend:hover,
.ust-nav-twitter:hover {
    background: var(--bg-2);
    color: var(--metin);
    text-decoration: none;
}
.ust-nav-trend.aktif {
    background: linear-gradient(135deg, #e31e24, #dc2626);
    color: #fff;
}

/* Sağ taraf araç grubu */
.ust-cubuk-arac {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-right: 10px;
}

/* Arama formu */
.ust-cubuk .arama-form {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 7px 14px;
    transition: all .15s ease;
    width: 280px;
}
.ust-cubuk .arama-form:focus-within {
    border-color: #e31e24;
    background: #fff;
}
.ust-cubuk .arama-ikon {
    color: var(--metin-cok-soluk);
    margin-right: 8px;
    flex-shrink: 0;
}
.ust-cubuk .arama-form input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    min-width: 0;
    color: var(--metin);
}

/* Header sosyal medya ikonları */
.ust-sosyal {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0 8px;
    border-left: 1px solid var(--kenarlik);
    border-right: 1px solid var(--kenarlik);
}
.ust-sosyal a {
    display: inline-grid;
    place-items: center;
    width: 32px; height: 32px;
    color: var(--metin-cok-soluk);
    border-radius: 50%;
    transition: all .15s ease;
}
.ust-sosyal a:hover {
    background: var(--bg-2);
    color: var(--tema);
}
body.tema-dark .ust-sosyal a:hover { color: var(--link); }

/* Tema toggle */
/* .tema-toggle kaldırıldı */

/* Hamburger (sadece mobilde) */
.mobil-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    color: var(--metin);
}
.mobil-menu-btn:hover { background: var(--bg-2); }

/* Ana içerik alanı — daha geniş */
.ana-icerik {
    flex: 1;
    padding: 36px 44px 80px;
    max-width: var(--icerik-en);
    width: 100%;
    margin: 0 auto;
}

/* Okuma çubuğu */
#okuma-cubugu {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--tema);
    z-index: 200;
    transition: width .1s linear;
}
body.tema-dark #okuma-cubugu { background: var(--link); }

/* =====================================================
   BÖLÜM BAŞLIĞI
   ===================================================== */
.bolum-baslik {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--kenarlik);
    flex-wrap: wrap;
}
.bolum-baslik-ikon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--tema);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
body.tema-dark .bolum-baslik-ikon { background: var(--link); color: var(--bg); }
.bolum-baslik-ikon.trend-renk { background: linear-gradient(135deg, #e31e24, #dc2626); color: #fff; }
.bolum-baslik h1,
.bolum-baslik h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    flex: 1;
    min-width: 0;
}
.bolum-altbaslik {
    flex-basis: 100%;
    color: var(--metin-soluk);
    font-size: 15px;
    margin-top: 4px;
}

/* =====================================================
   YAZI KARTI - text solda, gorsel sagda (buyuk)
   KONTRAST FIX v2 — WCAG AA gecen renkler
   ===================================================== */
.yazi-listesi {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.yazi-kart {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: stretch;
    padding: 26px;
    background: var(--bg);
    border: 1px solid var(--kenarlik);
    border-radius: var(--radius-lg);
    transition: all .18s ease;
    position: relative;
    overflow: hidden;
}
.yazi-kart:hover {
    border-color: var(--kenarlik-koyu);
    box-shadow: var(--golge-md);
    transform: translateY(-1px);
}
.yazi-kart.kart-sabit {
    border-color: var(--tema);
    box-shadow: 0 0 0 1px var(--tema), var(--golge-md);
}
body.tema-dark .yazi-kart.kart-sabit {
    border-color: var(--link);
    box-shadow: 0 0 0 1px var(--link), var(--golge-md);
}
.yazi-kart.kart-sponsor { border-color: #f59e0b; }

.yazi-kart-icerik {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 4px 0;
}

.yazi-kart-rozetler {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.yazi-kart-kategori {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--tema);
    padding: 4px 10px;
    background: rgba(10, 25, 49, 0.06);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all .15s ease;
}
.yazi-kart-kategori:hover { background: var(--tema); color: #fff; text-decoration: none; }
body.tema-dark .yazi-kart-kategori {
    background: rgba(138, 180, 255, 0.12);
    color: var(--link);
}
body.tema-dark .yazi-kart-kategori:hover { background: var(--link); color: var(--bg); }

.yazi-kart-baslik {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.yazi-kart-baslik a {
    color: var(--metin);
    text-decoration: none;
}
.yazi-kart-baslik a:hover {
    color: var(--tema);
    text-decoration: none;
}
body.tema-dark .yazi-kart-baslik a:hover { color: var(--link); }

.yazi-kart-ozet {
    color: var(--metin-soluk);
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================================================
   META — tarih + okuma suresi + yazar (KONTRAST FIX)
   Light: #475569 (WCAG AAA 8.4:1)
   Dark:  #cbd5e1 (WCAG AAA 11.2:1)
   =========================================================== */
.yazi-kart-meta {
    margin-top: auto;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.yazi-kart-meta time,
.yazi-kart-meta span,
.yazi-kart-meta .yazar {
    color: #475569;
    font-weight: 500;
}
.yazi-kart-meta a,
.yazi-kart-meta .yazar a {
    color: #334155;
    font-weight: 600;
    text-decoration: none;
}
.yazi-kart-meta a:hover,
.yazi-kart-meta .yazar a:hover {
    color: var(--tema);
}
.yazi-kart-meta .ayrac {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
}

body.tema-dark .yazi-kart-meta,
body.tema-dark .yazi-kart-meta time,
body.tema-dark .yazi-kart-meta span,
body.tema-dark .yazi-kart-meta .yazar {
    color: #cbd5e1;
}
body.tema-dark .yazi-kart-meta a,
body.tema-dark .yazi-kart-meta .yazar a {
    color: #e2e8f0;
}
body.tema-dark .yazi-kart-meta a:hover,
body.tema-dark .yazi-kart-meta .yazar a:hover {
    color: var(--link);
}
body.tema-dark .yazi-kart-meta .ayrac {
    color: #64748b;
}

.yazi-kart-gorsel {
    display: block;
    background: var(--bg-3);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}
.yazi-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.yazi-kart:hover .yazi-kart-gorsel img { transform: scale(1.03); }

/* =====================================================
   BOŞ DURUM / ARAMA FORMU BÜYÜK
   ===================================================== */
.bos-durum {
    padding: 60px 20px;
    text-align: center;
    color: var(--metin-soluk);
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}
.bos-durum p { margin-bottom: 8px; }

.arama-form-buyuk {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-2);
    border: 2px solid var(--kenarlik);
    padding: 6px 6px 6px 18px;
    border-radius: 999px;
    max-width: 520px;
    margin-bottom: 32px;
}
.arama-form-buyuk.arama-orta {
    margin-left: auto;
    margin-right: auto;
}
.arama-form-buyuk:focus-within { border-color: var(--tema); }
body.tema-dark .arama-form-buyuk:focus-within { border-color: var(--link); }
.arama-form-buyuk input {
    border: 0; background: transparent; outline: none;
    padding: 10px 8px;
    flex: 1;
    font-size: 16px;
    min-width: 0;
    color: var(--metin);
}
.arama-form-buyuk button {
    background: var(--tema);
    color: #fff;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
}
body.tema-dark .arama-form-buyuk button { background: var(--link); color: var(--bg); }

/* =====================================================
   HATA SAYFALARI
   ===================================================== */
.hata-sayfa { text-align: center; padding: 80px 20px; }
.hata-sayfa h1 {
    font-size: 96px;
    color: var(--tema);
    line-height: 1;
    margin-bottom: 16px;
}
body.tema-dark .hata-sayfa h1 { color: var(--link); }
.hata-sayfa h2 { font-size: 24px; margin-bottom: 12px; }
.hata-sayfa p {
    color: var(--metin-soluk);
    margin-bottom: 24px;
    max-width: 480px;
    margin: 0 auto 24px;
}
.buton-birincil {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--tema);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.buton-birincil:hover { background: var(--tema-aydinlik); text-decoration: none; }

/* =====================================================
   ROZETLER
   ===================================================== */
.yazi-rozet {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.yazi-rozet.rozet-sabit { background: rgba(10, 25, 49, 0.08); color: var(--tema); }
body.tema-dark .yazi-rozet.rozet-sabit { background: rgba(138, 180, 255, 0.15); color: var(--link); }
.yazi-rozet.rozet-trend {
    background: linear-gradient(135deg, #e31e24, #dc2626);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.yazi-rozet.rozet-trend svg { flex-shrink: 0; }
.yazi-rozet.rozet-sponsor {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}
body.tema-dark .yazi-rozet.rozet-sponsor { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }

/* =====================================================
   MOBİL & TABLET
   ===================================================== */
.mobil-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
}
.mobil-overlay.acik { display: block; }

@media (max-width: 1100px) {
    .site-yan {
        position: fixed;
        top: 0; left: -340px;
        bottom: 0; height: 100vh;
        width: 320px;
        z-index: 100;
        transition: left .25s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
    }
    .site-yan.acik { left: 0; }
    .mobil-menu-btn { display: grid; }
    .yan-mobil-kapat { display: grid; place-items: center; }

    .ust-cubuk { padding: 0 20px; gap: 14px; }
    .ust-cubuk .arama-form { width: 200px; }
    .ust-sosyal { display: none; }
    .ust-nav { display: none; }

    .ana-icerik { padding: 28px 24px 60px; }

    .yazi-kart {
        grid-template-columns: 1fr 280px;
        gap: 20px;
        padding: 20px;
    }
    .yazi-kart-baslik { font-size: 21px; }
    .yazi-kart-ozet { -webkit-line-clamp: 4; }
}

@media (max-width: 768px) {
    .ust-cubuk {
        padding: 0 12px 0 0;
        height: 64px;
        gap: 8px;
    }
    .site-logo {
        padding-left: 0;
    }
    .ust-cubuk .arama-form {
        flex: 1;
        max-width: 150px;
        padding: 6px 12px;
    }
    .ust-cubuk .arama-form input { font-size: 14px; }
    .site-logo img { height: 70px; }
    .ust-sosyal { display: none; }
    .ust-nav { display: none; }

    .ana-icerik { padding: 20px 14px 50px; }

    .bolum-baslik { gap: 10px; margin-bottom: 22px; padding-bottom: 14px; }
    .bolum-baslik-ikon { width: 42px; height: 42px; border-radius: 10px; }
    .bolum-baslik h1, .bolum-baslik h2 { font-size: 24px; }
    .bolum-altbaslik { margin-left: 0; }

    .yazi-kart {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }
    .yazi-kart-gorsel {
        order: -1;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .yazi-kart-icerik { padding: 18px 20px 20px; }
    .yazi-kart-baslik { font-size: 19px; }
    .yazi-kart-ozet { -webkit-line-clamp: 3; }
}

@media (max-width: 480px) {
    :root { --ust-y: 60px; }
    .ust-cubuk { padding: 0 10px 0 0; gap: 6px; height: 60px; }
    .site-logo {
        padding-left: 0;
    }
    .ust-cubuk .arama-form { flex: 1; max-width: none; padding: 5px 10px; }
    .ust-cubuk .arama-ikon { display: none; }
    .site-logo img { height: 70px; }
    .site-logo img.logo-badge {
        height: 30px !important;
        width: 20px !important;
        max-width: 20px !important;
    }
    .site-logo a.logo-link {
        gap: 2px;
    }
    .tema-toggle { width: 34px; height: 34px; }
    .mobil-menu-btn { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
:focus-visible {
    outline: 2px solid var(--tema);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
body.tema-dark :focus-visible { outline-color: var(--link); }




/* ARAMA-FORCE-START */
@media (max-width: 768px) {
    .ust-cubuk .arama-form {
        max-width: 150px !important;
        width: 150px !important;
        flex: 0 1 150px !important;
        margin-left: auto !important;
    }
}
@media (max-width: 480px) {
    .ust-cubuk .arama-form {
        max-width: 150px !important;
        width: 150px !important;
        flex: 0 1 150px !important;
        margin-left: auto !important;
        padding: 5px 10px !important;
    }
}
/* ARAMA-FORCE-END */








/* YAZAR-A2-FORCE-START */
/* Yazar sayfası — Tasarım A revize 2 */
.yazar-sayfa, .yazar-profil, .yazar-b, .yazar-c { display: none !important; }
.yazar-a { max-width: 980px !important; margin: 0 auto !important; }
.yazar-a-cover {
    position: relative !important;
    height: 200px !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: var(--bg-3) !important;
}
.yazar-a-cover-grad {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(120deg, #000000 0%, #7c3aed 50%, #0e7490 100%) !important;
}
.yazar-a-cover-grad::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.18), transparent 55%) !important;
}
.yazar-a-alt {
    position: relative !important;
    margin-top: -60px !important;
    padding: 0 32px 40px !important;
}
.yazar-a-ust {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}
.yazar-a-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 5px solid var(--bg) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.12) !important;
    background: var(--bg-3) !important;
    flex-shrink: 0 !important;
}
body.tema-dark .yazar-a-avatar { border-color: var(--bg-2) !important; box-shadow: 0 6px 24px rgba(0,0,0,.5) !important; }
.yazar-a-avatar img, .yazar-a-avatar svg {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block !important; border-radius: 50% !important;
}
.yazar-a-eylem {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    padding-bottom: 6px !important;
}
.yazar-a-takip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    background: var(--tema) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background .15s, transform .15s !important;
}
.yazar-a-takip:hover { background: var(--tema-aydinlik) !important; transform: translateY(-1px) !important; }
body.tema-dark .yazar-a-takip { background: var(--link) !important; color: var(--bg) !important; }
.yazar-a-sosyal { display: flex !important; gap: 6px !important; align-items: center !important; }
.yazar-a-sosyal a {
    width: 34px !important; height: 34px !important;
    background: var(--bg-3) !important;
    color: var(--metin-soluk) !important;
    border-radius: 50% !important;
    display: grid !important; place-items: center !important;
    text-decoration: none !important;
    transition: background .15s, color .15s !important;
}
.yazar-a-sosyal a:hover { background: var(--tema) !important; color: #fff !important; }
.yazar-a-sosyal a svg { width: 14px !important; height: 14px !important; }
body.tema-dark .yazar-a-sosyal a:hover { background: var(--link) !important; color: var(--bg) !important; }
.yazar-a-isimbil {
    margin: 0 0 16px !important;
    padding: 0 !important;
}
.yazar-a-isim {
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 4px !important;
    color: var(--metin) !important;
}
.yazar-a-rol {
    color: var(--metin-cok-soluk) !important;
    font-size: 14px !important;
    margin: 0 !important;
}
.yazar-a-bio {
    color: var(--metin-soluk) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 0 24px !important;
    max-width: 720px !important;
}
.yazar-a-stat {
    display: flex !important;
    justify-content: center !important;
    gap: 48px !important;
    padding: 20px 24px !important;
    border-top: 1px solid var(--kenarlik) !important;
    border-bottom: 1px solid var(--kenarlik) !important;
    margin-bottom: 32px !important;
    text-align: center !important;
}
.yazar-a-stat .stat { min-width: 90px !important; }
.yazar-a-stat .stat-deger {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--metin) !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.1 !important;
}
.yazar-a-stat .stat-etiket {
    font-size: 11px !important;
    color: var(--metin-cok-soluk) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-top: 4px !important;
}
.yazar-a-yazilar-bas {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 22px !important;
}
.yazar-a-yazilar-bas h2 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    flex-shrink: 0 !important;
}
.yazar-a-yazilar-bas .cizgi { flex: 1 !important; height: 1px !important; background: var(--kenarlik) !important; }
@media (max-width: 768px) {
    .yazar-a-cover { height: 130px !important; border-radius: 0 !important; margin: 0 -14px !important; }
    .yazar-a-alt { padding: 0 14px 28px !important; margin-top: -40px !important; }
    .yazar-a-ust {
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }
    .yazar-a-avatar { width: 90px !important; height: 90px !important; border-width: 4px !important; }
    .yazar-a-eylem { padding: 0 !important; justify-content: center !important; }
    .yazar-a-isimbil { text-align: center !important; }
    .yazar-a-isim { font-size: 22px !important; }
    .yazar-a-bio { text-align: center !important; font-size: 14px !important; margin-left: auto !important; margin-right: auto !important; }
    .yazar-a-stat { gap: 18px !important; padding: 16px 12px !important; }
    .yazar-a-stat .stat { min-width: 0 !important; flex: 1 !important; }
    .yazar-a-stat .stat-deger { font-size: 18px !important; }
    .yazar-a-yazilar-bas h2 { font-size: 17px !important; }
}
/* Takip Et dialog — kesin ortalı (inset:0 + margin:auto) */
.takip-dialog {
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--radius-lg) !important;
    background: var(--bg) !important;
    color: var(--metin) !important;
    max-width: 440px !important;
    width: calc(100% - 32px) !important;
    box-shadow: 0 25px 70px rgba(0,0,0,.3) !important;
    /* native dialog centering */
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    inset: 0 !important;
    margin: auto !important;
    height: fit-content !important;
    transform: none !important;
}
.takip-dialog:not([open]) { display: none !important; }
.takip-dialog::backdrop { background: rgba(0,0,0,.55) !important; backdrop-filter: blur(4px) !important; }
.takip-form {
    padding: 32px 30px 26px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}
.takip-bas { text-align: center !important; margin-bottom: 6px !important; }
.takip-bas svg { color: var(--tema) !important; margin: 0 auto 10px !important; display: block !important; }
body.tema-dark .takip-bas svg { color: var(--link) !important; }
.takip-bas h3 { margin: 0 0 6px !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.01em !important; }
.takip-aciklama { color: var(--metin-soluk) !important; font-size: 14px !important; line-height: 1.5 !important; margin: 0 !important; }
.takip-form input[type=email] {
    padding: 12px 16px !important;
    border: 1px solid var(--kenarlik) !important;
    border-radius: var(--radius) !important;
    background: var(--bg) !important;
    color: var(--metin) !important;
    font-size: 15px !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.takip-form input[type=email]:focus { outline: none !important; border-color: var(--tema) !important; }
body.tema-dark .takip-form input[type=email]:focus { border-color: var(--link) !important; }
.takip-onay {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: var(--metin-soluk) !important;
    cursor: pointer !important;
    line-height: 1.45 !important;
}
.takip-onay input { width: 16px !important; height: 16px !important; margin-top: 2px !important; accent-color: var(--tema) !important; flex-shrink: 0 !important; }
body.tema-dark .takip-onay input { accent-color: var(--link) !important; }
.takip-gonder {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px !important;
    background: var(--tema) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    margin-top: 6px !important;
    transition: background .15s !important;
}
.takip-gonder:hover { background: var(--tema-aydinlik) !important; }
body.tema-dark .takip-gonder { background: var(--link) !important; color: var(--bg) !important; }
.takip-kapat {
    position: absolute !important;
    top: 14px !important; right: 14px !important;
    width: 30px !important; height: 30px !important;
    border-radius: 50% !important;
    background: var(--bg-3) !important;
    border: 0 !important;
    color: var(--metin) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 1 !important;
}
.takip-mesaj { padding: 10px 14px !important; border-radius: var(--radius-sm) !important; font-size: 13px !important; }
.takip-mesaj.basari { background: #dcfce7 !important; color: #14532d !important; border-left: 3px solid #16a34a !important; }
.takip-mesaj.hata { background: #fee2e2 !important; color: #991b1b !important; border-left: 3px solid #dc2626 !important; }
/* YAZAR-A2-FORCE-END */

/* =====================================================
   DIJINIKA - GLOBAL OVERRIDE
   En son yüklenen CSS — tüm kuralları override eder
   Kontrast (WCAG AAA) + CLS düzeltmeleri
   ===================================================== */

/* ============================================================
   1) YAN MENÜ — Sidebar (KATEGORİLER, KURUMSAL, Telif)
   ============================================================ */
.yan-grup-baslik {
    color: #000000 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}
body.tema-dark .yan-grup-baslik {
    color: #f1f5f9 !important;
}

.yan-telif {
    color: #334155 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 20px;
}
@media (max-width: 768px) {
    .yan-telif {
        font-size: 12px;
        padding: 16px;
    }
}
body.tema-dark .yan-telif {
    color: #e2e8f0 !important;
}

/* Yan menü liste linkleri */
.yan-grup-liste a,
.yan-kategoriler a {
    color: #334155;
    font-weight: 500;
}
body.tema-dark .yan-grup-liste a,
body.tema-dark .yan-kategoriler a {
    color: #e2e8f0;
}
.yan-grup-liste a:hover,
.yan-kategoriler a:hover {
    color: #b91c1c;
}
body.tema-dark .yan-grup-liste a:hover,
body.tema-dark .yan-kategoriler a:hover {
    color: #e31e24;
}

/* ============================================================
   2) YAZI KART META (anasayfa) — tarih + okuma + yazar
   ============================================================ */
.yazi-kart-meta,
.yazi-kart-meta time,
.yazi-kart-meta span,
.yazi-kart-meta .yazar,
.yazi-kart-meta .yazar-isim {
    color: #475569 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}
.yazi-kart-meta a,
.yazi-kart-meta .yazar a {
    color: #334155 !important;
    font-weight: 600 !important;
}
.yazi-kart-meta a:hover,
.yazi-kart-meta .yazar a:hover {
    color: #b91c1c !important;
}
.yazi-kart-meta .ayrac {
    color: #94a3b8 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

body.tema-dark .yazi-kart-meta,
body.tema-dark .yazi-kart-meta time,
body.tema-dark .yazi-kart-meta span,
body.tema-dark .yazi-kart-meta .yazar,
body.tema-dark .yazi-kart-meta .yazar-isim {
    color: #cbd5e1 !important;
}
body.tema-dark .yazi-kart-meta a,
body.tema-dark .yazi-kart-meta .yazar a {
    color: #e2e8f0 !important;
}
body.tema-dark .yazi-kart-meta a:hover,
body.tema-dark .yazi-kart-meta .yazar a:hover {
    color: #e31e24 !important;
}
body.tema-dark .yazi-kart-meta .ayrac {
    color: #64748b !important;
}

/* ============================================================
   3) FORM-NOT (yorum formu) - (yayımlanmaz), (en az 3 karakter)
   ============================================================ */
.form-not {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
}
body.tema-dark .form-not {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
}

/* ============================================================
   4) YAZI TEKİL META — meta-okuma, meta-goruntulenme vb.
   ============================================================ */
.yazi-meta,
.yazi-meta time,
.yazi-meta .meta-okuma,
.yazi-meta .meta-goruntulenme {
    color: #475569 !important;
    font-weight: 500 !important;
}
body.tema-dark .yazi-meta,
body.tema-dark .yazi-meta time,
body.tema-dark .yazi-meta .meta-okuma,
body.tema-dark .yazi-meta .meta-goruntulenme {
    color: #cbd5e1 !important;
}

/* ============================================================
   5) CLS FIX — Kapak görseli (yazi-ust-sag / yazi-kapak)
   ============================================================ */
.yazi-ust-sag,
.yazi-kapak,
figure.yazi-kapak,
figure.yazi-ust-sag {
    aspect-ratio: 3 / 2 !important;
    width: 100% !important;
    height: auto !important;
    background: #e2e8f0;
    overflow: hidden !important;
    border-radius: 12px;
    contain: layout;
}
.yazi-ust-sag picture,
.yazi-ust-sag img,
.yazi-kapak picture,
.yazi-kapak img,
figure.yazi-kapak picture,
figure.yazi-kapak img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
@media (max-width: 900px) {
    .yazi-ust-sag,
    .yazi-kapak,
    figure.yazi-kapak,
    figure.yazi-ust-sag {
        aspect-ratio: 16 / 9 !important;
    }
}

/* ============================================================
   6) İçindekiler liste ::before — CLS sebebi
   ============================================================ */
.icindekiler-liste li.ic-h2 > a::before,
.icindekiler-liste li.ic-h3 > a::before {
    display: inline-block !important;
    min-width: 24px;
}

/* ============================================================
   7) YAZI KART resmi de CLS olmasın
   ============================================================ */
.yazi-kart-gorsel {
    aspect-ratio: 16 / 10 !important;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #e2e8f0;
}
.yazi-kart-gorsel img,
.yazi-kart-gorsel picture {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Bolum basligindaki ikonu saga al */
.bolum-baslik {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bolum-baslik .bolum-baslik-ikon {
    order: 2;
}

/* Bolum baslik: h2 tum alani kaplamasin, ikon yaninda kalsin */
.bolum-baslik {
    justify-content: flex-start !important;
}
.bolum-baslik h1,
.bolum-baslik h2 {
    flex: 0 0 auto !important;
}

/* ===== MOBIL DOKUNMATIK FIX ===== */
/* Mobilde :hover state'i ilk tikla iptal eden sorunu cozer */
@media (hover: none) {
    .yazi-kart:hover {
        transform: none !important;
        box-shadow: none !important;
        background-color: inherit !important;
    }
    .yazi-kart:hover .yazi-kart-gorsel img {
        transform: none !important;
    }
}

/* ===== MOBIL TIKLAMA FIX v2 - daha agresif ===== */
@media (hover: none) and (pointer: coarse) {
    /* touch-action manipulation: cift-tap zoom kaldir, tap direkt click olsun */
    a, .yazi-kart, .yazi-kart-gorsel, .yazi-kart a, .ilgili-kart {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    /* Hover state'ini TAM iptal et mobilde */
    .yazi-kart:hover,
    .yazi-kart:hover *,
    .yazi-kart-gorsel:hover,
    .ilgili-kart:hover,
    .ilgili-kart:hover * {
        transform: none !important;
        scale: none !important;
    }
}

/* ===== MOBIL TIKLAMA FIX v3 ===== */
.yazi-kart-gorsel,
.yazi-kart-baslik a,
.yazi-kart-baslik a > * {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}
.yazi-kart-gorsel picture,
.yazi-kart-gorsel img,
.yazi-kart-baslik a > * {
    pointer-events: none !important;
}

/* ===== PWA Update Banner ===== */
#sw-update-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100vw - 24px);
    font-size: 14px;
    line-height: 1.4;
    animation: sw-banner-in .35s cubic-bezier(0.16, 1, 0.3, 1);
}
#sw-update-banner span {
    flex: 1;
    white-space: nowrap;
}
#sw-update-banner #sw-update-btn {
    background: #ff6900;
    color: #fff;
    border: 0;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background .15s;
}
#sw-update-banner #sw-update-btn:hover { background: #ff8500; }
#sw-update-banner #sw-update-close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: .7;
}
#sw-update-banner #sw-update-close:hover { opacity: 1; }
@keyframes sw-banner-in {
    from { transform: translate(-50%, 80px); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
}
@media (max-width: 600px) {
    #sw-update-banner {
        bottom: 12px;
        font-size: 13px;
        padding: 10px 14px;
        gap: 8px;
    }
    #sw-update-banner span { white-space: normal; }
    #sw-update-banner #sw-update-btn { padding: 6px 12px; font-size: 12px; }
}

/* ===== PWA Update Banner ===== */
#sw-update-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100vw - 24px);
    font-size: 14px;
    line-height: 1.4;
    animation: sw-banner-in .35s cubic-bezier(0.16, 1, 0.3, 1);
}
#sw-update-banner span {
    flex: 1;
    white-space: nowrap;
}
#sw-update-banner #sw-update-btn {
    background: #ff6900;
    color: #fff;
    border: 0;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background .15s;
}
#sw-update-banner #sw-update-btn:hover { background: #ff8500; }
#sw-update-banner #sw-update-close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: .7;
}
#sw-update-banner #sw-update-close:hover { opacity: 1; }
@keyframes sw-banner-in {
    from { transform: translate(-50%, 80px); opacity: 0; }
    to   { transform: translate(-50%, 0); opacity: 1; }
}
@media (max-width: 600px) {
    #sw-update-banner {
        bottom: 12px;
        font-size: 13px;
        padding: 10px 14px;
        gap: 8px;
    }
    #sw-update-banner span { white-space: normal; }
    #sw-update-banner #sw-update-btn { padding: 6px 12px; font-size: 12px; }
}

/* === Mobil Hızlı Menü Icons (header) === */
.ust-nav { display: flex !important; align-items: center; gap: 4px; }
.ust-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: inherit; transition: background .15s; white-space: nowrap; }
.ust-nav a:hover { background: rgba(255,255,255,.08); }
.ust-nav a.aktif { background: rgba(255,255,255,.15); }
.ust-nav svg { flex-shrink: 0; }
/* Mobil: sadece SVG (yazıları gizle) */
\@media (max-width: 900px) {
    .ust-nav { gap: 2px; }
    .ust-nav span { display: none; }
    .ust-nav a { padding: 8px; }
}

/* === HEADER HIZLI MENÜ FIX v3 (yatay hizalama + mobil) === */
.ust-cubuk-arac {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}
.ust-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    width: auto !important;
    margin-left: auto !important;
    list-style: none !important;
    padding: 0 !important;
}
.ust-nav a {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: inherit !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    font-size: 13px !important;
    height: auto !important;
    flex-direction: row !important;
}
.ust-nav a:hover { background: rgba(255,255,255,.08) !important; }
.ust-nav a.aktif { background: rgba(255,255,255,.15) !important; }
.ust-nav svg {
    flex-shrink: 0 !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
}
.ust-nav span {
    display: inline-block !important;
    line-height: 1 !important;
}
/* Mobilde sadece ikonlar (yazıları gizle) */
@media (max-width: 900px) {
    .ust-nav {
        display: flex !important;
        visibility: visible !important;
        gap: 2px !important;
    }
    .ust-nav a {
        padding: 8px !important;
        flex-direction: row !important;
    }
    .ust-nav span {
        display: none !important;
    }
}
@media (max-width: 600px) {
    .ust-cubuk-arac { gap: 4px !important; }
    .ust-nav a { padding: 6px !important; }
}

/* Arama formu genişlik ayarı */
.ust-cubuk .arama-form { width: 120px !important; }

/* Site logo boyutu */
.site-logo img { height: 70px !important; }

/* SEO-only — botlar ve screen reader okur, görsel olarak gizli (sr-only) */
.seo-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ─── v15 düzeltmeleri ─── */

/* Header arama formu — webde 400px, mobilde 120px */
.ust-cubuk .arama-form { width: 400px !important; }
@media (max-width: 768px) {
    .ust-cubuk .arama-form { width: 120px !important; }
}

/* Mobil yazi-meta: okuma süresi gizle, görüntülenme göster */
@media (max-width: 768px) {
    .yazi-meta .meta-okuma { display: none !important; }
    .yazi-meta .meta-ayrac:has(+ .meta-okuma) { display: none !important; }
    .yazi-meta .meta-goruntulenme.meta-mobil-gizle,
    .yazi-meta .meta-ayrac.meta-mobil-gizle { display: inline !important; }
}/* v15: Mobilde takip butonu bio altında ortalı */
.takip-mobil-pozisyon {
    display: block !important;
    margin: 14px auto 0 !important;
}
.yazar-a-takip.takip-mobil-pozisyon{display:block!important;margin:16px auto 0!important;width:fit-content;}

@media (max-width: 768px) {
 .yazar-a-alt { display: flex; flex-direction: column; }
 .yazar-a-ust { order: 1; }
 .yazar-a-isimbil { order: 2; }
 .yazar-a-bio { order: 3; }
 .yazar-a-takip.takip-mobil-pozisyon { order: 4; }
 .yazar-a-stat { order: 6; }
 .yazar-a-ust .yazar-a-sosyal { order: 5; margin: 8px auto 0 !important; }
 .yazar-a-eylem { display: contents !important; }
}

.yazar-a-takip.takip-mobil-pozisyon{display:inline-flex!important;align-self:center!important;margin:-10px auto 10px!important;width:auto!important;}

.yazi-kart-rozetler{display:none!important;}

.icindekiler{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;}

/* PWA güncelleme banner: sadece yüklü PWA modunda göster, webde gizle */
#sw-update-banner{display:none!important;}
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui){
  #sw-update-banner{display:block!important;}
}

.yazi-kart-rozetler{display:flex!important;gap:6px;flex-wrap:wrap;align-items:center;}
.yazi-kart-rozetler .yazi-kart-kategori{display:none!important;}
/* Kategori rozet renkleri — yazı sayfasında her kategori kendi rengini alır */
.yazi-kategori-rozet[href*="/global"] {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0ea5e9 !important;
}
.yazi-kategori-rozet[href*="/oyun"] {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
}
.yazi-kategori-rozet[href*="/bilim"] {
    background: rgba(20, 184, 166, 0.12) !important;
    color: #14b8a6 !important;
}
.yazi-kategori-rozet[href*="/kultur"] {
    background: rgba(168, 85, 247, 0.12) !important;
    color: #a855f7 !important;
}
.yazi-kategori-rozet[href*="/yasam"] {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #22c55e !important;
}
.yazi-kategori-rozet[href*="/eglence"] {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
}
.yazi-kategori-rozet[href*="/teknoloji"] {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #6366f1 !important;
}
.yazi-kategori-rozet[href*="/yapay-zeka"] {
    background: rgba(236, 72, 153, 0.12) !important;
    color: #ec4899 !important;
}
.yazi-kategori-rozet[href*="/incelemeler"] {
    background: rgba(249, 115, 22, 0.12) !important;
    color: #e31e24 !important;
}

/* Dark theme — biraz daha parlak */
body.tema-dark .yazi-kategori-rozet[href*="/global"]      { background: rgba(14, 165, 233, 0.22) !important; color: #38bdf8 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/oyun"]        { background: rgba(239, 68, 68, 0.22) !important; color: #f87171 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/bilim"]       { background: rgba(20, 184, 166, 0.22) !important; color: #2dd4bf !important; }
body.tema-dark .yazi-kategori-rozet[href*="/kultur"]      { background: rgba(168, 85, 247, 0.22) !important; color: #c084fc !important; }
body.tema-dark .yazi-kategori-rozet[href*="/yasam"]       { background: rgba(34, 197, 94, 0.22) !important; color: #4ade80 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/eglence"]     { background: rgba(245, 158, 11, 0.22) !important; color: #dc2626 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/teknoloji"]   { background: rgba(99, 102, 241, 0.22) !important; color: #818cf8 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/yapay-zeka"]  { background: rgba(236, 72, 153, 0.22) !important; color: #f472b6 !important; }
body.tema-dark .yazi-kategori-rozet[href*="/incelemeler"] { background: rgba(249, 115, 22, 0.22) !important; color: #e31e24 !important; }
/* v16: Mobile tek-tıkla aç (logo + nav + sosyal + yazar linkler) */
@media (hover: none) and (pointer: coarse) {
  .site-logo a, .ust-nav a, .ust-cubuk a, .ust-sosyal a, .yazi-kart-baslik a, .yazi-kart a, .yazi-kategori-rozet, .yazi-kart-kategori, .breadcrumb a, .yazar-isim, .bolum-baslik a, .yan-kat a, .admin-yan a, a.site-logo {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }
}

/* ═══════════════════════════════════════════
   TABLE FIX v2 — light theme th + mobile width
   ═══════════════════════════════════════════ */

/* THEAD: her temada lacivert bg + beyaz text */
.yazi-govde table thead {
    background: #000000 !important;
}
.yazi-govde table thead th {
    background: #000000 !important;
    color: #fff !important;
    border: 0 !important;
}

/* Light theme'de ekstra garantili */
body:not(.tema-dark) .yazi-govde table thead th {
    color: #ffffff !important;
}

/* MOBILE: tam genişlik, ekstra boşluk yok */
@media (max-width: 768px) {
    .yazi-govde table {
        display: table !important;
        width: 100% !important;
        table-layout: auto !important;
        overflow-x: visible !important;
        font-size: 12.5px !important;
    }
    .yazi-govde table th,
    .yazi-govde table td {
        padding: 8px 10px !important;
        word-break: break-word;
        white-space: normal;
    }
    /* colspan ile yapılmış garip yapıyı düzelt */
    .yazi-govde table td[colspan] {
        text-align: center;
    }
}

/* Çok dar ekran — yatay scroll fallback */
@media (max-width: 380px) {
    .yazi-govde table {
        display: block !important;
        overflow-x: auto !important;
        width: 100% !important;
    }
}

/* ═══════════════════════════════════════════
   SÖZLÜK ACCORDION FIX
   ═══════════════════════════════════════════ */
.sozluk-terim {
    isolation: isolate;
    position: relative;
}
.sozluk-terim > summary {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.sozluk-terim[open] {
    z-index: 2;
    grid-column: auto;
}

/* ═══════════════════════════════════════════
   SÖZLÜK ACCORDION FIX V2 — açık tam genişlik
   ═══════════════════════════════════════════ */
.sozluk-terim-grid {
    align-items: start !important;
    grid-auto-flow: dense;
}

/* Açık olan tam satır kaplasın */
.sozluk-terim[open] {
    grid-column: 1 / -1 !important;
}

/* Mobile zaten tek sütun */
@media (max-width: 768px) {
    .sozluk-terim[open] {
        grid-column: 1 !important;
    }
}

/* ═══════════════════════════════════════════
   KONTRAST FIX — İlgili Terimler başlığı
   ═══════════════════════════════════════════ */
.ilgili-terim-ad {
    color: #000000 !important;  /* navy: 17:1 kontrast ✓ */
}
.ilgili-terim-kart:hover .ilgili-terim-ad {
    color: #b91c1c !important;  /* hover'da koyu turuncu: 5.2:1 ✓ */
}

/* Dark theme — açık renk yap */
body.tema-dark .ilgili-terim-ad {
    color: #f1f5f9 !important;
}
body.tema-dark .ilgili-terim-kart:hover .ilgili-terim-ad {
    color: #e31e24 !important;
}

/* "Tüm sözlüğe dön" linki de aynı sorun olabilir */
.sozluk-tum-link a {
    color: #b91c1c !important;  /* 5.2:1 ✓ */
}
body.tema-dark .sozluk-tum-link a {
    color: #e31e24 !important;
}

/* GPU acceleration — reflow azaltır */
.yukari-cik-btn,
.g-source-sheet,
.yazi-kapak picture,
.yazi-kapak img {
    will-change: transform;
    transform: translateZ(0);
}

/* Layout containment — child değişiklikleri parent'ı etkilemesin */
.yazi-tekil .yazi-govde,
.ilgili-grid,
.sozluk-terim-grid {
    contain: layout style;
}

/* ═══════════════════════════════════════════
   CLS FIX — Görsel aspect-ratio doğrusu
   ═══════════════════════════════════════════ */
/* Gerçek görsel boyutu: 1200x630 → 40:21 oranı */
.yazi-ust-sag,
.yazi-kapak {
    aspect-ratio: 40 / 21 !important;
}
@media (max-width: 900px) {
    .yazi-ust-sag,
    .yazi-kapak {
        aspect-ratio: 40 / 21 !important;  /* mobilde de aynı */
    }
}

/* Logo SVG — explicit boyut (CLS önler) */
.site-logo-acik,
.site-logo-koyu {
    width: 194px !important;
    height: 41px !important;
}

/* Mobilde logo daha küçük */
@media (max-width: 600px) {
    .site-logo-acik,
    .site-logo-koyu {
        width: 110px !important;
        height: 28px !important;
    }
}

/* ═══════════════════════════════════════════
   LOGO BÜYÜTME — +5px (aspect korunarak)
   ═══════════════════════════════════════════ */
.site-logo-acik,
.site-logo-koyu {
    width: 200px !important;
    height: 41px !important;
    aspect-ratio: 140 / 36 !important;
}

@media (max-width: 600px) {
    .site-logo-acik,
    .site-logo-koyu {
        width: 170px !important;
        height: 33px !important;
        aspect-ratio: 140 / 36 !important;
    }
}

/* ═══════════════════════════════════════════
   YOUTUBE FACADE — gerçek YouTube görünümü
   ═══════════════════════════════════════════ */
.yt-facade {
    aspect-ratio: 16 / 9 !important;
    background: #000;
    border-radius: 12px;
}
.yt-facade img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Play button — YouTube tarzı */
.yt-facade .yt-play-btn .yt-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}
.yt-facade:hover .yt-play-btn .yt-bg {
    fill: #ff0000 !important;
    fill-opacity: 1 !important;
}
.yt-facade:hover .yt-play-btn {
    transform: translate(-50%, -50%) scale(1.1) !important;
    filter: none !important;
}

/* Mevcut yazıların facade'lerini de güncelle (HD thumbnail) */
.yt-facade img[src*="hqdefault"] {
    /* eski hqdefault'lar zaten daha küçük, sharp render */
    image-rendering: -webkit-optimize-contrast;
}

/* ═══════════════════════════════════════════
   YOUTUBE FACADE — final touches
   ═══════════════════════════════════════════ */
.yt-facade {
    background: #000 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
}
.yt-facade img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Hover'da kırmızı (.yt-bg class'ı SVG'de var artık) */
.yt-facade .yt-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}
.yt-facade:hover .yt-bg {
    fill: #ff0000 !important;
    fill-opacity: 1 !important;
}

/* ═══════════════════════════════════════════
   YOUTUBE FACADE — CLEAN RESET (gerçek YT görünümü)
   ═══════════════════════════════════════════ */
.yt-facade {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #000 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    margin: 16px 0 !important;
}

.yt-facade img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    image-rendering: auto !important;
    filter: none !important;
    transform: none !important;
    display: block !important;
    border: 0 !important;
}

/* Play button — ortalanmış, gerçek YouTube tarzı */
.yt-facade .yt-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 68px !important;
    height: 48px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3)) !important;
    transition: transform 0.2s ease !important;
}

.yt-facade:hover .yt-play-btn {
    transform: translate(-50%, -50%) scale(1.1) !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)) !important;
}

/* SVG bg — YouTube'un kullandığı renk */
.yt-facade .yt-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease !important;
}

/* Hover'da kırmızı (gerçek YouTube renk) */
.yt-facade:hover .yt-bg {
    fill: #ff0000 !important;
    fill-opacity: 1 !important;
}

/* Mobile */
@media (max-width: 600px) {
    .yt-facade .yt-play-btn {
        width: 54px !important;
        height: 38px !important;
    }
}

/* ═══════════════════════════════════════════
   YOUTUBE IFRAME FIX — tıklayınca video görünsün
   ═══════════════════════════════════════════ */
.yt-facade iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    z-index: 2 !important;
}

/* Loaded class - thumbnail ve button gizle */
.yt-facade.loaded > img,
.yt-facade.loaded > .yt-play-btn {
    display: none !important;
    visibility: hidden !important;
}

/* ═══════════════════════════════════════════
   YOUTUBE IFRAME — direkt embed (normal YT)
   ═══════════════════════════════════════════ */
.yt-iframe-kutu {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 16px 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.yt-iframe-kutu iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === MOBIL ALT MENU BLOK v2 === */
@media (max-width: 1100px) {
    .ust-nav,
    .ust-sosyal {
        display: none !important;
    }
    .ust-cubuk .arama-form {
        display: flex !important;
        flex: 1;
        max-width: 180px;
    }
    .ust-cubuk .arama-form input {
        font-size: 16px !important;
    }
}

.mobil-alt-menu { display: none; }
@media (max-width: 1100px) {
    .mobil-alt-menu {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9000;
        background: #000000;
        border-top: 1px solid rgba(255,255,255,.08);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 16px rgba(0,0,0,.18);
    }
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
.mobil-alt-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 2px;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 13px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;
}
.mobil-alt-link:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.mobil-alt-link.aktif { color: #e31e24; }
.mobil-alt-ikon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.mobil-alt-ikon svg { width: 18px; height: 18px; }

/* Arama: alttan açılan panel (bottom sheet) */
.mobil-arama-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9400;
    background: rgba(0,0,0,.45);
}
.mobil-arama-backdrop.acik { display: block; }

.mobil-arama-overlay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9500;
    background: #000000;
    border-radius: 18px 18px 0 0;
    padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px rgba(0,0,0,.3);
    transform: translateY(100%);
    transition: transform .3s ease;
}
.mobil-arama-overlay.acik { transform: translateY(0); }
.mobil-arama-tutamak {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,.25);
    border-radius: 2px;
    margin: 0 auto 14px;
}
.mobil-arama-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobil-arama-baslik { color: #fff; font-size: 15px; font-weight: 600; margin: 0; }
.mobil-arama-kapat { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .8; }
.mobil-arama-kapat:hover { opacity: 1; }
.mobil-arama-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
}
.mobil-arama-form input {
    flex: 1;
    background: none;
    border: 0;
    outline: none;
    color: #fff;
    font-size: 15px;
}
.mobil-arama-form input::placeholder { color: rgba(255,255,255,.4); }
.mobil-arama-form svg { flex-shrink: 0; opacity: .7; color: #fff; }

/* Alt menüyle çakışan sabit elemanları yukarı al */
@media (max-width: 1100px) {
    #sw-update-banner {
        bottom: calc(60px + env(safe-area-inset-bottom) + 12px) !important;
    }
    #yukari-cik {
        bottom: 100px !important;
    }
    .g-source-sheet {
        bottom: calc(60px + env(safe-area-inset-bottom) + 6px) !important;

            
    }
}

.g-source-sheet {

    position: absolute!important;
    left: -9999px!important;
}

/* === SOSYAL MEDYA RENKLER v1 === */
.ust-sosyal a[href*="x.com"] svg,
.ust-sosyal a[href*="twitter.com"] svg,
.yan-sosyal a[href*="x.com"] svg,
.yan-sosyal a[href*="twitter.com"] svg {
    color: #1d9bf0;
}
.ust-sosyal a[href*="facebook.com"] svg,
.yan-sosyal a[href*="facebook.com"] svg {
    color: #1877f2;
}
.ust-sosyal a[href*="instagram.com"] svg,
.yan-sosyal a[href*="instagram.com"] svg {
    color: #e1306c;
}
.ust-sosyal a[href*="t.me"] svg,
.ust-sosyal a[href*="telegram"] svg,
.yan-sosyal a[href*="t.me"] svg,
.yan-sosyal a[href*="telegram"] svg {
    color: #229ed9;
}
.ust-sosyal a[href*="reddit.com"] svg,
.yan-sosyal a[href*="reddit.com"] svg {
    color: #ff4500;
}

/* Yan menü sosyal ikon satırı (henüz HTML eklenmedi — CSS hazır bekliyor) */
.yan-sosyal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 0 4px;
}
.yan-sosyal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    transition: background .15s, transform .15s;
}
.yan-sosyal a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.yan-sosyal svg { width: 18px; height: 18px; }
body:not(.tema-dark) .yan-sosyal a { background: rgba(0,0,0,.05); }
body:not(.tema-dark) .yan-sosyal a:hover { background: rgba(0,0,0,.09); }

/* === YAN SOSYAL + TRENDLER DUZELTME v1 === */
/* Sidebar sosyal ikonlar: sadece mobilde görünsün, sola hizalı, alttaki çizgiden uzak dursun */
.yan-sosyal {
    display: none;
}
@media (max-width: 1100px) {
    .yan-sosyal {
        display: flex;
        justify-content: center;
        padding: 2px 0 22px;
    }
}

/* Header Trendler linki: ikon sağda, yazı solda */
.ust-nav-trend {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

/* === DUZELTME v2 (trend ikon + kategori filtre) === */
.ust-nav-trend {
    display: flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
}

/* Mobil yan menüde sadece şu kategoriler görünsün: Sözlük, Genel, Oyun, Bilim, Kültür, Yaşam, Yapay Zeka */
@media (max-width: 1100px) {
    .yan-kategoriler li:has(a[href="/global"]),
    .yan-kategoriler li:has(a[href="/eglence"]),
    .yan-kategoriler li:has(a[href="/teknoloji"]),
    .yan-kategoriler li:has(a[href="/incelemeler"]) {
        display: none !important;
    }
}

/* === DUZELTME v3 (trend ikon spesifite fix) === */
.ust-nav a.ust-nav-trend {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
}





/* === MOBIL HEADER SABIT: scroll gizleme iptali v1 === */
@media (max-width: 1100px) {
    .ust-cubuk.ust-cubuk.ust-cubuk.ust-cubuk {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: 0 !important;
        position: sticky !important;
    }
}




/* === iOS UYGULAMA MODAL === */
.ios-app-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ios-app-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    animation: scaleIn 0.3s ease-out;
}

.ios-app-modal-content {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 32px 24px;
    width: calc(100vw - 32px);
    max-width: 320px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.ios-app-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.ios-app-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.ios-app-modal-icon {
    margin-bottom: 20px;
}

.ios-app-modal-icon img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ios-app-modal-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.ios-app-modal-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.ios-app-modal-subtitle strong {
    color: #60a5fa;
    font-weight: 600;
}

.ios-app-modal-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.ios-app-modal-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* === iOS APP STORE ICON — Mobil Menü Üstünde Sabit === */
.ios-app-icon-fixed {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 9001;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
    padding: 0;
    line-height: 0;
    opacity: 0.9;
}

.ios-app-icon-fixed:hover {
    transform: scale(1.05);
    opacity: 1;
}

.ios-app-icon-fixed:active {
    transform: scale(0.95);
}

.ios-app-icon-fixed img {
    width: 110px;
    height: 40px;
    display: block;
}

@media (min-width: 1100px) {
    .ios-app-icon-fixed {
        display: none;
    }
}

@media (max-width: 380px) {
    .ios-app-icon-fixed img {
        width: 100px;
        height: 33px;
    }
}

/* === SCROLL-TO-TOP BUTTON — her sayfada, mobilde sağ altta === */
#yukari-cik {
    position: fixed !important;
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    right: 20px !important;
    z-index: 9001 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #b91c1c !important;
    color: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(234,88,12,.35) !important;
    transition: transform .15s ease !important;
}
#yukari-cik:hover { background: #b91c1c !important; transform: translateY(-2px) !important; }

@media (min-width: 1100px) {
    #yukari-cik { display: none !important; }
}
@media (max-width: 380px) {
    #yukari-cik { width: 40px !important; height: 40px !important; right: 16px !important; }
}

/* Sidebar açıkken rozet ve scroll-to-top gizle */
body:has(.site-yan.acik) .ios-app-icon-fixed,
body:has(.site-yan.acik) #yukari-cik {
    display: none !important;
} 