/* ===============================================
   📱 MIRAPOLIS - Facebook-Style Mobile-First Design
   ===============================================
   Ultra-modern, touch-friendly, minimal design
   Optimized for mobile devices and UX excellence
   =============================================== */

/* ===============================================
   🎨 CSS VARIABLES & RESET
   =============================================== */
   :root {
    /* Primary colors */
    --mirapolis-primary: #1e40af;
    --mirapolis-primary-dark: #1e3a8a;
    --mirapolis-primary-light: #3b82f6;
    
    /* Blue variants */
    --mirapolis-blue: #1e40af;
    --mirapolis-blue-dark: #1e3a8a;
    --mirapolis-blue-light: #eff6ff;
    
    /* Gray scale */
    --mirapolis-gray-25: #fefefe;
    --mirapolis-gray-50: #f9fafb;
    --mirapolis-gray-100: #f3f4f6;
    --mirapolis-gray-200: #e5e7eb;
    --mirapolis-gray-300: #d1d5db;
    --mirapolis-gray-400: #9ca3af;
    --mirapolis-gray-500: #6b7280;
    --mirapolis-gray-600: #4b5563;
    --mirapolis-gray-700: #374151;
    --mirapolis-gray-800: #1f2937;
    --mirapolis-gray-900: #111827;
    
    /* Success, warning, error */
    --mirapolis-success: #10b981;
    --mirapolis-warning: #f59e0b;
    --mirapolis-error: #ef4444;
    
    /* Shadows */
    --mirapolis-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --mirapolis-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --mirapolis-shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.15);
    --mirapolis-radius: 12px;
    --mirapolis-radius-sm: 8px;
    --mirapolis-radius-lg: 16px;
    --mirapolis-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   📱 CORE FEED CONTAINER
   =============================================== */
.mirapolis-feed {
    margin: 0 auto;
    padding: 20px 0px;
    background-color: var(--bgcolor);
    color: var(--tcolor);
    font-family: var(--font);
}

/* ===============================================
   📝 POST CONTAINER
   =============================================== */
.post-item {
    background: var(--block-bg);
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius);
    margin-bottom: 24px;
    box-shadow: var(--mirapolis-shadow);
    transition: var(--mirapolis-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-item:hover {
    box-shadow: var(--mirapolis-shadow-lg);
    transform: translateY(-2px);
}

/* ===============================================
   📝 POST COMPOSER - Facebook Style
   =============================================== */
.post-composer {
    background: var(--block-bg);
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius);
    margin-bottom: 24px;
    box-shadow: var(--mirapolis-shadow);
    padding: 20px;
}

.composer-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.composer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.composer-input {
    width: 100%;
    min-height: 80px;
    padding: 16px;
    border: 1px solid var(--form-control-brd);
    border-radius: var(--mirapolis-radius-sm);
    background: var(--form-control-bg);
    color: var(--tcolor);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.composer-input:focus {
    outline: none;
    border-color: var(--lcolor);
    box-shadow: 0 0 0 3px rgba(76, 203, 112, 0.1);
}

.composer-input::placeholder {
    color: var(--placeholder);
}

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    min-height: 52px; /* Minimum yükseklik */
}

.composer-tools {
    display: flex;
    align-items: center; /* Tüm elementleri center'da hizala */
    gap: 8px;
    height: 44px; /* Sabit yükseklik */
}

.composer-tool {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally too */
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--mirapolis-radius-sm);
    background: transparent;
    border: none;
    color: var(--entry-info);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    min-height: 36px;
    height: 36px; /* Sabit yükseklik */
    white-space: nowrap; /* Metni kaydırma */
}

.composer-tool:hover {
    background: var(--spoiler);
    color: var(--lcolor);
}

.composer-tool.image-tool {
    color: var(--lcolor);
}

.composer-tool.image-tool:hover {
    background: var(--spoiler-h);
}

.composer-tool.video-tool {
    color: var(--lcolor);
}

.composer-tool.video-tool:hover {
    background: var(--spoiler-h);
}

.composer-tool.quote-checkbox {
    color: var(--entry-info);
    cursor: pointer;
    transition: var(--mirapolis-transition);
}

.composer-tool.quote-checkbox:hover {
    background: var(--spoiler-h);
    color: var(--tcolor);
}

.composer-tool.quote-checkbox.active {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.composer-tool.quote-checkbox.active:hover {
    background: rgba(255, 193, 7, 0.2);
}

.composer-tool i {
    font-size: 16px;
}

.composer-submit {
    background: var(--lcolor);
    color: white;
    border: none;
    border-radius: var(--mirapolis-radius-sm);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    height: 36px; /* Sabit yükseklik - tools ile aynı */
    white-space: nowrap;
}

.composer-submit:hover {
    background: var(--lhcolor);
    transform: translateY(-1px);
}

.composer-submit:disabled {
    background: var(--entry-info);
    cursor: not-allowed;
    transform: none;
}

.composer-submit:active {
    transform: translateY(0);
}

/* Image Preview in Composer */
.image-preview-container {
    margin: 12px 16px;
    position: relative;
    border-radius: var(--mirapolis-radius-sm);
    background: var(--mirapolis-gray-50);
}

.preview-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: var(--mirapolis-radius-sm);
}

.remove-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--mirapolis-transition);
}

.remove-image-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Video URL Input */
.video-input-container {
    margin: 12px 16px;
    padding: 16px;
    background: var(--block-bg);
    border: 2px dashed var(--line);
    border-radius: var(--mirapolis-radius-sm);
    transition: var(--mirapolis-transition);
}

.video-input-container:hover {
    border-color: var(--lcolor);
    background: var(--spoiler);
}

.video-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.video-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius-sm);
    background: var(--block-bg);
    color: var(--tcolor);
    font-size: 14px;
    transition: var(--mirapolis-transition);
}

.video-url-input:focus {
    outline: none;
    border-color: var(--lcolor);
    background: var(--spoiler);
    box-shadow: 0 0 0 3px rgba(var(--lcolor-rgb), 0.1);
}

.video-url-input::placeholder {
    color: var(--entry-info);
    opacity: 0.7;
}

.remove-video-btn {
    width: 32px;
    height: 32px;
    background: var(--line);
    color: var(--entry-info);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--mirapolis-transition);
    flex-shrink: 0;
}

.remove-video-btn:hover {
    background: var(--lcolor);
    color: white;
}

.video-help-text {
    margin: 0;
    text-align: center;
}

.video-help-text small {
    color: var(--entry-info);
    opacity: 0.8;
    font-size: 12px;
}

