/* ===== TEKNOLOJIK TEMA — MustafaKARSLI.com ===== */

.section-bilimkurdu { border-left: 4px solid #06b6d4; }
.section-bulmaca { border-left: 4px solid #f59e0b; }
.section-basarilar { border-left: 4px solid #f59e0b; }

/* Anasayfa: asistan + bulmaca + başarılar (3 sütun) */
.home-interact-row {
    align-items: stretch;
}
@media (min-width: 1024px) {
    .home-interact-row.home-interact-row--3 {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.28fr) minmax(0, 0.88fr) !important;
    }
    .home-interact-row.home-interact-row--2-bulmaca {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr) !important;
    }
    .home-interact-row > .home-interact-card {
        height: 100%;
    }
}
.home-interact-card {
    min-height: 0;
}
.home-interact-bulmaca .bulmaca-sec {
    min-height: 2.1rem;
}
.home-interact-card .widget-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
}

.home-basari-carousel {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-basari-viewport {
    overflow: hidden;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}
.home-basari-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.home-basari-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.home-basari-slide-inner {
    min-height: 100%;
}
.home-basari-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.home-basari-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}
.home-basari-dot.is-active {
    width: 1.1rem;
    background: #f59e0b;
}
.section-wokwi { border-left: 4px solid #8b5cf6; }
.section-proje-vitrin { border-left: 4px solid #10b981; }
.site-canli-serit { animation: canli-pulse 2s ease-in-out infinite; }
@keyframes canli-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}
.proje-vitrin-kart { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.proje-vitrin-kart:hover { transform: translateY(-3px); }

:root {
    --mk-bg: #070b14;
    --mk-surface: #ffffff;
    --mk-accent: #06b6d4;
    --mk-accent2: #3b82f6;
    --mk-glow: rgba(6, 182, 212, 0.35);
}

/* Arka plan ızgarası */
body {
    background-color: #f0f4f8;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.12), transparent),
        linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 100% 100%, 32px 32px, 32px 32px;
}

/* Navigasyon */
.glass-nav {
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}
.glass-nav a.nav-link {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.glass-nav a.nav-link:hover,
.glass-nav a.nav-link.active {
    color: #22d3ee;
}
.tech-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}
.logo-glow {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Duyuru bandı */
.ticker-bar {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

/* Tech kart */
.tech-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Manşet hero */
.hero-manset {
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.hero-with-widgets {
    min-height: 420px;
    height: auto;
}
@media (min-width: 1024px) {
    .hero-with-widgets {
        height: 520px;
        min-height: 520px;
    }
}
.hero-manset::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,182,212,0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Manşet üzerindeki widget'lar */
.hero-widgets-overlay {
    padding: 0.25rem;
}
.hero-widget-card {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hero-widget-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-widget-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.hero-widget-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.02em;
}

/* İçerik bölüm blokları */
.section-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}
.section-block.alt {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.section-block-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.875rem;
    margin-bottom: 1rem;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}
.section-accent {
    display: block;
    width: 4px;
    height: 1.25rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.section-esma { border-left: 4px solid #10b981; }
.section-soz  { border-left: 4px solid #8b5cf6; }
.section-duyurular { border-top: 3px solid #f97316; }
.section-makaleler {
    border-top: 3px solid #2563eb;
    box-shadow:
        0 1px 4px rgba(15, 23, 42, 0.05),
        inset 0 16px 28px -12px rgba(37, 99, 235, 0.32);
}
.section-hatalar {
    border-top: 3px solid #f87171;
    box-shadow:
        0 1px 4px rgba(15, 23, 42, 0.05),
        inset 0 16px 28px -12px rgba(248, 113, 113, 0.34);
}
.section-oneri {
    border-top: 3px solid #f59e0b;
    box-shadow:
        0 1px 4px rgba(15, 23, 42, 0.05),
        inset 0 16px 28px -12px rgba(245, 158, 11, 0.3);
}
.section-yorumlar  { border-top: 3px solid #8b5cf6; }

/* Alt kart stilleri */
.duyuru-mini-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.duyuru-grid {
    max-width: 100%;
}
@media (min-width: 1024px) {
    .duyuru-grid .duyuru-mini-card {
        min-height: 100px;
    }
}
.duyuru-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.12);
}
.duyuru-yeni-badge {
    line-height: 1.2;
    letter-spacing: 0.04em;
}
.makale-mini-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.makale-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
    border-color: #bfdbfe;
}
.oneri-mini-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.875rem;
    transition: all 0.2s;
}
.oneri-mini-card:hover {
    background: #fef3c7;
    border-color: #fbbf24;
}
.yorum-mini-card {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 0.875rem;
}

.sidebar-below-hero {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 0.75rem;
}
.hero-badge {
    background: linear-gradient(135deg, #0891b2, #2563eb);
    box-shadow: 0 0 20px var(--mk-glow);
}
.hero-cat-badge {
    color: #a5f3fc;
    background: rgba(6, 182, 212, 0.25);
    border: 1px solid rgba(34, 211, 238, 0.5);
    backdrop-filter: blur(4px);
}
.hero-title {
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 4px 24px rgba(0,0,0,0.6);
}
.hero-desc {
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.hero-text-panel {
    background: linear-gradient(to top, rgba(2,6,23,0.85) 0%, rgba(2,6,23,0.4) 70%, transparent 100%);
    margin: 0 -1.75rem -1.75rem;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 0 0 2rem 2rem;
}
@media (min-width: 768px) {
    .hero-text-panel {
        margin: 0 -3rem -3rem;
        padding: 2.5rem 3rem 3rem;
    }
}

/* İstatistik kutuları */
.stat-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 1.25rem;
    color: #fff;
}
.stat-box .stat-num {
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Anasayfa istatistik + etkinlik (sol/sağ) */
.home-metrics > .grid > * {
    padding: 0.7rem !important;
}
.home-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.65rem;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 0;
}
.home-stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
.home-stat-card-accent {
    background: linear-gradient(160deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: #fecdd3;
}
.home-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.4rem;
    font-size: 0.7rem;
    line-height: 1;
}
.home-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: -0.02em;
}
.home-stat-value-sm {
    font-size: 0.9rem;
}
.home-stat-label {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}

.home-event-card {
    isolation: isolate;
    min-height: 0;
}

.home-event-carousel {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-event-viewport {
    overflow: hidden;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-event-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex: 1;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-event-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 100%;
    min-height: 100%;
    padding: 0.25rem 1px;
    box-sizing: border-box;
    text-align: center;
}
.home-event-slide-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
}
.home-event-slide-meta h3,
.home-event-slide h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.35rem !important;
    text-align: center;
    width: 100%;
}
.home-event-slide-meta > p,
.home-event-slide > p {
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.3;
    color: #94a3b8 !important;
    text-align: center;
    width: 100%;
}

.home-event-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.home-event-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.home-event-dot.is-active {
    width: 1.1rem;
    background: #22d3ee;
}

/* Anasayfa mezun köşesi */
.home-mezun-card {
    min-height: 0;
}

.home-mezun-carousel {
    min-height: 0;
}

.home-mezun-viewport {
    overflow: hidden;
    width: 100%;
    flex: 1;
}

.home-mezun-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-mezun-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.home-mezun-slide-inner {
    background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
    border: 1px solid #ede9fe;
    border-radius: 0.85rem;
    padding: 0.6rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-mezun-slide-link:hover .home-mezun-slide-inner {
    border-color: #c4b5fd;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
}

.home-mezun-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.home-mezun-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: #ddd6fe;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.home-mezun-dot.is-active {
    width: 1.1rem;
    background: #7c3aed;
}

.home-mezun-cta {
    text-decoration: none;
    margin-top: 0.5rem !important;
}

.home-mezun-cta-text {
    display: block;
    padding: 0.4rem 0.65rem;
    border-radius: 0.65rem;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
    box-shadow: 0 3px 10px rgba(109, 40, 217, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}

.home-mezun-cta:hover .home-mezun-cta-text {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.45);
}

.home-countdown {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    margin-top: 0;
    flex-shrink: 0;
    padding-top: 0.35rem;
}
.home-countdown-cell {
    flex: 1 1 0;
    min-width: 2.5rem;
    max-width: 3.75rem;
    padding: 0.3rem 0.15rem;
    text-align: center;
    border-radius: 0.55rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.home-countdown-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    color: #22d3ee;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}
.home-countdown-lbl {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}
.home-countdown-sep {
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 800;
    color: #475569;
    line-height: 1;
    padding-bottom: 0.55rem;
    user-select: none;
}
@media (max-width: 380px) {
    .home-countdown-num { font-size: 1rem; }
    .home-countdown-cell { min-width: 2.2rem; }
    .home-stat-value { font-size: 0.95rem; }
}

/* Eski istatistik + etkinlik (geriye uyumluluk) */
.section-stats-etkinlik {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.stats-etkinlik-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}
@media (min-width: 768px) {
    .stats-etkinlik-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}
.stats-etkinlik-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.25rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.stats-panel-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.stats-panel-icon {
    font-size: 1.25rem;
    line-height: 1;
}
.stats-panel-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0;
}
.stats-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    flex: 1;
}
.stat-box-compact {
    padding: 0.85rem 0.5rem;
    text-align: center;
}
.stat-box-compact .stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    line-height: 1.2;
}
.stat-label {
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}
.stat-box-highlight {
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.15);
}
.stat-box-highlight .stat-num {
    background: linear-gradient(135deg, #fb7185, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Etkinlik geri sayım */
.etkinlik-panel {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    border-color: rgba(6, 182, 212, 0.25);
    color: #e2e8f0;
}
.etkinlik-panel .stats-panel-title {
    color: #94a3b8;
}
.etkinlik-sayac-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}
.etkinlik-sayac-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.etkinlik-sayac-etiket {
    position: relative;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #22d3ee;
    margin: 0 0 0.35rem;
}
.etkinlik-sayac-baslik {
    position: relative;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}
.etkinlik-sayac-tarih {
    position: relative;
    font-size: 0.7rem;
    color: #94a3b8;
    margin: 0 0 1rem;
    font-family: ui-monospace, monospace;
}
.etkinlik-sayac-units {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}
.etkinlik-unit {
    min-width: 3.25rem;
    padding: 0.5rem 0.35rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 0.75rem;
}
.etkinlik-unit-val {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    color: #22d3ee;
    line-height: 1.1;
}
.etkinlik-unit-lbl {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-top: 0.15rem;
}
.etkinlik-unit-sep {
    font-size: 1.1rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 0.75rem;
}
.etkinlik-diger-liste {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 0.75rem;
}
.etkinlik-diger-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 0.72rem;
}
.etkinlik-diger-item:last-child {
    border-bottom: none;
}
.etkinlik-diger-ad {
    font-weight: 700;
    color: #cbd5e1;
}
.etkinlik-diger-meta {
    color: #64748b;
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
}
.etkinlik-bos {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0.5rem;
    min-height: 10rem;
}
.etkinlik-bos-icon {
    font-size: 2rem;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}
.etkinlik-bos-baslik {
    font-weight: 800;
    color: #cbd5e1;
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}
.etkinlik-bos-metin {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    max-width: 14rem;
}
.etkinlik-sayac-bitti .etkinlik-sayac-etiket {
    color: #fbbf24;
}

/* Ders numarası rozeti */
.ders-badge {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #22d3ee;
    font-family: ui-monospace, monospace;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}

/* Sidebar widget */
.widget-tech {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}
.sidebar-panel {
    background: #f8fafc;
    border-radius: 1.5rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.widget-tech .widget-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 2px solid #f1f5f9;
}
.widget-tech .widget-head h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.widget-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.widget-icon .bilimkurdu-ikon,
.bilimkurdu-ikon {
    width: 100%;
    height: 100%;
    max-width: 1.75rem;
    max-height: 1.75rem;
    object-fit: contain;
    display: block;
}
h1 .bilimkurdu-ikon {
    max-width: 2.5rem;
    max-height: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
}
.widget-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.widget-head h2,
.widget-head h3 {
    margin: 0;
    line-height: 1.25;
}
.widget-head > div {
    min-width: 0;
}

/* Kategori chip */
.kat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s;
    white-space: nowrap;
}
.kat-chip:hover {
    background: #0f172a;
    color: #22d3ee;
    border-color: #22d3ee;
    transform: translateY(-2px);
}
.kat-chip .kat-count {
    background: #f1f5f9;
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    color: #64748b;
}
.kat-chip:hover .kat-count {
    background: rgba(6,182,212,0.2);
    color: #22d3ee;
}

