/* ════════════════════════════════════════════
   main.css — Instant Blog
   ════════════════════════════════════════════ */

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

/* ── Tema değişkenleri ── */
[data-theme="dark"]{
  --bg:#12131a;--nav-bg:#1a1b26;--card-bg:#1e1f2e;--border:#2a2b3a;
  --text:#fff;--muted:#9ca3af;--hint:#6b7280;--surface:#2a2b3a;
}
[data-theme="light"]{
  --bg:#f1f2f7;--nav-bg:#fff;--card-bg:#fff;--border:#e5e7eb;
  --text:#111;--muted:#6b7280;--hint:#9ca3af;--surface:#f3f4f6;
}

/* ── Base ── */
body{background:var(--bg);color:var(--text);font-family:'Segoe UI',sans-serif;min-height:100vh;transition:background .3s,color .3s}

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
nav{background:var(--nav-bg);padding:0 24px;height:56px;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border)}
.nav-logo{display:flex;align-items:center;gap:12px;font-weight:700;font-size:22px;color:var(--text);text-decoration:none;flex-shrink:0}
.logo-icon{width:38px;height:38px;background:linear-gradient(135deg,#6c63ff,#a855f7);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;overflow:hidden;flex-shrink:0}
.logo-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.nav-icons{display:flex;align-items:center;gap:2px;margin-left:auto}
.nav-divider{width:1px;height:20px;background:var(--border);margin:0 4px}
.icon-btn{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;background:none;border:none;color:var(--muted);position:relative;text-decoration:none}
.icon-btn:hover{background:var(--surface);color:var(--text)}
.icon-btn.active{color:#6c63ff}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.icon-badge{position:absolute;top:5px;right:5px;width:8px;height:8px;background:#ef4444;border-radius:50%;border:1.5px solid var(--nav-bg);display:none}
.icon-badge.show{display:block}

/* ════════════════════════════════════════════
   DROPDOWN
   ════════════════════════════════════════════ */
.nav-dropdown{display:none;position:absolute;top:calc(100% + 8px);right:0;background:var(--card-bg);border:1px solid var(--border);border-radius:14px;min-width:220px;overflow:hidden;z-index:300}
.nav-dropdown.open{display:block}
.drop-wrap{position:relative}
.drop-header{padding:12px 16px;font-size:11px;font-weight:700;color:var(--hint);text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid var(--border)}
.drop-item{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:13px;color:var(--text);text-decoration:none;transition:background .2s;cursor:pointer}
.drop-item:hover{background:var(--surface)}
.drop-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.drop-empty{padding:24px 16px;text-align:center;font-size:13px;color:var(--hint)}
.drop-thumb{width:36px;height:36px;border-radius:8px;object-fit:cover;flex-shrink:0;background:var(--surface)}
.drop-thumb-grad{width:36px;height:36px;border-radius:8px;flex-shrink:0}
.drop-info{flex:1;min-width:0}
.drop-title{font-size:13px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drop-sub{font-size:11px;color:var(--hint);margin-top:1px}
.drop-clear{display:block;text-align:center;padding:10px;font-size:12px;color:#ef4444;cursor:pointer;border-top:1px solid var(--border);background:none;border-left:none;border-right:none;border-bottom:none;width:100%}
.drop-clear:hover{background:var(--surface)}

/* ════════════════════════════════════════════
   KATEGORİ BAR
   ════════════════════════════════════════════ */
.cat-bar{background:var(--nav-bg);border-bottom:1px solid var(--border);padding:0 24px;display:flex;gap:4px;overflow-x:auto}
.cat-bar::-webkit-scrollbar{height:3px}
.cat-bar::-webkit-scrollbar-thumb{background:var(--border)}
.cat-btn{padding:14px 18px;background:none;border:none;color:var(--muted);font-size:15px;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s;font-weight:500;text-decoration:none;display:inline-flex;align-items:center}
.cat-btn:hover,.cat-btn.active{color:var(--text);border-bottom-color:#6c63ff}

/* ════════════════════════════════════════════
   ARAMA OVERLAY
   ════════════════════════════════════════════ */
.search-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.75);z-index:200;align-items:flex-start;justify-content:center;padding-top:60px}
.search-overlay.open{display:flex}
.search-box{background:var(--card-bg);border:1px solid var(--border);border-radius:16px;width:100%;max-width:720px;overflow:hidden;margin:0 16px}
.search-input-wrap{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--border)}
.search-input-wrap svg{width:18px;height:18px;fill:none;stroke:var(--hint);stroke-width:2;flex-shrink:0}
.search-input-wrap input{flex:1;background:none;border:none;outline:none;color:var(--text);font-size:17px;font-family:'Segoe UI',sans-serif}
.search-input-wrap input::placeholder{color:var(--hint)}
.search-close{background:none;border:none;color:var(--hint);font-size:22px;cursor:pointer;padding:0 4px;line-height:1}
.search-close:hover{color:var(--text)}
.search-results{max-height:calc(100vh - 200px);overflow-y:auto}
.search-results::-webkit-scrollbar{width:4px}
.search-results::-webkit-scrollbar-thumb{background:var(--border)}
.search-item{display:flex;align-items:center;gap:16px;padding:16px 22px;text-decoration:none;transition:background .2s;border-bottom:1px solid var(--bg)}
.search-item:last-child{border-bottom:none}
.search-item:hover{background:var(--surface)}
.search-thumb{width:64px;height:64px;border-radius:12px;object-fit:cover;flex-shrink:0}
.search-thumb-grad{width:64px;height:64px;border-radius:12px;flex-shrink:0}
.search-thumb-empty{width:64px;height:64px;border-radius:12px;background:var(--surface);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:24px}
.search-info{flex:1;min-width:0}
.search-title{font-size:15px;font-weight:600;color:var(--text);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-excerpt{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
.search-meta{display:flex;align-items:center;gap:8px;margin-top:6px}
.search-views{font-size:11px;color:var(--hint)}
.search-empty{padding:48px;text-align:center;color:var(--muted);font-size:14px}
.search-loading{padding:28px;text-align:center;color:var(--muted);font-size:13px}

/* ════════════════════════════════════════════
   BADGE
   ════════════════════════════════════════════ */
.badge-general{background:#a855f7;color:#fff}
.badge-youtube{background:#ef4444;color:#fff}
.badge-lifestyle{background:#06b6d4;color:#fff}
.badge-space{background:#f59e0b;color:#fff}
.badge-people{background:#f97316;color:#fff}
.s-badge{font-size:10px;font-weight:700;padding:2px 7px;border-radius:10px}
.s-badge.badge-general{background:#a855f720;color:#c084fc}
.s-badge.badge-youtube{background:#ef444420;color:#f87171}
.s-badge.badge-lifestyle{background:#06b6d420;color:#67e8f9}
.s-badge.badge-space{background:#f59e0b20;color:#fcd34d}
.s-badge.badge-people{background:#f9731620;color:#fdba74}

/* ════════════════════════════════════════════
   COOKIE
   ════════════════════════════════════════════ */
.cookie{position:fixed;bottom:20px;right:20px;background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:16px 18px;max-width:320px;z-index:999;box-shadow:0 8px 32px rgba(0,0,0,.3)}
.cookie p{font-size:12px;color:var(--muted);line-height:1.5}
.cookie-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--text)}
.cookie-close{margin-left:auto;cursor:pointer;background:none;border:none;color:var(--hint);font-size:18px;line-height:1}
.cookie-close:hover{color:var(--text)}

/* ════════════════════════════════════════════
   ANA SAYFA — GRID & KARTLAR
   ════════════════════════════════════════════ */
.container{max-width:1400px;margin:0 auto;padding:32px 20px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:start}
.card{background:var(--card-bg);border-radius:16px;overflow:hidden;transition:transform .25s,box-shadow .25s;cursor:pointer}
.card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.3)}
.card-img{position:relative;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.img-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7) 0%,transparent 60%)}
.badge{display:inline-block;position:absolute;top:14px;left:50%;transform:translateX(-50%);padding:4px 16px;border-radius:20px;font-size:12px;font-weight:700;white-space:nowrap;z-index:2}
.play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;background:rgba(255,255,255,.2);backdrop-filter:blur(4px);border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:2}
.play-btn::after{content:'';width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:20px solid #fff;margin-left:4px}
.img-meta{position:absolute;bottom:0;left:0;right:0;padding:12px 14px;z-index:2}
.img-meta h3{font-size:15px;font-weight:700;color:#fff;margin-bottom:4px;text-shadow:0 1px 4px rgba(0,0,0,.8)}
.img-meta p{font-size:12px;color:rgba(255,255,255,.8);line-height:1.4}
.card-body{padding:14px}
.card-body h3{font-size:16px;font-weight:700;margin-bottom:6px;color:var(--text)}
.card-body p{font-size:13px;color:var(--muted);line-height:1.5}
.meta-row{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted);margin-bottom:8px}
.meta-row svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.author-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px}
.author{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text)}
.avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#6c63ff,#a855f7);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0;color:#fff}
.online{width:8px;height:8px;background:#22c55e;border-radius:50%;display:inline-block;margin-left:2px}
.likes{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--muted)}
.likes svg{width:14px;height:14px;fill:none;stroke:#e879a0;stroke-width:2}
.card-noimg{padding:20px}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px}
.pagination a,.pagination span{padding:8px 16px;background:var(--card-bg);border-radius:8px;color:var(--muted);text-decoration:none;font-size:14px;transition:all .2s;border:1px solid var(--border)}
.pagination a:hover{background:var(--surface);color:var(--text)}
.pagination .current{background:#6c63ff;color:#fff;border-color:#6c63ff}
.empty{text-align:center;padding:80px 20px;color:var(--muted)}
.empty h3{font-size:20px;margin-bottom:8px;color:var(--text)}

/* ════════════════════════════════════════════
   POST DETAY SAYFASI
   ════════════════════════════════════════════ */
.read-progress{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,#6c63ff,#a855f7);width:0%;z-index:200;transition:width .1s}
.page-wrap{max-width:1200px;margin:0 auto;padding:40px 24px}
.content-layout{display:grid;grid-template-columns:1fr 300px;gap:32px;align-items:start}
.main-col{min-width:0}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:20px}
.breadcrumb a{color:#a78bfa;text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.hero{margin-bottom:28px}
.hero-img{width:100%;max-height:400px;object-fit:cover;border-radius:20px;display:block}
.hero-grad{width:100%;height:280px;border-radius:20px}
.yt-wrap{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:16px;margin-bottom:28px}
.yt-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.post-meta{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.post-badge{display:inline-block;padding:4px 14px;border-radius:20px;font-size:12px;font-weight:700}
.meta-item{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.meta-item svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.read-time{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted);background:var(--surface);padding:4px 10px;border-radius:20px}
.read-time svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
h1.post-title{font-size:28px;font-weight:700;line-height:1.35;margin-bottom:20px;color:var(--text)}
.author-bar{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--card-bg);border-radius:12px;margin-bottom:28px;border:1px solid var(--border)}
.author-bar .avatar{width:38px;height:38px;font-size:14px}
.author-info p{font-size:14px;font-weight:600;color:var(--text)}
.author-info span{font-size:12px;color:var(--muted)}
.like-btn{margin-left:auto;display:flex;align-items:center;gap:6px;background:#ef444420;border:1px solid #ef444440;border-radius:10px;padding:7px 14px;color:#f87171;font-size:13px;cursor:pointer;transition:all .2s}
.like-btn:hover{background:#ef444430}
.like-btn svg{width:15px;height:15px;fill:none;stroke:#e879a0;stroke-width:2}
.post-content{font-size:17px;line-height:1.9;color:var(--muted)}
.post-content h2{font-size:22px;font-weight:700;color:var(--text);margin:36px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.post-content h3{font-size:18px;font-weight:700;color:var(--text);margin:28px 0 12px}
.post-content p{margin-bottom:20px}
.post-content a{color:#a78bfa;text-decoration:none}
.post-content a:hover{text-decoration:underline}
.post-content img{max-width:100%;border-radius:12px;margin:24px 0}
.post-content blockquote{border-left:4px solid #6c63ff;padding:16px 20px;background:var(--card-bg);border-radius:0 12px 12px 0;margin:24px 0;font-style:italic}
.post-content code{background:var(--surface);padding:2px 8px;border-radius:4px;font-size:14px;font-family:monospace}
.post-content pre{background:var(--surface);padding:20px;border-radius:12px;overflow-x:auto;margin:24px 0}
.post-content pre code{background:none;padding:0}
.post-content ul,.post-content ol{padding-left:24px;margin-bottom:20px}
.post-content li{margin-bottom:8px}

/* Sidebar */
.sidebar{display:flex;flex-direction:column;gap:16px;position:sticky;top:76px}
.sidebar-card{background:var(--card-bg);border:1px solid var(--border);border-radius:14px;padding:18px}
.sidebar-card h4{font-size:11px;font-weight:700;color:var(--hint);text-transform:uppercase;letter-spacing:.7px;margin-bottom:14px}
.progress-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:8px}
.progress-bar{background:var(--surface);border-radius:6px;height:6px;overflow:hidden;margin-bottom:14px}
.progress-fill{height:100%;background:linear-gradient(90deg,#6c63ff,#a855f7);border-radius:6px;transition:width .3s}
.fav-big{width:100%;padding:10px;background:#a855f715;border:1px solid #a855f740;border-radius:10px;color:#c084fc;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s}
.fav-big:hover{background:#a855f725}
.fav-big.saved{background:#a855f730;border-color:#a855f7}
.fav-big svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.author-mini{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.author-mini-av{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#6c63ff,#a855f7);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;flex-shrink:0}
.author-mini-info p{font-size:14px;font-weight:600;color:var(--text)}
.author-mini-info span{font-size:12px;color:var(--muted)}
.author-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat-pill{background:var(--surface);border-radius:8px;padding:8px 6px;text-align:center}
.stat-pill strong{display:block;font-size:14px;font-weight:700;color:var(--text)}
.stat-pill span{font-size:11px;color:var(--hint)}
.rel-item{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);text-decoration:none;transition:opacity .2s}
.rel-item:last-child{border-bottom:none;padding-bottom:0}
.rel-item:first-child{padding-top:0}
.rel-item:hover{opacity:.8}
.rel-thumb{width:52px;height:52px;border-radius:8px;object-fit:cover;flex-shrink:0}
.rel-thumb-grad{width:52px;height:52px;border-radius:8px;flex-shrink:0}
.rel-badge{font-size:10px;font-weight:700;padding:2px 7px;border-radius:8px;display:inline-block;margin-bottom:3px}
.rel-title{font-size:13px;font-weight:500;color:var(--text);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rel-meta{font-size:11px;color:var(--hint);margin-top:3px}
.share-btns-v{display:flex;flex-direction:column;gap:8px}
.sh-btn{display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;border:none;width:100%;transition:opacity .2s;text-decoration:none}
.sh-btn:hover{opacity:.85}
.sh-x{background:#000;color:#fff}
.sh-wa{background:#25d366;color:#fff}
.sh-copy{background:var(--surface);color:var(--text)}

/* ════════════════════════════════════════════
   SAYFA (sayfa.php)
   ════════════════════════════════════════════ */
.page-wrap-static{max-width:780px;margin:0 auto;padding:48px 24px}
.page-content{font-size:16px;line-height:1.8;color:var(--muted)}
.page-content h2{font-size:22px;font-weight:700;color:var(--text);margin:28px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.page-content h3{font-size:18px;font-weight:700;color:var(--text);margin:22px 0 10px}
.page-content p{margin-bottom:16px}
.page-content a{color:#a78bfa;text-decoration:none}
.page-content a:hover{text-decoration:underline}
.page-content img{max-width:100%;border-radius:12px;margin:20px 0}
.page-content blockquote{border-left:4px solid #6c63ff;padding:14px 18px;background:var(--card-bg);border-radius:0 12px 12px 0;margin:20px 0;font-style:italic}
.page-content ul,.page-content ol{padding-left:24px;margin-bottom:16px}
.page-content li{margin-bottom:6px}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer{border-top:1px solid var(--border);padding:40px 24px 24px;margin-top:48px}
.footer-inner{max-width:1400px;margin:0 auto}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:10px;flex-wrap:wrap;gap:8px}
.footer-bottom p{font-size:12px;color:var(--hint)}
.footer-bottom a{color:#a78bfa;text-decoration:none}
.footer-bottom a:hover{text-decoration:underline}

/* ════════════════════════════════════════════
   MOBİL NAV
   ════════════════════════════════════════════ */

/* Mobil elementler masaüstünde gizli */
.mob-nav-right,
.mob-drawer-overlay,
.mob-bottom-bar { display:none }

@media(max-width:768px){

  /* Masaüstü elementleri gizle */
  nav .nav-icons,
  nav .nav-divider,
  .cat-bar { display:none !important }

  /* Üst bar */
  nav { padding:0 14px; height:52px; justify-content:space-between }
  .nav-logo { font-size:17px }
  .logo-icon { width:32px; height:32px; font-size:14px }

  /* Mobil sağ ikonlar */
  .mob-nav-right { display:flex; align-items:center; gap:2px }
  .mob-icon { width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:none; border:none; cursor:pointer; color:var(--muted); position:relative; text-decoration:none }
  .mob-icon:hover { background:var(--surface) }
  .mob-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8 }
  .mob-notif { position:absolute; top:6px; right:6px; width:7px; height:7px; background:#ef4444; border-radius:50%; border:1.5px solid var(--nav-bg); display:none }
  .mob-notif.show { display:block }

  /* Drawer overlay */
  .mob-drawer-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:150; top:52px }
  .mob-drawer-overlay.open { display:block }
  .mob-drawer { position:absolute; top:0; left:0; width:240px; background:var(--nav-bg); height:100%; border-right:1px solid var(--border); transform:translateX(-100%); transition:transform .25s; overflow-y:auto }
  .mob-drawer-overlay.open .mob-drawer { transform:translateX(0) }
  .mob-drawer-section { padding:8px 0 }
  .mob-drawer-head { font-size:10px; color:var(--hint); text-transform:uppercase; letter-spacing:.7px; font-weight:700; padding:12px 16px 6px }
  .mob-drawer-sep { height:1px; background:var(--border); margin:4px 0 }
  .mob-d-item { display:flex; align-items:center; gap:10px; padding:11px 16px; font-size:14px; color:var(--text); cursor:pointer; text-decoration:none; transition:background .15s }
  .mob-d-item:hover { background:var(--surface) }
  .mob-d-item.active { color:#a78bfa }
  .mob-d-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0 }
  .mob-d-icon { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; flex-shrink:0 }

  /* Alt tab bar */
  .mob-bottom-bar { display:flex; position:fixed; bottom:0; left:0; right:0; background:var(--nav-bg); border-top:1px solid var(--border); z-index:100 }
  .mob-tab { flex:1; padding:8px 4px 6px; display:flex; flex-direction:column; align-items:center; gap:3px; cursor:pointer; border:none; background:none; position:relative; text-decoration:none }
  .mob-tab svg { width:20px; height:20px; fill:none; stroke:var(--hint); stroke-width:1.8 }
  .mob-tab.active svg { stroke:#6c63ff }
  .mob-tab span { font-size:10px; color:var(--hint); white-space:nowrap }
  .mob-tab.active span { color:#6c63ff }
  .mob-tab-bar { position:absolute; top:0; left:50%; transform:translateX(-50%); width:24px; height:2px; background:#6c63ff; border-radius:0 0 3px 3px; display:none }
  .mob-tab.active .mob-tab-bar { display:block }
  .mob-tab-badge { position:absolute; top:5px; right:10px; width:7px; height:7px; background:#ef4444; border-radius:50%; display:none }
  .mob-tab-badge.show { display:block }

  /* Sayfa altına boşluk — tab bar üstüne gelmesin */
  body { padding-bottom:60px }
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* Büyük tablet */
@media(max-width:1100px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .content-layout{grid-template-columns:1fr 280px}
}

/* Tablet */
@media(max-width:900px){
  .content-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .grid{grid-template-columns:repeat(2,1fr);gap:14px}
}

@media(max-width:768px){
  /* Navbar */
  nav{padding:0 12px;height:52px}
  .nav-logo{font-size:18px}
  .logo-icon{width:34px;height:34px;font-size:14px}
  .nav-icons{gap:0}
  .icon-btn{width:34px;height:34px}
  .icon-btn svg{width:18px;height:18px}
  .nav-divider{display:none}
  .nav-dropdown{max-width:calc(100vw - 24px)}

  /* Kategori bar */
  .cat-bar{padding:0 8px;gap:2px}
  .cat-btn{padding:10px 12px;font-size:13px}

  /* Arama */
  .search-overlay{padding-top:16px}
  .search-box{margin:0 8px}
  .search-thumb,.search-thumb-grad,.search-thumb-empty{width:48px;height:48px}

  /* Grid */
  .container{padding:16px 12px}
  .grid{gap:12px}
  .card-img{height:180px !important}
  .card-body h3{font-size:14px}

  /* Post */
  .page-wrap{padding:24px 16px}
  h1.post-title{font-size:22px}
  .post-content{font-size:15px}

  /* Footer */
  .footer-bottom{flex-direction:column;text-align:center}
}

/* Telefon */
@media(max-width:560px){
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card-img{height:150px !important}
  .img-meta p{display:none}
  .author-row{padding:8px 10px}
  .avatar{width:24px;height:24px;font-size:10px}
  .author{font-size:12px}
}

/* Küçük telefon */
@media(max-width:380px){
  .grid{grid-template-columns:1fr}
  .cookie{bottom:0;right:0;left:0;max-width:100%;border-radius:12px 12px 0 0}
}