/* ============================================================
   AKSÖZLÜK — PREMIUM TEMA
   Dünya standartlarında, gradyansız, son derece profesyonel.
   Katmanlı ince gölgeler, tipografi hiyerarşisi, zarif hover/focus,
   kusursuz koyu tema, mobilde sorunsuz. Hız odaklı (blur yok).
   /css/style.css üzerine yüklenir.
   ============================================================ */

/* ---------- RENK PALETİ (düz renkler — gradyan yok) ---------- */
:root {
    --bg: #f5f6f8;
    --bg-2: #eef0f3;
    --white: #ffffff;
    --surface-2: #f6f7f9;
    --surface-3: #eceef2;
    --text: #111827;
    --text-light: #4b5563;
    --text-lighter: #97a0ae;
    --border: #e5e7ec;
    --border-strong: #d3d8e0;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-active: #3a34b8;
    --primary-soft: rgba(79, 70, 229, 0.08);
    --primary-soft-2: rgba(79, 70, 229, 0.05);
    --accent: #d97706;
    --success: #16a34a;
    --danger: #dc2626;
    --info: #0284c7;
    --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05), 0 1px 3px rgba(17, 24, 39, 0.07);
    --shadow-md: 0 1px 2px rgba(17, 24, 39, 0.05), 0 6px 16px rgba(17, 24, 39, 0.09);
    --shadow-lg: 0 1px 3px rgba(17, 24, 39, 0.06), 0 14px 32px rgba(17, 24, 39, 0.13);
    --shadow-focus: 0 0 0 3px rgba(79, 70, 229, 0.16);
    --radius: 8px;
    --radius-sm: 5px;
    --header-h: 60px;
    --nav-h: 48px;
}

[data-theme="dark"] {
    --bg: #0b0e14;
    --bg-2: #0d1118;
    --white: #14181f;
    --surface-2: #1a1f2a;
    --surface-3: #212836;
    --text: #e6eaf1;
    --text-light: #a6aebb;
    --text-lighter: #6b7486;
    --border: #232936;
    --border-strong: #333c4f;
    --primary: #8b93ff;
    --primary-hover: #aab0ff;
    --primary-active: #c2c6ff;
    --primary-soft: rgba(139, 147, 255, 0.13);
    --primary-soft-2: rgba(139, 147, 255, 0.08);
    --accent: #f3bb4d;
    --success: #4ade80;
    --danger: #f87171;
    --info: #38bdf8;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.45), 0 6px 16px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 1px 3px rgba(0, 0, 0, 0.5), 0 14px 32px rgba(0, 0, 0, 0.6);
    --shadow-focus: 0 0 0 3px rgba(139, 147, 255, 0.22);
}

/* ---------- TEMEL ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
body {
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
::selection { background: var(--primary-soft-2); color: var(--text); }
a { color: var(--primary); text-decoration: none; }
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 (solid, keskin ama rafine) ---------- */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    box-shadow: var(--shadow-xs);
}
.header-inner { max-width: 1200px; height: var(--header-h); padding: 0 28px; gap: 20px; }
.logo { max-width: 200px; }
.logo a, .logo-fallback {
    font-size: 24px; font-weight: 800; letter-spacing: -0.4px; color: var(--text);
}
.logo a:hover { color: var(--primary); }
.logo img { max-height: 32px; }

.search-box { max-width: 400px; }
.search-box form {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.search-box form:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-focus);
}
.search-box input { border: none; background: transparent; padding: 9px 14px; font-size: 14px; color: var(--text); }
.search-box input::placeholder { color: var(--text-lighter); }
.search-box input:focus { outline: none; background: transparent; box-shadow: none; }
.btn-search {
    background: var(--primary); color: #fff; padding: 9px 18px; font-weight: 600; border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: background .13s;
}
.btn-search:hover { background: var(--primary-hover); }

