/* ============================================
   OPTIMIZED CSS - NO ANIMATIONS
   Farm Girls Theme - Fast & Stable
   ============================================ */

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

:root {
    --bg-body: #18191a;
    --bg-surface: #242526;
    --bg-surface-alt: #1c1e21;
    --border-soft: #3a3b3c;
    --border-strong: #4e4f50;
    --text-main: #e4e6eb;
    --text-secondary: #b0b3b8;
    --text-muted: #8a8d91;
    --accent: #2d88ff;
    --accent-hover: #1877f2;
    --accent-soft: rgba(45,136,255,0.15);
    --shadow-soft: 0 1px 2px rgba(0,0,0,0.3);
    --radius-card: 12px;
    --radius-pill: 999px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 60px;
}

/* ============================================
   Modern Messaging Feed
   ============================================ */

.messaging-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-body);
    min-height: 100vh;
}

.stories-section {
    background: linear-gradient(180deg, #242526 0%, #1c1e21 100%);
    padding: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.stories-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.stories-wrapper::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex-shrink: 0;
    text-align: center;
}

.story-link {
    text-decoration: none;
    color: var(--text-main);
    display: block;
}

.story-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #1c3a52 0%, #152d42 100%);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.story-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #242526;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-name {
    font-size: 12px;
    font-weight: 500;
    display: block;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.posts-list-section {
    padding: 0;
}

.post-card {
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.post-card:hover {
    background: var(--bg-surface-alt);
}

.post-card-link {
    display: flex;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.post-image-large {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-card);
    overflow: hidden;
    flex-shrink: 0;
    background: #3a3b3c;
}

.post-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.post-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.post-title-main {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.post-info-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-location,
.post-announcement {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
}

.post-location {
    color: var(--accent);
}

.post-announcement {
    color: var(--text-secondary);
}

.info-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text {
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-section {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-icon {
    font-size: 14px;
}

/* ============================================
   Category Page
   ============================================ */

.messaging-category-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-body);
    min-height: 100vh;
}

.messaging-category-header {
    padding: 20px 16px;
    background: linear-gradient(135deg, #242526 0%, #18191a 100%);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 28px;
}

.category-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.category-stats {
    flex-shrink: 0;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-surface);
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.stat-badge small {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.messaging-posts-list {
    padding: 0;
}

.messaging-list-item {
    border-bottom: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.messaging-list-item:hover {
    background: var(--bg-surface-alt);
}

.messaging-list-item:active {
    background: #1c3a52;
}

.list-item-link {
    display: flex;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.list-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-card);
    overflow: hidden;
    flex-shrink: 0;
    background: #3a3b3c;
    position: relative;
}

.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.messaging-list-item:hover .image-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 32px;
    filter: grayscale(1) brightness(2);
}

.list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.list-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.list-item-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.list-item-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.list-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-item-icon {
    font-size: 14px;
}

/* ============================================
   Pagination
   ============================================ */

.messaging-pagination {
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.messaging-pagination a,
.messaging-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.messaging-pagination a {
    background: var(--bg-surface);
    color: var(--text-main);
}

.messaging-pagination a:hover {
    background: var(--accent);
    color: white;
}

.messaging-pagination span.current {
    background: var(--accent);
    color: white;
}

.messaging-pagination .nav-arrow {
    background: var(--accent);
    color: white;
    font-size: 18px;
}

/* ============================================
   Single Post Page
   ============================================ */

.messaging-single-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-body);
    padding-bottom: 40px;
}

.messaging-post-gallery {
    background: var(--bg-surface);
    padding: 16px;
    margin-bottom: 8px;
}

.slider-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.nav-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
}

.nav-link-btn:hover {
    background: var(--accent-hover);
}

.nav-icon-circle {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.slide-counter {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.slide-counter span {
    color: var(--accent);
    font-size: 18px;
}

.gallery-container {
    margin: 16px 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #000;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.messaging-post-image {
    background: var(--bg-surface);
    padding: 16px;
    margin-bottom: 8px;
    border-radius: var(--radius-card);
}

.messaging-post-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    display: block;
}

.messaging-post-title {
    background: var(--bg-surface);
    padding: 20px 16px;
    margin-bottom: 8px;
}

.messaging-post-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
}

.messaging-post-content {
    background: var(--bg-surface);
    padding: 20px 16px;
    margin-bottom: 8px;
}

.messaging-post-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.messaging-post-content p:last-child {
    margin-bottom: 0;
}

.messaging-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    margin: 16px 0;
}

.messaging-post-tags {
    background: var(--bg-surface);
    padding: 16px;
    margin-bottom: 8px;
    border-radius: var(--radius-card);
}

.tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: block;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 8px 14px;
    background: var(--bg-surface-alt);
    color: var(--accent);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border-soft);
}

.tag-item:hover {
    background: var(--accent-soft);
}

.messaging-post-actions {
    background: var(--bg-surface);
    padding: 16px;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-around;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: var(--bg-surface-alt);
    border: none;
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
}

