:root {
    --brand-color: #0284c7;
    --brand-dark: #0369a1;
    --brand-light: #e0f2fe;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    --shadow-lg: 0 12px 30px -4px rgba(2, 132, 199, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Özel Turkuaz Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 6px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-dark);
}

html {
    scrollbar-color: var(--brand-color) #f1f5f9;
    scrollbar-width: thin;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--brand-color);
    transition: all 0.25s ease;
}

.container {
    max-width: 1198px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Alt konteynırlarla aynı genişlik, alt köşeler yuvarlatılmış */
.header {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.07);
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.brand-area:hover {
    transform: scale(1.02);
}

.brand-area:hover .tt-logo-img {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-area:hover .logo {
    color: #38bdf8;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
    transition: color 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}

.brand-text {
    display: flex;
    align-items: center;
}

.tt-logo-img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* CSS tabanlı tt dairesi: küçük harf, italic, kalın */
.tt-logo-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -1px;
    user-select: none;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    color: var(--brand-color);
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: lowercase;
    transition: color 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}

.tagline {
    display: none;
}

/* Search Box & Kalın Ok İkonu */
.search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 5px 4px 18px;
    background-color: var(--white);
    width: 270px;
    transition: all 0.25s ease;
}

.search-box:focus-within {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.search-box input {
    border: none;
    outline: none;
    padding: 6px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    color: var(--text-main);
    width: 100%;
    background: transparent;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background-color: var(--brand-color);
    color: #ffffff !important;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.search-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.search-btn:hover {
    background-color: var(--brand-dark);
    transform: scale(1.08);
}

/* Header - Saf Beyaz Premium Tasarım */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header > .container.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 24px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 24px;
}

/* Navigasyon - Header içinde sağ sütun */
.nav-bar {
    display: contents;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    flex-shrink: 1;
    justify-content: flex-end;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-pill {
    display: inline-flex;
    line-height: 1.5;
    align-items: center;
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 12px;
    height: 42px;
    box-sizing: border-box;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .nav-pill:hover {
        color: var(--brand-color);
        background-color: var(--brand-light);
    }
}

.nav-pill.active {
    color: var(--brand-color);
    background-color: var(--brand-light);
    box-shadow: none;
}

.header-search-bar {
    width: 100%;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}
.header-search-inner {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 10px 0;
}
.header-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 7px 5px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 25px;
}
.header-search-form svg { flex-shrink: 0; color: #0284c7; }
.header-search-input {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    flex: 1;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 13px;
}
.header-search-submit,
.header-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content !important;
    min-width: 0;
    margin: 0 !important;
    padding: 6px 13px;
    border: 0;
    border-radius: 25px !important;
    background: #0284c7;
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.header-search-close { padding: 6px 11px; background: #0f172a; font-size: 18px; line-height: 1; }
.header-search-submit:hover { background: #0369a1; }
.header-search-close:hover { background: #334155; }
body.dark .header-search-bar { border-color: #334155; background: #1e293b; }
body.dark .header-search-form { border-color: #334155; background: #0f172a; }
body.dark .header-search-input { color: #e2e8f0; }
body.dark .header-search-close { background: #334155; }

@media (max-width: 768px) {
    .header-search-inner { padding: 10px 12px; }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border-radius: 20px;
    margin-top: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.slogan {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: var(--brand-color);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.hero-desc {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 680px;
    margin: 0 auto;
}

/* İçerik Grid & 16:9 Oranlı Görsel Çerçevesi */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 40px 0 80px;
}

.post-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* 16:9 Oranında ve Resmin Tamamı İçinde Görünecek Şekilde Ayarlandı */
.post-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--brand-color);
    background-color: var(--brand-light);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.post-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: bold;
}

.post-title a {
    color: var(--text-main);
}

.post-title a:hover {
    color: var(--brand-color);
}

.post-excerpt {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 22px;
    flex: 1;
    line-height: 1.6;
}

.post-meta {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.read-more {
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* Custom Bullet Lists - Turkuaz Play Üçgeni (►) Madde İmleri */
ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 18px 0;
}

ul:not(.nav-list):not(.dropdown-menu):not(.hashtag-box):not(.action-buttons):not(.category-filter-bar):not(.sidebar-cat-list):not(.reactions-list):not(.game-tags):not(.tools-list):not(.materials-list):not(.feature-list):not(.tags):not(.tag-cloud):not(.social-links):not(.related-posts-grid):not(.word-list):not(.words) li {
    position: relative;
    padding-left: 26px !important;
    margin-bottom: 12px;
    line-height: 1.6;
}

ul:not(.nav-list):not(.dropdown-menu):not(.hashtag-box):not(.action-buttons):not(.category-filter-bar):not(.sidebar-cat-list):not(.reactions-list):not(.game-tags):not(.tools-list):not(.materials-list):not(.feature-list):not(.tags):not(.tag-cloud):not(.social-links):not(.related-posts-grid):not(.word-list):not(.words) li::before {
    content: '►';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--brand-color);
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================================================
   10. KATEGORİ & KONU BAŞLIKLARI PANELİ (CATEGORIES PANEL)
   ========================================================================== */
.categories-panel {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 25px auto 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.categories-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin: 0;
}

.categories-count {
    font-size: 12px;
    font-weight: 700;
    background-color: var(--brand-light);
    color: var(--brand-color);
    padding: 4px 12px;
    border-radius: 15px;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.22s ease;
}

/* ==========================================================================
   10. 2 SÜTUNLU YAN MENÜLÜ DÜZEN & ÖNE ÇIKAN SLAYT (SIDEBAR & CAROUSEL)
   ========================================================================== */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin-top: 30px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Slayt (Featured Slider) */
.featured-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    background-color: #0f172a;
}

.slide {
    display: none;
    position: relative;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

.slide.active-slide {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 85px 30px 85px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
    color: #ffffff;
    box-sizing: border-box;
}

.slide-category {
    display: inline-block;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.slide-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #ffffff;
    max-width: 100%;
}

.slide-title a {
    color: #ffffff;
    text-decoration: none;
}

.slide-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slayt Okları (Boydan Boya Yarı Saydam Gezinme Alanları) */
.slider-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    transform: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    color: #ffffff;
    border: none;
    width: 60px;
    height: 100%;
    border-radius: 0;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.6;
}

.slider-arrow.prev {
    left: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

.slider-arrow.next {
    right: 0;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

.slider-arrow:hover {
    opacity: 1;
    background: linear-gradient(to right, rgba(2, 132, 199, 0.6) 0%, transparent 100%);
    transform: none;
}

.slider-arrow.next:hover {
    background: linear-gradient(to left, rgba(2, 132, 199, 0.6) 0%, transparent 100%);
}

.slider-dots {
    position: absolute;
    top: 15px;
    right: 70px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0284c7;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
    line-height: 1;
    user-select: none;
}

.dot:hover {
    background: #0369a1;
    color: #ffffff;
    transform: scale(1.1);
}

.dot.active-dot {
    background: #0369a1;
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.4);
}

/* Evrensel Yazı Konteynır Düzeni (Merkezi ve Sabit Standart) */
main.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Detay Gönderi Kartı (Tüm Sayfalarda Birebir Aynı Genişlik ve İç Boşluk) */
.post-detail,
.post-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    border: 1px solid #e2e8f0;
}

/* Evrensel Ana Sayfaya Dön Butonları (Üst & Alt Standart) */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0284c7;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 25px; /* Üstteki butonun altındaki boşluk artırıldı */
    transition: all 0.2s ease;
}

.back-btn:hover {
    color: #0369a1;
    transform: translateX(-4px);
}

.bottom-back-wrapper {
    text-align: center;
    margin-top: 45px;
    margin-bottom: 25px; /* Butonun en altındaki nefes alma boşluğu */
    padding-top: 30px;
    border-top: 1px dashed #e2e8f0;
}

.bottom-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px; /* Yuvarlak şık kavis */
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
    transition: all 0.25s ease;
}

.bottom-back-btn:hover {
    background: #057a90;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}

/* Sonraki bölüm butonu */
.bottom-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px; /* Yuvarlak şık kavis */
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
    transition: all 0.25s ease;
    margin-left: 16px;
}

.bottom-next-btn:hover {
    background: #057a90;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}

/* Sidebar Kaydırma Butonları (yukarı/aşağı ok) */
.sidebar-scroll-btn {
    display: none;
    width: 100%;
    height: 32px;
    border: 1.5px solid #0284c7;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin: 3px 0;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.sidebar-scroll-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 4;
}

.sidebar-scroll-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.sidebar-scroll-btn.disabled {
    opacity: 0.3;
    cursor: default;
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #cbd5e1;
}

.sidebar-scroll-btn.disabled:hover {
    background: #f1f5f9;
    color: #94a3b8;
}

/* "Daha fazlası var" karartma şeritleri (kaydırma göstergesi) */
.sidebar-cat-fade {
    position: relative;
    height: 22px;
    margin: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.sidebar-cat-fade-top {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    margin-bottom: -10px;
}

.sidebar-cat-fade-bottom {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    margin-top: -10px;
}

.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-cat-item:hover, .sidebar-cat-item.active-sidebar-cat {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding-left: 14px;
}

.sidebar-cat-item .play-icon {
    color: var(--brand-color);
    font-size: 11px;
    flex-shrink: 0;
}

/* Responsive Öğrenci Çalışmaları Galeri Izgarası */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0 40px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    border-color: #0284c7;
    transform: translateY(-5px);
    box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.2);
}

.gallery-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background-color: #f8fafc;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-title {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: bold;
    color: #1e293b;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    transition: color 0.25s ease;
}

.gallery-card:hover .gallery-title {
    color: #0284c7;
}

/* Standart Etiket (Hashtag) Kutusu ve Badge Tasarımı */
.hashtag-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 25px 0;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag-badge:hover {
    background-color: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. TEPKİ & BEĞENİ EMOJİLERİ (REACTION BAR)
   ========================================================================== */
.reactions-box {
    margin: 35px 0 25px 0;
    padding: 22px 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
}

.reactions-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.reactions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.reaction-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.18);
}

.reaction-btn.active {
    background-color: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
}

.reaction-btn .emoji {
    font-size: 20px;
    line-height: 1;
}

.reaction-count {
    font-size: 13.5px;
    font-weight: 700;
    background-color: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    color: #475569;
}

.reaction-btn.active .reaction-count {
    background-color: #0284c7;
    color: #ffffff;
}

/* ==========================================================================
   9. YORUM BÖLÜMÜ (COMMENTS SECTION & WIDGET)
   ========================================================================== */
.tt-comments-widget {
    max-width: 860px;
    width: 100%;
    margin: 40px auto 25px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.comments-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px dashed #e2e8f0;
}

.comments-header-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn:hover {
    background-color: #057a90;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

/* Yorum Listesi */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comment-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 2px;
}

.comment-date {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.comment-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

/* Footer Band - Kurumsal & Telif/Lisans Bildirimi */
.footer {
    background: #ffffff !important;
    color: #475569 !important;
    text-align: center;
    padding: 35px 20px !important;
    margin-top: 40px !important;
    border-top: 3px solid #0284c7 !important;
    font-size: 13.5px;
    line-height: 1.7;
    width: 100% !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-copyright-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--font-heading, Arial, 'Helvetica Neue', Helvetica, sans-serif);
}

.footer-copyright-text {
    max-width: 900px;
    margin: 0 auto;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.footer-copyright-text a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: underline;
}

/* ===================================================
   MOBİL UYUMLULUK — Kapsamlı Responsive Düzenlemeler
   =================================================== */

@media (max-width: 900px) {

    /* Header: logo + arama yan yana sığmıyor, alt alta */
    .header-main {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .search-box {
        width: 100%;
        max-width: 100%;
    }

    /* Nav: Kesintisiz ve rahat yatay kaydırma */
    .nav-bar {
        padding: 4px 0;
    }
    
    .nav-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
        gap: 6px !important;
        padding: 4px 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-pill {
        font-size: 13.5px !important;
        padding: 8px 12px 10px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        scroll-snap-align: start;
        border-bottom-width: 3px;
    }

    /* Ana Sayfa: 2 sütun → 1 sütun */
    .main-layout {
        grid-template-columns: 1fr !important;
    }

    /* Post sayfaları: inline style grid'i ezmek için !important */
    main.container[style*="grid-template-columns"] {
        display: block !important;
    }

    /* Post detail kartı tam genişlik */
    .post-detail {
        padding: 20px 16px;
    }

    /* Slider başlık küçült ve buton örtüşmesini engelle */
    .slide-title {
        font-size: 16px !important;
        max-width: 100% !important;
    }

    .slide-overlay {
        padding: 16px 50px 16px 50px !important;
    }

    .slider-arrow {
        top: 30% !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    .slider-arrow.prev { left: 8px !important; }
    .slider-arrow.next { right: 8px !important; }

    /* Gönderiler başlık + reset butonu */
    #grid-header-title {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {

    /* Logo küçük ekranda */
    .tt-logo-img {
        width: 36px !important;
        height: 36px !important;
    }

    .logo {
        font-size: 16px !important;
    }

    .tagline {
        font-size: 10px !important;
    }

    /* Container padding azalt */
    .container {
        padding: 0 12px;
    }

    /* Slayt yüksekliği küçük ekranda */
    .slide {
        aspect-ratio: 4 / 3;
    }

    /* Footer */
    .footer {
        padding: 18px 0;
        font-size: 13px;
    }
}

/* ===================================================
   MASTER TEMPLATE PREMIUM STİL İYİLEŞTİRMELERİ (sablonum.html)
   Tüm sayfaların sablonum.html ile birebir aynı görünmesi için ortak stil
   =================================================== */

:root {
    --font-heading: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --primary-gradient: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.15);
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, .logo, .post-detail-title, .comments-header-title {
    font-family: var(--font-heading);
}

/* Hero / Header Rozetleri */
.post-badge-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-primary {
    background: var(--brand-light);
    color: var(--brand-color);
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-read-time {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    margin-left: auto;
}

.badge-verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.post-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.post-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #64748b;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.meta-item strong {
    color: #334155;
}

/* Hızlı Eylem & Paylaşım Araç Çubuğu */
.quick-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 20px;
    margin: 20px 0 28px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    flex-wrap: wrap;
    gap: 10px;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--brand-light);
    border-color: var(--brand-color);
    color: var(--brand-color);
    transform: translateY(-1px);
}

/* 16:9 Sinematik Görsel Çerçevesi */
.post-cover-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.08);
    margin: 24px 0 35px 0;
    background: #e0f2fe;
    border: 1px solid rgba(2, 132, 199, 0.2);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-cover-wrapper img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.post-cover-wrapper:hover img {
    transform: scale(1.02);
}

/* Modernleştirilmiş Tablo Stili */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin: 28px 0;
}

table.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14.5px;
    background: #ffffff;
}