.header-nav { gap: 20px; font-size: 14px; }
.header-nav a { color: var(--text-light); font-weight: 500; }
.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-bell:hover { color: var(--primary); }
.notif-badge {
    position: absolute; top: -5px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px;
    background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- ALT NAV ---------- */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    top: var(--header-h);
    height: var(--nav-h);
}
.nav-inner { max-width: 1200px; height: var(--nav-h); gap: 2px; padding: 0 28px; }
.main-nav a, .nav-dropdown-btn {
    padding: 0 13px; font-size: 13.5px; font-weight: 500;
    color: var(--text-light); border: none; border-radius: var(--radius-sm);
    height: 34px; line-height: 34px; margin: 7px 2px;
    transition: color .13s, background .13s;
}
.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: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 6px; background: var(--white); }
.nav-dropdown-content a { border-radius: var(--radius-sm); padding: 8px 12px; }
.nav-dropdown-content a:hover { background: var(--surface-2); }

/* ---------- İÇERİK KABI ---------- */
.container {
    max-width: 1200px; min-height: calc(100vh - 108px); background: transparent;
    border: none; padding: 22px 28px 44px; gap: 28px;
}

/* ---- Sol sütun: rafine kart ---- */
.sidebar {
    width: 288px; min-width: 288px; border: 1px solid var(--border); padding: 0;
    position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px);
    height: auto; max-height: calc(100vh - var(--header-h) - var(--nav-h) - 36px);
    overflow-y: auto;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.sidebar-title { padding: 16px 16px 6px; font-size: 11px; font-weight: 700; color: var(--text-lighter); letter-spacing: 1.3px; text-transform: uppercase; }
.sidebar-tabs { padding: 10px 12px 8px; 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: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); margin: 0;
    transition: color .13s, background .13s, border-color .13s;
}
.sidebar-tab + .sidebar-tab { border-left: none; }
.sidebar-tab:hover { color: var(--text); background: var(--surface-2); }
.sidebar-tab.active { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 700; }
.topic-list { padding: 4px 8px 12px; }
.topic-list li {
    margin: 1px 0; padding: 8px 10px; border-radius: var(--radius-sm);
    transition: background .12s;
}
.topic-list li:hover { background: var(--surface-2); }
.topic-list li.pinned { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.topic-list li a.topic-name { font-size: 13.5px; color: var(--text); line-height: 1.45; font-weight: 500; }
.topic-list li a.topic-name:hover { color: var(--primary); }
.topic-list li .topic-count {
    color: var(--primary); background: var(--primary-soft); border-radius: 4px;
    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: var(--radius-sm); border-color: var(--border); background: var(--white); }
.sidebar-page-next { border-radius: var(--radius-sm); border-color: var(--border); }
.sidebar-page-link { border-radius: var(--radius-sm); background: var(--primary); color: #fff; }

/* ---- Sağ sütun ---- */
.content {
    background: transparent; border: none; box-shadow: none;
    min-height: 60vh; overflow: visible;
}

/* Konu başlığı: rafine, vurgulu */
.topic-header {
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
    position: relative;
}
.topic-header::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--primary); border-radius: var(--radius) 0 0 var(--radius);
}
.topic-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 12px; line-height: 1.3; color: var(--text); }
.topic-sort-bar { gap: 12px; align-items: center; }
.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: 1px solid var(--primary-soft); border-radius: var(--radius-sm);
    padding: 4px 11px; font-weight: 600; transition: all .13s;
}
.topic-category-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.topic-sort-select {
    padding: 6px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 12px; background: var(--white); color: var(--text-light);
}
.topic-sort-select:hover, .topic-sort-select:focus { border-color: var(--primary); box-shadow: var(--shadow-focus); }

/* ---- Ana sayfa gündem kartları ---- */
.topic-entry-block {
    padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-xs); margin-bottom: 14px;
    transition: border-color .14s, box-shadow .14s, transform .14s;
}
.topic-entry-block:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.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); border-radius: var(--radius-sm);
    padding: 2px 9px; 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: 34px; height: 34px; border-radius: 6px; }