/* Video Display */
.post-video {
    margin: 12px 0;
    border-radius: var(--mirapolis-radius-sm);
    overflow: hidden;
    background: var(--block-bg);
    border: 1px solid var(--line);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Platform-specific styles - YouTube Only */
.youtube-video .video-wrapper {
    background: #000;
    padding-bottom: 56.25%; /* Standard YouTube 16:9 ratio */
}

.youtube-video .video-embed {
    width: 100%;
    height: 100%;
}

/* YouTube Shorts - Vertical 9:16 format */
.youtube-shorts {
    max-width: 320px; /* Limit width for better experience */
    margin: 0 auto; /* Center the shorts video */
}

.youtube-shorts .video-wrapper {
    background: #000;
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* Fallback for browsers without aspect-ratio support */
    aspect-ratio: 9 / 16; /* Direct aspect ratio for vertical videos */
    max-height: 600px; /* Limit height on mobile */
    overflow: hidden;
    border-radius: var(--mirapolis-radius-sm);
}

.youtube-shorts .video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure proper video fitting */
}

/* Responsive video adjustments - YouTube Only */
@media (max-width: 768px) {
    .video-wrapper {
        border-radius: var(--mirapolis-radius-sm);
        padding-bottom: 56.25%; /* Maintain 16:9 ratio */
    }
    
    .youtube-video .video-wrapper {
        background: #000;
    }
    
    /* Mobile Shorts - Simple and clean */
    .youtube-shorts {
        max-width: 250px; /* Smaller on mobile */
    }
    
    .youtube-shorts .video-wrapper {
        max-height: 450px; /* Limit height on mobile */
    }
    
    .youtube-shorts .video-embed {
        object-fit: cover; /* Ensure proper video fitting on mobile */
    }
}

/* Error state for failed videos */
.video-error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--spoiler);
    color: var(--entry-info);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--mirapolis-radius-sm);
}

.video-error i {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.6;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 20px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    margin-bottom: 16px;
    color: var(--entry-info, var(--mirapolis-gray-500));
}

.login-prompt a {
    color: var(--mirapolis-primary);
    text-decoration: none;
    font-weight: 600;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* ===============================================
   👤 POST HEADER
   =============================================== */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--line);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mirapolis-gray-100);
}

.post-author-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tcolor);
    line-height: 1.2;
}

.post-author-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--mirapolis-transition);
}

.post-author-info h4 a:hover {
    color: var(--lcolor);
}

.post-time {
    font-size: 12px;
    color: var(--entry-info);
    margin-top: 2px;
}

.time-link {
    color: inherit;
    text-decoration: none;
}

.time-link:hover {
    text-decoration: underline;
}

/* ===============================================
   👤 POST ACTIONS MENU
   =============================================== */
.post-actions-menu {
    position: relative;
}

.post-menu-trigger {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--entry-info, var(--mirapolis-gray-500));
    transition: var(--mirapolis-transition);
}

.post-menu-trigger:hover {
    background: var(--mirapolis-gray-100);
}

.post-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--entry-bg, #ffffff);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    border-radius: var(--mirapolis-radius-sm);
    box-shadow: var(--mirapolis-shadow-lg);
    min-width: 180px;
    z-index: 1000;
    overflow: hidden;
    display: none;
}

.post-dropdown-menu button {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: var(--text, var(--mirapolis-gray-700));
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--mirapolis-transition);
}

.post-dropdown-menu button:hover {
    background: var(--mirapolis-gray-50);
}

.post-dropdown-menu button.danger {
    color: var(--mirapolis-danger);
}

/* ===============================================
   📄 POST CONTENT
   =============================================== */
.post-content {
    padding: 0 12px 12px;
    flex-grow: 1;
    min-height: 60px; /* Smaller minimum for mobile */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.post-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tcolor);
    margin: 12px 0px;
    white-space: pre-wrap; /* Preserve line breaks and spaces - better for poetry */
    word-wrap: break-word; /* Prevent long words from breaking layout */
    overflow-wrap: break-word; /* Modern browsers support */
}

/* --- ESTETİK GÖRSEL KARTI (INSTAGRAM/FACEBOOK STİLİ) --- */
.post-image {
    /* margin: 12px 0; */
    border-radius: var(--mirapolis-radius-sm);
    overflow: hidden;
    /* background: var(--mirapolis-gray-100); */
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.08); */
    padding: 0;
}
.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    /* background: var(--mirapolis-gray-100); */
}
@media (max-width: 768px) {
    .post-image {
        height: 100%;
        /* margin: 8px 0; */
        /* border-radius: 10px; */
    }
}

.post-img {
    /* width: auto; */
    max-width: 100%;
    height: auto;
    max-height: 420px;
    display: block;
    border-radius: var(--mirapolis-radius-sm);
    object-fit: contain;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.08); */
    /* background: #fff; */
}

@media (max-width: 768px) {
    .post-image {
        /* margin: 8px 0; */
        min-height: 80px;
        max-width: 100vw;
        padding: 0;
    }
    .post-img {
        max-width: 98vw;
        max-height: 220px;
        /* border-radius: 12px; */
        object-fit: contain;
        margin: 0 auto;
        /* background: #fff; */
    }
    .composer-tool, .composer-submit, .remove-image-btn {
        min-height: 44px;
        min-width: 44px;
        font-size: 16px;
        padding: 10px 16px;
        border-radius: 14px;
    }
    .composer-tool i, .composer-submit i, .remove-image-btn i {
        font-size: 20px;
    }
    .composer-tool span {
        display: none;
    }
}

/* ===============================================
   ⚡ POST ACTIONS BAR
   =============================================== */
.post-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: var(--spoiler);
    margin-top: auto; /* Push to bottom of flex container */
    justify-content: space-between;
}

.post-action {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--mirapolis-radius-sm);
    color: var(--entry-info);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mirapolis-transition);
}

.post-action:hover {
    background: var(--spoiler-h);
    color: var(--lcolor);
}

.post-action.liked {
    color: #dc3545; /* Heart red color */
}

.post-action i {
    font-size: 16px;
}

/* ===============================================
   💬 COMMENTS SECTION - Facebook Style
   =============================================== */
.comments-section {
    border-top: 1px solid var(--line, var(--mirapolis-gray-100));
    padding: 16px;
    background: var(--spoiler, var(--mirapolis-gray-50));
}

.comments-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line, var(--mirapolis-gray-200));
    font-size: 13px;
    color: var(--entry-info, var(--mirapolis-gray-500));
}