table.modern-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    padding: 16px 18px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table.modern-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

table.modern-table tbody tr:last-child td {
    border-bottom: none;
}

table.modern-table tbody tr:hover {
    background-color: #f8fafc;
}

.center-td {
    background: #fafafa;
    color: #0f172a;
}

/* İndirme Bağlantı Linkleri için Buton Görünümü */
.doc-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.doc-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    color: #0f172a;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    cursor: default;
}

a.doc-item-btn {
    cursor: pointer;
}

.doc-item-btn:hover {
    background: var(--brand-color);
    color: #ffffff;
    border-color: var(--brand-color);
    transform: translateX(4px);
}

/* Meta Duyuru Kutusu */
.meta-box-enhanced {
    background: #e0f2fe;
    border-left: 4px solid var(--brand-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 24px 0;
    color: #0369a1;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

/* Eski Meta Kutusu da yeni görünüme çekilir */
.meta-box {
    background: #e0f2fe;
    border-left: 4px solid var(--brand-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 24px 0;
    color: #0369a1;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

/* Section Başlık Banner */
.section-header-banner {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin: 32px 0 20px 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-color);
}

/* Toast Bildirim */
#toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

#toast-notification.show {
    opacity: 1;
}

/* İlgili İçerikler (Related Posts) 3 Küçük Kart Grid */
.related-posts-section {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px dashed #e2e8f0;
}

.related-posts-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.related-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-color);
    box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.15);
}

.related-post-img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    background: #f8fafc;
}

.related-post-body {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-cat {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 4px;
}

.related-post-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-post-card:hover .related-post-card-title {
    color: var(--brand-color);
}

/* Yazı Gövdesi (Eski sayfalardaki eski kapsayıcı uyumu) */
.post-body-content {
    line-height: 1.75;
}

.post-body-content p {
    margin-bottom: 16px;
}

/* Eski kategori etiketi artık rozet gibi görünür */
.post-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand-color);
    border: 1px solid rgba(2, 132, 199, 0.2);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}

/* Eski sayfalardaki düz img (post-detail-img) artık çerçeveli */
.post-detail-img,
.post-body-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
    display: block;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

/* SVG ikon boyutu hizalama */
.svg-icon {
    vertical-align: middle;
}

/* İndirme Bağlantısı (Metin İçi Sade Bağlantı Tasarımı) */
.download-btn {
    display: block;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin: 6px auto;
    background: transparent;
    color: #0284c7 !important;
    padding: 4px 0;
    font-weight: 700;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
    transition: all 0.2s ease;
}

.download-btn:hover {
    color: #0369a1 !important;
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

/* İndirme Butonları Alt Alta (download-area) */
.download-area a.download-btn {
    display: block !important;
    width: fit-content !important;
    margin: 8px auto !important;
}

/* Yorum Gönder Butonu (ortalanmış) */
.comment-form .submit-btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Yazı başlıkları h3/h4 düzenlemesi */
.post-body-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 30px 0 14px 0;
}

.post-body-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0369a1;
    margin: 26px 0 12px 0;
}

/* Liste düzeni */
.post-body-content ol {
    margin: 0 0 16px 22px;
}

.post-body-content ol li {
    margin-bottom: 6px;
}

/* ==========================================================================
   13. PREMIUM CİLALAMA (v2)
   ========================================================================== */

/* --- Metin Seçimi / Kopyalama Koruması (form alanları hariç) --- */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
input, textarea, .comment-text, .admin-allow-select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* --- DiceBear Sembolik Yüz Avatarı --- */
.comment-avatar {
    position: relative;
    overflow: visible;
}
.comment-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0f2fe;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(2, 6, 23, 0.12);
    display: block;
}
.comment-avatar.avatar-fallback {
    background: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
}

/* --- Bilgilendirme Satırları (yorum yok / yükleniyor) --- */
.comments-info {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px 22px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

/* --- Yorum Kartı Zarafet --- */
.comment-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(2, 6, 23, 0.10);
}

