/* entry-card.css — Entry kartı stilleri.
   Daha önce entries/create.php içinde her entry için tekrar tekrar <style> olarak
   basılıyordu; tek sefer yüklenmesi için buraya taşındı. dark.css'ten SONRA
   yüklenir (orijinal inline konumuyla aynı cascade), dark.css !important ile ezer. */
.entry-card.feed-entry-card{background:#fff;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;box-shadow:none;padding:14px 0 10px;margin:0}
.feed-entry-main{position:relative}
.feed-entry-head{margin-bottom:14px}
.feed-entry-title{font-size:15px;font-weight:700;color:#188018}
.feed-entry-title::after{content:"↗";font-size:13px;margin-left:3px;color:#188018}
.feed-entry-date{font-size:12px;color:#64748b}
.feed-entry-date:hover{color:#16a34a;text-decoration:underline}
.feed-entry-content{font-size:15px;line-height:1.75;color:#0f172a;margin:0 0 12px}
.minimal-entry-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:10px}
.minimal-entry-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
.minimal-entry-reactions{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.entry-reaction-pill{position:relative;display:inline-flex;align-items:center;gap:0;border:0;background:transparent;padding:0;margin:0;height:38px;min-width:50px;cursor:pointer}
.entry-reaction-icon{width:38px;height:38px;border-radius:999px;background:#fff;display:grid;place-items:center;z-index:2;box-shadow:0 1px 6px rgba(15,23,42,.08);transition:.15s}
.entry-reaction-icon img{width:37px;height:37px;display:block;object-fit:contain;border-radius:50%}
.entry-reaction-count{min-width:34px;height:31px;margin-left:-10px;border:1px solid #dbe2ea;background:#fff;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px 0 14px;font-size:13px;font-weight:700;color:#64748b;box-shadow:0 1px 4px rgba(15,23,42,.04)}
.entry-reaction-pill:hover .entry-reaction-icon{transform:translateY(-1px);box-shadow:0 6px 14px rgba(15,23,42,.12)}
.entry-reaction-like:hover .entry-reaction-count{color:#16a34a;border-color:#86efac}
.entry-reaction-dislike:hover .entry-reaction-count{color:#dc2626;border-color:#fca5a5}
.entry-reaction-favorite:hover .entry-reaction-count{color:#e11d48;border-color:#fda4af}
.minimal-entry-right-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.minimal-entry-action-btn{width:34px;height:34px;border:0;border-radius:50%;background:#f8fafc;color:#64748b;display:inline-grid;place-items:center;font-size:18px;line-height:1;cursor:pointer}
.minimal-entry-action-btn:hover{background:#eef2ff;color:#4f46e5}
.minimal-entry-more .hover-menu,.minimal-entry-share .hover-menu{right:0;left:auto;min-width:190px}
.entry-content.is-long-collapsed,.spoiler-content.is-long-collapsed{max-height:280px;overflow:hidden;position:relative}
.entry-content.is-long-collapsed:after,.spoiler-content.is-long-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
.entry-read-more{border:1px solid #ddd6fe;border-radius:999px;background:#fff;color:#6d28d9;font-weight:900;padding:7px 12px;margin:4px 0 10px;cursor:pointer}
.feed-author{display:flex;align-items:center;justify-content:flex-end;gap:9px;grid-column:2;grid-row:1 / span 2;color:#16a34a}
.feed-author-meta{text-align:right;line-height:1.25}.feed-author-meta strong{display:block;color:#16a34a;font-size:13px;font-weight:500}.feed-author-meta small{display:block;color:#64748b;font-size:11px}
.feed-avatar-img,.feed-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}
.feed-action-btn,.feed-action-label,.entry-actions .tooltip{display:none!important}
@media(max-width:720px){
  .minimal-entry-bottom{grid-template-columns:1fr;align-items:start}
  .feed-author{grid-column:1;grid-row:auto;justify-content:flex-end}
  .minimal-entry-actions{align-items:flex-start}
  .minimal-entry-reactions{gap:5px}
  .entry-reaction-pill{min-width:46px}
  .entry-reaction-icon{width:34px;height:34px}.entry-reaction-icon img{width:33px;height:33px}
  .entry-reaction-count{height:28px;min-width:30px;font-size:12px}
}

/* Entry hover menü katman düzeltmesi ve yanıt ikonu */
.entry-card.feed-entry-card,
.entry-card.feed-entry-card .feed-entry-main,
.entry-card.feed-entry-card .feed-entry-bottom,
.entry-card.feed-entry-card .entry-actions{
    overflow:visible;
}
.entry-card.feed-entry-card{
    position:relative;
    z-index:1;
}
.entry-card.feed-entry-card:hover,
.entry-card.feed-entry-card:focus-within{
    z-index:30;
}
.entry-card.feed-entry-card:has(.hover-menu-wrap:hover),
.entry-card.feed-entry-card:has(.hover-menu-wrap:focus-within){
    z-index:100;
}
.hover-menu-wrap{
    position:relative;
}
.hover-menu-wrap .hover-menu{
    z-index:9999;
}
.minimal-entry-action-btn.entry-direct-reply-btn{
    background:#fff;
    box-shadow:0 1px 5px rgba(15,23,42,.06);
}
.minimal-entry-action-btn.entry-direct-reply-btn:hover{
    background:#eef2ff;
}

.entry-target-highlight{animation:entryTargetPulse 1.8s ease-out 1}
@keyframes entryTargetPulse{0%{background:#fff7ed}60%{background:#fff7ed}100%{background:transparent}}

.entry-inline-reply-holder{display:block}
.entry-inline-reply-holder:empty{display:none}
.entry-inline-reply-holder .entry-inline-reply-form{margin-top:8px}
[data-shared-inline-reply-form][hidden]{display:none!important}

/* Sözlük tipi yanıt etiketi */
.parent-entry-ref.entry-parent-toggle-wrap{
    margin:8px 0 10px;
    border-left:2px solid #e5e7eb;
    padding-left:10px;
}
.reply-entry-label{
    display:inline-flex;
    align-items:center;
    border:1px solid #dbe2ea;
    background:#f8fafc;
    color:#475569;
    border-radius:999px;
    padding:3px 8px;
    font-size:11px;
    font-weight:800;
    margin-bottom:5px;
}
.entry-parent-toggle{
    display:block;
    border:0;
    background:transparent;
    padding:0;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}
.entry-parent-toggle:hover{color:#4f46e5;text-decoration:underline}
.entry-parent-preview{
    margin-top:8px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:9px 10px;
}

/* Yanıt formu takip butonu üstüne binme düzeltmesi */
.topic-pre-header-tools{position:relative;z-index:1}
.entry-inline-reply-holder{position:relative;z-index:120}
.entry-inline-reply-form{position:relative;z-index:121;background:#fff}

/* Engellenen kullanıcı entry'si yer tutucusu */
.blocked-entry-placeholder{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:14px;padding:12px 14px;margin:10px 0;color:#475569}
.blocked-entry-placeholder summary{cursor:pointer;font-weight:900;color:#6d28d9}
.blocked-entry-placeholder p{margin:0 0 8px}