.comments-list {
    margin-bottom: 16px;
}

/* ===============================================
   💭 COMMENT ITEM - Modern Facebook Style
   =============================================== */
.comment-item {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.comment-item.comment-reply {
    margin-left: 44px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-bubble {
    background: var(--block-bg);
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border: 1px solid var(--line);
    position: relative;
}

.comment-user {
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.comment-user:hover {
    color: var(--lcolor);
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--tcolor);
    margin-top: 2px;
    word-wrap: break-word;
    white-space: pre-line; /* Preserve line breaks in comments too */
}

.reply-to {
    font-size: 12px;
    color: var(--entry-info);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reply-to a {
    color: var(--lcolor);
    text-decoration: none;
    font-weight: 500;
}

/* ===============================================
   🔧 COMMENT ACTIONS
   =============================================== */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
    margin-left: 16px;
}

.comment-time {
    font-size: 12px;
    color: var(--entry-info);
    text-decoration: none;
}

.comment-time:hover {
    text-decoration: underline;
}

.comment-action {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--entry-info);
    cursor: pointer;
    padding: 5px 5px;
    border-radius: 6px;
    transition: var(--mirapolis-transition);
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 25px; /* Touch-friendly */
}

.comment-action:hover {
    background: var(--spoiler-h);
}

.comment-action.liked {
    color: #dc3545; /* Heart red color */
}

/* ===============================================
   ✍️ COMMENT COMPOSER - Facebook Style
   =============================================== */
.comment-composer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--block-bg);
    border-radius: var(--mirapolis-radius);
    padding: 12px;
    border: 1px solid var(--line);
}

.composer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.comment-composer textarea {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    resize: none;
    outline: none;
    background: var(--spoiler);
    transition: var(--mirapolis-transition);
    min-height: 36px;
    max-height: 120px;
    font-family: inherit;
    color: var(--tcolor);
}

.comment-composer textarea:focus {
    border-color: var(--lcolor);
    background: var(--block-bg);
    box-shadow: 0 0 0 2px rgba(76, 203, 112, 0.1);
}

.comment-composer textarea::placeholder {
    color: var(--placeholder);
}

.btn-comment {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--lcolor);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mirapolis-transition);
    flex-shrink: 0;
}

.btn-comment:hover {
    background: var(--lhcolor);
    transform: scale(1.05);
}

.btn-comment:disabled {
    background: var(--entry-info);
    cursor: not-allowed;
    transform: none;
}