/* --- Gönder Butonu Yükleniyor Durumu --- */
.submit-btn.loading {
    opacity: 0.65;
    pointer-events: none;
    animation: pulseBtn 1.2s ease infinite;
}
@keyframes pulseBtn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.96); }
}

/* --- Tepki Butonlarına Basma Hissi --- */
.reaction-btn:active {
    transform: scale(0.92);
}
.reaction-btn.active {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
}

/* --- Klavye Erişilebilirliği (focus halkası) --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(2, 132, 199, 0.45);
    outline-offset: 2px;
}

/* --- Gerçek sayaç rozeti --- */
#view-counter {
    font-weight: 800;
    color: #0284c7;
}
#view-counter.is-real::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    margin-left: 7px;
    vertical-align: 1px;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* --- İnce Kaydırma Çubuğu --- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 8px;
    border: 2px solid #f1f5f9;
}

/* --- Hareketi Azaltma Tercihi --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Akıllı Telefonda Büyük Başlık --- */
@media (max-width: 640px) {
    .post-detail-title {
        font-size: 25px;
    }
    .quick-action-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .comment-card {
        padding: 14px;
    }
}

/* ==========================================================================
   14. AÇILIR MENÜ (NAV DROPDOWN) — Etkinlikler
   ========================================================================== */
