/* ==========================================================================
   PiManga - Twitter / X Stili Sosyal Gönderiler Akışı (Feed) Stilleri
   ========================================================================== */

:root {
    --feed-bg: #0b0d13;
    --feed-card-bg: #13151b;
    --feed-card-bg-hover: #171a22;
    --feed-border: rgba(255, 255, 255, 0.07);
    --feed-border-hover: rgba(255, 255, 255, 0.14);
    --feed-accent: #8b5cf6;
    --feed-accent-glow: rgba(139, 92, 246, 0.25);
    --feed-like: #ef4444;
    --feed-rt: #10b981;
    --feed-reply: #38bdf8;
    --feed-text-main: #f8fafc;
    --feed-text-muted: #94a3b8;
    --feed-text-dim: #64748b;
}

/* Sayfa Ana Konteyneri */
.feed-page-main {
    min-height: calc(100vh - 120px);
    background: transparent !important;
    background-color: transparent !important;
    color: var(--feed-text-main);
}

.feed-layout-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

/* ==========================================================================
   SOL / ORTA KOLON (ANA AKIŞ)
   ========================================================================== */
.feed-stream-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Sticky Başlık & Sekmeler */
.feed-sticky-header {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
    background: rgba(13, 16, 23, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--feed-border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.feed-header-title-row {
    padding: 16px 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feed-page-heading {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.feed-heading-icon {
    color: var(--feed-accent);
}

.feed-tabs-nav {
    display: flex;
    width: 100%;
}

.feed-tab {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 12px;
    cursor: pointer;
    position: relative;
    color: var(--feed-text-muted);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.feed-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.feed-tab.active {
    color: #fff;
    font-weight: 700;
}

.feed-tab .tab-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    box-shadow: 0 0 12px var(--feed-accent-glow);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-tab.active .tab-indicator {
    width: 72px;
}

/* ==========================================================================
   GÖNDERİ OLUŞTURUCU (COMPOSER)
   ========================================================================== */
.pm-feed-composer-box {
    background: var(--feed-card-bg);
    border: 1px solid var(--feed-border);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease;
}

.pm-feed-composer-box:focus-within {
    border-color: rgba(139, 92, 246, 0.35);
}

.composer-avatar-col {
    flex-shrink: 0;
}

.composer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.composer-body-col {
    flex: 1;
    min-width: 0;
}

.composer-textarea-wrap textarea {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    font-family: inherit;
    padding: 4px 0 10px;
    min-height: 60px;
}

.composer-textarea-wrap textarea::placeholder {
    color: var(--feed-text-dim);
}

/* Önizleme Alanı */
.composer-media-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.composer-media-thumb {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.composer-media-thumb img,
.composer-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.composer-media-thumb .btn-remove-thumb {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
}

.composer-media-thumb .btn-remove-thumb:hover {
    background: #ef4444;
}

/* Composer Alt Butonlar Barı */
.composer-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.composer-tools-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.composer-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--feed-accent, #8b5cf6);
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    height: 38px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 9px;
    background: rgba(139, 92, 246, 0.08);
    border: none !important;
    outline: none !important;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
}

.composer-tool-btn svg {
    width: 19px;
    height: 19px;
    display: inline-block;
    flex-shrink: 0;
}

.composer-tool-btn .tool-btn-text {
    line-height: 1;
    display: inline-block;
}

.composer-tool-btn:hover {
    background: rgba(139, 92, 246, 0.16);
    color: #c084fc;
    border: none !important;
}

.composer-tool-btn:focus,
.composer-tool-btn:focus-visible {
    outline: none !important;
    border: none !important;
}

.composer-nsfw-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.nsfw-label {
    font-size: 13px;
    color: var(--feed-text-muted);
    cursor: pointer;
}

/* iOS Toggle Switch */
.pm-ios-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
}

.pm-ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pm-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: 0.3s;
    border-radius: 34px;
}

.pm-switch-slider:before {
    position: absolute;
    content: "Y";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #334155;
    line-height: 1;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.pm-ios-switch input:checked + .pm-switch-slider {
    background-color: #f59e0b;
}

.pm-ios-switch input:checked + .pm-switch-slider:before {
    transform: translateX(16px);
    color: #b45309;
}

.composer-tools-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-feed-publish {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    outline: none;
    padding: 9px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    transition: all 0.2s ease;
}

.btn-feed-publish:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.btn-feed-publish:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Misafir Karşılama Kartı */
.pm-feed-guest-prompt {
    background: linear-gradient(135deg, rgba(24, 27, 36, 0.95), rgba(19, 21, 27, 0.95));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.guest-prompt-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--feed-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-prompt-content {
    flex: 1;
}

.guest-prompt-content h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.guest-prompt-content p {
    margin: 0;
    font-size: 13.5px;
    color: var(--feed-text-muted);
}

.guest-prompt-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-guest-login {
    background: var(--feed-accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-guest-register {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-guest-login:hover,
.btn-guest-register:hover {
    opacity: 0.9;
}

/* ==========================================================================
   GÖNDERİ KARTLARI (TWITTER / X STYLE)
   ========================================================================== */
.feed-posts-stream {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-feed-post {
    background: var(--feed-card-bg);
    border: 1px solid var(--feed-border);
    border-radius: 16px;
    padding: 18px 20px 14px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    position: relative;
    cursor: pointer;
}

.pm-feed-post:hover {
    background: var(--feed-card-bg-hover);
    border-color: var(--feed-border-hover);
}

/* RT Başlığı */
.pm-rt-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--feed-rt);
    margin-bottom: 12px;
    padding-left: 58px;
}

.pm-rt-header a {
    color: inherit;
    text-decoration: none;
}

.pm-rt-header a:hover {
    text-decoration: underline;
}

/* 2 Kolonlu Gönderi Kartı Düzeni (Sol: Profil Fotoğrafı, Sağ: Gönderi İçeriği) */
.pm-feed-post-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
}

.pm-post-avatar-col {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
}

.pm-post-main-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Post Header */
.pm-feed-post .post-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
}

.post-avatar-link {
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}

.pm-feed-post .post-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 0.2s;
    overflow: hidden !important;
    display: block;
}

.post-avatar-link:hover .post-avatar {
    opacity: 0.85;
}

.post-meta-info {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

/* Kullanıcı Bilgisi Satırı (Görünen Ad ve Kullanıcı Adı Yan Yana) */
.post-user-line {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.post-user-line .post-author {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: color 0.15s;
}

.post-user-line .post-author:hover {
    text-decoration: underline !important;
    color: var(--feed-accent, #8b5cf6) !important;
}

.post-user-line .post-handle {
    font-size: 13.5px !important;
    color: var(--feed-text-muted) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: color 0.15s;
}

.post-user-line .post-handle:hover {
    color: #e2e8f0 !important;
}

.post-dot-sep {
    color: var(--feed-text-dim) !important;
    font-size: 11px !important;
    display: inline-block !important;
}

.post-time {
    font-size: 12.5px !important;
    color: var(--feed-text-dim) !important;
    margin-top: 0 !important;
    display: inline-block !important;
}

/* Sağ Üst 3 Nokta Menüsü */
.post-header-actions {
    position: relative;
}

.pm-post-menu-wrap {
    position: relative;
}

.btn-post-menu-trigger {
    background: transparent;
    border: none;
    color: var(--feed-text-dim);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-post-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pm-post-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #181c25;
    border: 1px solid var(--feed-border-hover);
    border-radius: 12px;
    padding: 6px;
    min-width: 170px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pm-post-dropdown.show {
    display: block;
}

.pm-post-dropdown .dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--feed-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.pm-post-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.pm-post-dropdown .dropdown-item.delete-item:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* Post Body / İçerik */
.pm-feed-post .post-body {
    padding-left: 0 !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    width: 100% !important;
}

.pm-feed-post .post-body:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.post-text-content {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    color: #cbd5e1 !important;
    word-break: break-word !important;
    margin-top: 2px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
}

.post-text-content:empty {
    display: none !important;
}

.post-mention {
    color: var(--feed-accent);
    font-weight: 600;
    text-decoration: none;
}

.post-mention:hover {
    text-decoration: underline;
}

.post-hashtag {
    color: var(--feed-reply);
    background: rgba(56, 189, 248, 0.1);
    padding: 1px 6px;
    border-radius: 5px;
    font-weight: 600;
}

/* ==========================================================================
   YATAY MEDYA SLIDERI (EŞİT YÜKSEKLİK, DİNAMİK GENİŞLİK, KESİNTİSİZ KAYDIRMA)
   ========================================================================== */
.pm-post-slider-wrap {
    position: relative;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 6px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.pm-post-media-slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.pm-post-media-slider::-webkit-scrollbar {
    display: none;
}

.pm-slide-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    height: 300px; /* Belli seviyeye kadar sınırlandırıldı */
    max-width: 480px; /* Fazla geniş görsellerin kötü durması engellendi */
    border-radius: 10px;
    overflow: hidden;
    background: #0d0f15;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: none;
}

.pm-slide-item:hover {
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.pm-slide-item img {
    height: 100% !important;
    width: auto !important; /* Dinamik genişlik görsele göre */
    max-width: 480px !important;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.pm-slide-item.video-slide {
    cursor: default;
    background: #000;
}

.pm-slide-item video {
    height: 100% !important;
    width: auto !important;
    max-width: 480px !important;
    object-fit: contain;
    background: #000;
    display: block;
}

/* Slider Ok Butonları */
.pm-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(15, 18, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.pm-slider-arrow:hover {
    background: var(--feed-accent, #8b5cf6);
    border-color: var(--feed-accent, #8b5cf6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}

.pm-slider-arrow.prev {
    left: 8px;
}

.pm-slider-arrow.next {
    right: 8px;
}

/* Hassas İçerik Kalkanı */
.pm-sensitive-guard {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 8px;
}

.pm-sensitive-warning {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pm-sensitive-texts {
    flex: 1;
    min-width: 180px;
}

.pm-sensitive-texts strong {
    color: #f59e0b;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.pm-sensitive-texts p {
    margin: 0;
    font-size: 12.5px;
    color: var(--feed-text-muted);
}

.btn-reveal-sensitive {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reveal-sensitive:hover {
    background: #f59e0b;
    color: #000;
}

.pm-sensitive-guard.is-revealed {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    margin-top: 0 !important;
}

.pm-sensitive-guard.is-revealed .pm-sensitive-warning {
    display: none !important;
}

.pm-sensitive-guard.is-revealed .pm-sensitive-content {
    display: block !important;
}

body.pm-always-show-sensitive .pm-sensitive-guard {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    margin-top: 0 !important;
}

body.pm-always-show-sensitive .pm-sensitive-warning {
    display: none !important;
}

body.pm-always-show-sensitive .pm-sensitive-content {
    display: block !important;
}

/* ==========================================================================
   ALT ETKİLEŞİM BUTONLARI (TWITTER / X BAR)
   ========================================================================== */
.post-footer-interactions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--feed-text-dim);
    width: 100%;
}

.interaction-btn {
    background: transparent;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--feed-text-dim);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: color 0.15s ease;
    user-select: none;
}

.interaction-btn .icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

/* Hover Efektleri */
.interaction-btn.btn-reply:hover {
    color: var(--feed-reply);
}
.interaction-btn.btn-reply:hover .icon-wrap {
    background: rgba(56, 189, 248, 0.12);
}

.interaction-btn.btn-rt:hover {
    color: var(--feed-rt);
}
.interaction-btn.btn-rt:hover .icon-wrap {
    background: rgba(16, 185, 129, 0.12);
}

.interaction-btn.btn-like:hover {
    color: var(--feed-like);
}
.interaction-btn.btn-like:hover .icon-wrap {
    background: rgba(239, 68, 68, 0.12);
}

.interaction-btn.btn-share-post:hover {
    color: var(--feed-accent);
}
.interaction-btn.btn-share-post:hover .icon-wrap {
    background: rgba(139, 92, 246, 0.12);
}

.interaction-btn.btn-view {
    cursor: default;
}

/* Aktif Durumlar */
.interaction-btn.btn-rt.active {
    color: var(--feed-rt);
}

.interaction-btn.btn-like.active {
    color: var(--feed-like);
}
.interaction-btn.btn-like.active svg {
    animation: heartPop 0.3s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Boş Durum (Empty State) */
.feed-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--feed-card-bg);
    border: 1px dashed var(--feed-border);
    border-radius: 16px;
}

.feed-empty-state .empty-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feed-text-dim);
}

.feed-empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.feed-empty-state p {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--feed-text-muted);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.btn-empty-action {
    display: inline-block;
    background: var(--feed-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

/* Yükleniyor / Sayfalama */
.feed-loader-wrap {
    text-align: center;
    padding: 24px 0 10px;
}

.btn-load-more-feed {
    background: #181c25;
    border: 1px solid var(--feed-border-hover);
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more-feed:hover {
    background: #202532;
    border-color: rgba(139, 92, 246, 0.3);
}

.feed-end-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 0 10px;
    color: var(--feed-text-dim);
    font-size: 13px;
}

.feed-end-notice .end-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--feed-text-dim);
}

/* ==========================================================================
   SAĞ KENAR ÇUBUĞU (SIDEBAR)
   ========================================================================== */
.feed-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 65px;
}

.feed-sidebar-widget {
    background: var(--feed-card-bg);
    border: 1px solid var(--feed-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.widget-intro {
    background: linear-gradient(145deg, #171b26 0%, #12141c 100%);
    border-color: rgba(139, 92, 246, 0.15);
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--feed-accent);
    background: rgba(139, 92, 246, 0.12);
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.widget-intro h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.widget-intro-desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--feed-text-muted);
}

.widget-quick-stats {
    display: flex;
    gap: 10px;
}

.stat-pill {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.stat-lbl {
    font-size: 11px;
    color: var(--feed-text-dim);
    margin-top: 2px;
}

/* Önerilen Kullanıcılar */
.widget-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggested-users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggested-user-item .user-avatar-wrap img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.suggested-user-item .user-info-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.suggested-user-item .user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggested-user-item .user-name:hover {
    text-decoration: underline;
}

.suggested-user-item .user-handle {
    font-size: 12px;
    color: var(--feed-text-dim);
}

.btn-feed-follow {
    background: #fff;
    color: #000;
    border: none;
    outline: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-feed-follow:hover {
    background: #e2e8f0;
}

.btn-feed-follow.following {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-feed-follow.following:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

/* Trend Türler Bulutu */
.feed-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feed-tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--feed-text-muted);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.feed-tag-pill:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* Sidebar Footer */
.feed-sidebar-footer {
    padding: 0 8px;
}

.footer-links-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--feed-text-dim);
    margin-bottom: 6px;
}

.footer-links-row a {
    color: inherit;
    text-decoration: none;
}

.footer-links-row a:hover {
    text-decoration: underline;
}

.copyright-row {
    margin: 0;
    font-size: 11px;
    color: var(--feed-text-dim);
}

/* ==========================================================================
   MODALLAR & OVERLAYLER
   ========================================================================== */
.pm-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000005 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.pm-modal-dialog {
    background: rgba(18, 21, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(139, 92, 246, 0.15);
    overflow: hidden;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 16, 22, 0.7);
}

.pm-modal-title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.15s;
}

.pm-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: scale(1.05);
}

.pm-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.pm-modal-loader {
    text-align: center;
    padding: 48px 20px;
    color: var(--feed-text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Modal İçi Gönderi ve Yanıtlar */
.pm-modal-post-container {
    display: flex;
    flex-direction: column;
}

.pm-modal-post-card {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-modal-replies-wrap {
    padding: 20px 22px;
    background: rgba(12, 14, 20, 0.45);
}

.pm-modal-replies-header {
    margin-bottom: 16px;
}

.pm-modal-replies-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-modal-reply-form {
    margin-bottom: 20px;
}

.pm-modal-reply-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px 8px 6px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pm-modal-reply-input-row:focus-within {
    border-color: var(--feed-accent, #8b5cf6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.pm-modal-my-avatar {
    flex-shrink: 0 !important;
}

.pm-modal-my-avatar img,
.pm-modal-my-avatar .post-avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
}

.pm-modal-reply-input-row input {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 0 !important;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
}

.btn-modal-send-reply {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.15s, transform 0.15s;
}

.btn-modal-send-reply:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.pm-modal-replies-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pm-modal-reply-item {
    display: flex;
    flex-direction: column;
}

.pm-modal-no-replies {
    text-align: center;
    padding: 28px 0;
    color: #64748b;
    font-size: 14px;
}

.pm-modal-reply-guest {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 13.5px;
}

.pm-modal-reply-guest a {
    color: var(--feed-accent, #8b5cf6);
    font-weight: 600;
}

/* Modal İçinde Kime Yanıt Verildiği Bannerı */
.replying-to-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.32);
    border-radius: 10px;
    padding: 7px 14px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #c4b5fd;
    animation: fadeIn 0.2s ease;
}

.replying-to-banner span strong,
.replying-to-banner #replyingToTarget {
    color: #fff;
    font-weight: 700;
}

#btnCancelReplyTo {
    background: transparent;
    border: none;
    color: #c4b5fd;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s;
}

#btnCancelReplyTo:hover {
    color: #fff;
}

/* Modal İçi Bağımsız Yanıt Kartı (Twitter / X Post Yapısı) */
.pm-modal-reply-card {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: background 0.2s, border-color 0.2s;
}

.pm-modal-reply-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.pm-modal-reply-card.is-nested-reply {
    margin-left: 20px;
    border-left: 3px solid rgba(139, 92, 246, 0.55);
    background: rgba(139, 92, 246, 0.035);
}

.pm-modal-reply-card .modal-reply-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pm-modal-reply-card .reply-target-note {
    font-size: 12px;
    color: var(--feed-text-muted, #94a3b8);
    margin: 2px 0 4px;
}

.pm-modal-reply-card .reply-target-note a {
    color: var(--feed-accent, #8b5cf6);
    text-decoration: none;
    font-weight: 600;
}

.modal-reply-interactions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ==========================================================================
   YAN PANEL: HASSAS İÇERİK TOGGLE WIDGETI
   ========================================================================== */
.widget-sensitive-toggle {
    background: rgba(18, 21, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.sensitive-toggle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sensitive-toggle-info {
    flex: 1;
}

.sensitive-toggle-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.sensitive-toggle-desc {
    margin: 0;
    font-size: 11.5px;
    color: var(--feed-text-muted, #94a3b8);
    line-height: 1.4;
}

/* iOS/Twitter Benzeri Toggle Switch */
.pm-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.pm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pm-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.16);
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pm-slider.round {
    border-radius: 24px;
}

.pm-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.pm-switch input:checked + .pm-slider {
    background-color: var(--feed-accent, #8b5cf6);
}

.pm-switch input:checked + .pm-slider:before {
    transform: translateX(20px);
}

/* ==========================================================================
   ENGELLENMİŞ KULLANICI GÖNDERİ KORUMASI (BLOCKED POST GUARD)
   ========================================================================== */
.pm-blocked-post-guard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pm-blocked-post-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    font-size: 13.5px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.15s, color 0.15s;
}

.pm-blocked-post-notice:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.pm-blocked-post-notice svg {
    flex-shrink: 0;
    color: #ef4444;
}

.btn-reveal-blocked {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-reveal-blocked:hover {
    background: rgba(255, 255, 255, 0.16);
}

.pm-blocked-post-content {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   AKIŞTA YANIT KARTI (REPLY FEED CARD)
   ========================================================================== */
.pm-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pm-reply-header svg {
    flex-shrink: 0;
    color: var(--feed-reply, #38bdf8);
}

.pm-reply-header a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.pm-reply-header a:hover {
    text-decoration: underline;
    color: var(--feed-accent, #8b5cf6);
}

.pm-reply-header .pm-reply-target-link {
    color: var(--feed-reply, #38bdf8);
    font-weight: 600;
}

.pm-reply-parent-quote {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--feed-reply, #38bdf8);
    border-radius: 4px 12px 12px 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.pm-reply-parent-quote:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
    border-left-color: var(--feed-reply, #38bdf8);
}

.pm-reply-parent-quote .quote-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.pm-reply-parent-quote .quote-author-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1;
}

.pm-reply-parent-quote .quote-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pm-reply-parent-quote .quote-name {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.pm-reply-parent-quote .quote-handle {
    font-size: 12px;
    color: #94a3b8;
}

.pm-reply-parent-quote .quote-dot,
.pm-reply-parent-quote .quote-time {
    font-size: 11.5px;
    color: #64748b;
}

.pm-reply-parent-quote .quote-snippet {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Alıntılanan Gönderi Görselleri / Medyaları */
.quote-media-wrap {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.quote-media-wrap::-webkit-scrollbar {
    height: 4px;
}

.quote-media-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.quote-media-item {
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.quote-media-item img {
    height: 120px;
    max-width: 220px;
    width: auto;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.15s;
}

.quote-media-item img:hover {
    opacity: 0.9;
}

.quote-media-item video {
    height: 120px;
    max-width: 220px;
    object-fit: cover;
    display: block;
}

.quote-media-wrap.single-media .quote-media-item {
    width: 100%;
    max-width: 100%;
}

.quote-media-wrap.single-media .quote-media-item img,
.quote-media-wrap.single-media .quote-media-item video {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

/* Lightbox */
.pm-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: fadeIn 0.2s ease;
}

.pm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.pm-lightbox-container img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Toast Bildirimi */
.pm-toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e2433;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 100001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.17, 0.89, 0.32, 1.28);
}

.pm-toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE UYARLAMALAR (TABLET & MOBİL)
   ========================================================================== */
@media (max-width: 960px) {
    .feed-layout-container {
        grid-template-columns: 1fr;
        padding: 16px 12px 40px;
    }

    .feed-sidebar-column {
        display: none; /* Mobilde ana akışa odaklan */
    }
}

@media (max-width: 600px) {
    .feed-sticky-header {
        position: relative !important;
        top: auto !important;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .pm-feed-composer-box {
        padding: 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .composer-avatar {
        width: 38px;
        height: 38px;
    }

    .composer-tools-left {
        gap: 8px;
    }

    .composer-tool-btn .tool-btn-text {
        display: none; /* Mobilde sadece ikon */
    }

    .composer-tool-btn {
        height: 36px;
        padding: 0 10px;
        border: none !important;
    }

    .pm-feed-post {
        padding: 14px 14px 10px;
        border-radius: 12px;
    }

    .pm-feed-post .post-body,
    .post-footer-interactions,
    .pm-rt-header {
        padding-left: 0; /* Mobilde tam genişlik */
    }

    .pm-feed-post .post-avatar {
        width: 38px;
        height: 38px;
    }

    .post-user-line .post-author {
        font-size: 14px;
    }

    .post-user-line .post-handle {
        font-size: 12.5px;
    }

    .post-text-content {
        font-size: 14px;
    }

    .interaction-btn {
        font-size: 12px;
        gap: 4px;
    }

    .interaction-btn .icon-wrap {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   MESAJ OLARAK PAYLAŞ (DM SHARE) MODAL STİLLERİ
   ========================================================================== */
.share-dm-post-preview {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.preview-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.preview-badge {
    background: var(--feed-accent, #8b5cf6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.preview-author-row strong {
    color: #fff;
    font-size: 13.5px;
}

.preview-snippet {
    margin: 0;
    font-size: 13px;
    color: var(--feed-text-muted, #94a3b8);
    line-height: 1.45;
    word-break: break-word;
}

.share-dm-search-wrap {
    position: relative;
    margin-bottom: 14px;
}

.share-dm-search-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--feed-text-dim, #64748b);
    font-size: 14px;
}

.share-dm-search-wrap input {
    width: 100%;
    box-sizing: border-box;
    background: #0f1219;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 14px 10px 38px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.share-dm-search-wrap input:focus {
    border-color: var(--feed-accent, #8b5cf6);
}

.share-dm-recipients-header {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--feed-text-dim, #64748b);
    margin-bottom: 8px;
}

.share-dm-users-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding-right: 4px;
}

.share-dm-users-list::-webkit-scrollbar {
    width: 5px;
}
.share-dm-users-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.share-dm-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.share-dm-user-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.share-dm-user-item.active {
    background: rgba(139, 92, 246, 0.16);
    border-color: rgba(139, 92, 246, 0.4);
}

.share-user-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0;
    overflow: hidden !important;
    display: block;
}

.share-user-info {
    flex: 1;
    min-width: 0;
}

.share-user-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-user-handle {
    font-size: 12px;
    color: var(--feed-text-dim, #64748b);
}

.share-user-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 11px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.share-dm-user-item.active .share-user-check {
    background: var(--feed-accent, #8b5cf6);
    border-color: var(--feed-accent, #8b5cf6);
    color: #fff;
}

.share-dm-note-wrap {
    margin-bottom: 16px;
}

.share-dm-note-wrap textarea {
    width: 100%;
    box-sizing: border-box;
    background: #0f1219;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

.share-dm-note-wrap textarea:focus {
    border-color: var(--feed-accent, #8b5cf6);
}

.share-dm-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-copy-link-alt {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--feed-text-muted, #94a3b8);
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-copy-link-alt:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-confirm-send-dm {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    outline: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    transition: all 0.2s ease;
}

.btn-confirm-send-dm:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.btn-confirm-send-dm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   TÜM PROFİL FOTOĞRAFLARI & AVATARLAR (GIF DAHİL YUVARLAK & OBJECT-FIT COVER)
   ========================================================================== */
.post-avatar,
.composer-avatar,
.user-avatar,
.user-avatar-wrap img,
.suggested-user-item .user-avatar-wrap img,
.share-user-avatar,
.single-reply-item img,
.post-avatar-link img,
.pm-feed-post .post-avatar,
.admin-post-avatar,
img.avatar,
.avatar {
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    display: block;
}

/* ==========================================================================
   GÖNDERİYE BAĞLI SERİ & BÖLÜM ROZETİ (POST ATTACHED BADGE)
   ========================================================================== */
.pm-post-attached-badge-wrap {
    margin: 3px 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pm-attached-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(99, 102, 241, 0.16));
    border: none !important;
    color: #d8b4fe;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pm-attached-badge-pill:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.36), rgba(99, 102, 241, 0.28));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.pm-attached-badge-pill i {
    color: var(--feed-accent, #8b5cf6);
    font-size: 12px;
    flex-shrink: 0;
}

.pm-attached-badge-pill .badge-series-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.pm-attached-badge-pill .badge-chap-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

.pm-attached-badge-pill .badge-chap-name {
    color: #e2e8f0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

/* ==========================================================================
   COMPOSER SERİ & BÖLÜM SEÇİM ÇUBUĞU
   ========================================================================== */
.composer-series-attach-wrap {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    animation: pmFadeIn 0.2s ease;
}

.composer-series-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.composer-select-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.composer-select-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--feed-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.composer-select-group label i {
    color: var(--feed-accent, #8b5cf6);
}

.composer-select {
    width: 100%;
    background: #181c25;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.composer-select:focus {
    border-color: var(--feed-accent, #8b5cf6);
    background: #1e2330;
}

.composer-select option {
    background: #181c25;
    color: #fff;
}

.composer-tool-btn.active {
    background: rgba(139, 92, 246, 0.22);
    border: none !important;
    outline: none !important;
    color: #d8b4fe;
}

/* ==========================================================================
   MESAJLARDA PAYLAŞILAN GÖNDERİ KARTLARI (SHARED POST CARDS)
   ========================================================================== */
.msg-bubble.is-shared-post-bubble {
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    width: 320px !important;
    max-width: 88vw !important;
    cursor: default;
    transition: none !important;
}

.msg-bubble-wrap.sent .msg-bubble.is-shared-post-bubble,
.msg-bubble-wrap.received .msg-bubble.is-shared-post-bubble {
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.msg-bubble.is-shared-post-bubble::before,
.msg-bubble.is-shared-post-bubble::after {
    display: none !important;
}

.msg-bubble.is-shared-post-bubble > .msg-meta {
    display: none !important;
}

.msg-text-content.msg-shared-post-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.msg-shared-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.msg-shared-post-note {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.45;
    border-left: 3px solid #8b5cf6;
    color: #ffffff;
    word-break: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.msg-shared-post-note .note-icon {
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.msg-shared-post-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: rgba(10, 12, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.msg-bubble-wrap.sent .msg-shared-post-card {
    background: rgba(12, 14, 25, 0.75);
    border-color: rgba(255, 255, 255, 0.15);
}

.msg-bubble-wrap.received .msg-shared-post-card {
    background: rgba(18, 21, 33, 0.85);
    border-color: rgba(255, 255, 255, 0.09);
}

.msg-shared-post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(167, 139, 250, 0.2);
    background: rgba(16, 19, 32, 0.9);
}

.shared-post-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 6px 12px;
    gap: 8px;
}

.shared-post-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.shared-post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: #1e293b;
}

.shared-post-author-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shared-post-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.shared-post-handle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.shared-post-pill-badge {
    display: none !important;
}

.shared-post-snippet-text {
    padding: 4px 12px 8px 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

/* Shared Reply Specific Styles */
.shared-post-pill-badge.reply-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.4);
}

.shared-reply-target-line {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 6px 12px;
    font-size: 11.5px;
    color: #94a3b8;
}

.shared-reply-target-line i {
    font-size: 10px;
    color: #a78bfa;
}

.shared-reply-snippet-text {
    padding: 2px 12px 10px 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}

.shared-post-media-thumb {
    position: relative;
    width: 100%;
    height: 165px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared-post-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.msg-shared-post-card:hover .shared-post-media-thumb img {
    transform: scale(1.04);
}

.shared-post-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared-post-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.shared-post-media-thumb .video-play-badge {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.shared-media-count-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.shared-post-media-thumb.is-sensitive img,
.shared-post-media-thumb.is-sensitive video {
    filter: blur(14px);
    transform: scale(1.1);
}

.shared-post-sensitive-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f87171;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.shared-post-series-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 11.5px;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shared-post-series-tag i {
    color: #38bdf8;
    font-size: 11px;
    flex-shrink: 0;
}

.shared-post-series-tag .series-name {
    font-weight: 600;
    color: #f8fafc;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shared-post-series-tag .chap-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.shared-post-series-tag .chap-name {
    color: rgba(255, 255, 255, 0.75);
    overflow: hidden;
    text-overflow: ellipsis;
}

.shared-post-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.shared-post-footer-bar .shared-post-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.shared-post-footer-bar .shared-post-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #a78bfa;
    transition: color 0.15s ease;
}

.shared-post-footer-bar .shared-post-cta i {
    font-size: 9px;
    transition: transform 0.15s ease;
}

.msg-shared-post-card:hover .shared-post-footer-bar .shared-post-cta {
    color: #c4b5fd;
}

.msg-shared-post-card:hover .shared-post-footer-bar .shared-post-cta i {
    transform: translateX(2px);
}

.msg-shared-post-deleted {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    font-size: 12px;
    color: #fca5a5;
    line-height: 1.4;
}

.msg-shared-post-deleted i {
    color: #ef4444;
    font-size: 14px;
    flex-shrink: 0;
}

/* ==========================================================================
   PAYLAŞILAN BÖLÜM (SHARED CHAPTER) BALONCUK STİLLERİ
   ========================================================================== */
.msg-shared-chapter-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.msg-shared-chapter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    min-width: 260px;
    max-width: min(92vw, 480px);
}

.msg-shared-chapter-card {
    display: flex;
    gap: 12px;
    background: rgba(15, 18, 28, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 9px;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.msg-bubble-wrap.sent .msg-shared-chapter-card {
    background: rgba(18, 20, 32, 0.9);
    border-color: rgba(139, 92, 246, 0.25);
}

.msg-bubble-wrap.received .msg-shared-chapter-card {
    background: rgba(13, 16, 26, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

.msg-shared-chapter-card:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(22, 25, 40, 0.96);
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.25), 0 0 0 1px rgba(167, 139, 250, 0.25);
}

.shared-chapter-card-thumb {
    width: 72px;
    height: 98px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #0f121a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shared-chapter-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.msg-shared-chapter-card:hover .shared-chapter-card-thumb img {
    transform: scale(1.05);
}

.shared-chapter-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.shared-chapter-tag-wrap {
    display: flex;
    align-items: center;
}

.shared-chapter-tag {
    font-size: 9.5px;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.shared-chapter-series-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.shared-chapter-name-pill {
    display: inline-block;
    align-self: flex-start;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    margin: 2px 0;
}

.shared-chapter-action-link {
    font-size: 11.5px;
    font-weight: 600;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.msg-shared-chapter-card:hover .shared-chapter-action-link {
    gap: 8px;
    color: #60a5fa;
}

/* 2. Kullanıcının Yazdığı Not / Mesaj (KARTIN ALTINDA) */
.msg-shared-chapter-user-note {
    font-size: 13.5px;
    line-height: 1.45;
    color: #f1f5f9;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    word-break: break-word;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.msg-bubble-wrap.sent .msg-shared-chapter-user-note {
    background: rgba(124, 58, 237, 0.22);
    border-color: rgba(139, 92, 246, 0.35);
    color: #ffffff;
}

.msg-bubble-wrap.received .msg-shared-chapter-user-note {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

/* ==========================================================================
   PROFİL SAYFASI AKIŞ FİLTRELEME ÇUBUĞU (TÜMÜ / GÖNDERİLER / YANITLAR)
   ========================================================================== */
.profile-feed-subfilter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-feed-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    font-family: inherit;
    user-select: none;
}

.profile-feed-filter-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.profile-feed-filter-btn.active {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
    color: #c4b5fd;
}

.profile-feed-filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    line-height: 1.3;
}

.profile-feed-filter-btn.active .filter-count {
    background: rgba(139, 92, 246, 0.28);
    color: #e9d5ff;
}

/* ==========================================================================
   MOBİL GÖNDERİ & YANITLAR POPUP (TAM EKRAN & RESPONSIVE POLISH)
   ========================================================================== */
@media (max-width: 768px) {
    #postModal.pm-modal-overlay {
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        background: #0b0e14 !important;
        z-index: 10000005 !important;
    }

    #postModal .pm-modal-dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        box-shadow: none !important;
        background: #0f1219 !important;
    }

    #postModal .pm-modal-header {
        padding: 12px 14px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 30 !important;
        background: rgba(13, 16, 22, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    #postModal .pm-modal-title {
        font-size: 15px !important;
    }

    #postModal .pm-modal-close {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }

    #postModal .pm-modal-body {
        flex: 1 1 auto !important;
        height: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px !important;
    }

    #postModal .pm-modal-post-card {
        padding: 14px 14px !important;
    }

    #postModal .pm-modal-replies-wrap {
        padding: 14px 14px 85px 14px !important;
    }

    #postModal .pm-modal-reply-form {
        margin-bottom: 16px !important;
    }

    #postModal .pm-modal-reply-input-row {
        padding: 6px 8px 6px 10px !important;
        gap: 8px !important;
        border-radius: 12px !important;
    }

    #postModal .pm-modal-my-avatar img,
    #postModal .pm-modal-my-avatar .post-avatar {
        width: 30px !important;
        height: 30px !important;
    }

    #postModal .pm-modal-reply-input-row input {
        font-size: 13px !important;
        padding: 4px 0 !important;
    }

    #postModal .btn-modal-send-reply {
        padding: 6px 12px !important;
        font-size: 12px !important;
        gap: 4px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    #postModal .pm-reply-parent-quote {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}



