/* X Gönderilerim — ön yüz stilleri ([ynp_x_posts] shortcode'u) */
.ynp-x-posts{margin:0 0 20px}
.ynp-x-header{display:flex;align-items:center;gap:10px;padding:0 0 12px;margin-bottom:12px;border-bottom:2px solid #0f1419}
.ynp-x-theme-dark .ynp-x-header{border-bottom-color:#eff3f4}
.ynp-x-logo svg{width:22px;height:22px;display:block;fill:#0f1419}
.ynp-x-theme-dark .ynp-x-logo svg{fill:#eff3f4}
.ynp-x-title{margin:0;font-size:18px;font-weight:700;line-height:1.2;flex:1}
.ynp-x-follow{font-size:13px;font-weight:600;color:#fff;background:#0f1419;padding:6px 12px;border-radius:999px;text-decoration:none;white-space:nowrap}
.ynp-x-follow:hover{background:#272c30;color:#fff}
.ynp-x-theme-dark .ynp-x-follow{background:#eff3f4;color:#0f1419}
.ynp-x-list{display:flex;flex-direction:column;gap:12px}
.ynp-x-item .ynp-x-embed,.ynp-x-item .twitter-tweet{margin:0!important;width:100%!important;max-width:100%!important}
.ynp-x-item blockquote.twitter-tweet{box-sizing:border-box;min-height:140px;margin:0;padding:16px 18px;border:1px solid #cfd9de;border-radius:12px;background:#fff;color:#0f1419;font-size:14px;line-height:1.5}
.ynp-x-item blockquote.twitter-tweet p{margin:0 0 8px}
.ynp-x-item blockquote.twitter-tweet a{color:#1d9bf0;font-style:normal;text-decoration:none}

/* Site koyu modu (newsx-dark-mode / dark-mode) — "Otomatik" temada x-posts.js de .ynp-x-theme-dark sınıfını ekler */
body.newsx-dark-mode .ynp-x-header,body.dark-mode .ynp-x-header{border-bottom-color:#eff3f4}
body.newsx-dark-mode .ynp-x-logo svg,body.dark-mode .ynp-x-logo svg{fill:#eff3f4}
body.newsx-dark-mode .ynp-x-follow,body.dark-mode .ynp-x-follow{background:#eff3f4;color:#0f1419}
body.newsx-dark-mode .ynp-x-item blockquote.twitter-tweet,body.dark-mode .ynp-x-item blockquote.twitter-tweet{background:#15202b;border-color:#38444d;color:#e7e9ea}

/* Mobil: X embed'i uygulamadaki yazı boyutuna yaklaştırmak için küçült (x-posts.js kapladığı yüksekliği görünene eşitler) */
@media (max-width:640px){
  .ynp-x-embed{--ynp-x-scale:.85;width:calc(100% / var(--ynp-x-scale));transform:scale(var(--ynp-x-scale));transform-origin:0 0}
  .ynp-x-item{overflow:visible}
}
