/* ============================================================
   AKSÖZLÜK — MODERN TEMA (Kart / Kutulu Tasarım)
   Sözlük sitelerinden ilham alan, mesajların "kutular" içinde
   aktığı profesyonel bir görünüm. /css/style.css üzerine yüklenir.
   Koyu tema da aynı kart dilini kullanır.
   ============================================================ */

/* ---------- RENK PALETİ ---------- */
:root {
    --bg: #eef1f6;
    --bg-2: #e6eaf3;
    --white: #ffffff;
    --surface-2: #f5f6fb;
    --surface-3: #eef0f7;
    --text: #141a2c;
    --text-light: #4b5468;
    --text-lighter: #8a94a8;
    --border: #e6e9f2;
    --border-strong: #d5dbe9;
    --primary: #4f46e5;
    --primary-2: #7c3aed;
    --primary-hover: #4338ca;
    --primary-soft: rgba(79, 70, 229, 0.09);
    --accent: #f59e0b;
    --success: #16a34a;
    --danger: #dc2626;
    --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%);
    --shadow-sm: 0 1px 3px rgba(20, 26, 44, 0.06);
    --shadow-md: 0 8px 20px rgba(20, 26, 44, 0.08);
    --shadow-lg: 0 20px 45px rgba(20, 26, 44, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --header-h: 64px;
    --nav-h: 52px;
}

[data-theme="dark"] {
    --bg: #0b1020;
    --bg-2: #0d1224;
    --white: #121a2e;
    --surface-2: #182238;
    --surface-3: #1d2942;
    --text: #e8ecf6;
    --text-light: #b4bfd4;
    --text-lighter: #76839e;
    --border: #1e2a44;
    --border-strong: #2c3b5c;
    --primary: #8b93ff;
    --primary-2: #a78bfa;
    --primary-hover: #aab0ff;
    --primary-soft: rgba(139, 147, 255, 0.13);
    --accent: #fbbf24;
    --success: #4ade80;
    --danger: #f87171;
    --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #a855f7 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- TEMEL ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
body {
    background:
        radial-gradient(900px 380px at 10% -6%, rgba(79, 70, 229, 0.14), transparent 60%),
        radial-gradient(900px 380px at 96% -6%, rgba(124, 58, 237, 0.12), transparent 55%),
        radial-gradient(1200px 600px at 50% 110%, rgba(14, 165, 233, 0.07), transparent 60%),
        var(--bg);
    color: var(--text);
    font-size: 15px;
}
::selection { background: rgba(79, 70, 229, 0.25); }
a { color: var(--primary); transition: color .15s ease; }
a:hover { color: var(--primary-hover); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 20px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--text-lighter); background-clip: content-box; }

/* ---------- ÜST BAR ---------- */
header {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    box-shadow: var(--shadow-sm);
}
[data-theme="dark"] header { background: rgba(18, 26, 46, 0.78); }
.header-inner { max-width: 1260px; height: var(--header-h); padding: 0 30px; gap: 22px; }
.logo { max-width: 200px; }
.logo a, .logo-fallback {
    font-size: 25px; font-weight: 800; letter-spacing: -0.5px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--primary);
}
.logo a:hover { color: var(--primary); }
.logo img { max-height: 34px; }

.search-box { max-width: 420px; }
.search-box form {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.search-box form:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-soft);
}
.search-box input { border: none; background: transparent; padding: 10px 15px; font-size: 14px; }
.search-box input:focus { outline: none; background: transparent; box-shadow: none; }
.btn-search {
    background: var(--grad); color: #fff; padding: 10px 20px; font-weight: 600; border: none; border-radius: 0;
    transition: opacity .15s;
}
.btn-search:hover { opacity: .92; }

.header-nav { gap: 22px; font-size: 14px; }
.header-nav a { color: var(--text-light); }
.header-nav a:hover { color: var(--primary); }
.header-btn-register { color: var(--primary); font-weight: 600; }
.notif-bell { position: relative; display: inline-flex; align-items: center; color: var(--text-light); }
.notif-badge {
    position: absolute; top: -5px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
}