.nav-pill.dropdown {
    position: relative;
    
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    height: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.dropdown-toggle.active {
    color: #0284c7;
    font-weight: 800;
}

.dropdown-chevron {
    transition: transform 0.25s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 14px 34px -8px rgba(2, 6, 23, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 120;
    text-align: left;
}

/* Çok seçenekli (Oyunlar gibi) menüler için 2 sütunlu ferah ve kaydırılabilir düzen */
.dropdown-menu.multi-column,
.nav-pill.dropdown:has(.dropdown-item:nth-child(7)) .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 2px 8px;
    min-width: 420px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 8px 12px;
}

.dropdown-menu::before { display: none !important; content: none !important; }

.dropdown-menu.mega-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
    width: 620px;
    min-width: 0;
    max-width: calc(100vw - 24px);
    padding: 16px;
}
.mega-column {
    min-width: 0;
    padding: 2px 4px;
}
.mega-column + .mega-column {
    border-left: 1px solid #e2e8f0;
    padding-left: 16px;
}
.mega-column-title {
    margin-bottom: 8px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-align: left;
}
.mega-column-title-spaced {
    margin-top: 14px;
    padding-top: 4px;
}
.mega-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    white-space: normal;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.mega-menu-item::before {
    content: "▶";
    flex-shrink: 0;
    color: #0284c7;
    font-size: 8px;
}
.mega-menu-item:hover {
    background: #e0f2fe;
    color: #0284c7;
    transform: translateX(3px);
}
body.dark .mega-column + .mega-column { border-color: #334155; }
body.dark .mega-column-title { color: #38bdf8; }
body.dark .mega-menu-item { color: #cbd5e1; }
body.dark .mega-menu-item::before { color: #38bdf8; }
body.dark .mega-menu-item:hover { background: rgba(2,132,199,.2); color: #38bdf8; }

/* Tıklama veya Hover ile açılan menü (JS ve CSS yönetir): aynı anda yalnızca bir menü açık kalır */
.nav-pill.dropdown.open .dropdown-menu,
.nav-pill.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-pill.dropdown.open .dropdown-toggle,
.nav-pill.dropdown:hover .dropdown-toggle {
    color: #0284c7;
    font-weight: 800;
}

.nav-pill.dropdown.open .dropdown-chevron,
.nav-pill.dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

/* Kardeş menülerin çakışmasını ve aynı anda görünmesini kesin olarak engelle */
.nav-container:hover .nav-pill.dropdown:not(:hover) .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 7px;
    padding: 5.5px 10px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item::before {
    content: "▶";
    font-size: 8px;
    color: #0284c7;
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.15s ease;
    line-height: 1;
}

.dropdown-item:hover {
    background: #e0f2fe;
    color: #0284c7;
    transform: translateX(3px);
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.dropdown-item.active {
    background: #0284c7;
    color: #ffffff;
}

.dropdown-item.active::before {
    color: #ffffff;
    opacity: 1;
}

.dropdown-item.active:hover {
    background: #0284c7;
    color: #ffffff;
}

.dropdown-item.active:hover::before {
    color: #ffffff;
}

.dropdown-item-disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.85;
}

.dropdown-item-disabled:hover {
    background: transparent;
    color: #94a3b8;
    transform: none;
}

.dropdown-item-disabled::before {
    background: #94a3b8;
}

/* Alt Menü (Submenu) - Dosyalar menüsü için */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
    cursor: default;
}

.dropdown-submenu > .dropdown-item::after {
    content: "▶";
    font-size: 10px;
    color: #0284c7;
    opacity: 0.7;
    margin-left: auto;
    transition: transform 0.18s ease;
}

.dropdown-submenu:hover > .dropdown-item {
    background: #e0f2fe;
    color: #0284c7;
}

.dropdown-submenu:hover > .dropdown-item::after {
    transform: rotate(90deg);
}

.submenu-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
    padding: 8px;
    z-index: 1001;
}

.dropdown-submenu:hover .submenu-menu,
.dropdown-submenu:focus-within .submenu-menu {
    display: block;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.submenu-item::before {
    content: "▶";
    font-size: 10px;
    color: #0284c7;
    opacity: 0.7;
}

.submenu-item:hover {
    background: #e0f2fe;
    color: #0284c7;
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .submenu-menu {
        position: static;
        left: auto;
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 14px;
    }
    .dropdown-submenu > .dropdown-item::after {
        transform: none;
    }
}

.soon-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Masaüstü: yatay kaydırma kapalı (menü kırpılmasın) */
@media (min-width: 769px) {
    .nav-container {
        overflow: visible;
    }
    .nav-pill {
        padding: 9px 15px 11px;
    }
}

/* Mobil: açılır menü başlığın altında tam genişlik liste olarak açılsın */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: 128px;
        left: 12px;
        right: 12px;
        min-width: 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    .dropdown-menu.mega-menu {
        grid-template-columns: 1fr;
        width: auto;
        min-width: 0;
        gap: 8px;
    }
    .mega-column + .mega-column {
        border-top: 1px solid #e2e8f0;
        border-left: 0;
        padding-top: 12px;
        padding-left: 4px;
    }
    body.dark .mega-column + .mega-column { border-color: #334155; }
    .nav-pill.dropdown:has(.dropdown-item:nth-child(7)) .dropdown-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        gap: 2px 6px;
    }
    .nav-pill.dropdown.open .dropdown-menu,
.nav-pill.dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

/* ===================================================
   KOYU TEMA (Dark Mode) — body.dark Kapsamlı Tasarım Sistemi
   =================================================== */
body.dark {
    --bg-light: #0f172a;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #1e293b;
    --border-color: #334155;
    --shadow-md: 0 4px 20px -2px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 30px -4px rgba(0,0,0,0.5);
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
}

body.dark ::-webkit-scrollbar-track { background: #0f172a; }
body.dark ::-webkit-scrollbar-thumb { border: 2px solid #0f172a; background: #334155; }
body.dark ::-webkit-scrollbar-thumb:hover { background: #0284c7; }

/* Header & Navigasyon */
body.dark .header {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

body.dark .nav-pill {
    color: #cbd5e1 !important;
    background: transparent;
}
@media (hover: hover) and (pointer: fine) {
    body.dark .nav-pill:hover {
        color: #38bdf8 !important;
        background-color: rgba(2, 132, 199, 0.18) !important;
    }
}
body.dark .nav-pill.active {
    color: #ffffff !important;
    background: #0284c7 !important;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3) !important;
}

/* Dropdown Menüler */
body.dark .dropdown-menu {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
    scrollbar-color: #334155 transparent;
}
body.dark .dropdown-menu::-webkit-scrollbar-thumb {
    background: #334155;
}
body.dark .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
body.dark .dropdown-item {
    color: #cbd5e1 !important;
}
body.dark .dropdown-item:hover {
    background-color: rgba(2, 132, 199, 0.2) !important;
    color: #38bdf8 !important;
}
body.dark .dropdown-item.active {
    background-color: rgba(2, 132, 199, 0.25) !important;
    color: #38bdf8 !important;
}
body.dark .submenu-menu {
    background: #1e293b;
    border-color: #334155;
}
body.dark .submenu-item {
    color: #cbd5e1;
}
body.dark .submenu-item:hover {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
}
body.dark .dropdown-submenu:hover > .dropdown-item,
body.dark .dropdown-submenu:focus-within > .dropdown-item {
    background: #0f172a !important;
    color: #38bdf8 !important;
}

/* Arama Kutuları & Butonları */
body.dark .header-search {
    background-color: #0f172a !important;
    border-color: #475569 !important;
}
body.dark .header-search input {
    background-color: transparent !important;
    color: #f1f5f9 !important;
}
body.dark .header-search input::placeholder {
    color: #64748b !important;
}
body.dark .search-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
}
body.dark .search-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
body.dark .search-btn:hover {
    background: #0369a1 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
}

/* Hero & Başlık Alanı */
body.dark .hero {
    background: #0f172a !important;
}

/* Kartlar ve Konteynerler */
body.dark .post-card,
body.dark .card,
body.dark .main-content-column .post-card,
body.dark .post-detail,
body.dark .post-detail-card,
body.dark .comments-section,
body.dark .about-container {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(0,0,0,0.4) !important;
}

body.dark .post-meta,
body.dark .post-content,
body.dark .post-detail-meta,
body.dark .post-detail p,
body.dark .post-detail li,
body.dark .post-excerpt {
    color: #cbd5e1 !important;
}

body.dark .meta-item strong,
body.dark #view-counter {
    color: #38bdf8 !important;
}

body.dark .post-title a,
body.dark .post-detail-title,
body.dark .post-detail h1,
body.dark .post-detail h2,
body.dark .post-detail h3,
body.dark .post-detail h4,
body.dark .post-detail h5,
body.dark .section-title,
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5 {
    color: #f1f5f9 !important;
}

body.dark .post-title a:hover {
    color: #38bdf8 !important;
}

/* Kategoriler Menüsü & Butonları */
body.dark .sidebar-cat-item {
    color: #cbd5e1 !important;
    background: transparent !important;
}
body.dark .sidebar-cat-item:hover,
body.dark .sidebar-cat-item.active-sidebar-cat {
    background-color: rgba(2, 132, 199, 0.22) !important;
    color: #38bdf8 !important;
}
body.dark .sidebar-cat-item .play-icon {
    color: #0284c7 !important;
}

/* Tüm Butonlar (Buttons) Özel Koyu Tema Desteği */
body.dark .action-btn {
    background: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #cbd5e1 !important;
}
body.dark .action-btn:hover {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3) !important;
}

body.dark .read-more {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}
body.dark .read-more:hover {
    color: #7dd3e8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

body.dark .download-btn,
body.dark .submit-btn,
body.dark .doc-item-btn,
body.dark .btn-primary {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}
body.dark .download-btn:hover,
body.dark .submit-btn:hover,
body.dark .doc-item-btn:hover,
body.dark .btn-primary:hover {
    background: #0369a1 !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55) !important;
}

body.dark .back-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #38bdf8 !important;
    padding: 0 !important;
}
body.dark .back-btn:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #7dd3e8 !important;
    transform: translateX(-4px) !important;
}

body.dark .bottom-back-btn {
    background: #0284c7 !important;
    border: none !important;
    color: #ffffff !important;
}
body.dark .bottom-back-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Oyunlar & İnteraktif Kontroller Butonları */
body.dark .ctrl-btn,
body.dark .mode-btn,
body.dark .size-btn,
body.dark .choice-btn,
body.dark .diff-btn,
body.dark .btn-secondary {
    background: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #cbd5e1 !important;
}
body.dark .ctrl-btn:hover,
body.dark .mode-btn:hover,
body.dark .size-btn:hover,
body.dark .choice-btn:hover,
body.dark .diff-btn:hover,
body.dark .btn-secondary:hover {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}
body.dark .mode-btn.active,
body.dark .size-btn.active,
body.dark .diff-btn.active {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4) !important;
}

/* Reaksiyon (Emoji) Butonları */
body.dark .reaction-btn {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}
body.dark .reaction-btn:hover {
    background: rgba(2, 132, 199, 0.2) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}
body.dark .reaction-btn.active {
    background: rgba(2, 132, 199, 0.3) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}
body.dark .reaction-count {
    color: #94a3b8 !important;
}
body.dark .reaction-btn.active .reaction-count {
    color: #38bdf8 !important;
}

/* Hakkımda (About) Sayfası Zaman Çizelgesi ve Çipler */
body.dark .timeline-item {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
body.dark .timeline-item b {
    color: #38bdf8 !important;
}
body.dark .timeline-item i {
    color: #cbd5e1 !important;
}

body.dark .skill-chip {
    background: rgba(2, 132, 199, 0.18) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
}
body.dark .skill-chip:hover {
    background: rgba(2, 132, 199, 0.3) !important;
    color: #ffffff !important;
}

body.dark .profile-info h2 {
    color: #f1f5f9 !important;
}
body.dark .profile-info p {
    color: #38bdf8 !important;
}

body.dark .meta-box-enhanced,
body.dark .callout,
body.dark .info-box,
body.dark .alert,
body.dark blockquote {
    background: #0f172a !important;
    border-left: 4px solid #0284c7 !important;
    color: #cbd5e1 !important;
}

body.dark hr {
    border-top: 1px dashed #334155 !important;
}

/* Yorumlar ve Form Elemanları */
body.dark .comment-item {
    background: #0f172a !important;
    border-color: #334155 !important;
}
body.dark .comment-item .comment-name {
    color: #f1f5f9 !important;
}
body.dark .comment-item .comment-text {
    color: #e2e8f0 !important;
}
body.dark .comment-item .comment-date {
    color: #94a3b8 !important;
}

body.dark input[type="text"],
body.dark input[type="email"],
body.dark input[type="search"],
body.dark textarea,
body.dark select {
    background-color: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #f1f5f9 !important;
}
body.dark input:focus,
body.dark textarea:focus,
body.dark select:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
    outline: none !important;
}

/* Doküman & İndirme Kutuları */
body.dark .doc-item {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
body.dark .doc-title {
    color: #f1f5f9 !important;
}
body.dark .doc-meta {
    color: #94a3b8 !important;
}

/* Tablolar */
body.dark table {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
body.dark th {
    background: #0f172a !important;
    color: #38bdf8 !important;
    border-color: #334155 !important;
}
body.dark td {
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
body.dark tr:hover td {
    background-color: rgba(2, 132, 199, 0.1) !important;
}

/* Rozetler ve Etiketler */
body.dark .post-badge-bar .badge-pill,
body.dark .post-detail-category,
body.dark .category {
    background: rgba(2, 132, 199, 0.2) !important;
    color: #38bdf8 !important;
}

/* Resim Çerçeveleri */
body.dark .post-cover-wrapper,
body.dark .gallery-grid img,
body.dark .post-detail-img {
    background: #0f172a !important;
    border-color: #334155 !important;
}

/* Footer (Koyu Tema) */
body.dark .footer {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border-top: 3px solid #0284c7 !important;
}
body.dark .footer-copyright-title {
    color: #f1f5f9 !important;
}
body.dark .footer-copyright-text {
    color: #94a3b8 !important;
}
body.dark .footer-copyright-text a {
    color: #38bdf8 !important;
}

body.dark .sidebar-visitor-box { border-top-color: #334155 !important; }

/* ===================================================
   TEMA DEĞİŞTİRİCİ BUTON (Theme Toggle Button) - Minimalist & Büyüteç Uyumlu
   =================================================== */
.theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-main) !important;
    cursor: pointer !important;
    position: relative !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
}

.theme-toggle:hover {
    background: var(--brand-light) !important;
    color: var(--brand-color) !important;
    transform: scale(1.08) !important;
}

.theme-toggle:active {
    transform: scale(0.92) !important;
}

.theme-toggle svg {
    transition: transform 0.3s ease, color 0.2s ease !important;
    color: currentColor !important;
    stroke: currentColor !important;
}

.theme-toggle .tt-icon-sun {
    display: block !important;
    color: currentColor !important;
    filter: none !important;
}

.theme-toggle .tt-icon-moon {
    display: none !important;
    color: currentColor !important;
    filter: none !important;
}

.theme-toggle:hover .tt-icon-sun {
    transform: rotate(45deg) scale(1.1) !important;
}

/* Koyu Temada Buton Görünümü */
body.dark .theme-toggle {
    background: transparent !important;
    border: none !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

body.dark .theme-toggle:hover {
    background: #334155 !important;
    color: #38bdf8 !important;
    box-shadow: none !important;
    transform: scale(1.08) !important;
}

body.dark .theme-toggle .tt-icon-sun {
    display: none !important;
}

body.dark .theme-toggle .tt-icon-moon {
    display: block !important;
}

body.dark .theme-toggle:hover .tt-icon-moon {
    transform: rotate(-30deg) scale(1.1) !important;
}

/* ===================================================
   KOYU TEMA — İlgili İçerikler, Tepki Kutusu, Yorum Formu & Bildirimler
   =================================================== */
/* İlgili İçerikler Kartları */
body.dark .related-posts-section {
    border-top: 1px solid #334155 !important;
}
body.dark .related-posts-title {
    color: #f1f5f9 !important;
}
body.dark .related-post-card {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
body.dark .related-post-card:hover {
    background: #1e293b !important;
    border-color: #0284c7 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}
body.dark .related-post-card-title {
    color: #f1f5f9 !important;
}
body.dark .related-post-cat {
    background: rgba(2, 132, 199, 0.2) !important;
    color: #38bdf8 !important;
}

/* Tepki / Beğeni Kutusu */
body.dark .reactions-box {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
body.dark .reactions-title {
    color: #f1f5f9 !important;
}
body.dark .reaction-btn {
    background: #1e293b !important;
    border: 1.5px solid #334155 !important;
    color: #cbd5e1 !important;
}
body.dark .reaction-btn:hover {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}
body.dark .reaction-btn.active {
    background: rgba(2, 132, 199, 0.3) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}
body.dark .reaction-count {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
}
body.dark .reaction-btn.active .reaction-count {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

/* Yorum Bölümü & Formu */
body.dark .comments-section {
    border-top: 2px dashed #334155 !important;
}
body.dark .comments-header-title {
    color: #f1f5f9 !important;
}
body.dark .comment-form {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
body.dark .form-group label {
    color: #cbd5e1 !important;
    font-weight: 700 !important;
}
body.dark .form-control {
    background-color: #1e293b !important;
    border: 1.5px solid #334155 !important;
    color: #f1f5f9 !important;
}
body.dark .form-control::placeholder {
    color: #64748b !important;
}
body.dark .form-control:focus {
    border-color: #0284c7 !important;
    background-color: #0f172a !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

/* Yorum Kartları & Bilgilendirme Kutusu */
body.dark .comment-card {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}
body.dark .comment-name,
body.dark .comment-author {
    color: #f1f5f9 !important;
}
body.dark .comment-date {
    color: #94a3b8 !important;
}
body.dark .comment-text,
body.dark .comment-body {
    color: #cbd5e1 !important;
}
body.dark .comments-info {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
    color: #94a3b8 !important;
}

/* Hashtag / Etiket Kutusu */
body.dark .hashtag-box {
    border-top: 1px solid #334155 !important;
}
body.dark .tag-badge {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #38bdf8 !important;
}
body.dark .tag-badge:hover {
    background-color: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* ===================================================
   KOYU TEMA — Profil Kartı, Paylaşım Barı, Yetkinlik Çipleri & Zaman Çizelgesi
   =================================================== */
/* Hızlı Paylaşım Barı */
body.dark .quick-action-bar {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
body.dark .quick-action-bar span {
    color: #cbd5e1 !important;
}
body.dark .action-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}
body.dark .action-btn:hover {
    background: rgba(2, 132, 199, 0.25) !important;
    border-color: #0284c7 !important;
    color: #38bdf8 !important;
}

/* Profil Başlık Kartı (ME Avatar Kutusu) */
body.dark .profile-header-box {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
body.dark .profile-header-box h2 {
    color: #f1f5f9 !important;
}
body.dark .profile-header-box p {
    color: #38bdf8 !important;
}

/* Zaman Çizelgesi (Timeline Items) */
body.dark .timeline-item {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}
body.dark .timeline-item b {
    color: #38bdf8 !important;
}
body.dark .timeline-item i {
    color: #94a3b8 !important;
}

/* Yetkinlik Çipleri (Skill Chips) */
body.dark .skill-chip {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #38bdf8 !important;
}

/* Geri Bildirim ve Bilgi Kutusu */
body.dark .meta-box-enhanced {
    background: #0f172a !important;
    border-left-color: #0284c7 !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
    border-left: 4px solid #0284c7 !important;
}
body.dark .meta-box-enhanced b {
    color: #f1f5f9 !important;
}

.header-search-input,
body.dark .header-search-input {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

body.dark .header-search-box input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.dark .header-search-box:focus-within {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
}

/* ===================================================
   Üst Menü Seçili Buton (Active Nav Pill) — Alt Çizgili Modern Tasarım
   =================================================== */
.nav-pill {
    position: relative !important;
}

.nav-pill.active {
    color: #0284c7 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 800 !important;
}

.nav-pill.active::after {
    display: none !important;
}

/* Koyu Temada Seçili Buton */
body.dark .nav-pill.active {
    color: #38bdf8 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 800 !important;
}

body.dark .nav-pill.active::after {
    display: none !important;
}

/* Üst menü: aktif ve üzerine gelinen öğelerde yalnızca açık arka plan */
.nav-pill,
.nav-pill:hover,
.nav-pill.active,
.nav-pill.active:hover {
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.nav-pill:hover,
.nav-pill.active,
.nav-pill.active:hover {
    color: var(--brand-color) !important;
    background: var(--brand-light) !important;
}

.nav-pill::before,
.nav-pill::after,
.nav-pill:hover::before,
.nav-pill:hover::after,
.nav-pill.active::before,
.nav-pill.active::after,
.nav-pill.active:hover::before,
.nav-pill.active:hover::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.dark .nav-pill:hover,
body.dark .nav-pill.active,
body.dark .nav-pill.active:hover {
    color: #38bdf8 !important;
    background: rgba(2, 132, 199, 0.18) !important;
}

/* Menü hover durumunda hiçbir alt çizgi veya alt kenarlık gösterme */
.nav-pill:hover,
.nav-pill.active:hover,
.dropdown-item:hover,
.dropdown-item.active:hover {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

/* ===================================================
   SAYFALAMA (PAGINATION) — Yüksek Kontrast & Flat Tasarım
   =================================================== */
#prev-page-btn,
#next-page-btn,
.pagination-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 18px !important;
    border-radius: 25px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#prev-page-btn:hover:not(:disabled),
#next-page-btn:hover:not(:disabled),
.pagination-btn:hover:not(:disabled) {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
    color: #0369a1 !important;
}

#prev-page-btn:disabled,
#next-page-btn:disabled,
.pagination-btn:disabled {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* Koyu Temada Sayfalama Butonları */
body.dark #prev-page-btn,
body.dark #next-page-btn,
body.dark .pagination-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark #prev-page-btn:hover:not(:disabled),
body.dark #next-page-btn:hover:not(:disabled),
body.dark .pagination-btn:hover:not(:disabled) {
    background: #334155 !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

body.dark #prev-page-btn:disabled,
body.dark #next-page-btn:disabled,
body.dark .pagination-btn:disabled {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #64748b !important;
    opacity: 0.5 !important;
}

/* Sayfa Numarası Dairesel Butonları */
#page-numbers button,
.page-num-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#page-numbers button.active-page,
#page-numbers button:first-child,
.page-num-btn.active {
    background: #0284c7 !important;
    border: 1.5px solid #0284c7 !important;
    color: #ffffff !important;
}

body.dark #page-numbers button,
body.dark .page-num-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark #page-numbers button.active-page,
body.dark #page-numbers button:first-child,
body.dark .page-num-btn.active {
    background: #38bdf8 !important;
    border: 1.5px solid #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.dark #no-results-msg {
    background: #0f172a !important;
    border-color: #334155 !important;
}
body.dark #no-results-msg p {
    color: #cbd5e1 !important;
}

/* ===================================================
   SİTE GENELİ YUVARLATILMIŞ BUTON STANDARDI (No Sharp Corners)
   =================================================== */
button:not(.cell):not(.sq):not(.grid-cell):not(.sudoku-cell),
.btn,
.btn-primary,
.submit-btn,
.download-btn,
.doc-item-btn,
.back-btn,
.bottom-back-btn,
.action-btn,
.reaction-btn,
.pagination-btn,
.search-btn,
.filter-btn,
.category-pill,
.sidebar-cat-item,
a.download-btn {
    border-radius: 25px !important;
}

/* Sudoku, Satranç, Dama ve Oyun Izgaralarındaki Hücreler Asla Yuvarlatılmaz */
.cell,
.sq,
.grid-cell,
.sudoku-cell,
.sudoku button,
.sudoku .cell,
#sudoku .cell,
#board .cell,
#board .sq,
.board .cell,
.board .sq {
    border-radius: 0 !important;
}

/* Slider İçi Butonlar (İncele / Oku / İndir) — Modern Yuvarlak Kapsül */
.slide-overlay .download-btn,
.slide .download-btn,
a.download-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
    transition: all 0.25s ease !important;
}

.slide-overlay .download-btn:hover,
.slide .download-btn:hover,
a.download-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5) !important;
}

body.dark .slide-overlay .download-btn,
body.dark a.download-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35) !important;
}

body.dark .slide-overlay .download-btn:hover,
body.dark a.download-btn:hover {
    background: #0369a1 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.55) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

/* ===================================================
   İNDİRME BAĞLANTILARI (Download Buttons) — Modern Kapsül Kart
   =================================================== */
.download-btn,
a.download-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    margin: 6px 8px 6px 0 !important;
    border-radius: 25px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
}

.download-btn:hover,
a.download-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5) !important;
}

/* İndirme Sayacı / Ek Metin Rozeti */
.download-btn span,
.download-btn .download-count {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
}

/* Koyu Temada İndirme Butonları */
body.dark .download-btn,
body.dark a.download-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
    text-decoration: none !important;
}

body.dark .download-btn:hover,
body.dark a.download-btn:hover {
    background: #0369a1 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.55) !important;
    transform: translateY(-2px) scale(1.03) !important;
    text-decoration: none !important;
}

/* ===================================================
   KAYNAKLAR VE İLERİ OKUMALAR KUTUSU (.post-sources)
   =================================================== */
.post-sources {
    margin-top: 36px !important;
    padding: 22px 26px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #0284c7 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.post-sources h3 {
    margin-top: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0369a1 !important;
}

.post-sources ul,
.post-sources li {
    color: #334155 !important;
    line-height: 1.9 !important;
    font-size: 14px !important;
}

/* Koyu Temada Kaynaklar Kutusu */
body.dark .post-sources {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-left: 4px solid #38bdf8 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

body.dark .post-sources h3 {
    color: #38bdf8 !important;
}

body.dark .post-sources ul,
body.dark .post-sources li {
    color: #cbd5e1 !important;
}

/* ===================================================
   DROPDOWN MENÜ VE SEÇİLİ ELEMANLAR (Yüksek Kontrast Koyu Tema)
   =================================================== */
body.dark .dropdown-menu {
    background-color: #0f172a !important;
    border: 1.5px solid #334155 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

body.dark .dropdown-item {
    color: #e2e8f0 !important;
}

body.dark .dropdown-item::before {
    color: #38bdf8 !important;
}

body.dark .dropdown-item:hover {
    background-color: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
    transform: translateX(4px) !important;
}

body.dark .dropdown-item:hover::before {
    color: #38bdf8 !important;
}

/* Koyu Modda Seçili / Aktif Dropdown Öğesi (Net Beyaz Metin & Turkuaz Zemin) */
body.dark .dropdown-item.active,
body.dark .dropdown-item.active:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5) !important;
    transform: translateX(3px) !important;
}

body.dark .dropdown-item.active::before,
body.dark .dropdown-item.active:hover::before {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Sidebar Aktif Kategori Öğesi */
body.dark .sidebar-cat-item.active-sidebar-cat {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
}

body.dark .sidebar-cat-item.active-sidebar-cat span.play-icon,
body.dark .sidebar-cat-item.active-sidebar-cat .play-icon {
    color: #ffffff !important;
}

        .p-btn { border-radius: 25px !important; }
        .spin-btn { border-radius: 50% !important; }

        body.dark { --text-main: #e2e8f0; --text-muted: #94a3b8; --text-sub: #94a3b8; }
        body.dark .app-body { background: #0f172a !important; }
        body.dark .panel { background: #1e293b !important; border-color: #334155 !important; }
        body.dark .panel .p-label, body.dark .adj-top { color: #cbd5e1 !important; }
        body.dark .p-note { background: #0f172a !important; color: #cbd5e1 !important; border: 1px solid #334155 !important; border-left: 4px solid var(--primary) !important; }
        body.dark .p-note strong { color: #38bdf8 !important; }
        body.dark .p-input, body.dark .p-select { background: #0f172a !important; border-color: #334155 !important; color: #e2e8f0 !important; }
        body.dark .drop-zone { background: #0f172a !important; border-color: #0284c7 !important; color: #cbd5e1 !important; }
        body.dark .drop-zone.dragover { background: #122b33 !important; }
        body.dark #main-preview { background: #0f172a !important; border-color: #334155 !important; }
        body.dark #main-preview span { color: #94a3b8 !important; }
        body.dark .tile-scroll { background: #0f172a !important; border-color: #0284c7 !important; }
        body.dark .tile-cell { border-color: #334155 !important; background: #0f172a !important; color: #cbd5e1 !important; }
        body.dark #tile-placeholder { color: #94a3b8 !important; background: #0f172a !important; }
        body.dark .spin-btn { background: #0f172a !important; border-color: #334155 !important; color: #38bdf8 !important; }
        body.dark .spin-btn:hover:not(:disabled) { background: #1e293b !important; border-color: #0284c7 !important; }
        body.dark #spin-columns { background: #0f172a !important; border-color: #334155 !important; color: #f1f5f9 !important; }
        body.dark .adj-val { background: #0f172a !important; border: 1px solid #334155 !important; color: #38bdf8 !important; }
        body.dark .adj-row input[type="range"] { background: #334155 !important; }
        body.dark .size-info { background: #0f172a !important; border: 1px solid #334155 !important; color: #cbd5e1 !important; }
        body.dark .size-info strong { color: #38bdf8 !important; }
        body.dark .p-btn { background: #0284c7 !important; color: #ffffff !important; }
        body.dark .p-btn:hover:not(:disabled) { background: #0369a1 !important; color: #ffffff !important; }
        body.dark .p-btn-danger { background: #dc2626 !important; color: #ffffff !important; }
        body.dark .p-btn-danger:hover:not(:disabled) { background: #b91c1c !important; color: #ffffff !important; }
        body.dark .p-btn-success { background: #10b981 !important; color: #ffffff !important; }
        body.dark .p-btn-success:hover:not(:disabled) { background: #059669 !important; color: #ffffff !important; }
        body.dark .modal-content { background: #0f172a !important; border: 1px solid #334155 !important; color: #cbd5e1 !important; }
        body.dark .modal-body { color: #cbd5e1 !important; }

/* ==========================================================================
   OYUNLAR - SİTE GENELİ TEMA VE ARKA PLAN UYUMLULUĞU
   ========================================================================== */
body.dark {
    background: #0f172a !important;
}

.game-wrapper,
body.dark .game-wrapper {
    width: 100% !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
    padding: 24px 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 1180px) {
    .game-wrapper,
    body.dark .game-wrapper {
        padding: 20px 16px !important;
    }
}

.board-wrap,
body.dark .board-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.card,
.game-container,
.game-box,
.main-card,
#app-container {
    width: 100% !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
    background: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

body.dark .game-container,
body.dark .card,
body.dark .game-box,
body.dark .main-card,
body.dark #app-container {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #e2e8f0 !important;
}
body.dark .game-title,
body.dark .header-row h1,
body.dark .game-container h1,
body.dark .card h1 {
    color: #38bdf8 !important;
}

/* Modaller & Kurallar Pencereleri */
body.dark .modal,
body.dark .modal-card,
body.dark .modal-content,
body.dark .rules-modal,
body.dark .rules-modal-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

body.dark .modal h1,
body.dark .modal h2,
body.dark .modal h3,
body.dark .modal-card h2,
body.dark .rules-modal h2 {
    color: #38bdf8 !important;
}

body.dark .modal ol,
body.dark .modal ul,
body.dark .modal li,
body.dark .modal p,
body.dark .modal span,
body.dark .modal-body,
body.dark .rules-modal ol,
body.dark .rules-modal ul,
body.dark .rules-modal li,
body.dark .rules-modal p,
body.dark .rules-content,
body.dark .modal ol li,
body.dark .rules-modal ol li {
    color: #e2e8f0 !important;
}

/* Oyun Başlıkları, Alt Başlıklar, Lejantlar ve Bilgiler */
body.dark .subtitle,
body.dark .game-subtitle,
body.dark p.subtitle,
body.dark .hint,
body.dark p.hint,
body.dark .hint-footer,
body.dark .hint-text,
body.dark .info-text,
body.dark .legend,
body.dark .legend-row,
body.dark .legend span,
body.dark .legend-item,
body.dark .legend-text,
body.dark .control-label,
body.dark .controls span,
body.dark .credit,
body.dark .helper-text,
body.dark .desc,
body.dark .description,
body.dark .card p,
body.dark .game-container p,
body.dark .game-wrapper p,
body.dark .game-wrapper span:not(.btn):not(.tag):not(.badge) {
    color: #cbd5e1 !important;
}

body.dark .statusbar,
body.dark .status-badge,
body.dark .status-box,
body.dark #status-display,
body.dark #turn,
body.dark #counts,
body.dark #turn-indicator,
body.dark #status-text,
body.dark .turn-badge,
body.dark .score-card,
body.dark .score-box {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

/* ==========================================================================
   SONUÇ, KAZANMA VE BİLDİRİM KUTULARI STANDARDI (Boydan boya yasak, kompakt ve ortalı)
   ========================================================================== */
#winnerBanner,
.winner-banner,
.result-banner,
.win-banner,
.game-over-banner,
.game-over-box,
.alert-box,
.msg-box,
#msg,
#winner-message {
    width: fit-content !important;
    min-width: 180px !important;
    max-width: 440px !important;
    margin: 14px auto !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

body.dark #winnerBanner,
body.dark .winner-banner,
body.dark .result-banner,
body.dark .win-banner,
body.dark .game-over-banner,
body.dark .game-over-box,
body.dark .alert-box,
body.dark .msg-box,
body.dark #msg,
body.dark #winner-message {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #38bdf8 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   TUTARLI LİNK VE VURGU RENK STANDARDI (AÇIK TEMA: #0284c7 / KOYU TEMA: #38bdf8)
   ========================================================================== */
a {
    color: var(--brand-color, #0284c7);
    transition: color 0.2s ease, text-decoration 0.2s ease;
}
a:hover {
    color: var(--brand-dark, #0369a1);
}

body.dark a,
body.dark .post-content a,
body.dark .article-body a,
body.dark .meta-box-enhanced a,
body.dark .comments-box a,
body.dark .footer-copyright-text a,
body.dark .post-sources a {
    color: #38bdf8 !important;
}

body.dark a:hover,
body.dark .post-content a:hover,
body.dark .article-body a:hover,
body.dark .meta-box-enhanced a:hover,
body.dark .footer-copyright-text a:hover {
    color: #7dd3e8 !important;
    text-decoration: underline;
}

body.dark .meta-box-enhanced {
    background: #0f172a !important;
    border-color: #334155 !important;
    border-left: 4px solid #38bdf8 !important;
    color: #cbd5e1 !important;
}
body.dark .meta-box-enhanced b,
body.dark .meta-box-enhanced strong {
    color: #38bdf8 !important;
}
body.dark .meta-box-enhanced svg {
    stroke: #38bdf8 !important;
}

.dropdown-menu::before,
.dropdown-menu::after,
body.dark .dropdown-menu::before,
body.dark .dropdown-menu::after {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   OYUNLAR STANDART KONTRAST VE BUTON DÜZENİ (Tüm Oyunlar İçin Evrensel)
   ========================================================================== */

/* 1. Başlama / Sıfırlama Butonları (Asla boydan boya değil, ortalanmış 25px hap buton) */
button#reset-button,
button#btn-reset,
button#btn-restart,
button#start-btn,
button#restart-btn,
.btn-reset,
.btn-restart,
.btn-start,
.game-btn-primary,
.main-game-btn {
    width: auto !important;
    min-width: 170px !important;
    max-width: 240px !important;
    margin: 14px auto !important;
    display: block !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    border: none !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease !important;
}

button#reset-button:hover,
button#btn-reset:hover,
button#btn-restart:hover,
button#start-btn:hover,
.btn-reset:hover,
.btn-restart:hover,
.btn-start:hover {
    background: #0369a1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35) !important;
}

body.dark button#reset-button,
body.dark button#btn-reset,
body.dark button#btn-restart,
body.dark button#start-btn,
body.dark button#restart-btn,
body.dark .btn-reset,
body.dark .btn-restart,
body.dark .btn-start,
body.dark .game-btn-primary,
body.dark .main-game-btn {
    background: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.dark button#reset-button:hover,
body.dark button#btn-reset:hover,
body.dark button#btn-restart:hover,
body.dark .btn-reset:hover,
body.dark .btn-start:hover {
    background: #7dd3e8 !important;
}

/* 2. Mod & Boyut Seçici Butonları (Yüksek Kontrast & Düz Renk) */
.btn-mode,
.size-btn,
.level-btn,
.amt-btn,
.controls span,
.option-btn {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.btn-mode.active,
.size-btn.active,
.level-btn.active,
.amt-btn.active,
.controls input[type="radio"]:checked + span,
.option-btn.active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

body.dark .btn-mode,
body.dark .size-btn,
body.dark .level-btn,
body.dark .amt-btn,
body.dark .controls span,
body.dark .option-btn {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #cbd5e1 !important;
}

body.dark .btn-mode.active,
body.dark .size-btn.active,
body.dark .level-btn.active,
body.dark .amt-btn.active,
body.dark .controls input[type="radio"]:checked + span,
body.dark .option-btn.active {
    background: #38bdf8 !important;
    border-color: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* 3. Durum Çubuğu / Sıra Göstergesi */
.status-badge,
.status-box,
.statusbar,
.turn-badge,
#status-text,
#turn-indicator {
    background: #e0f2fe !important;
    border: 1px solid rgba(2, 132, 199, 0.2) !important;
    color: #0369a1 !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
}

body.dark .status-badge,
body.dark .status-box,
body.dark .statusbar,
body.dark .turn-badge,
body.dark #status-text,
body.dark #turn-indicator {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

/* 4. Skor Panelleri */
.score-card,
.score-box,
.scoreboard {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    border-radius: 14px !important;
}

body.dark .score-card,
body.dark .score-box,
body.dark .scoreboard {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

/* 5. Kurallar / Yardım Butonları */
.rules-btn,
.btn-rules {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0369a1 !important;
    border-radius: 25px !important;
}

body.dark .rules-btn,
body.dark .btn-rules {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #38bdf8 !important;
}

/* ==========================================================================
   SLAYT BAŞLIK ARKA BANT & KONTRAST KARTI (Simetrik Genişlik & Sağa Dayalı Buton)
   ========================================================================== */
.slide-overlay {
    position: absolute !important;
    bottom: 22px !important;
    left: 28px !important;
    right: 28px !important;
    width: auto !important;
    max-width: none !important;
    padding: 18px 28px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    transition: all 0.3s ease !important;
}

/* Aydınlık Mod Başlık & Metin */
.slide-category {
    display: inline-block !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
}

.slide-title,
.slide-title a {
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    text-decoration: none !important;
    width: 100% !important;
}

.slide-title a:hover {
    color: #0284c7 !important;
}

.slide-desc {
    font-size: 13.5px !important;
    color: #334155 !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    width: 100% !important;
}

/* Sağa Dayalı Eylem Butonu */
.slide-overlay .download-btn,
.slide .download-btn {
    display: inline-flex !important;
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    align-items: center !important;
    gap: 6px !important;
    align-self: flex-end !important;
    margin-top: 4px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    padding: 8px 22px !important;
    border-radius: 25px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease !important;
}

.slide-overlay .download-btn:hover,
.slide .download-btn:hover {
    background: #0369a1 !important;
    transform: translateY(-1px) !important;
}

/* Koyu Temada Zarif Yarı-Saydam Gece Mavisi Buzlu Cam */
body.dark .slide-overlay {
    background: rgba(15, 23, 42, 0.76) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
    color: #ffffff !important;
}

body.dark .slide-title,
body.dark .slide-title a {
    color: #ffffff !important;
}

body.dark .slide-title a:hover {
    color: #38bdf8 !important;
}

body.dark .slide-desc {
    color: #e2e8f0 !important;
}

body.dark .slide-category {
    background: #0284c7 !important;
    color: #ffffff !important;
}

body.dark .slide-overlay .download-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

body.dark .slide-overlay .download-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
}

body.dark .dot {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

body.dark .dot:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

body.dark .dot.active-dot {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: scale(1.15) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.4) !important;
}

/* Mobil Cihazlar */
@media (max-width: 768px) {
    .slide-overlay {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        padding: 12px 16px !important;
    }
    .slide-title,
    .slide-title a,
    body.dark .slide-title a {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    .slide-desc {
        display: none !important;
    }
    .slide-overlay .download-btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    .slider-dots {
        top: 10px !important;
        bottom: auto !important;
        right: 12px !important;
        gap: 5px !important;
    }
    .dot {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

.inline-icon {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 2px;
}

body.dark .inline-icon {
    stroke: #38bdf8 !important;
}

/* ==========================================================================
   STANDART KURALLAR VE AKSİYON BUTONLARI (Tüm Oyunlar İçin Şık 25px Hap Buton)
   ========================================================================== */
/* Standart Paylaşım ve Aksiyon Butonları */
.action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 22px !important;
    min-width: fit-content !important;
    width: auto !important;
    min-height: 38px !important;
    border-radius: 25px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.action-btn:hover {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
    color: #0369a1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
}

body.dark .action-btn {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #38bdf8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

body.dark .action-btn:hover {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #7dd3e8 !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25) !important;
}

.btn-rules,
.rules-btn,
#btn-rules,
#rules-btn,
button#rules-btn,
button.rules-btn,
.rules-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 18px !important;
    min-width: 95px !important;
    height: 36px !important;
    border-radius: 25px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0ea5e9 !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.btn-rules:hover,
.rules-btn:hover,
#btn-rules:hover,
#rules-btn:hover,
.rules-trigger:hover {
    background: #e0f2fe !important;
    border-color: #0ea5e9 !important;
    color: #0284c7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2) !important;
}

body.dark .btn-rules,
body.dark .rules-btn,
body.dark #btn-rules,
body.dark #rules-btn,
body.dark button#rules-btn,
body.dark button.rules-btn,
body.dark .rules-trigger {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #38bdf8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

body.dark .btn-rules:hover,
body.dark .rules-btn:hover,
body.dark #btn-rules:hover,
body.dark #rules-btn:hover,
body.dark .rules-trigger:hover {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    color: #7dd3e8 !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25) !important;
}

/* ==========================================================================
   STANDART ORTALANMIŞ BUTONLAR VE MODAL ONAY BUTONLARI (Boydan boya yasak)
   ========================================================================== */
.modal-footer,
.modal-actions,
.dialog-footer,
.rules-modal-footer,
.rules-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 18px !important;
    padding-top: 10px !important;
    text-align: center !important;
}

.modal-footer button,
.modal-actions button,
.modal-close-btn,
.btn-understand,
#btn-understand,
#rules-close-btn,
#btn-rules-close,
.rules-modal-close,
.rules-close,
button.btn-understand,
button.modal-close-btn,
#restartBtn,
#resetBtn,
#startBtn,
.btn-start,
.btn-reset,
.btn-restart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 160px !important;
    max-width: 240px !important;
    width: auto !important;
    margin: 12px auto !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   ANLADIM / OYUNA BAŞLA BUTONU (Kesinlikle Boydan Boya Değil, Ortalanmış 25px Hap Buton)
   ========================================================================== */
.modal-close,
#rulesClose,
#closeRulesBtn,
#rules-close,
.btn-understand,
#btn-understand,
.modal-close-btn,
button.modal-close,
button#rulesClose,
button#closeRulesBtn,
button#rules-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 170px !important;
    max-width: 240px !important;
    width: auto !important;
    margin: 22px auto 6px auto !important;
    padding: 11px 26px !important;
    border-radius: 25px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-align: center !important;
    background: #0ea5e9 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.modal-close:hover,
#rulesClose:hover,
#closeRulesBtn:hover,
#rules-close:hover,
.btn-understand:hover,
#btn-understand:hover {
    background: #0284c7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4) !important;
}

body.dark .modal-close,
body.dark #rulesClose,
body.dark #closeRulesBtn,
body.dark #rules-close,
body.dark .btn-understand,
body.dark #btn-understand {
    background: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.dark .modal-close:hover,
body.dark #rulesClose:hover,
body.dark #closeRulesBtn:hover,
body.dark #rules-close:hover {
    background: #7dd3e8 !important;
}

/* ==========================================================================
   Uygulama Gizlilik Güvencesi Standart Bildirim Kutusu
   ========================================================================== */
.app-privacy-banner,
.privacy-note,
.ekf-warning,
.ntm-privacy-note,
.nc-privacy-note {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    background: #fef3c7 !important;
    border: 2px solid #f59e0b !important;
    border-radius: 25px !important;
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #78350f !important;
    margin: 16px 0 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.app-privacy-banner svg,
.privacy-note svg,
.ekf-warning svg,
.ekf-warning-icon,
.ntm-privacy-note svg,
.nc-privacy-note svg {
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 22px !important;
    color: #b45309 !important;
    margin-top: 2px !important;
}

body.dark .app-privacy-banner,
body.dark .privacy-note,
body.dark .ekf-warning,
body.dark .ntm-privacy-note,
body.dark .nc-privacy-note {
    background: #423214 !important;
    border-color: #b45309 !important;
    color: #fde68a !important;
}

body.dark .app-privacy-banner svg,
body.dark .privacy-note svg,
body.dark .ekf-warning svg,
body.dark .ekf-warning-icon,
body.dark .ntm-privacy-note svg,
body.dark .nc-privacy-note svg {
    color: #fbbf24 !important;
}

/* Standard How to Use Button */
.how-to-use-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    color: #0284c7;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #0284c7;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(2, 132, 199, 0.1);
}
.how-to-use-btn:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
body.dark .how-to-use-btn {
    background: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
}
body.dark .how-to-use-btn:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* ===================================================
   SES AÇ/KAPAT BUTONU (Sound Toggle) - Minimalist & Büyüteç Uyumlu
   =================================================== */
.sound-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-main) !important;
    cursor: pointer !important;
    position: relative !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
}

.sound-toggle:hover {
    background: var(--brand-light) !important;
    color: var(--brand-color) !important;
    transform: scale(1.08) !important;
}

.sound-toggle:active {
    transform: scale(0.92) !important;
}

.sound-toggle svg {
    transition: transform 0.3s ease, color 0.2s ease !important;
    color: currentColor !important;
    stroke: currentColor !important;
}

.sound-toggle .tt-icon-sound-on {
    display: block !important;
    color: currentColor !important;
}

.sound-toggle .tt-icon-sound-off {
    display: none !important;
    color: var(--text-muted) !important;
}

.sound-toggle:hover .tt-icon-sound-on {
    transform: scale(1.1) !important;
}

.sound-toggle.muted {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
}

.sound-toggle.muted .tt-icon-sound-on {
    display: none !important;
}

.sound-toggle.muted .tt-icon-sound-off {
    display: block !important;
}

/* Koyu Temada Ses Butonu Görünümü */
body.dark .sound-toggle {
    background: transparent !important;
    border: none !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

body.dark .sound-toggle:hover {
    background: #334155 !important;
    color: #38bdf8 !important;
    box-shadow: none !important;
    transform: scale(1.08) !important;
}

body.dark .sound-toggle .tt-icon-sound-on {
    color: currentColor !important;
}

body.dark .sound-toggle.muted {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
}

body.dark .sound-toggle.muted .tt-icon-sound-off {
    color: #94a3b8 !important;
}

/* Standard How to Use Button */
.how-to-use-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0284c7;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 25px !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(2, 132, 199, 0.15);
    width: fit-content !important;
}
.how-to-use-btn:hover {
    background: #0369a1;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
body.dark .how-to-use-btn {
    background: #0284c7;
    color: #ffffff !important;
}
body.dark .how-to-use-btn:hover {
    background: #0369a1;
}

/* ==========================================================================
   STANDART UYGULAMA BAŞLIK ŞERİDİ (APP MAIN HEADER)
   ========================================================================== */
.app-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    margin: 18px auto 22px;
    box-shadow: 0 4px 18px -2px rgba(2, 132, 199, 0.08);
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.app-main-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 240px;
}

.app-logo-badge {
    width: 72px;
    height: 72px;
    border-radius: 0;
    background: transparent;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    overflow: hidden;
    padding: 0;
}

.app-logo-badge img,
.app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.app-logo-badge svg {
    width: 38px;
    height: 38px;
    stroke: #0284c7;
}

.app-title-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.app-main-header .app-title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.25;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.app-main-header .app-tag-wip {
    color: #ef4444;
    font-size: 0.75em;
    font-weight: 700;
    margin-left: 6px;
}

.app-main-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Koyu Tema Uyumu */
body.dark .app-main-header {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

body.dark .app-logo-badge {
    background: #0f172a;
    color: #38bdf8;
    border-color: #334155;
}

body.dark .app-logo-badge svg {
    stroke: #38bdf8;
}

body.dark .app-main-header .app-title {
    color: #e2e8f0;
}

body.dark .app-main-header .app-subtitle {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .app-main-header {
        padding: 14px 16px;
        gap: 12px;
    }
    .app-main-header-left {
        gap: 10px;
    }
    .app-logo-badge {
        width: 42px;
        height: 42px;
    }
    .app-logo-badge svg {
        width: 22px;
        height: 22px;
    }
    .app-main-header .app-title {
        font-size: 17px;
    }
    .app-main-header .app-subtitle {
        font-size: 12px;
    }
}


body.dark .header-search-submit:hover {
    background: #0369a1;
}

/* ==========================================================================
   HERO SECTION (SLIDER + 3 QUICK CARDS)
   ========================================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: 25px;
    margin-bottom: 30px;
    align-items: stretch;
}
.hero-slider-wrap {
    min-width: 0;
}
.hero-slider-wrap .featured-slider {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hero-slider-wrap .slide {
    height: 100%;
}

.hero-quick-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 7px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}
body.dark .hero-quick-cards {
    background: #1e293b;
    border-color: #334155;
}

/* Ana sayfada slayt ve üç öne çıkan gönderi birlikte kullanılır. */
.hero-section {
    grid-template-columns: minmax(0, 2fr) 240px !important;
    gap: 24px;
}
.hero-section .hero-quick-cards {
    display: none !important;
}
.home-page .hero-section .hero-quick-cards {
    display: flex !important;
}
.home-page .hero-section .homepage-featured-posts {
    visibility: visible !important;
    opacity: 1 !important;
}
.homepage-side-container {
    min-height: 300px;
    align-self: stretch;
}
.home-featured-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-featured-card:hover {
    border-color: #0284c7;
    box-shadow: 0 8px 20px -8px rgba(2, 132, 199, 0.3);
    transform: translateY(-2px);
}
.home-featured-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 9px;
    background: #e0f2fe;
}
.home-featured-title {
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}
.home-featured-card:hover .home-featured-title { color: #0284c7; }
body.dark .home-featured-card { background: #0f172a; border-color: #334155; }
body.dark .home-featured-title { color: #e2e8f0; }
body.dark .home-featured-card:hover .home-featured-title { color: #38bdf8; }
body.dark .home-featured-card img { background: #0c4a6e; }

/* Görseli bulunmayan slayt ve kartlarda siyah boş alan bırakılmaz. */
.featured-slider,
.slide,
.post-image {
    background-color: #f8fafc !important;
}
body.dark .featured-slider,
body.dark .slide,
body.dark .post-image {
    background-color: #1e293b !important;
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 641px) and (max-width: 992px) {
    .home-page .hero-section {
        grid-template-columns: minmax(0, 2fr) 210px !important;
        gap: 14px;
    }
}
@media (max-width: 640px) {
    .home-page .hero-section {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   3-COLUMN POSTS GRID & LAYOUT
   ========================================================================== */
.home-layout-full {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 50px;
}

.posts-grid-3col,
.posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
}

@media (max-width: 1024px) {
    .posts-grid-3col,
    .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .posts-grid-3col,
    .posts-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   BOTTOM VISITOR BADGE (CENTERED)
   ========================================================================== */
.bottom-visitor-badge {
    margin: 40px auto 15px;
    width: fit-content !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 25px !important;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #0369a1;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
    text-align: center;
}
.bottom-visitor-badge svg {
    color: #0284c7;
    flex-shrink: 0;
}
.bottom-visitor-num {
    font-weight: 800;
    color: #0284c7;
}

body.dark .bottom-visitor-badge {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
    box-shadow: none;
}
body.dark .bottom-visitor-badge svg,
body.dark .bottom-visitor-num {
    color: #38bdf8;
}

/* ==========================================================================
   Kapak Görseli Konteyneri — Daraltılmış + Ortalanmış (780px, 16:9)
   ========================================================================== */
.post-cover-wrapper {
    width: 100% !important;
    max-width: 780px !important;
    margin: 0 auto 24px auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background-color: #e0f2fe !important;
    display: block;
}

.post-cover-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background-color: #e0f2fe !important;
    display: block;
}

body.dark .post-cover-wrapper,
body.dark .post-cover-wrapper img {
    background-color: #1e293b !important;
}

/* ==========================================================================
   Mobil Cihazlar Çift Dokunma Yakınlaştırma Engeli (Touch UX)
   ========================================================================== */
button,
canvas,
.cell,
.grid,
.game-card,
.mini-cell,
.control,
.board-grid button {
    touch-action: manipulation !important;
}

/* ==========================================================================
   Oyun Konteyner Genişliklerini Üst Menüye (1150px) Eşitleme ve Mobil Düzen
   ========================================================================== */
.game-wrapper .card,
.game-wrapper .container,
.game-wrapper .game-container,
.game-shell,
.shell {
    width: 100% !important;
    max-width: 1150px !important;
}

@media (max-width: 900px) {
    /* Amiral Batti mobil tahta siralama optimizasyonu */
    .game-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .game-layout > .board-panel:nth-of-type(1) {
        order: 2 !important; /* Kendi sularim (orta) */
    }
    .game-layout > .board-panel:nth-of-type(2) {
        order: 1 !important; /* Rakibin sulari (en ustte - aktif atis alani) */
    }
    .game-layout > .dashboard-panel {
        order: 3 !important; /* Ozet panel (en altta) */
    }
}