/* Sağ sidebar: Atölye güvenliği kartı */
.sidebar-atolye {
    border-color: #fecdd3;
}
.sidebar-atolye-cover {
    border-bottom: 1px solid #fecdd3;
    overflow: hidden;
}
.sidebar-atolye-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(190, 18, 60, 0.88);
}
.sidebar-atolye-cta {
    display: block;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #fff;
    background: #e11d48;
    padding: 0.5rem 0.75rem;
    border-radius: 0.625rem;
    transition: background 0.2s;
}
.sidebar-atolye-cta:hover {
    background: #be123c;
}

/* Sidebar: kompakt kategoriler */
.sidebar-kat-widget .sidebar-kat-head {
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
}
.sidebar-kat-total {
    font-size: 0.625rem;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.sidebar-kat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}
.sidebar-kat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.42rem 0.5rem;
    border-radius: 0.55rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.sidebar-kat-item:hover {
    border-color: #67e8f9;
    background: #ecfeff;
}
.sidebar-kat-name {
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.sidebar-kat-item:hover .sidebar-kat-name {
    color: #0e7490;
}
.sidebar-kat-num {
    flex-shrink: 0;
    font-size: 0.6rem;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #94a3b8;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.05rem 0.3rem;
    border-radius: 0.35rem;
    line-height: 1.2;
}
.sidebar-kat-item:hover .sidebar-kat-num {
    color: #0891b2;
    border-color: #a5f3fc;
    background: #fff;
}

/* Sidebar BT Araçları — kompakt 4’lü ızgara */
.sidebar-araclar {
    background: #fff;
    border-color: #e2e8f0 !important;
    padding: 0.55rem !important;
    overflow: hidden;
}
.sidebar-araclar--kompakt .sidebar-araclar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0;
}
.sidebar-araclar a.sidebar-arac-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 0.3rem 0.1rem 0.25rem;
    min-height: 3.1rem;
    border-radius: 0.55rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none !important;
    color: #0f172a !important;
    transition: all 0.15s ease;
    text-align: center;
}
.sidebar-araclar a.sidebar-arac-chip:hover {
    border-color: #67e8f9;
    background: #f0fdfa;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.1);
    color: #0e7490 !important;
}
.sidebar-araclar a.sidebar-arac-chip--aktif {
    border-color: #0891b2;
    background: #ecfeff;
}
.sidebar-arac-chip-ikon {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.4rem;
    background: linear-gradient(145deg, #ecfeff, #f8fafc);
    border: 1px solid #e0f2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
}
.sidebar-arac-chip-ad {
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.15;
    color: inherit;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 0.05rem;
}

/* Makale içeriği */
.article-content {
    max-width: 100%;
    overflow-x: visible;
}
.tech-card .article-content {
    max-width: 100%;
    overflow-x: visible;
}
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}
.article-content h2 { font-size: 1.5rem; border-left: 4px solid #06b6d4; padding-left: 1rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content p { margin-bottom: 1.25em; line-height: 1.85; }
.article-content p:last-child { margin-bottom: 0; }
.article-content strong { font-weight: 800; color: #0f172a; }
.article-content em { font-style: italic; }
.article-content a { color: #0891b2; text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: #0e7490; }
.article-content img {
    border-radius: 1rem;
    margin: 1.5em auto;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.article-content ul, .article-content ol {
    margin: 1em 0 1.5em;
    padding-left: 1.75em;
    list-style-position: outside;
}
.article-content ul { list-style-type: disc !important; }
.article-content ol { list-style-type: decimal !important; }
.article-content ul ul { list-style-type: circle !important; }
.article-content ol ol { list-style-type: lower-alpha !important; }
.article-content li {
    display: list-item !important;
    margin-bottom: 0.5em;
    padding-left: 0.35em;
}
.article-content blockquote {
    border-left: 4px solid #06b6d4;
    padding: 1rem 1.25rem;
    margin: 1.5em 0;
    background: #f0fdfa;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #475569;
}
.article-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 1.5em 0;
    border: 1px solid rgba(6,182,212,0.2);
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
}
.article-content code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.15em 0.4em;
    border-radius: 0.35rem;
    font-family: ui-monospace, monospace;
    font-size: 0.875em;
}
.article-content pre code { background: none; padding: 0; color: inherit; }
.article-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 1.5em 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
}
.article-table-wrap table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 0;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.article-content th, .article-content td { border: 1px solid #e2e8f0; padding: 0.75rem 1rem; word-break: break-word; }
.article-content th { background: #f8fafc; font-weight: 700; }
@media (max-width: 767px) {
    .article-table-wrap {
        max-width: calc(100vw - 2rem);
    }
    .article-table-wrap table {
        min-width: 460px;
    }
    .article-content th,
    .article-content td {
        padding: 0.5rem 0.65rem;
        font-size: 0.875rem;
        line-height: 1.45;
    }
}

/* Ders navigasyonu */
.ders-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.ders-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.2s;
    font-size: 0.8rem;
}
.ders-nav a:hover { background: #0f172a; border-color: #06b6d4; color: #fff; }
.ders-nav a:hover .ders-nav-label { color: #22d3ee; }
.ders-nav-label { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; color: #94a3b8; text-transform: uppercase; }
.ders-nav.next { text-align: right; }

/* Scrollbar gizle */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Mobil menü */
#mobile-menu { transition: opacity 0.25s ease, visibility 0.25s ease; }
#mobile-menu.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#mobile-menu:not(.hidden) { opacity: 1; visibility: visible; }
.mobile-menu-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-menu-header,
.mobile-menu-footer {
    flex-shrink: 0;
}
.mobile-menu-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Genel mobil uyum */
@media (max-width: 1023px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .container {
        max-width: 100%;
    }
}

/* Yukarı çık */
#scroll-top { transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
#scroll-top.hidden-btn { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }

/* Kategori gizle/göster */
.kategori-gizli { display: none; }
.kategori-gizli.acik { display: flex; }

/* Animasyonlar */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(6,182,212,0.3); }
    50% { box-shadow: 0 0 20px rgba(6,182,212,0.6); }
}
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.6s ease forwards; }

/* Filistin hatırlatma — anasayfa şerit + sidebar */
.filistin-carousel {
    background: #0f172a;
}
.filistin-carousel-track {
    will-change: transform;
}
.filistin-carousel-slide {
    min-width: 100%;
}
.filistin-serit-frame {
    width: 100%;
    aspect-ratio: 1920 / 400;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
}
.filistin-serit-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.filistin-sidebar-carousel {
    background: #0f172a;
}
.filistin-sidebar-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
}
.filistin-sidebar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.filistin-carousel-dots {
    pointer-events: none;
}
.filistin-carousel-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, transform 0.2s;
}
.filistin-carousel-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}
.filistin-serit-dots {
    bottom: 0.75rem;
}
.filistin-sidebar-dots {
    bottom: 0.5rem;
}
.filistin-serit-metin,
.filistin-sidebar-metin {
    max-height: 100%;
    overflow: hidden;
}
.filistin-sidebar-link {
    text-decoration: none;
}
.filistin-sidebar-link:hover {
    text-decoration: underline;
}