/* ---------- ALT NAV ---------- */
.main-nav {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    top: var(--header-h);
    height: var(--nav-h);
}
[data-theme="dark"] .main-nav { background: rgba(18, 26, 46, 0.85); }
.nav-inner { max-width: 1260px; height: var(--nav-h); gap: 4px; padding: 0 30px; }
.main-nav a, .nav-dropdown-btn {
    padding: 0 15px; font-size: 14px; font-weight: 500;
    color: var(--text-light); border: none; border-radius: 10px;
    height: 38px; line-height: 38px; margin: 7px 2px;
    transition: color .15s, background .15s;
}
.main-nav a:hover, .nav-dropdown-btn:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-dropdown-btn { font-family: inherit; }
.nav-dropdown-content { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 6px; background: var(--white); }
.nav-dropdown-content a { border-radius: 8px; padding: 9px 14px; }

/* ---------- İÇERİK KABI (kart zemininde akış) ---------- */
.container {
    max-width: 1260px; min-height: calc(100vh - 116px); background: transparent;
    border: none; padding: 24px 30px 40px; gap: 24px;
}

/* ---- Sol sütun: kart ---- */
.sidebar {
    width: 292px; min-width: 292px; border: none; padding: 0;
    position: sticky; top: calc(var(--header-h) + var(--nav-h) + 18px);
    height: auto; max-height: calc(100vh - var(--header-h) - var(--nav-h) - 38px);
    overflow-y: auto;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.sidebar-title { padding: 18px 18px 6px; font-size: 12px; font-weight: 700; color: var(--text-lighter); letter-spacing: 1.2px; }
.sidebar-tabs {
    padding: 14px 16px 6px; gap: 4px;
    display: flex;
}
.sidebar-tab {
    flex: 1; text-align: center;
    font-size: 13px; font-weight: 600; color: var(--text-lighter); padding: 7px 10px;
    border: none; border-radius: 10px; margin: 0; transition: color .15s, background .15s, box-shadow .15s;
}
.sidebar-tab:hover { color: var(--text); background: var(--surface-2); }
.sidebar-tab.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.topic-list { padding: 6px 10px 12px; }
.topic-list li {
    margin: 1px 0; padding: 9px 10px; border-radius: 10px;
    transition: background .13s, transform .13s;
}
.topic-list li:hover { background: var(--surface-2); transform: translateX(2px); }
.topic-list li.pinned { background: var(--primary-soft); }
.topic-list li a.topic-name { font-size: 14px; color: var(--text); line-height: 1.45; }
.topic-list li a.topic-name:hover { color: var(--primary); }
.topic-list li .topic-count {
    color: var(--primary); background: var(--primary-soft); border-radius: 9px;
    min-width: 24px; padding: 1px 7px; font-size: 11px; font-weight: 700;
}
.sidebar-pagination { border-top: 1px solid var(--border); margin-top: 6px; padding: 12px 14px; }
.sidebar-page-select, .sidebar-page-input { border-radius: 8px; border-color: var(--border); background: var(--white); }
.sidebar-page-next { border-radius: 8px; border-color: var(--border); }
.sidebar-page-link { border-radius: 8px; background: var(--grad); }

/* ---- Sağ sütun: şeffaf, içi kart ---- */
.content {
    background: transparent; border: none; border-radius: 0; box-shadow: none;
    min-height: 60vh; overflow: visible;
}

/* Konu başlığı: hero kartı */
.topic-header {
    padding: 26px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}
.topic-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--grad); opacity: .9;
}
.topic-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; line-height: 1.3; }
.topic-sort-bar { gap: 12px; }
.topic-sort-label { font-size: 13px; color: var(--text-lighter); font-weight: 500; }
.topic-category-tag {
    font-size: 12px; color: var(--primary); background: var(--primary-soft);
    border: none; padding: 4px 12px; border-radius: 20px; font-weight: 600;
    transition: all .15s;
}
.topic-category-tag:hover { background: var(--primary); color: #fff; }
.topic-sort-select {
    padding: 7px 12px; border: 1px solid var(--border); border-radius: 9px;
    font-size: 12px; background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.topic-sort-select:hover, .topic-sort-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* ---- Ana sayfa gündem kartları ---- */
.topic-entry-block {
    padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm); margin-bottom: 14px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.topic-entry-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.topic-entry-title { font-size: 19px; font-weight: 700; letter-spacing: -0.2px; }
.topic-entry-title a { color: var(--text); }
.topic-entry-title a:hover { color: var(--primary); }
.topic-entry-count {
    color: var(--text-lighter); background: var(--surface-2); border: 1px solid var(--border);
    padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
}
.topic-entry-content { font-size: 15px; line-height: 1.78; color: var(--text-light); }
.topic-entry-meta-right { margin-top: 12px; }
.topic-entry-meta-right .entry-text { flex-direction: row; align-items: center; gap: 7px; }
.topic-entry-meta-right .entry-author-name { color: var(--primary); font-weight: 600; font-size: 13px; }
.topic-entry-meta-right .entry-date { color: var(--text-lighter); font-size: 11px; }
.topic-entry-meta-right .entry-avatar, .topic-entry-meta-right .entry-avatar-default { width: 36px; height: 36px; }
.topic-entry-meta-right .entry-avatar-default { background: var(--grad); box-shadow: 0 2px 8px rgba(79,70,229,.35); }

/* ---- MESAJLAR: kutulu kartlar ---- */
.entry-list { padding: 0 0 18px; counter-reset: aksEntry; }
.entry {
    counter-increment: aksEntry;
    position: relative;
    padding: 24px 24px 18px;
    margin: 0 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 88px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.entry + .entry { border-top: 1px solid var(--border); }
.entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.entry:target {
    background: linear-gradient(180deg, var(--primary-soft), var(--white) 60%);
    box-shadow: inset 4px 0 0 var(--primary), var(--shadow-md);
    border-color: var(--primary);
}
.entry::before {
    content: "#" counter(aksEntry);
    position: absolute; top: 18px; right: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
    color: var(--text-lighter); opacity: .85;
}
.entry-content {
    font-size: 15px; line-height: 1.85; color: var(--text-light);
    padding-right: 46px;
}
.entry-content a, .topic-entry-content a { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover, .topic-entry-content a:hover { color: var(--primary-hover); }

/* Mesaj alt bilgisi: işlemler + yazar */
.entry-footer {
    padding-top: 14px; margin-top: 16px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
    margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px;
    padding-bottom: 12px;
    border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius);
}
.entry-author-info .entry-text { flex-direction: row; align-items: center; gap: 7px; }
.entry-author-info .entry-author-name { color: var(--primary); font-weight: 600; font-size: 13px; }
.entry-author-info .entry-date { color: var(--text-lighter); font-size: 11px; }
.entry-author-info .entry-avatar, .entry-author-info .entry-avatar-default { width: 36px; height: 36px; }
.entry-author-info .entry-avatar { border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--border), var(--shadow-sm); }
.entry-author-info .entry-avatar-default { background: var(--grad); box-shadow: 0 2px 8px rgba(79,70,229,.35); }

/* İşlem butonları */
.vote-btn, .fav-btn, .entry-more-toggle {
    border-radius: 8px; padding: 6px 11px; min-height: 32px; background: var(--white);
    border: 1px solid transparent; transition: all .13s;
}
.vote-btn:hover, .fav-btn:hover, .entry-more-toggle:hover { background: var(--white); border-color: var(--border-strong); }
.vote-btn.vote-up.active { color: var(--success); border-color: rgba(22,163,74,.3); background: rgba(22,163,74,.07); }
.vote-btn.vote-down.active { color: var(--danger); border-color: rgba(220,38,38,.3); background: rgba(220,38,38,.07); }
.vote-score { font-size: 13px; font-weight: 700; color: var(--text-light); }
.fav-btn.active { color: #e11d48; border-color: rgba(225,29,72,.3); background: rgba(225,29,72,.08); }
.entry-more { z-index: 10; }
.entry-more-list {
    border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 6px;
    background: var(--white); bottom: calc(100% + 8px);
}
.entry-more-list button, .entry-more-list a { border-radius: 8px; }
.entry-more-list button:hover { background: var(--surface-2); color: var(--primary); }

/* ---- Mesaj yazma formu: kart ---- */
.entry-form-bottom {
    padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-sm); margin-top: 18px;
}
.entry-form-bottom textarea {
    border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px;
    background: var(--surface-2); box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    transition: all .15s;
}
.entry-form-bottom textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px var(--primary-soft); }
.link-insert-btn {
    border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2);
    transition: all .13s;
}
.link-insert-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--white); }