/* ===============================================
   📱 MOBILE OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .mirapolis-feed {
        padding: 0 8px;
    }
    
    .post-composer {
        margin-bottom: 12px;
        border-radius: var(--mirapolis-radius-sm);
    }
    
    .composer-header {
        padding: 12px;
    }
    
    .composer-avatar {
        width: 40px;
        height: 40px;
    }
    
    .composer-input {
        font-size: 14px;
        padding: 10px 14px;
        border-radius: 20px;
        min-height: 36px;
    }
    
    .composer-actions {
        padding: 8px 12px;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .composer-tools {
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .composer-tool {
        padding: 6px 10px;
        font-size: 13px;
        min-height: 32px;
    }
    
    .composer-tool span {
        display: none; /* Hide text on mobile, show only icons */
    }
    
    .composer-submit {
        font-size: 14px;
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
    }
    
    .image-preview-container {
        margin: 8px 12px;
    }
    
    .post-item {
        margin-bottom: 12px;
        border-radius: var(--mirapolis-radius-sm);
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .post-header {
        padding: 12px;
    }
    
    .post-author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .post-author-info h4 {
        font-size: 14px;
    }
    
    .post-time {
        font-size: 12px;
    }
    
    .post-content {
        padding: 0 12px 12px;
        flex-grow: 1;
    }
    
    .post-text {
        font-size: 14px;
        white-space: pre-line; /* Preserve line breaks on mobile too */
        word-wrap: break-word;
    }
    
    .post-actions {
        padding: 6px 12px;
        margin-top: auto;
    }
    
    .post-action {
        padding: 10px 6px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .comments-section {
        padding: 12px;
    }
    
    .comment-bubble {
        border-radius: 8px;
        padding: 7px;
    }
    
    .comment-text {
        font-size: 13px;
        white-space: pre-wrap; /* Preserve line breaks in mobile comments */
        word-wrap: break-word;
    }
    
    .comment-meta {
        gap: 12px;
        margin-left: 14px;
    }
    
    .comment-action {
        min-height: 28px;
        padding: 2px 6px;
    }
}

/* ===============================================
   🔥 LOADING & ERROR STATES
   =============================================== */
.loading-comments {
    text-align: center;
    padding: 24px;
    color: var(--entry-info, var(--mirapolis-gray-500));
    font-size: 14px;
}

.error-message {
    text-align: center;
    padding: 16px;
    background: #fee;
    color: var(--mirapolis-danger);
    border-radius: var(--mirapolis-radius-sm);
    font-size: 14px;
    border: 1px solid #fcc;
}

.no-comments {
    text-align: center;
    padding: 32px 16px;
    color: var(--entry-info, var(--mirapolis-gray-400));
}

.no-comments i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.no-comments p {
    font-size: 14px;
    margin: 0;
}

/* ===============================================
   ⚡ ANIMATIONS & TRANSITIONS
   =============================================== */
.comment-item {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-action:active {
    transform: scale(0.95);
}

.comment-action:active {
    transform: scale(0.9);
}

.btn-comment:active {
    transform: scale(0.9);
}

/* ===============================================
   🌙 DARK MODE SUPPORT
   =============================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --mirapolis-gray-50: #1a1a1a;
        --mirapolis-gray-100: #2d2d2d;
        --mirapolis-gray-200: #404040;
        --mirapolis-gray-300: #595959;
        --mirapolis-gray-400: #737373;
        --mirapolis-gray-500: #8c8c8c;
        --mirapolis-gray-600: #a6a6a6;
        --mirapolis-gray-700: #bfbfbf;
        --mirapolis-gray-800: #d9d9d9;
    }
}

/* ===============================================
   🎯 ACCESSIBILITY IMPROVEMENTS
   =============================================== */
.post-action:focus,
.comment-action:focus,
.btn-comment:focus {
    outline: 2px solid var(--mirapolis-primary);
    outline-offset: 2px;
}

.comment-composer textarea:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .comment-bubble {
        border-width: 2px;
    }
    
    .post-item {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===============================================
   📝 REPLY FORM - Facebook Style
   =============================================== */
.reply-form {
    margin-top: 10px;
    margin-left: 0;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--block-bg);
    border-radius: 24px;
    border: 1px solid var(--line);
    max-width: 100%;
    box-sizing: border-box;
}
.reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--line);
}
.reply-form textarea {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    font-size: 15px;
    line-height: 1.5;
    color: var(--tcolor);
    font-family: inherit;
    min-height: 40px !important;
    max-height: 120px;
    padding: 8px 14px;
    border-radius: 18px;
    box-sizing: border-box;
}
.reply-form textarea::placeholder {
    color: var(--placeholder);
    font-size: 15px;
}
.btn-reply {
    width: 25px;
    height: 25px;
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mirapolis-transition);
    flex-shrink: 0;
    font-size: 12px;
    background: var(--lcolor);
}
.btn-reply:hover {
    transform: scale(1.08);
}
@media (max-width: 768px) {
    .reply-form {
        flex-direction: row;
        gap: 8px;
        padding: 8px 6px;
        border-radius: 20px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .reply-avatar {
        width: 32px;
        height: 32px;
    }
    .reply-form textarea {
        font-size: 14px;
        min-height: 36px !important;
        max-height: 80px;
        padding: 8px 10px;
        border-radius: 14px;
    }
    .btn-reply {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ===============================================
   💭 COMMENT REPLIES STYLING
   =============================================== */
.comment-reply {
    margin-left: 44px;
    margin-top: 8px;
    position: relative;
}

.comment-reply::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 16px;
    width: 16px;
    height: 2px;
    background: var(--line, var(--mirapolis-gray-300));
    border-radius: 1px;
}

.comment-reply .comment-avatar {
    width: 28px;
    height: 28px;
}

   .comment-reply .comment-bubble {
        font-size: 12px;
        padding: 7px;
        border-radius: 8px;
    }

.comment-reply .comment-meta {
    margin-left: 12px;
    font-size: 11px;
}

.comment-reply .comment-action {
    min-height: 24px;
    padding: 2px 6px;
    font-size: 11px;
}

/* Deep replies (level 3+) */
.comment-item[data-level="3"] {
    margin-left: 32px;
}

.comment-item[data-level="3"] .comment-avatar {
    width: 24px;
    height: 24px;
}

.comment-item[data-level="3"] .comment-bubble {
    font-size: 12px;
    padding: 6px 10px;
}

/* Reply indicator */
.reply-to {
    font-size: 11px;
    color: var(--mirapolis-gray-500);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 40px;
}

.reply-to i {
    font-size: 10px;
}

.reply-to a {
    color: var(--mirapolis-primary);
    text-decoration: none;
    font-weight: 500;
}

.reply-to a:hover {
    text-decoration: underline;
}

/* ===============================================
   📱 MOBILE REPLY OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .reply-form {
        margin-left: 12px;
        padding: 6px 10px;
        border-radius: 18px;
        gap: 6px;
    }
    
    .reply-avatar {
        width: 24px;
        height: 24px;
    }
    
    .reply-form textarea {
        font-size: 12px;
        min-height: 18px !important;
        max-height: 60px;
    }
    
    .btn-reply {
        width: 24px;
        height: 24px;
        font-size: 10px;
        background: var(--lcolor);
    }
    
    /* Backward compatibility */
    .reply-composer {
        padding: 6px 10px;
        border-radius: 18px;
        gap: 6px;
    }
    
    .reply-composer .comment-avatar {
        width: 24px;
        height: 24px;
    }
    
    .reply-composer textarea {
        font-size: 12px;
        min-height: 18px;
        max-height: 60px;
    }
    
    .reply-submit {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .comment-reply {
        margin-left: 36px;
    }
    
    .comment-reply::before {
        left: -18px;
        width: 12px;
    }
    
    .comment-reply .comment-avatar {
        width: 24px;
        height: 24px;
    }
    
   .comment-reply .comment-bubble {
        font-size: 12px;
        padding: 7px;
        border-radius: 8px;
    }
    
    .comment-reply .comment-meta {
        margin-left: 10px;
        font-size: 10px;
    }
    
    .reply-to {
        margin-left: 32px;
        font-size: 10px;
    }
    
    .comment-item[data-level="3"] {
        margin-left: 24px;
    }
    
    .comment-item[data-level="3"] .comment-avatar {
        width: 20px;
        height: 20px;
    }
}

/* ===============================================
   ✏️ POST EDIT FORM - Facebook Style
   =============================================== */
.post-edit-form {
    margin-top: 12px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius-sm);
    padding: 12px;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
}

.post-edit-textarea {
    width: 100%;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    border-radius: var(--mirapolis-radius-sm);
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
    background: var(--entry-bg, #ffffff);
    resize: none;
    outline: none;
    font-family: inherit;
    min-height: 80px;
    max-height: 200px;
    transition: var(--mirapolis-transition);
    box-sizing: border-box;
}

.post-edit-textarea:focus {
    border-color: var(--mirapolis-primary);
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.1);
}

.post-edit-textarea::placeholder {
    color: var(--entry-info, var(--mirapolis-gray-400));
}

.post-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.btn-save {
    background: var(--mirapolis-primary);
    color: white;
    border: none;
    border-radius: var(--mirapolis-radius-sm);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-save:hover {
    background: var(--mirapolis-primary-hover);
    transform: translateY(-1px);
}

.btn-save:disabled {
    background: var(--mirapolis-gray-300);
    cursor: not-allowed;
    transform: none;
}

.btn-save:active {
    transform: translateY(0);
}

.btn-cancel {
    background: var(--mirapolis-gray-100);
    color: var(--text, var(--mirapolis-gray-700));
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    border-radius: var(--mirapolis-radius-sm);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-cancel:hover {
    background: var(--mirapolis-gray-200);
    transform: translateY(-1px);
}

.btn-cancel:disabled {
    background: var(--mirapolis-gray-100);
    color: var(--mirapolis-gray-400);
    cursor: not-allowed;
    transform: none;
}

.btn-cancel:active {
    transform: translateY(0);
}

/* ===============================================
   📱 MOBILE POST EDIT OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .post-edit-form {
        margin-top: 8px;
        padding: 8px;
        border-radius: var(--mirapolis-radius-sm);
    }
    
    .post-edit-textarea {
        font-size: 13px;
        padding: 10px;
        min-height: 60px;
        max-height: 150px;
    }
    
    .post-edit-actions {
        margin-top: 8px;
        gap: 6px;
    }
    
    .btn-save,
    .btn-cancel {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn-save i,
    .btn-cancel i {
        font-size: 11px;
    }
}

/* ===============================================
   🧭 FEED NAVIGATION - Facebook Style
   =============================================== */
.feed-navigation {
    display: flex;
    gap: 4px;
    margin: 16px 0;
    padding: 4px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feed-navigation::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    flex: 1;
    min-width: 80px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--tcolor);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--mirapolis-radius-sm);
    cursor: pointer;
    transition: var(--mirapolis-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
    height: 44px; /* Sabit yükseklik */
    min-height: 44px; /* Minimum yükseklik */
}

.nav-tab:hover {
    background: var(--mirapolis-gray-100);
    color: var(--text, var(--mirapolis-gray-700));
}

.nav-tab.active {
    background: var(--mirapolis-primary-light);
    color: white;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
}

.nav-tab.active:hover {
    background: var(--mirapolis-primary-hover);
}

.nav-tab i {
    font-size: 16px;
}

.nav-tab span {
    font-size: 13px;
}

/* ===============================================
   🔙 SINGLE POST HEADER - Back Button
   =============================================== */
.single-post-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    background: var(--entry-bg, #ffffff);
    color: var(--tcolor);
    border-radius: var(--mirapolis-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    text-decoration: none;
}

.back-button:hover {
    background: var(--mirapolis-gray-50);
    color: var(--mirapolis-primary);
    border-color: var(--mirapolis-primary);
    transform: translateX(-2px);
}

.back-button:active {
    transform: translateX(0);
}

.back-button i {
    font-size: 14px;
}

.single-post-header h1 {
    margin: 0;
    font-size: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-header h1 i {
    color: var(--mirapolis-primary);
    font-size: 18px;
}

/* ===============================================
   📊 FILTER STATUS
   =============================================== */
.filter-status {
    text-align: center;
    padding: 8px 16px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius-sm);
    font-size: 13px;
    color: var(--entry-info, var(--mirapolis-gray-600));
    margin: 8px 0;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.filter-status i {
    color: var(--mirapolis-primary);
    font-size: 12px;
}

/* ===============================================
   📱 MOBILE NAVIGATION OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .feed-navigation {
        margin: 12px 0;
        padding: 2px;
        gap: 2px;
    }
    
    .nav-tab {
        min-width: 60px;
        padding: 10px 8px;
        font-size: 12px;
        flex-direction: column;
        gap: 4px;
        height: 56px; /* Biraz daha yüksek mobilde */
        min-height: 56px;
    }
    
    .nav-tab span {
        font-size: 10px;
        line-height: 1;
    }
    
    .single-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .back-button {
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .single-post-header h1 {
        font-size: 18px;
        width: 100%;
        justify-content: center;
    }
    
    .filter-status {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===============================================
   🎨 ENHANCED FEED HEADER - Modern Design
   =============================================== */
.feed-header {
    background: linear-gradient(135deg, var(--lcolor, #1877f2), var(--lhcolor, #166fe5));
    color: white;
    padding: 48px 24px;
    border-radius: var(--mirapolis-radius-lg);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic background pattern */
.feed-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: headerPattern 30s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes headerPattern {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -10px) rotate(90deg); }
    50% { transform: translate(10px, 10px) rotate(180deg); }
    75% { transform: translate(-10px, 10px) rotate(270deg); }
}

/* Glass morphism effect */
.feed-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    margin: 0 0 12px 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-content h1 i {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-content p {
    margin: 0 0 24px 0;
    opacity: 0.9;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* User Statistics */
.user-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--mirapolis-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--mirapolis-transition);
    min-width: 80px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-item strong {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stat-item small {
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

/* ===============================================
   💬 CHARACTER COUNTER & FORM ELEMENTS
   =============================================== */
.char-counter {
    font-size: 12px;
    color: var(--entry-info, var(--mirapolis-gray-500));
    margin-top: 6px;
    text-align: right;
    padding: 0 4px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: 4px;
    font-weight: 500;
}

.char-counter.error {
    color: var(--mirapolis-danger);
    background: rgba(231, 76, 60, 0.1);
    font-weight: 600;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* ===============================================
   📝 ENHANCED LOGIN PROMPT
   =============================================== */
.login-prompt {
    text-align: center;
    padding: 24px;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.login-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(24, 119, 242, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.login-prompt p {
    margin: 0;
    font-size: 15px;
    color: var(--text, var(--mirapolis-gray-700));
    position: relative;
    z-index: 1;
}

.login-prompt a {
    color: var(--lcolor, var(--mirapolis-primary));
    text-decoration: none;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    transition: var(--mirapolis-transition);
}

.login-prompt a:hover {
    color: var(--lhcolor, var(--mirapolis-primary-hover));
    background: rgba(24, 119, 242, 0.1);
}

/* ===============================================
   🔄 LOAD MORE SECTION
   =============================================== */
.load-more-container {
    text-align: center;
    margin: 32px 0;
    padding: 20px;
}

.load-more-btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--lcolor, var(--mirapolis-primary));
    color: white;
    border-radius: var(--mirapolis-radius);
    border: none;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.2);
}

.load-more-btn:hover {
    background: var(--lhcolor, var(--mirapolis-primary-hover));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(24, 119, 242, 0.3);
    color: white;
    text-decoration: none;
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn i {
    font-size: 14px;
}

/* ===============================================
   🌙 DARK MODE ADAPTATIONS
   =============================================== */
@media (prefers-color-scheme: dark) {
    .feed-header {
        background: linear-gradient(135deg, var(--lcolor, #1a365d), var(--lhcolor, #2563eb));
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .stat-item:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .login-prompt {
        border-color: var(--line, rgba(255, 255, 255, 0.1));
        background: var(--spoiler, rgba(255, 255, 255, 0.05));
    }
    
    .char-counter {
        background: var(--spoiler, rgba(255, 255, 255, 0.05));
        color: var(--entry-info, rgba(255, 255, 255, 0.7));
    }
}

/* ===============================================
   📱 MOBILE OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .feed-header {
        padding: 32px 16px;
        margin-bottom: 16px;
        border-radius: var(--mirapolis-radius);
    }
    
    .header-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .header-content h1 i {
        font-size: 1.8rem;
    }
    
    .header-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .user-stats {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .stat-item {
        padding: 12px 16px;
        min-width: 70px;
        flex: 1;
        max-width: 120px;
    }
    
    .stat-item strong {
        font-size: 1.4rem;
    }
    
    .stat-item small {
        font-size: 0.65rem;
    }
    
    .load-more-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .login-prompt {
        padding: 20px 16px;
        margin: 0 8px 16px;
    }
}

@media (max-width: 480px) {
    .feed-header {
        padding: 24px 12px;
    }
    
    .header-content h1 {
        font-size: 1.75rem;
    }
    
    .user-stats {
        gap: 12px;
    }
    
    .stat-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .stat-item strong {
        font-size: 1.2rem;
    }
    
    .stat-item small {
        font-size: 0.6rem;
    }
}

/* ===============================================
   🔄 INFINITE SCROLL STYLES
   =============================================== */
.infinite-loading-indicator {
    text-align: center;
    padding: 24px 16px;
    background: var(--mirapolis-gray-100);
    border-radius: 12px;
    margin: 16px 0;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--mirapolis-gray-300);
    border-top: 3px solid var(--mirapolis-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    margin: 0;
    color: var(--mirapolis-gray-600);
    font-size: 14px;
    font-weight: 500;
}

/* End of feed message */
.end-of-feed-message {
    margin: 24px 0;
    background: var(--spoiler, var(--mirapolis-gray-50));
    border-radius: var(--mirapolis-radius);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Infinite scroll loading states */
.posts-container .post-item.loading-in {
    animation: slideInUp 0.4s ease-out;
}

/* Hide load more button when infinite scroll is active */
.mirapolis-feed.infinite-scroll-active .load-more-container {
    display: none !important;
}

/* Mobile optimizations for infinite scroll */
@media (max-width: 768px) {
    .infinite-loading-indicator {
        margin: 16px 0;
        padding: 16px;
    }
    
    .loading-spinner .spinner {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }
    
    .loading-spinner p {
        font-size: 13px;
    }
    
    .end-of-feed-message {
        margin: 16px 8px;
    }
}

/* Performance optimizations */
.post-item {
    will-change: transform, opacity;
}

.infinite-loading-indicator {
    will-change: opacity;
}

/* Scroll hint for better UX */
.scroll-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--lcolor, var(--mirapolis-primary));
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: bounceIn 0.5s ease-out;
    z-index: 1000;
    display: none;
}

.scroll-hint.show {
    display: block;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Posts container improvements */
.posts-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Fade in animation for new posts */
.post-item.fade-in {
    animation: fadeInSmooth 0.4s ease-in-out forwards;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

/* Filter animations without transform */
.post-item[style*="slideInUp"] {
    animation: slideInUp 0.3s ease-out !important;
}

@keyframes slideInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===============================================
   📤 SHARE DROPDOWN MENU
   =============================================== */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--entry-bg, #ffffff);
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    border-radius: var(--mirapolis-radius);
    box-shadow: var(--mirapolis-shadow-lg);
    min-width: 200px;
    z-index: 9999;
    overflow: hidden;
    display: none;
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.share-menu.show {
    display: block;
    opacity: 1;
}

.share-menu-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line, var(--mirapolis-gray-100));
    background: var(--spoiler, var(--mirapolis-gray-50));
}

.share-menu-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-menu-header i {
    color: var(--mirapolis-primary);
}

.share-options {
    padding: 8px 0;
}

.share-option {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: var(--text, var(--mirapolis-gray-700));
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--mirapolis-transition);
    text-decoration: none;
}

.share-option:hover {
    background: var(--mirapolis-gray-50);
    color: var(--text);
    text-decoration: none;
}

.share-option i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.share-option.whatsapp i {
    color: #25D366;
}

.share-option.facebook i {
    color: #1877f2;
}

.share-option.telegram i {
    color: #0088cc;
}

.share-option.repost i {
    color: var(--mirapolis-success);
}

.share-option.copy i {
    color: var(--mirapolis-gray-500);
}

/* Menu arrow */
.share-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: var(--entry-bg, #ffffff) transparent transparent transparent;
}

.share-menu::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 19px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 9px 0 9px;
    border-color: var(--line, var(--mirapolis-gray-200)) transparent transparent transparent;
    z-index: -1;
}

/* Desktop'ta close button gizle */
.share-menu .share-close-btn {
    display: none;
}

/* ===============================================
   📱 MOBILE SHARE MENU OPTIMIZATIONS
   =============================================== */
@media (max-width: 768px) {
    .share-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
        min-height: auto;
        overflow-y: auto;
        animation: slideUpFromBottom 0.3s ease-out;
        margin-bottom: 0;
        min-width: 100%;
        max-width: 100%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        backdrop-filter: none;
        border: none;
    }
    
    .share-menu::after,
    .share-menu::before {
        display: none;
    }
    
    @keyframes slideUpFromBottom {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .share-option {
        padding: 16px 20px;
        font-size: 15px;
        min-height: 56px;
        border-bottom: 1px solid var(--line, var(--mirapolis-gray-100));
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .share-option:first-child {
        border-top: none;
    }
    
    .share-option:last-child {
        border-bottom: none;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    
    .share-option:hover {
        background: var(--mirapolis-gray-50);
    }
    
    .share-option i {
        font-size: 18px;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .share-menu-header {
        padding: 16px 20px 8px;
        background: var(--spoiler, var(--mirapolis-gray-50));
        border-bottom: 1px solid var(--line, var(--mirapolis-gray-200));
        position: relative;
    }
    
    .share-menu-header h4 {
        font-size: 16px;
        text-align: center;
        margin: 0;
        color: var(--text);
    }
    
    /* Handle bar */
    .share-menu-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: var(--mirapolis-gray-300);
        border-radius: 2px;
    }
    
    /* Mobile backdrop overlay */
    .share-menu.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: backdropFadeIn 0.3s ease-out;
    }
    
    @keyframes backdropFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Remove close button for mobile */
    .share-menu .share-close-btn {
        display: none;
    }
}

/* ===============================================
   🎯 REPOST MODAL
   =============================================== */
.repost-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999; /* Z-index artırıldı */
    display: flex; /* Flexbox açık olarak belirtildi */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(3px); /* Arka plan blur efekti */
    -webkit-backdrop-filter: blur(3px);
}

.repost-modal-content {
    background: var(--modal-bg);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideInModal 0.3s ease-out;
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.repost-modal-header {
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.repost-modal-header h3 {
    margin: 0;
    color: var(--tcolor);
    font-size: 18px;
    font-weight: 600;
}

.repost-modal-header h3 i {
    color: var(--lcolor);
    margin-right: 8px;
}

.repost-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--entry-info);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.repost-close:hover {
    background: var(--spoiler);
    color: var(--tcolor);
}

.repost-form {
    padding: 20px;
}

.repost-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--form-control-brd);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 14px;
    background: var(--form-control-bg);
    color: var(--tcolor);
    resize: vertical;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.repost-form textarea:focus {
    outline: none;
    border-color: var(--lcolor);
    box-shadow: 0 0 0 3px rgba(76, 203, 112, 0.1);
}

.repost-original {
    background: var(--spoiler);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.original-post-content {
    display: flex;
    flex-direction: column;
}

.original-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.original-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.original-user-info strong {
    font-size: 14px;
    color: var(--tcolor);
    margin-right: 8px;
}

.original-time {
    font-size: 12px;
    color: var(--entry-info);
}

.original-post-text {
    font-size: 14px;
    color: var(--tcolor);
}

.repost-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-repost {
    padding: 7px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel {
    background: var(--spoiler);
    color: var(--tcolor);
}

.btn-cancel:hover {
    background: var(--spoiler-h);
}

.btn-repost {
    background: var(--lcolor);
    color: white;
}

.btn-repost:hover {
    background: var(--lhcolor);
}

.btn-repost:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-repost i {
    margin-right: 6px;
}

/* Repost Item Styling */
.post-item.repost-item {
    border-left: 4px solid var(--lcolor);
}

.repost-header {
    padding: 12px 16px 8px 16px;
    background: var(--spoiler);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.repost-icon {
    color: var(--lcolor);
    margin-right: 8px;
    font-size: 14px;
}

.repost-author {
    color: var(--lcolor);
    text-decoration: none;
    font-weight: 500;
}

.repost-author:hover {
    text-decoration: underline;
}

.repost-time {
    color: var(--entry-info);
    font-size: 12px;
}

.repost-message {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--spoiler);
}

.repost-message .post-text {
    font-style: italic;
    color: var(--tcolor);
}

.original-post-wrapper {
    padding: 16px;
    background: var(--block-bg);
    border-radius: 0 0 12px 12px;
}

.original-post-wrapper .post-text {
    margin-bottom: 12px;
    color: var(--tcolor);
}

.post-reposts {
    display: flex;
    align-items: center;
    color: var(--mirapolis-gray-500);
    font-size: 13px;
    margin-left: auto;
}

.post-reposts i {
    margin-right: 4px;
    font-size: 12px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .repost-modal {
        padding: 16px;
    }
    
    .repost-modal-content {
        max-height: 85vh;
    }
    
    .repost-modal-header {
        padding: 16px 16px 0 16px;
    }
    
    .repost-form {
        padding: 16px;
    }
    
    .repost-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-repost {
        width: 100%;
        padding: 12px;
    }
    
    .repost-header {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .repost-message {
        padding: 12px;
    }
}

/* ===============================================
   🔥 TREND BADGES STYLING
   =============================================== */

.post-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid;
    cursor: help;
    transition: all 0.2s ease;
}

.post-badge i {
    font-size: 10px;
}

/* Trending Badge */
.trending-badge {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    border-color: #ff4757;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    animation: trendingPulse 2s ease-in-out infinite;
}

.trending-badge:hover {
    background: linear-gradient(135deg, #ff3742, #ff2d3a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

/* Hot Badge */
.hot-badge {
    background: linear-gradient(135deg, #ff9f43, #ff8c00);
    color: white;
    border-color: #ff9f43;
    box-shadow: 0 2px 8px rgba(255, 159, 67, 0.3);
    animation: hotFlicker 1.5s ease-in-out infinite alternate;
}

.hot-badge:hover {
    background: linear-gradient(135deg, #ff8c00, #ff7700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.4);
}

/* Popular Badge */
.popular-badge {
    background: linear-gradient(135deg, #3742fa, #2f32e2);
    color: white;
    border-color: #3742fa;
    box-shadow: 0 2px 8px rgba(55, 66, 250, 0.3);
    animation: popularGlow 3s ease-in-out infinite;
}

.popular-badge:hover {
    background: linear-gradient(135deg, #2f32e2, #2829d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 66, 250, 0.4);
}

/* Badge Animations */
@keyframes trendingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes hotFlicker {
    0% {
        filter: brightness(1) hue-rotate(0deg);
    }
    100% {
        filter: brightness(1.1) hue-rotate(5deg);
    }
}

@keyframes popularGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(55, 66, 250, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(55, 66, 250, 0.5);
    }
}

/* Mobile responsive badges */
@media (max-width: 768px) {
    .post-badges {
        gap: 4px;
    }
    
    .post-badge {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .post-badge i {
        font-size: 9px;
    }
}

/* Dark theme adjustments */
html.darktheme .trending-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #e74c3c;
}

html.darktheme .hot-badge {
    background: linear-gradient(135deg, #f39c12, #d68910);
    border-color: #f39c12;
}

html.darktheme .popular-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-color: #3498db;
}

/* Post header layout adjustments for badges */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.post-actions-menu {
    margin-left: auto;
}

/* ===============================================
   💭 QUOTE POSTS STYLING
   =============================================== */

.post-item.quote-post {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
    position: relative;
}

.post-item.quote-post::before {
    content: '\f10d'; /* FontAwesome quote-left */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: #ffc107;
    opacity: 0.3;
    z-index: 1;
}

.post-item.quote-post .post-text {
    font-style: italic;
    position: relative;
    z-index: 2;
}

.post-item.quote-post .post-header {
    border-bottom-color: rgba(255, 193, 7, 0.2);
}

/* Quote badge in post header */
.quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin-left: 8px;
}

.quote-badge i {
    font-size: 10px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .post-item.quote-post::before {
        top: 12px;
        right: 12px;
        font-size: 20px;
    }
    
    .quote-badge {
        padding: 1px 6px;
        font-size: 10px;
        margin-left: 6px;
    }
}
label.composer-tool.quote-checkbox,
label.composer-tool.image-tool {
    margin-bottom: 0;
}


.comment-edit-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0px;
}

/* ===============================================
   🏷️ MINIMAL HASHTAG HEADER - Simple & Clean
   =============================================== */
.hashtag-hero {
    background: var(--spoiler, var(--mirapolis-gray-50));
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    border-radius: var(--mirapolis-radius-sm);
    margin-bottom: 12px;
    padding: 12px;
    text-align: center;
}

.hashtag-hero-content {
    /* No specific styling needed - inherits from parent */
}

.hashtag-hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hero-back-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    background: var(--entry-bg, #ffffff);
    color: var(--tcolor, var(--mirapolis-gray-700));
    border-radius: var(--mirapolis-radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    text-decoration: none;
}

.hero-back-button:hover {
    background: var(--spoiler, var(--mirapolis-gray-50));
    color: var(--lcolor, var(--mirapolis-primary));
    border-color: var(--lcolor, var(--mirapolis-primary));
}

.hashtag-trend-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    background: var(--lcolor, var(--mirapolis-primary));
    color: white;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.hashtag-hero-main {
    margin-bottom: 8px;
}

.hashtag-icon {
    width: 24px;
    height: 24px;
    background: var(--lcolor, var(--mirapolis-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    color: white;
}

.hashtag-icon i {
    font-size: 11px;
}

.hashtag-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 3px;
    color: var(--tcolor, var(--mirapolis-gray-800));
}

.hashtag-description p {
    font-size: 11px;
    margin: 0 0 8px;
    color: var(--entry-info, var(--mirapolis-gray-600));
}

.hashtag-stats {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.hashtag-stats .stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    background: var(--entry-bg, #ffffff);
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius-sm);
    transition: var(--mirapolis-transition);
}

.hashtag-stats .stat-item:hover {
    background: var(--spoiler, var(--mirapolis-gray-50));
}

.hashtag-stats .stat-item i {
    font-size: 10px;
    color: var(--lcolor, var(--mirapolis-primary));
}

.hashtag-stats .stat-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--tcolor, var(--mirapolis-gray-800));
    line-height: 1;
}

.hashtag-stats .stat-label {
    font-size: 8px;
    color: var(--entry-info, var(--mirapolis-gray-600));
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-weight: 500;
}

.hashtag-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.hashtag-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid var(--line, var(--mirapolis-gray-200));
    background: var(--entry-bg, #ffffff);
    color: var(--tcolor, var(--mirapolis-gray-700));
    border-radius: var(--mirapolis-radius-sm);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mirapolis-transition);
    text-decoration: none;
}

.hashtag-actions .action-btn.primary {
    background: var(--lcolor, var(--mirapolis-primary));
    color: white;
    border-color: var(--lcolor, var(--mirapolis-primary));
}

.hashtag-actions .action-btn:hover {
    background: var(--spoiler, var(--mirapolis-gray-50));
    color: var(--lcolor, var(--mirapolis-primary));
    border-color: var(--lcolor, var(--mirapolis-primary));
}

.hashtag-actions .action-btn.primary:hover {
    background: var(--lhcolor, var(--mirapolis-primary-hover));
    color: white;
}

/* ===============================================
   📱 MOBILE RESPONSIVE HASHTAG HEADER
   =============================================== */
@media (max-width: 768px) {
 
    
    .hashtag-hero-nav {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        margin-bottom: 10px;
    }
    
    .hero-back-button {
        align-self: flex-start;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .hashtag-trend-badge {
        align-self: center;
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .hashtag-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
    }
    
    .hashtag-icon i {
        font-size: 12px;
    }
    
    .hashtag-title {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .hashtag-description p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .hashtag-stats {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .hashtag-stats .stat-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .hashtag-stats .stat-item i {
        font-size: 11px;
    }
    
    .hashtag-stats .stat-number {
        font-size: 13px;
    }
    
    .hashtag-stats .stat-label {
        font-size: 8px;
    }
    
    .hashtag-actions {
        gap: 6px;
    }
    
    .hashtag-actions .action-btn {
        padding: 5px 10px;
        font-size: 11px;
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    
    .hashtag-title {
        font-size: 1.1rem;
    }
    
    .hashtag-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 4px;
    }
    
    .hashtag-stats .stat-item {
        flex: 1;
        padding: 5px 4px;
        min-width: auto;
    }
    
    .hashtag-stats .stat-item i {
        font-size: 10px;
    }
    
    .hashtag-stats .stat-number {
        font-size: 12px;
    }
    
    .hashtag-stats .stat-label {
        font-size: 7px;
    }
    
    .hashtag-actions {
        flex-direction: column;
    }
    
    .hashtag-actions .action-btn {
        width: 100%;
    }
}

/* ===============================================
   🔄 HASHTAG LOADING ANIMATIONS
   =============================================== */
@keyframes hashtag-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#hashtag-loading-indicator {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================================
   🔄 IMPROVED REPOST STYLING - Modern Layout
   =============================================== */
.post-item.repost-item {
    border-left: 4px solid var(--lcolor);
}

/* Repost indicator in header */
.repost-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    font-size: 11px;
    color: var(--lcolor);
    font-weight: 500;
}

.repost-indicator .repost-icon {
    font-size: 12px;
}

/* Original Post Header inside repost */
.original-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--spoiler);
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius-sm);
    margin-bottom: 12px;
}

.original-post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    flex-shrink: 0;
}

.original-post-info {
    flex: 1;
    min-width: 0;
}

.original-post-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tcolor);
    line-height: 1.2;
}

.original-post-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--mirapolis-transition);
}

.original-post-info h4 a:hover {
    color: var(--lcolor);
}

.original-post-time {
    font-size: 12px;
    color: var(--entry-info);
    margin-top: 2px;
    display: block;
}

/* Original Post Content */
.original-post-content {
    padding: 0 16px 12px;
}

.original-post-content .post-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tcolor);
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Repost Message Styling */
.repost-message {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--block-bg);
}

.repost-message .post-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tcolor);
    margin-bottom: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Original Post Wrapper */
.original-post-wrapper {
    background: var(--spoiler);
    border: 1px solid var(--line);
    border-radius: var(--mirapolis-radius-sm);
    margin-top: 12px;
    overflow: hidden;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .repost-indicator {
        font-size: 10px;
        margin-left: 6px;
    }
    
    .repost-indicator .repost-icon {
        font-size: 11px;
    }
    
    .original-post-header {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .original-post-avatar {
        width: 32px;
        height: 32px;
    }
    
    .original-post-info h4 {
        font-size: 13px;
    }
    
    .original-post-time {
        font-size: 11px;
    }
    
    .original-post-content {
        padding: 0 12px 10px;
    }
    
    .original-post-content .post-text {
        font-size: 14px;
    }
    
    .repost-message {
        padding: 12px;
    }
    
    .repost-message .post-text {
        font-size: 14px;
    }
}

#post-content-10 {
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding: 0;
  }
  #post-content-10 br {
    display: none;
  }
  #post-content-10 p {
    margin: 6px 0;
  }

@media (max-width: 768px) {
  .comment-composer {
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
    border-radius: 16px;
  }
  .comment-composer textarea {
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 24px;
    min-height: 48px;
    max-height: 160px;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-comment {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
}

.comment-text br {
  display: none;
}

.post-content br {
  display: none;
}