/* Erişilebilirlik */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
}
.skip-to-content:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}
.site-a11y-toolbar {
    position: fixed;
    left: 0.75rem;
    bottom: 5rem;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.35rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}
.site-a11y-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background: rgba(51, 65, 85, 0.8);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.site-a11y-btn:hover,
.site-a11y-btn:focus {
    background: #0891b2;
    color: #fff;
    outline: none;
}
.site-a11y-btn.is-active {
    background: #06b6d4;
    color: #0f172a;
}
html {
    font-size: calc(100% * var(--a11y-font-scale, 1));
}
html.a11y-high-contrast body {
    filter: contrast(1.25);
}
html.a11y-high-contrast .bg-white,
html.a11y-high-contrast .bg-slate-50 {
    background-color: #fff !important;
}
html.a11y-high-contrast .text-slate-500,
html.a11y-high-contrast .text-slate-400 {
    color: #334155 !important;
}
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
@media (max-width: 640px) {
    .site-a11y-toolbar {
        bottom: 4.5rem;
        left: 0.5rem;
    }
}

/* Makale okuma ilerlemesi + TTS */
.makale-read-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 55;
    background: rgba(15, 23, 42, 0.08);
    pointer-events: none;
}
.makale-read-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    transition: width 0.12s ease-out;
}
.makale-tts-wrap {
    margin-left: auto;
}
.makale-tts-btn {
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 0.65rem;
    background: #7c3aed;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.makale-tts-btn:hover {
    background: #6d28d9;
}
.makale-tts-btn-alt {
    background: #e2e8f0;
    color: #475569;
    padding: 0.45rem 0.65rem;
}
.makale-tts-btn-alt:hover {
    background: #cbd5e1;
}
.makale-tts-durum {
    width: 100%;
    flex-basis: 100%;
}
@media (min-width: 768px) {
    .makale-tts-durum {
        width: auto;
        flex-basis: auto;
    }
}