.topic-entry-meta-right .entry-avatar { border: 1px solid var(--border); }
.topic-entry-meta-right .entry-avatar-default { background: var(--primary); color: #fff; }

/* ---- MESAJLAR: rafine kartlar ---- */
.entry-list { padding: 0 0 18px; counter-reset: aksEntry; }
.entry {
    counter-increment: aksEntry;
    position: relative;
    padding: 22px 26px 18px;
    margin: 0 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-xs);
    scroll-margin-top: 84px;
    transition: border-color .14s, box-shadow .14s, transform .14s;
}
.entry:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.entry:target {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm), inset 4px 0 0 var(--primary);
    background: linear-gradient(90deg, var(--primary-soft-2), var(--white) 55%);
}
.entry::before {
    content: "#" counter(aksEntry);
    position: absolute; top: 18px; right: 22px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
    color: var(--text-lighter);
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 3px 8px;
}
.entry-content {
    font-size: 15px; line-height: 1.8; color: var(--text-light);
    padding-right: 70px;
}
.entry-content a, .topic-entry-content a { color: var(--primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.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);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.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-author-name:hover { color: var(--primary-hover); }
.entry-author-info .entry-date { color: var(--text-lighter); font-size: 11px; }
.entry-author-info .entry-avatar, .entry-author-info .entry-avatar-default { width: 34px; height: 34px; border-radius: 6px; }
.entry-author-info .entry-avatar { border: 1px solid var(--border); }
.entry-author-info .entry-avatar-default { background: var(--primary); color: #fff; }

/* İşlem butonları */
.vote-btn, .fav-btn, .entry-more-toggle {
    border-radius: var(--radius-sm); padding: 6px 10px; min-height: 30px; background: var(--white);
    border: 1px solid var(--border); color: var(--text-light); font-size: 12.5px;
    transition: all .13s;
}
.vote-btn:hover, .fav-btn:hover, .entry-more-toggle:hover { border-color: var(--primary); color: var(--primary); }
.vote-btn.vote-up.active { color: var(--success); border-color: var(--success); background: rgba(22,163,74,.07); }
.vote-btn.vote-down.active { color: var(--danger); border-color: var(--danger); background: rgba(220,38,38,.07); }
.vote-score { font-size: 12.5px; font-weight: 700; color: var(--text-light); }
.fav-btn.active { color: #c0392b; border-color: #c0392b; background: rgba(192,57,43,.07); }
.entry-more { z-index: 10; }
.entry-more-list {
    border-radius: var(--radius); 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: var(--radius-sm); padding: 8px 10px; }
.entry-more-list button:hover, .entry-more-list a:hover { background: var(--surface-2); color: var(--primary); }

/* ---- Mesaj yazma formu ---- */
.entry-form-bottom {
    padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-xs); margin-top: 18px;
}
.entry-form-bottom textarea {
    border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px;
    background: var(--surface-2); color: var(--text);
    transition: border-color .13s, background .13s, box-shadow .13s;
}
.entry-form-bottom textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow-focus); outline: none; }
.entry-form-bottom textarea::placeholder { color: var(--text-lighter); }
.link-insert-btn {
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white);
    transition: all .13s;
}
.link-insert-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Butonlar: rafine ---- */
.btn-action {
    border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white);
    padding: 8px 17px; transition: all .13s; font-weight: 500; color: var(--text);
}
.btn-action:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.btn-action.primary {
    background: var(--primary); color: #fff; border: none; font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.btn-action.primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* ---- Arama dropdown ---- */
.header-search-dropdown {
    border-radius: var(--radius); 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(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1px 8px; }

/* ---- Modal ---- */
.modal-overlay { background: rgba(12, 15, 22, 0.55); }
.modal-box { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.modal-header { padding: 16px 22px; border-bottom: 1px solid var(--border); }
.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: var(--radius-sm); padding: 10px 14px;
    background: var(--surface-2); color: var(--text); transition: border-color .13s, box-shadow .13s, background .13s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary); background: var(--white); box-shadow: var(--shadow-focus); outline: none;
}

/* ---- Sayfalama ---- */
.pagination, .content-pagination { border-top: none; padding: 20px 0; }
.page-btn, .sidebar-page-link {
    border-radius: var(--radius-sm); background: var(--primary); color: #fff; border: none;
}
.page-btn:hover, .sidebar-page-link:hover { background: var(--primary-hover); }
.page-info { color: var(--text-light); font-weight: 600; }

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

/* ---- Giriş / Kayıt ---- */
.auth-container { padding: 64px 24px; }
.auth-card {
    border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    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(--primary); }
.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-sm); overflow: hidden; }
.profile-cover, .profile-page .profile-cover { height: 112px; background: var(--primary); }
.profile-avatar-large img, .avatar-placeholder { border: 4px solid var(--white); box-shadow: var(--shadow-sm); border-radius: 10px; }
.avatar-placeholder { background: var(--primary); color: #fff; }
.profile-tabs { border-bottom: 1px solid var(--border); }
.profile-tab { font-weight: 500; color: var(--text-light); }
.profile-tab.active { border-bottom: 2px solid var(--primary); color: var(--primary); font-weight: 600; }
.profile-stat .stat-num { color: var(--primary); }
.follow-btn, .followed-cat-btn { border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); }
.follow-btn:hover, .followed-cat-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Konu kartları (arama vb.) ---- */
.topic-card { transition: background .13s; border-radius: var(--radius-sm); }
.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-xs); }
.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-sm); }
.messages-sidebar { background: var(--white); }
.messages-header { border-bottom: 1px solid var(--border); }
.conversation-item { border-radius: var(--radius-sm); }
.conversation-item:hover { background: var(--surface-2); }
.message-bubble { border-radius: var(--radius); box-shadow: var(--shadow-xs); border: 1px solid var(--border); background: var(--surface-2); }
.message-bubble.own { background: var(--primary); color: #fff; border-color: var(--primary); }
.chat-input-area textarea { border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); }
.chat-input-area textarea:focus { border-color: var(--primary); box-shadow: var(--shadow-focus); outline: none; }

