/* ===== SOCIAL FEATURES STYLES ===== */

.social-auth-error {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 40px auto;
    max-width: 500px;
    border: 1px solid #dee2e6;
}

.social-auth-error p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
}

/* ===== TRADING CHAT STYLES ===== */
.trading-chat-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.chat-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    font-weight: 300;
}

.chat-rooms {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.room-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.room-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.room-btn.active {
    background: white;
    color: #667eea;
    border-color: white;
}

.chat-messages {
    flex: 1 1 auto;
    min-height: 320px;
    height: auto;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.no-messages,
.loading-messages {
    text-align: center;
    color: #6c757d;
    padding: 40px;
    font-style: italic;
}

.chat-message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 70%;
    word-wrap: break-word;
}

.own-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.other-message {
    background: white;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.message-author {
    font-weight: 600;
}

.message-time {
    opacity: 0.7;
}

.message-content {
    line-height: 1.4;
}

.message-content a {
    color: inherit;
    text-decoration: underline;
}

.message-content .mention {
    font-weight: 600;
    color: #667eea;
}

.chat-input-area {
    padding: 20px;
    background: white;
    flex: 0 0 auto;
}

.chat-input-container {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

#chat-message-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

#chat-message-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.message-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.emoji-btn,
.attachment-btn {
    background: none;
    border: 1px solid #dee2e6;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.tj-community-panel .trading-chat-container {
    max-width: 100%;
    margin: 0;
    min-height: 620px;
    height: min(74vh, 760px) !important;
}

.tj-community-panel .trading-chat-container .chat-messages {
    min-height: 360px;
}

.emoji-btn:hover,
.attachment-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

.chat-notification {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1000;
    animation: slideInFromTop 0.3s ease;
}

/* ===== TRADING CONTESTS STYLES ===== */
.trading-contests-container {
    max-width: 1200px;
    margin: 40px auto;
}

.contests-header {
    text-align: center;
    margin-bottom: 40px;
}

.contests-header h3 {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contests-header p {
    color: #6c757d;
    font-size: 1.1em;
    margin: 0;
}

.contests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.contest-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contest-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.contest-header h4 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.contest-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.contest-status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.contest-status.upcoming {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
}

.contest-status.ended {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
}

.contest-info {
    padding: 20px;
}

.contest-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.prize-pool {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.participants-count {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
}

.contest-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contest-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contest-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
}

.contest-btn.participating {
    background: #28a745;
    color: white;
    cursor: default;
}

.no-contests {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.no-contests p {
    color: #6c757d;
    font-size: 16px;
    margin: 10px 0;
}

/* ===== SOCIAL FEED STYLES ===== */
.social-feed-container {
    max-width: 800px;
    margin: 40px auto;
}

.feed-header {
    text-align: center;
    margin-bottom: 30px;
}

.feed-header h3 {
    font-size: 2em;
    font-weight: 300;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feed-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feed-filters .filter-btn {
    padding: 8px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.feed-filters .filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.feed-filters .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.feed-posts {
    display: grid;
    gap: 20px;
}

.feed-post {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feed-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

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

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.post-time {
    font-size: 12px;
    color: #6c757d;
}

.post-actions .follow-btn {
    padding: 6px 15px;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.post-actions .follow-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.post-actions .follow-btn.following {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.post-content {
    padding: 20px;
}

.post-type-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
}

.post-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-image {
    margin-bottom: 15px;
}

.post-image img {
    width: 100%;
    border-radius: 10px;
}

.post-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.post-interactions {
    display: flex;
    gap: 15px;
}

.interaction-btn {
    background: none;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.interaction-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.interaction-btn.liked {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.comments-section {
    display: none;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.comment-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 14px;
}

.comment-submit {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.no-posts p {
    color: #6c757d;
    font-size: 16px;
    margin: 10px 0;
}

/* ===== SOCIAL LEADERBOARD STYLES ===== */
.social-leaderboard-container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

.leaderboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.leaderboard-header h3 {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.leaderboard-header p {
    font-size: 1.1em;
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.leaderboard-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#metric-select {
    padding: 12px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#metric-select:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.2);
}

#metric-select option {
    background: white;
    color: #333;
}

.leaderboard-content {
    padding: 40px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
}

.no-data p {
    color: #6c757d;
    font-size: 16px;
}

.leaderboard-list {
    display: grid;
    gap: 15px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.leaderboard-item.top-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.leaderboard-item.top-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: white;
}

.leaderboard-item.top-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
    color: white;
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
}

.leaderboard-item.top-1 .rank-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

.leaderboard-item.top-2 .rank-badge,
.leaderboard-item.top-3 .rank-badge {
    background: rgba(255,255,255,0.2);
    color: white;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    font-size: 18px;
}

.user-score {
    font-size: 14px;
    opacity: 0.8;
}

.user-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.stat-label {
    opacity: 0.8;
}

.stat-value {
    font-weight: 600;
}

.user-actions {
    margin-left: auto;
}

.loading-leaderboard,
.leaderboard-updated {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* ===== SOCIAL NOTIFICATION ===== */
.social-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.social-notification.success {
    background: #28a745;
    color: white;
}

.social-notification.error {
    background: #dc3545;
    color: white;
}

.social-notification.info {
    background: #17a2b8;
    color: white;
}

/* ===== CONTEST MODAL ===== */
.contest-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contest-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
}

.contest-modal .modal-header {
    padding: 30px 40px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.contest-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 300;
}

.contest-modal .modal-body {
    padding: 40px;
}

/* ===== EMOJI PICKER ===== */
.emoji-picker {
    position: absolute;
    bottom: 60px;
    left: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 200px;
}

.emoji-item {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.emoji-item:hover {
    background: #f8f9fa;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.own-message .message-avatar {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ===== SPIN ANIMATION ===== */
.dashicons.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .trading-chat-container {
        margin: 0 10px;
        border-radius: 15px;
    }

    .chat-header {
        padding: 15px;
    }

    .chat-header h3 {
        font-size: 1.3em;
    }

    .chat-rooms {
        gap: 8px;
    }

    .room-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .chat-messages {
        min-height: 280px;
        height: auto;
        padding: 15px;
    }

    .tj-community-panel .trading-chat-container {
        min-height: 520px;
        height: min(68vh, 640px) !important;
    }

    .tj-community-panel .trading-chat-container .chat-messages {
        min-height: 260px;
    }

    .chat-message {
        max-width: 85%;
    }

    .chat-input-container {
        gap: 8px;
    }

    #chat-message-input {
        font-size: 14px;
        padding: 10px 14px;
    }

    .send-btn {
        width: 40px;
        height: 40px;
    }

    .contests-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contest-card {
        border-radius: 15px;
    }

    .contest-header {
        padding: 15px;
    }

    .contest-info {
        padding: 15px;
    }

    .contest-actions {
        padding: 0 15px 15px;
    }

    .feed-posts {
        gap: 15px;
    }

    .post-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .post-content {
        padding: 15px;
    }

    .post-footer {
        padding: 15px;
    }

    .leaderboard-list {
        gap: 12px;
    }

    .leaderboard-item {
        padding: 15px;
        gap: 15px;
    }

    .user-info {
        gap: 10px;
    }

    .user-name {
        font-size: 16px;
    }

    .contest-modal {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .trading-chat-container {
        border-radius: 10px;
    }

    .chat-header h3 {
        font-size: 1.2em;
    }

    .chat-messages {
        min-height: 220px;
        height: auto;
        padding: 10px;
    }

    .chat-input-area {
        padding: 15px;
    }

    .chat-input-container {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    #chat-message-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .send-btn {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .emoji-btn,
    .attachment-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .message-actions {
        justify-content: flex-start;
    }

    .contest-header h4 {
        font-size: 1.1em;
    }

    .contest-dates {
        flex-direction: column;
        gap: 5px;
    }

    .leaderboard-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .user-info {
        justify-content: center;
    }

    .user-stats {
        align-items: center;
    }
}

/* ===== DARK MODE SUPPORT ===== */
[data-theme="dark"] .trading-chat-container,
[data-theme="dark"] .contest-card,
[data-theme="dark"] .feed-post,
[data-theme="dark"] .social-leaderboard-container {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .chat-messages {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .chat-message.own-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] .chat-message.other-message {
    background: rgba(255,255,255,0.05);
    color: #e9ecef;
}

[data-theme="dark"] #chat-message-input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #e9ecef;
}

[data-theme="dark"] .contest-btn,
[data-theme="dark"] .interaction-btn,
[data-theme="dark"] .comment-submit {
    border-color: rgba(255,255,255,0.2);
    color: #e9ecef;
}

[data-theme="dark"] .interaction-btn.liked {
    background: #667eea;
    color: white;
}

[data-theme="dark"] .contest-btn.participating {
    background: #28a745;
    color: white;
}

[data-theme="dark"] .post-stats,
[data-theme="dark"] .post-text,
[data-theme="dark"] .contest-description,
[data-theme="dark"] .participants-count {
    color: #e9ecef;
}

[data-theme="dark"] .post-footer {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .leaderboard-item:not(.top-1):not(.top-2):not(.top-3) {
    background: rgba(255,255,255,0.05);
    color: #e9ecef;
}