/* Ultima Strike UltimaOnline Module CSS */
/* Reddit-Style Dark Theme for Gaming Portal */

/* Avatar Styles */
.subreddit-icon .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgb(56, 60, 63);
}

.subreddit-icon .user-avatar-letter {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #dc3545, #c82333);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgb(56, 60, 63);
}

.subreddit-icon {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.uo-media--image {
    max-height: 260px;
}

/* Community Header */
.reddit-community-header {
    background: linear-gradient(135deg, rgb(24, 26, 27) 0%, rgb(30, 32, 33) 100%);
    margin-top: -150px;
    padding-top: 170px;
    padding-bottom: 0px;
    position: relative;
    overflow: hidden;
}

.widget.widget-games ul li {
    border-radius: 5px;
    margin-bottom: 10px;
}

.widget.widget-games ul li .overlay {
    border-radius: 5px;
}

.widget.widget-games ul li .game-title {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* Blurred background image under gradient overlay */
.reddit-community-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/themes/us/img/bg-uo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.reddit-community-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgb(13 14 14) 0%, rgb(0 0 0 / 38%) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.reddit-community-header .container {
    position: relative;
    z-index: 2;
    /* Content above overlays */
}



.community-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Ultima Online logo inside community icon */
.community-icon-img {
    height: 80px;
    object-fit: contain;
    display: block;
}

.community-details h1 {
    color: rgb(214, 211, 205);
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.community-details p {
    color: rgb(182, 176, 166);
    margin: 5px 0 0 0;
    font-size: 14px;
}

.community-actions {
    margin-top: 20px;
}

.community-actions .btn:first-child {
    background: #ff4500;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.community-actions .btn:last-child {
    background: transparent;
    color: #ff4500;
    border: 1px solid #ff4500;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Main Content Section */
.ultimaonline-main-section {

    min-height: 100vh;
    padding: 20px 0;
}

/* Reddit Post Cards */
.reddit-post-card {
    background: rgb(27 29 30);
    border: 1px solid rgb(58, 62, 65);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-left: 2px solid transparent;
    /* Default transparent border */
}

.reddit-post-card:hover {
    background: rgb(34 37 38);
}

.post-type-news {
    border-left-color: #213845;
    /* Blue for news */
    border-bottom-color: #213845;
    /* Blue for news */
}

.post-type-forum {
    border-left-color: #453721;
    /* Orange for forums */
    border-bottom-color: #453721;
    /* Orange for forums */
}

.downloadable-card {
    border-left-color: #214528;
    border-bottom-color: #214528;
}

.post-content {
    padding: 16px;
    position: relative;
}

.card-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.post-header a,
.post-actions a,
.action-btn {
    position: relative;
    z-index: 1;
}

/* Post Header */
.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.subreddit-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    overflow: hidden;
    position: relative;
    object-fit: cover;
}

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

/* Fallback initial letter avatar (global) */
.user-avatar-letter {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7289da, #4b6cb7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgb(56, 60, 63);
}

.subreddit-info span:first-of-type {
    color: rgb(182, 176, 166);
    font-size: 12px;
    font-weight: 700;
}

.subreddit-info span:nth-of-type(2),
.subreddit-info span:nth-of-type(4) {
    color: rgb(129, 131, 132);
    font-size: 12px;
    margin: 0 4px;
}

.subreddit-info span:nth-of-type(3) {
    color: rgb(129, 131, 132);
    font-size: 12px;
}

/* Post Flairs */
.post-flair {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    margin-right: 8px;
}

.post-flair.forum-flair {
    background: linear-gradient(180deg, rgba(255, 128, 64, 0.15), rgba(255, 69, 0, 0.08));
    color: #ff7a3d;
    border: 1px solid rgba(255, 128, 64, 0.35);
}

.post-flair.category-flair {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.post-flair.news-flair {
    background: linear-gradient(180deg, rgba(0, 121, 211, 0.18), rgba(0, 121, 211, 0.08));
    color: #7fbff0;
    border: 1px solid rgba(0, 121, 211, 0.35);
}

/* Download flair */
.post-flair.download-flair {
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.18), rgba(76, 175, 80, 0.08));
    color: #8adf8d;
    border: 1px solid rgba(76, 175, 80, 0.35);
}

/* Document flair */
.post-flair.doc-flair {
    background: linear-gradient(180deg, rgba(156, 39, 176, 0.18), rgba(156, 39, 176, 0.08));
    color: #c08bd1;
    border: 1px solid rgba(156, 39, 176, 0.35);
}

/* Post Title */
.post-title {
    margin: 0 0 8px 0;
}

.post-title a {
    color: #eef1f3;
    text-decoration: none;
}



.post-description {
    color: rgb(182, 176, 166);
    font-size: 14px;
    line-height: 1.4;
    margin: 8px 0 12px 0;
    max-height: 60px;
    overflow: hidden;
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.vote-section {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vote-btn {
    background: none;
    border: none;
    color: rgb(129, 131, 132);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-btn i {
    font-size: 16px;
}

.vote-count {
    color: rgb(215, 218, 220);
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgb(129, 131, 132);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Rating & views in download card */
.action-btn.rating-btn {
    gap: 8px;
}

.action-btn.rating-btn .star-rating,
.action-btn.rating-btn .star-rating-readonly,
.action-btn.rating-btn div.star-rating {
    margin-right: 2px;
}

.action-btn.views-btn i {
    color: rgb(129, 131, 132);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    margin-top: 16px;
}

.load-more-section .btn {
    border: 1px solid rgb(56, 60, 63) !important;
    color: white;
    padding: 12px 54px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Sidebar */
.reddit-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: rgb(30, 32, 33);
    border: 1px solid rgb(58, 62, 65);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.sidebar-widget h4 {
    color: rgb(214, 211, 205);
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 12px 0;
    border-bottom: 1px solid rgb(58, 62, 65);
    padding-bottom: 8px;
}

.sidebar-widget p {
    color: rgb(182, 176, 166);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.community-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

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

.stat-item div:first-child {
    color: rgb(214, 211, 205);
    font-size: 18px;
    font-weight: 700;
}

.stat-item div:last-child {
    color: rgb(129, 131, 132);
    font-size: 12px;
}

.community-meta {
    color: rgb(129, 131, 132);
    font-size: 12px;
    margin-bottom: 16px;
}

.community-meta div {
    margin-bottom: 4px;
}

.sidebar-widget .btn {
    background: #ff4500;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    width: 100%;
    font-weight: 700;
    transition: all 0.3s ease;
}

.rule-item {
    padding: 8px 0;
    border-bottom: 1px solid rgb(58, 62, 65);
    color: rgb(182, 176, 166);
    font-size: 14px;
}

/* Modern Reddit Header */
.reddit-header-modern {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.rating-box .rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-box .star-rating,
.rating-box .star-rating-readonly,
.rating-box div.star-rating {
    margin: 0 auto;
}

.rating-box .rstar {
    float: none !important;
    display: inline-block;
}

.rating-box form {
    display: inline-block;
}

div.rating-cancel,
div.star-rating {
    margin-top: 7px;
}

.header-banner {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

.community-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.community-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    background: white;
}

.community-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-details {
    color: white;
}

.community-name {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: white;
}

.community-description {
    font-size: 16px;
    margin: 0 0 12px 0;
    opacity: 0.9;
}

.community-stats {
    display: flex;
    gap: 24px;
}

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

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.join-btn {
    background: #ff4500;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.joined-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* Modern Feed */


.vote-section-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
    min-width: 48px;
}

.vote-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
    color: #878a8c;
}

.vote-btn:hover {
    background: #e9ecef;
    color: #1a1a1b;
}

.vote-up:hover {
    color: #ff4500;
}

.vote-down:hover {
    color: #7193ff;
}

.vote-score {
    font-size: 12px;
    font-weight: bold;
    color: #1a1a1b;
    margin: 4px 0;
    text-align: center;
}

.post-content-modern {
    flex: 1;
    padding: 12px 16px;
}

.post-meta-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.post-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #787c7e;
}

.source-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.source-name {
    font-weight: bold;
    color: #1a1a1b;
}

.post-separator {
    color: #787c7e;
}



.post-title-modern {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #1a1a1b;
}

.post-title-modern a {
    color: inherit;
    text-decoration: none;
}

.post-title-modern a:hover {
    color: #0079d3;
}

.post-preview {
    color: rgb(214, 211, 205);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    max-height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-actions-modern {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.action-btn {
    background: none;
    border: none;
    color: #787c7e;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}


.more-btn {
    margin-left: auto;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 24px;
    padding: 20px;
}

.load-more-btn {
    background: transparent;
    border: 2px solid #0079d3;
    color: #0079d3;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: #141619;
    color: white;
}

/* Feed Tabs */
.uo-feed-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.uo-feed-tabs .tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08rem;
}

.uo-feed-tabs .tab-btn.active {
    backdrop-filter: blur(58px);
    border: 1px solid rgb(58, 62, 65);
    border-right: 2px solid #276da121;
    border-top: 1px solid #276da14d;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .uo-highlight-card {
        margin-bottom: 10px;
        min-height: 150px !important;

    }

    /* Horizontal Scroll for Highlights */
    .uo-highlights .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        /* Space for scrollbar if visible */
        margin-left: -15px;
        /* Offset container padding */
        margin-right: -15px;
        /* Add padding to start of scroll */
    }

    .uo-highlights .row::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .uo-highlights .col-sm-4 {
        flex: 0 0 85%;
        /* Show 85% of the card to encourage scrolling */
        max-width: 85%;
        scroll-snap-align: center;
        padding-left: 8px;
        padding-right: 8px;
    }

    .reddit-card {
        flex-direction: column;
    }

    .vote-section-modern {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        padding: 8px 12px;
    }

    .community-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .community-avatar {
        width: 60px;
        height: 60px;
    }

    .community-name {
        font-size: 24px;
    }

    .community-stats {
        gap: 16px;
    }

    .community-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .header-overlay {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .post-meta-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .post-actions-modern {
        flex-wrap: wrap;
    }

    .post-actions {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

    .post-actions .action-btn {
        font-size: 11px;
        padding: 4px 6px;
    }

    .uo-feed-tabs {
        justify-content: center;
        gap: 6px;
    }

    .uo-feed-tabs .tab-btn {
        padding: 6px 12px;
        font-size: 13px;
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Commenter Avatar List */
.commenter-avatar-list {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.commenter-avatar-list:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.commenters-avatars {
    display: flex;
    align-items: center;
}

.commenter-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgb(30, 32, 33);
    margin-left: -8px;
    /* Overlap avatars */
    transition: transform 0.2s ease;
}

.commenter-avatar:first-child {
    margin-left: 0;
}

.commenter-avatar-list:hover .commenter-avatar:nth-child(1) {
    transform: translateY(-3px);
}

.commenter-avatar-list:hover .commenter-avatar:nth-child(2) {
    transform: translateY(2px);
}

.commenter-avatar-list:hover .commenter-avatar:nth-child(3) {
    transform: translateY(-1px);
}

.commenter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.commenter-avatar-more {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgb(58, 62, 65);
    color: rgb(215, 218, 220);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid rgb(30, 32, 33);
    margin-left: -8px;
}

.comment-count-text {
    color: rgb(129, 131, 132);
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

/* Ensure interactive buttons sit above overlay */
.share-btn {
    position: relative;
    z-index: 3;
}

/* Media blocks */
.uo-media {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.uo-media--video .uo-media-frame {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.uo-media--video .uo-media-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.uo-media--image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vw * 9 / 16);
    object-fit: contain;
}

/* Avatar overlay on hero image (news) */
.media-avatar-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid rgb(56, 60, 63);
    background: rgba(24, 26, 27, 0.7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    padding: 4px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.media-avatar-badge .media-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Ultima Online Feed Styles */
.post-item {
    background-color: rgb(30, 32, 33);
    border: 1px solid rgb(56, 60, 63);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.post-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.post-item .post-title a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
}

.post-item .post-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 10px;
}

.post-item .post-body {
    color: rgba(255, 255, 255, 0.8);
}

/* Content Preview Styles */









.page-avatar-container {
    text-align: center;
    margin-bottom: 15px;
}

.page-avatar-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgb(56, 60, 63);
}



.download-btn {
    background-color: #214528;
    /* Yeşil arka plan */
    color: white !important;
    /* Beyaz metin */
    border-radius: 4px;
    padding: 5px 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    background-color: #45a049;
    /* Hover durumunda biraz daha koyu yeşil */
}

.post-body-with-avatar {
    display: flex;
    gap: 15px;
}

.post-body-with-avatar .page-avatar-container {
    flex-shrink: 0;
    width: 120px;
    /* Adjust as needed */
    margin-bottom: 0;
}

.post-body-with-avatar .page-avatar-img {
    width: 100%;
    height: auto;
}

.post-body-with-avatar .post-preview {
    flex-grow: 1;
    max-height: none;
    /* Remove height restriction when avatar is present */
    overflow: visible;
    /* Allow content to be visible */
}

.post-body-with-avatar .post-preview::after {
    display: none;
    /* Remove the fade-out effect */
}

/* Header UO stats (right side) */
.reddit-community-header .uo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}

.reddit-community-header .uo-stat {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    backdrop-filter: blur(58px);
    border: 1px solid rgb(56, 60, 63);
    border-radius: 8px;
}

.reddit-community-header .uo-stat-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.reddit-community-header .uo-stat-text {
    margin-left: 8px;
    text-align: left;
}

.reddit-community-header .uo-stat-title {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.8);
}

.reddit-community-header .uo-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.reddit-community-header .uo-stats-link {
    margin-left: 6px;
    font-size: 12px;
    color: #7289da;
    text-decoration: none;
}

.reddit-community-header .uo-stats-link:hover {
    text-decoration: underline;
}

/* Highlights strip */
.uo-highlights {
    margin-bottom: 16px;
}

.uo-highlights .row {
    margin-left: -8px;
    margin-right: -8px;
}

.uo-highlights .col-sm-4 {
    padding-left: 8px;
    padding-right: 8px;
}

.uo-highlight-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 120px;
    border-radius: 5px;
    border: 1px solid rgb(56, 60, 63);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.uo-highlight-card.no-bg {
    background: linear-gradient(135deg, rgb(30, 32, 33) 0%, rgb(40, 42, 43) 100%);
}

.uo-highlight-card.no-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 20% 0%, rgba(114, 137, 218, 0.12) 0%, rgba(114, 137, 218, 0.0) 60%),
        radial-gradient(120% 80% at 100% 100%, rgba(0, 121, 211, 0.10) 0%, rgba(0, 121, 211, 0.0) 60%);
    pointer-events: none;
}

.uo-highlight-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(to top, rgb(13 14 14) 0%, rgb(13 14 14 / 77%) 40%, rgb(13 14 14 / 0%) 85%);
    pointer-events: none;
}

.uo-highlight-content {
    position: absolute;
    inset: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.uo-highlight-title {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    margin: 4px 0 0 0;
}

.uo-highlight-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uo-highlight-meta .post-flair {
    padding: 2px 6px;
    font-size: 10px;
    backdrop-filter: blur(3px);
}

.uo-highlight-meta .time-ago {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
}

.uo-highlight-author {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgb(56, 60, 63);
}

.uo-highlight-author .user-avatar {
    object-fit: cover;
}