/* ---- Bildirim paneli ---- */
.notif-panel { background: var(--white); border-left: 1px solid var(--border); box-shadow: -6px 0 24px rgba(17,24,39,.1); }
.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: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); }
.gizli-toggle { color: var(--text-light); }
.gizli-toggle:hover { background: var(--white); }
.gizli-toggle.acik { color: var(--primary); }

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

/* ---- Mobil tab bar / menü ---- */
.mobile-tab-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    top: var(--header-h);
}
.mobile-tab { height: 38px; border-radius: var(--radius-sm); margin: 4px 2px; color: var(--text-light); }
.mobile-tab.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.mobile-tab-dropdown-menu { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mobile-menu { border-left: 1px solid var(--border); box-shadow: -6px 0 24px rgba(17,24,39,.1); background: var(--white); }
.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: var(--radius);
    box-shadow: var(--shadow-xs);
}

/* ---- Mikro animasyon ---- */
.fade-in { animation: themeFadeIn .25s ease; }
@keyframes themeFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.btn-search:focus, .page-btn:focus, .btn-action:focus { outline: none; }
input:focus, textarea:focus, select:focus, button: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: 20px; }
    .search-box input { max-width: none; }
    .topic-header { padding: 18px 18px; margin-bottom: 14px; }
    .topic-header h1 { font-size: 20px; }
    .topic-entry-block, .entry { padding: 16px 18px; margin-bottom: 12px; }
    .entry-content { padding-right: 0; }
    .entry::before { top: 14px; right: 14px; }
    .entry-form-bottom { padding: 16px 18px; margin-top: 14px; }
    .main-nav { display: none; }
}

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