/* ---- Butonlar ---- */
.btn-action {
    border-radius: 10px; border: 1px solid var(--border); background: var(--white);
    padding: 8px 17px; transition: all .15s; font-weight: 500;
}
.btn-action:hover { border-color: var(--text-lighter); background: var(--surface-2); transform: translateY(-1px); }
.btn-action.primary {
    background: var(--grad); color: #fff; border: none; font-weight: 600;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.btn-action.primary:hover { opacity: .92; }

/* ---- Arama dropdown ---- */
.header-search-dropdown {
    border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    margin-top: 8px; overflow: hidden;
}
.header-search-item { transition: background .12s; }
.header-search-item:hover { background: var(--surface-2); }
.header-search-section { background: var(--surface-2); }
.header-search-count { color: var(--text-lighter); background: var(--surface-2); padding: 1px 8px; border-radius: 8px; }

/* ---- Modal ---- */
.modal-overlay { background: rgba(10, 15, 28, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.modal-header { padding: 16px 22px; }
.modal-header h3 { font-weight: 700; }
.modal-body { padding: 22px; }
.form-group input, .form-group textarea, .form-group select {
    border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px;
    background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px var(--primary-soft);
}

/* ---- Sayfalama / daha fazla ---- */
.pagination, .content-pagination { border-top: none; padding: 20px 0; }
.page-btn, .sidebar-page-link {
    border-radius: 10px; background: var(--grad);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.page-btn:hover, .sidebar-page-link:hover { opacity: .92; }
.page-info { color: var(--text-light); font-weight: 600; }

/* ---- Uyarılar / boş durum ---- */
.alert { border-radius: 12px; border: 1px solid transparent; }
.alert-success { background: rgba(22, 163, 74, 0.08); color: var(--success); border-color: rgba(22, 163, 74, 0.25); }
.alert-error { background: rgba(220, 38, 38, 0.08); color: var(--danger); border-color: rgba(220, 38, 38, 0.25); }
.empty-state { color: var(--text-lighter); padding: 70px 28px; }

/* ---- Giriş / Kayıt ---- */
.auth-container { padding: 64px 24px; }
.auth-card {
    border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 42px; background: var(--white); position: relative; overflow: hidden;
}
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.auth-card h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.3px; }
.auth-links { border-top-color: var(--border); }

/* ---- Profil ---- */
.profile-head { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.profile-cover, .profile-page .profile-cover { height: 115px; background: var(--grad); }
.profile-avatar-large img, .avatar-placeholder { border: 4px solid var(--white); box-shadow: var(--shadow-md); }
.avatar-placeholder { background: var(--grad); }
.profile-tabs { border-bottom: 1px solid var(--border); }
.profile-tab.active { border-bottom-color: var(--primary); color: var(--primary); font-weight: 600; }
.profile-stat .stat-num { color: var(--primary); }
.follow-btn, .followed-cat-btn { border-radius: 9px; }

/* ---- Konu kartları (arama vb.) ---- */
.topic-card { transition: background .13s; }
.topic-card:hover { background: var(--surface-2); }
.topic-card h3 a { color: var(--text); }
.topic-card h3 a:hover { color: var(--primary); }

/* ---- İstatistik / SSS / içerik sayfaları ---- */
.stats-section, .sss-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.stats-section-title { color: var(--primary); font-weight: 700; }
.sss-item { overflow: hidden; }
.sss-toggle { font-weight: 600; color: var(--text); }
.sss-icerik { color: var(--text-light); line-height: 1.8; }

/* ---- Mesajlaşma / chat ---- */
.messages-container, .messages-sidebar { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.messages-sidebar { background: var(--white); }
.messages-header { border-bottom: 1px solid var(--border); }
.conversation-item:hover { background: var(--surface-2); }
.message-bubble { border-radius: 16px; box-shadow: var(--shadow-sm); }
.message-bubble.own { background: var(--grad); color: #fff; }
.chat-input-area textarea { border-radius: 12px; border: 1px solid var(--border); }
.chat-input-area textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* ---- Bildirim paneli ---- */
.notif-panel { background: var(--white); border-left: 1px solid var(--border); box-shadow: -6px 0 30px rgba(0,0,0,0.12); }
.notif-panel-header { border-bottom: 1px solid var(--border); }
.notif-panel-item:hover { background: var(--surface-2); }
.notif-panel-item.unread { background: var(--primary-soft); }

/* ---- Gizli içerik ---- */
.gizli-blok { border-radius: 12px; border: 1px solid var(--border); }
.gizli-toggle { color: var(--text-light); }
.gizli-toggle:hover { background: var(--surface-2); }
.gizli-toggle.acik { color: var(--primary); }

/* ---- Alt bilgi ---- */
footer { background: transparent; border-top: 1px solid var(--border); padding: 24px 30px; }
.footer-inner { max-width: 1260px; }
.footer-links a { color: var(--text-lighter); }
.footer-links a:hover { color: var(--primary); }

/* ---- Mobil tab bar / menü ---- */
.mobile-tab-bar {
    background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    top: var(--header-h);
}
[data-theme="dark"] .mobile-tab-bar { background: rgba(18, 26, 46, 0.92); }
.mobile-tab { height: 40px; border-radius: 10px; margin: 4px 2px; }
.mobile-tab.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; border: none; }
.mobile-tab-dropdown-menu { border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mobile-menu { border-left: 1px solid var(--border); box-shadow: -8px 0 30px rgba(0,0,0,0.12); }
.mobile-menu-header { border-bottom-color: var(--border); }
.mobile-link { border-bottom-color: var(--border); }
.mobile-theme-section { border-top-color: var(--border); }
.mobile-pinned-topics { margin-bottom: 10px; }
.mobile-pinned-item {
    background: var(--white); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* ---- Mikro animasyonlar ---- */
.fade-in { animation: themeFadeIn .35s ease; }
@keyframes themeFadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.btn-search:focus, .page-btn:focus, .btn-action:focus { outline: none; }

/* ============ DUYARLI ============ */
@media (max-width: 900px) {
    .container { padding: 12px 12px 28px; gap: 12px; }
    .sidebar { display: none; }
    .header-inner { padding: 0 14px; gap: 12px; }
    .logo { max-width: 130px; }
    .logo a, .logo-fallback { font-size: 21px; }
    .search-box input { max-width: none; }
    .topic-header { padding: 18px 18px; margin-bottom: 12px; }
    .topic-header h1 { font-size: 20px; }
    .topic-entry-block, .entry { padding: 16px 16px; margin-bottom: 10px; }
    .entry-content { padding-right: 0; }
    .entry::before { top: 14px; right: 14px; }
    .entry-footer { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .entry-form-bottom { padding: 14px; margin-top: 12px; }
    .main-nav { display: none; }
}

@media (min-width: 901px) {
    .mobile-menu { display: none; }
}