/* Makale yıldız puanlama */
.makale-puan-yildizlar {
    display: flex;
    gap: 0.15rem;
}
.makale-puan-star {
    border: none;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0 0.1rem;
    transition: color 0.15s, transform 0.15s;
}
.makale-puan-star:hover,
.makale-puan-star.is-on {
    color: #f59e0b;
}
.makale-puan-star.is-voted {
    color: #d97706;
}
.makale-puan-star:hover {
    transform: scale(1.1);
}

/* PWA ana ekrana ekle */
.mk-pwa-install {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 48;
    padding: 0.75rem;
    background: linear-gradient(0deg, rgba(15,23,42,0.95), rgba(15,23,42,0.7));
    backdrop-filter: blur(8px);
}
.mk-pwa-install-inner {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.mk-pwa-install-ikon { font-size: 1.5rem; }
.mk-pwa-install-alt { font-size: 0.7rem; color: #64748b; }
.mk-pwa-install-btn {
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: #0891b2;
    color: #fff;
    border: none;
    border-radius: 0.65rem;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}
.mk-pwa-install-kapat {
    border: none;
    background: none;
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0.25rem;
}
.mk-pwa-install-inner--ios {
    flex-wrap: wrap;
}
.mk-pwa-install--ios .mk-pwa-install-inner {
    max-width: 100%;
}
.mk-pwa-install--ios .mk-pwa-install-kapat {
    margin-left: auto;
}

/* BT sözlük — makale içi terim */
.bt-term {
    border-bottom: 1px dashed #06b6d4;
    cursor: help;
    position: relative;
}
.bt-term-kelime {
    color: #0e7490;
    font-weight: 600;
}
.bt-term:hover .bt-term-kelime,
.bt-term:focus .bt-term-kelime {
    color: #0891b2;
}
.bt-term-tooltip {
    position: absolute;
    z-index: 70;
    max-width: min(20rem, 92vw);
    padding: 0.75rem 0.9rem;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    font-size: 0.8125rem;
    line-height: 1.45;
}
.bt-term-tooltip strong {
    display: block;
    color: #22d3ee;
    margin-bottom: 0.35rem;
}
.bt-term-tooltip p { margin: 0 0 0.5rem; }
.bt-term-tooltip a {
    display: inline-block;
    margin-right: 0.75rem;
    color: #67e8f9;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Paylaşım butonları */
.site-paylas { width: 100%; }
@media (min-width: 768px) {
    .site-paylas { width: auto; text-align: right; }
}
.site-paylas-baslik {
    display: block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.65rem;
}
.site-paylas-butonlar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
@media (min-width: 768px) {
    .site-paylas-butonlar { justify-content: flex-end; }
}
.site-paylas-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.15s, opacity 0.15s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.site-paylas-btn svg { width: 1.25rem; height: 1.25rem; }
.site-paylas-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.site-paylas-wa { background: #25D366; }
.site-paylas-x { background: #0f172a; }
.site-paylas-fb { background: #1877F2; }
.site-paylas-tg { background: #229ED9; }
.site-paylas-kopya { background: #e2e8f0; color: #475569; }
.site-paylas-kopya.is-copied { background: #10b981; color: #fff; }
.site-paylas-kart { background: #7c3aed; }
.site-paylas-kart:hover { background: #6d28d9; }
.site-paylas-kart svg { width: 1.15rem; height: 1.15rem; }

/* Faydalı mı oylama */
.site-faydali {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}
.site-faydali-soru {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.65rem;
    font-size: 0.9375rem;
}
.site-faydali-aksiyon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.site-faydali-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.65rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
    color: #334155;
}
.site-faydali-btn:disabled { opacity: 0.65; cursor: default; }
.site-faydali-evet:hover:not(:disabled) { border-color: #10b981; color: #047857; }
.site-faydali-hayir:hover:not(:disabled) { border-color: #f59e0b; color: #b45309; }
.site-faydali-sayi {
    font-size: 0.6875rem;
    background: #e2e8f0;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}
.site-faydali-durum {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    min-height: 1.2em;
}

/* Makale geri bildirim: faydalı + puan yan yana */
.makale-geribildirim-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: stretch;
}
.makale-geribildirim-row .site-faydali {
    margin-top: 0;
    height: 100%;
}
.makale-geribildirim-row .makale-puan-wrap {
    margin-top: 0;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    height: 100%;
}
@media (max-width: 767px) {
    .makale-geribildirim-row {
        grid-template-columns: 1fr;
    }
}

/* Anasayfa daha fazla yazı */
.son-yazilar-daha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #2563eb;
    background: #fff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.son-yazilar-daha-btn:hover:not(:disabled) {
    background: #2563eb;
    color: #fff;
}
.son-yazilar-daha-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Yazdır alt bilgi — ekranda gizli */
.makale-yazdir-footer {
    display: none;
}

/* Makale ekstra araç çubuğu */
.makale-ekstra-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}
.makale-ekstra-btn:hover { border-color: #0891b2; color: #0e7490; }
.makale-ekstra-btn.is-saved { border-color: #8b5cf6; color: #6d28d9; background: #f5f3ff; }

/* Sonra oku listesi */
.okuma-listesi-badge,
.okuma-listesi-fab-sayi {
    font-size: 0.625rem;
    font-weight: 800;
    background: #7c3aed;
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}
.okuma-listesi-ul { list-style: none; padding: 0; margin: 0; }
.okuma-listesi-item {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.okuma-listesi-link {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}
.okuma-listesi-link:hover { color: #0891b2; }
.okuma-listesi-sil {
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}
.okuma-listesi-bos { font-size: 0.75rem; color: #64748b; line-height: 1.45; }
.okuma-listesi-temizle {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}
.okuma-listesi-fab {
    position: fixed;
    left: 0.75rem;
    bottom: 5.5rem;
    z-index: 44;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
}
.okuma-listesi-fab-sayi {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
}
.okuma-listesi-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    max-height: 70dvh;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.okuma-listesi-drawer.hidden { display: none; }
.okuma-listesi-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.okuma-listesi-drawer-head button {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
}

/* Yazdır / PDF */
@media print {
    body * { visibility: hidden; }
    .makale-yazdir-alan,
    .makale-yazdir-alan * { visibility: visible; }
    .makale-yazdir-alan {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none !important;
        border: none !important;
    }
    .makale-paylas-bolumu,
    .makale-geribildirim-row,
    .site-faydali,
    .makale-puan-wrap,
    .makale-tts-wrap,
    .makale-ekstra-btn,
    #makale-read-progress-wrap,
    nav, footer, .site-a11y-toolbar, #scroll-top,
    .okuma-listesi-fab, .mk-pwa-install, .ticker-bar,
    .ders-nav,
    .hata-yazdir-gizle,
    .hata-yorum-ekle {
        display: none !important;
    }
    .makale-yazdir-footer {
        display: block !important;
        visibility: visible !important;
        margin-top: 2rem;
        padding-top: 1.25rem;
        border-top: 2px solid #0f172a;
        page-break-inside: avoid;
    }
    .makale-yazdir-footer-icerik {
        font-size: 11pt;
        color: #0f172a;
        line-height: 1.5;
    }
    .makale-yazdir-yazar { margin-bottom: 0.35rem; }
    .makale-yazdir-site { margin-bottom: 0.35rem; color: #0891b2; }
    .makale-yazdir-tarih { font-size: 9pt; color: #64748b; }
    .article-content { font-size: 12pt; line-height: 1.5; color: #000; }
    .article-content img { max-width: 100%; page-break-inside: avoid; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
    .bt-term { border-bottom: none; }
}