.action-btn:hover {
    background: var(--border-soft);
}

.action-icon {
    font-size: 24px;
}

.action-text {
    font-size: 12px;
    font-weight: 600;
}

.messaging-related-posts {
    background: var(--bg-surface);
    padding: 20px 16px;
    margin-bottom: 8px;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-post-item {
    background: var(--bg-surface-alt);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.related-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-post-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #3a3b3c;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 12px;
}

.related-post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================
   Comments Section
   ============================================ */

.messaging-comments-section {
    background: var(--bg-surface);
    padding: 20px 16px;
    margin-top: 8px;
}

/* ============================================
   Header
   ============================================ */

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.header-container {
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger-btn {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1100;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--bg-surface);
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.slide-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.menu-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.menu-close-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-surface-alt);
    border: none;
    border-radius: 50%;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 4px;
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface-alt);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
}

.menu-list a:hover {
    background: var(--border-soft);
}

.menu-icon {
    font-size: 20px;
}

.menu-footer-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.menu-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--bg-surface-alt);
    border-radius: 12px;
}

.menu-info-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.menu-info-text {
    flex: 1;
}

.menu-info-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.menu-info-value {
    display: block;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
}

.menu-social {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.menu-social-btn {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.menu-social-btn.facebook {
    background: #1877f2;
    color: white;
}

.menu-social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.menu-social-btn.google {
    background: #ea4335;
    color: white;
}

/* ============================================
   Footer
   ============================================ */

.messaging-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.messaging-footer-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section {
    text-align: center;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.google {
    background: #ea4335;
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.youtube {
    background: #ff0000;
    color: white;
}

.social-icon {
    font-size: 20px;
}

.social-label {
    flex: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-to-top.show {
    display: flex;
}

.arrow-up {
    line-height: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-section {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .post-image-large {
        width: 140px;
        height: 140px;
    }
    
    .list-item-image {
        width: 100px;
        height: 100px;
    }
    
    .slide-menu {
        width: 280px;
    }
}

/* ============================================
   Text Center Utility
   ============================================ */

.text-center {
    text-align: center;
}

/* ============================================
   Ad Container Styles
   ============================================ */

.adsbygoogle {
    display: block;
    margin: 16px 0;
}

/* ============================================
   Telegram Button Styles
   ============================================ */

.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    height: 44px;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    border-radius: 22px;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    white-space: nowrap;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
    color: white;
}

.telegram-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    flex-shrink: 0;
}

.telegram-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: white;
}

@media (max-width: 768px) {
    .telegram-btn {
        padding: 8px 14px;
        height: 40px;
    }
    
    .telegram-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .telegram-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .telegram-btn {
        padding: 7px 12px;
        height: 36px;
        gap: 6px;
    }
    
    .telegram-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .telegram-text {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .telegram-text {
        display: none;
    }
    
    .telegram-btn {
        padding: 8px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }
}

/* ============================================
   Comments Section Styles
   ============================================ */

.comments-minimal {
    max-width: 100%;
    padding: 8px 6px;
    background: #242526;
}

.toggle-comment-btn {
    width: 100%;
    padding: 12px;
    background: #3a3b3c;
    color: #e4e6eb;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
    text-align: left;
}

.toggle-comment-btn:active {
    background: #4a4b4c;
}

.comment-form-wrap {
    background: #3a3b3c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

#commentform textarea,
#commentform input {
    width: 100%;
    padding: 10px;
    background: #242526;
    border: 1px solid #4a4b4c;
    border-radius: 4px;
    color: #e4e6eb;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 8px;
}

#commentform textarea {
    resize: vertical;
    min-height: 70px;
}

#commentform textarea:focus,
#commentform input:focus {
    outline: none;
    border-color: #1877f2;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.form-btns {
    display: flex;
    gap: 8px;
}

.btn-post,
.btn-cancel {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-post {
    background: #1877f2;
    color: #fff;
}

.btn-post:active {
    background: #0c5fc4;
}

.btn-cancel {
    background: #4a4b4c;
    color: #e4e6eb;
}

.btn-cancel:active {
    background: #5a5b5c;
}

.comments-container {
    margin-top: 8px;
}

#commentsList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    display: flex;
    gap: 8px;
    background: #3a3b3c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.comment .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.comment .meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}

.comment .meta strong {
    font-size: 13px;
    color: #e4e6eb;
}

.comment .meta span {
    font-size: 11px;
    color: #b0b3b8;
}

.comment p {
    margin: 0;
    color: #e4e6eb;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.load-more {
    width: 100%;
    padding: 10px;
    background: #3a3b3c;
    color: #e4e6eb;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 6px;
}

.load-more:active {
    background: #4a4b4c;
}

.load-more.hidden {
    display: none;
}

.closed-txt,
.login-txt {
    padding: 10px;
    text-align: center;
    background: #3a3b3c;
    border-radius: 6px;
    color: #b0b3b8;
    font-size: 13px;
}

.login-txt a {
    color: #1877f2;
    text-decoration: none;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
