.dms-likes-box {
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Count at the top */
.dms-likes-count {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

/* Bullet list of usernames */
.dms-likes-list {
    list-style-type: disc;
    margin-left: 20px;
    color: #FFED90;
    padding-left: 0;
}

/* Each user line */
.dms-likes-user {
    font-size: 12px;
    font-weight: 300;
    color: #fff;
}

/* Link style */
.dms-likes-user-link {
    color: #fff;
    text-decoration: none;
}

.dms-likes-user-link:hover {
    text-decoration: underline;
}


.dms-favorite-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
}

.dms-favorite-photo img {
    width: 115px;
    height: 115px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .dms-favorite-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .dms-favorite-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.dms-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease-in-out;
}

.dms-like-btn:hover .dms-icon {
    transform: scale(1.2);
}

.dms-icon {
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
    color: white;
}

.dms-like-btn.liked .dms-icon {
    color: green;
}

.dms-like-count {
    font-size: 12px;
    font-weight: 300;
    color: inherit;
}

/* Container for each favorite type */
.dms-favorites-box {
    margin-bottom: 25px;
    padding: 15px;
    background-color: transparent;
}

/* Section heading */
.dms-favorites-heading {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
}

/* List of favorites */
.dms-favorites-list {
    list-style-type: disc;
    padding-left: 20px;
}

/* List items (each user or item liked) */
.dms-favorite-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
	line-height: 1.8;    
	color: #FFFF94; !important
    margin-bottom: 10px;
}

/* Links to profile/author/etc */
.dms-favorite-item a {
    color: #ffff94;
	text-decoration: none;
    transition: color 0.2s ease;
}

.dms-favorite-item a:hover {
    color: #D20000;
}

.dms-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.dms-activity-entry {
    display: flex;
    gap: 15px;
    background-color: #1e1e1e; /* Keeping the original gray background */
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Apply a light blue background and yellow left border for site news */
.dms-activity-entry.site-news {
    background-color: #045584; /* Light blue background for site news */
    border-left: 5px solid #FFD700; /* Yellow left border for site news */
}


/* About Me - My own activities */
.dms-activity-entry.about-me {
    background-color: #1e1e1e; /* Keeping the original gray background */
    border-left: 5px solid #5f0000; /* Deep red left border for my activities */
}

/* From Following - Activities from users I follow */
.dms-activity-entry.from-following {
    background-color: #1e1e1e; /* Keeping the original gray background */
    border-left: 5px solid #388e3c; /* Green left border for followed users */
}

.dms-activity-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
}

.dms-activity-meta {
    flex: 1;
    font-family: 'Inter', sans-serif;
    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.5;
}

.dms-activity-user-link {
    font-weight: 600;
    color: #ffd369;
    text-decoration: none;
}

.dms-activity-action {
    font-style: italic;
    color: #999;
}

.dms-activity-title {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 600;
}

.dms-activity-title-link {
    color: #ffffff;
    text-decoration: none;
}

.dms-activity-comment-text,
.dms-activity-excerpt {
    margin-top: 5px;
    font-size: 14px;
    color: #ccc;
}

.dms-activity-time {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.dms-activity-thumbnail-img,
.dms-activity-comment-image img {
    width: 100px;
    height: auto;
    border-radius: 6px;
    margin-top: 8px;
    border: 1px solid #444;
}

/* === NO MORE ACTIVITY === */
#load-more-container p {
    color: #aaa;
    font-size: 14px;
    margin: 15px 0;
}
/* Force page to be scrollable even with minimal content */
.dms-activity-feed {
    min-height: 1200px;
}

/* Button styles for loading more content */
#load-more-activity {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5f0000;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

#load-more-activity:hover {
    background-color: #880000;
}


/* Feed Selector Styles */

.news-feed-type-selector {
    background: #181818 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1em;
    font-family: inherit;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.news-feed-type-selector:focus {
    border-color: #800000 !important;
    outline: none !important;
}
.news-feed-type-selector option {
    background: #181818 !important;
    color: #fff !important;
}


/* ======================= */
/* 1. Container and Card   */
/* ======================= */
.story-list-main, .dms-story-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.story-list-card, .dms-story-entry {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    background-color: #111;
    padding: 20px;
    border: 1px solid #333;
    position: relative;
    gap: 20px;
}

/* Alternating row color */
.story-list-card.even-row, .dms-story-entry.even-row { background: #1a1a1a; }
.story-list-card.odd-row,  .dms-story-entry.odd-row  { background: #111; }

/* ============================ */
/* 2. Thumbnail Image (Square!) */
/* ============================ */
.story-thumb-container {
    width: 90px;
    min-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
}
.story-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 2px 12px #0004;
    background: #222;
}

/* ========================= */
/* 3. Author Meta / Avatar   */
/* ========================= */
.story-meta-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    margin-left: 18px;
    margin-right: 0;
}
.story-meta-mobile {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.story-avatar, .dms-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #444;
    box-shadow: 0 1px 5px #0005;
}
.story-author-name, .dms-author-block {
    font-size: 14px;
    color: #4ae54a;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
}
.story-author-name a { color: #4ae54a; text-decoration: none; }
.story-author-name a:hover { text-decoration: underline; }

.story-thumb, .dms-story-thumb, .gallery-photo-thumb, .gallery-image-thumb {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 7px;
    background: #222;
    display: block;
}


@media (max-width: 800px) {
    .story-meta-desktop { display: none !important; }
    .story-meta-mobile { display: flex !important; }
}

@media (min-width: 801px) {
    .story-meta-desktop { display: flex !important; }
    .story-meta-mobile { display: none !important; }
}

/* ========================= */
/* 4. Story Content/Text     */
/* ========================= */
.story-content, .dms-story-left {
    flex: 1 1 0%;
    min-width: 0;
    color: #ddd;
}
.story-title, .dms-story-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
    font-size: 20px;
    color: #B83131;
    margin-bottom: 2px;
}
.story-title a, .dms-story-title a {
    color: #B83131;
    font-size: inherit;
    font-weight: 600;
    text-decoration: none;
    margin-right: 6px;
}
.story-title a:hover, .dms-story-title a:hover {
    text-decoration: underline;
    color: #B83131;
}
.story-excerpt, .dms-excerpt {
    margin-top: 5px;
    font-size: 14px;
    color: #aaa;
    margin-bottom: -7px;
}

/* ========================= */
/* 5. Edit Link Bottom       */
/* ========================= */
.story-edit-link, .dms-edit-story-link {
    margin-top: 8px;
    text-align: left;
}

.story-edit-link a, .dms-edit-story-link a {
    display: inline-block;
    background: #5f0000;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    padding: 2px 8px;
    border: none;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.15s, color 0.15s;
}

.story-edit-link a:hover, .dms-edit-story-link a:hover {
    background: #b83131;
    color: #fff;
    text-decoration: underline;
}


/* ========================= */
/* 6. Like/Tag Area          */
/* ========================= */
.dms-likes {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
    color: #00cc00;
}
.dms-like-icon { margin-right: 3px; }

.dms-tags {
    margin-top: 8px;
    font-size: 13px;
    color: #B83131;
    margin-bottom: 7px;
}
.dms-tags .match { color: #99CC99; font-style: italic; text-decoration: none; }
.dms-tags .no-match { color: #FFFF88; font-weight: normal; font-style: normal; text-decoration: none; }

.dms-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

/* ========================= */
/* 7. Responsive/Stack       */
/* ========================= */
@media (max-width: 700px) {
    .story-list-card, .dms-story-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }
    .story-thumb-container, .story-meta-desktop {
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: flex-start;
    }
    .story-content, .dms-story-left {
        min-width: 0;
        width: 100%;
    }
}

/* ========================= */
/* 8. Pagination & Sort      */
/* (kept your previous code) */
/* ========================= */
.dms-pagination {
    margin-top: 30px;
    text-align: center;
}
.dms-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 3px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
}
.dms-pagination .page-numbers:hover {
    background-color: #444;
}
.dms-pagination .page-numbers.current {
    background-color: #B83131;
    font-weight: bold;
    cursor: default;
}


/* ========================= */
/* 9. AUTHOR PAGE STYES      */
/* FILTER AND SORT */
/* ========================= */



/* Style the Sort + Order dropdowns */
/* Wrap only the Sort + Order row */
.dms-sort-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Sort/Order label & dropdown styles */
.dms-search-form label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin-right: 10px;
}

.dms-search-form select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 5px 8px;
    background-color: #222;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    margin-right: 20px;
    margin-bottom: 0;
}

/* Keyword Search Input Styling */
form.dms-search-form input#keyword {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 5px 8px;
    background-color: #222;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    margin-right: 20px;
    margin-bottom: 0;
}

/* Placeholder Styling for All Browsers */
form.dms-search-form input#keyword::placeholder,
form.dms-search-form input#keyword::-webkit-input-placeholder,
form.dms-search-form input#keyword::-moz-placeholder,
form.dms-search-form input#keyword:-ms-input-placeholder,
form.dms-search-form input#keyword:-moz-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}





/* Category checkbox grid */
.dms-category-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.dms-category-filter label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    cursor: pointer;
}

.dms-category-filter input[type="checkbox"] {
    margin-right: 6px;
}

/* Apply & Clear buttons */
.dms-search-form button,
.dms-clear-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #B83131;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #ff9999;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    margin-bottom: 25px;
}

.dms-search-form button:hover,
.dms-clear-btn:hover {
    background-color: #e60000;
    color: #fff;
}

.dms-clear-btn {
    margin-left: 10px;
}

/* Count text under filters */
.dms-results-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 25px;
}


/* styles for the author output page only from here on
/* Style the Author Archive Sort Form */
.dms-sort-form {
    margin-bottom: 25px;
}

.dms-sort-form label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin-right: 10px;
}

.dms-sort-form select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 5px 8px;
    background-color: #222;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    margin-right: 20px;
    margin-bottom: 0;
    min-width: 135px; /* Reduced width by 25% */
}

/* Button matches Apply/Filters */
.dms-sort-form button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #B83131;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #ff9999;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    margin-top: 10px;
}

.dms-sort-form button:hover {
    background-color: #e60000;
    color: #fff;
}

/* Keep Sort + Order on same line (desktop) */
@media (min-width: 600px) {
    .dms-sort-form {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 15px;
    }
}



/* end author page archive styles
/* begin styles for edit story link

  .dms-edit-story-link {
    margin-top: 4px;
    font-size: 12px;
    text-align: center;
}

.dms-edit-story-link a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 400;
}

.dms-edit-story-link a:hover {
    text-decoration: underline;
}


/* Ensure styles apply to the front-end */
.author-category-tags {
    font-family: 'Inter', sans-serif;  /* Apply 'Inter' font family */
    color: white; /* Set all text to white */
    font-size: 14px; /* Set font size to 14px */
    font-weight: 200; /* Set font weight to 200 */
    margin-bottom: 20px; /* Add space after the section */
}

/* Styling for the author's name */
.author-name {
    font-size: 16px;  /* Slightly larger for emphasis */
    color: white;  /* Yellow color for story count */
    font-weight: 500; /* A bit bolder for emphasis */
}

/* Styling for the story count */
.story-count {
    font-size: 16px;  /* Slightly larger for emphasis */
    color: #FFD96D;  /* Yellow color for story count */
    font-weight: 500; /* A bit bolder for emphasis */
}

/* Add space after story count */
.story-count + span {
    display: inline-block;
    margin-top: 10px;  /* Add a margin to make sure the tags start on a new line */
}

/* The section where category tags are displayed */
.category-tag {
    display: inline-block; /* Keep tags inline */
    color: white;  /* White color for the tags */
    margin: 5px;  /* Add spacing between tags */
    background-color: transparent;  /* No background */
    font-weight: 200;  /* Lighter font weight */
}

/* Count inside each tag */
.tag-count {
    color: red;  /* Red color for the count */
}

/* Separate tags into a new line */
.category-tag {
    display: inline-block;
    margin: 5px;
    background: transparent;
    font-weight: 200;
}

.category-tags-list {
    display: block;
    margin-top: 10px;
}


/* Container to help with mobile spacing issues */
.ta-container {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Critical for preventing space issues */
}

/* Wrapper */
.ta-wrapper {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
    padding-bottom: 0; /* Ensure no bottom padding */
}

/* Header Row */
.ta-header {
    background: #111111;
    color: #FFD700;
    font-weight: 500;
    display: flex;
    padding: 8px 12px;
    border-bottom: 2px solid #444;
}

.ta-heading-author,
.ta-heading-date,
.ta-heading-count {
    flex: 1;
    text-align: left;
}

/* Data Rows */
.ta-row {
    display: flex;
    padding: 6px 12px;
    align-items: center;
}

.ta-row.even {
    background-color: #1a1a1a;
}

.ta-row.odd {
    background-color: #000000;
}

/* Individual Data Cells */
.ta-author-name,
.ta-last-post,
.ta-story-count {
    flex: 1;
    color: #f2f2f2;
}

.ta-author-name a {
    color: #ff4b3e;
    text-decoration: none;
    font-weight: 400;
}

.ta-author-name a:hover {
    text-decoration: underline;
}

.ta-story-count {
    color: #ff3a25;
    font-weight: 400;
}

/* Mobile Responsive Styles - Aggressive Fix */
@media (max-width: 768px) {
    .ta-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        height: auto !important;
    }
    
    .ta-wrapper {
        margin: 15px auto 0 !important;
        padding-bottom: 0 !important;
        font-size: 13px;
        height: auto !important;
    }
    
    .ta-row {
        padding: 4px 8px;
    }
    
    /* Force the last row to have no bottom margin/padding */
    .ta-row:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 4px !important;
    }
    
    /* Remove any potential bottom space */
    .ta-wrapper::after {
        display: none !important;
        content: none !important;
        height: 0 !important;
    }
}

/* Smaller mobile devices */
@media (max-width: 768px) {
    .ta-wrapper {
        display: table !important;
        border-collapse: collapse !important;
    }
    
    .ta-row {
        display: table-row !important;
    }
    
    .ta-author-name, .ta-last-post, .ta-story-count, 
    .ta-heading-author, .ta-heading-date, .ta-heading-count {
        display: table-cell !important;
        padding: 4px 8px !important;
    }
}


/* ================================
   AUTHOR HEADER
   ================================ */
.gallery-author-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gallery-author-header img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.gallery-author-header h2 {
    font-size: 24px;
    margin: 0;
    color: #ffff66;
}

.gallery-author-header p {
    margin: 4px 0;
    color: #888;
}

/* ================================
   POWER RANK STARS
   ================================ */
.gallery-star-rating {
    font-size: 20px;
    letter-spacing: 2px;
}

.gallery-star-rating .filled {
    color: gold;
}

.gallery-star-rating .empty {
    color: #555;
}

/* ================================
   FOLDER HEADINGS
   ================================ */
.gallery-folder-heading {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 8px;
}

.gallery-folder-heading .folder-name {
    color: #ffff66;
}

.gallery-folder-heading .gallery-folder-meta {
    color: #ddd;
    font-weight: 400;
}

/* ================================
   GALLERY GRID
   ================================ */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* ================================
   THUMBNAIL CONTAINER
   ================================ */
.gallery-thumbnail-wrapper {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

/* ================================
   IMAGE STYLING
   ================================ */
.gallery-thumbnail {
    width: 160px !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
    transition: transform 0.2s ease !important;
}



.gallery-thumbnail:hover {
    transform: scale(1.05);
}

/* ================================
   META UNDER IMAGES
   ================================ */
.gallery-photo-meta {
    font-size: 12px;
    margin-top: 5px;
    color: #aaa;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-photo-meta .likes {
    color: #6eff6e;
}

.gallery-photo-meta .views {
    color: #ccc;
}

/* ================================
   MOBILE STYLING – TABLET
   ================================ */
@media (max-width: 768px) {
    .gallery-thumbnail-wrapper {
        width: 120px;
    }

    .gallery-author-header h2 {
        font-size: 20px;
    }

    .gallery-photo-meta {
        font-size: 11px;
        gap: 8px;
    }
}

/* ================================
   MOBILE STYLING – PHONES
   ================================ */
@media (max-width: 480px) {
    /* Shrink wrapper to fit 3 across */
    .gallery-thumbnail-wrapper {
        width: 90px;
        margin-bottom: 15px;
    }

    .gallery-thumbnail {
        width: 90px !important;
        height: 113px !important; /* 4:5 aspect ratio */
        object-fit: cover !important;
        border-radius: 6px !important;
        display: block !important;
    }

    .gallery-photo-meta {
        font-size: 9px;
        gap: 5px;
        justify-content: center;
        margin-top: 4px;
    }
}



/* ================================
   RECENT GALLERY – USER HEADING
   ================================ */
.gallery-member-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffff66;
    margin-bottom: 4px;
}

.gallery-member-heading .gallery-member-name {
    color: #ffff66;
    font-weight: 500;
}

.gallery-member-heading .gallery-photo-count {
    color: #dddddd;
    font-weight: 400;
}

.gallery-member-heading .gallery-member-updated {
    color: #888;
    font-size: 14px;
    font-weight: 300;
    margin-left: auto;
}

/* ================================
   VIEW GALLERY LABEL
   ================================ */
.gallery-view-label {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ================================
   DIVIDER BETWEEN USER BLOCKS
   ================================ */
.gallery-divider {
    width: 100%;
    height: 2px;
    background-color: #5f0000;
    margin: 20px 0;
}

/* ================================
   MAIN GALLERY MEMBER BLOCK
   ================================ */
.gallery-member {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 15px;
}

/* ================================
   USER INFO BLOCK
   ================================ */
.gallery-member-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ================================
   USER AVATAR
   ================================ */
.avatar.avatar-90.photo,
.gallery-member-avatar {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 3px solid #5f0000 !important;
}

/* ================================
   USER TEXT BLOCK
   ================================ */
.gallery-member-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.4;
}

/* ================================
   RECENT GALLERY ROW
   ================================ */
.recent-gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* ================================
   RECENT GALLERY THUMBNAILS
   ================================ */
.recent-gallery-thumbnail {
    width: 144px !important;
    height: 180px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
        border: 0px solid #8a0000 !important;
    transition: transform 0.2s ease !important;
    max-width: 144px !important;
    max-height: 180px !important;
    min-width: 144px !important;
    min-height: 180px !important;
}

.recent-gallery-thumbnail:hover {
    transform: scale(1.05);
}

/* ================================
   RESPONSIVE – PHONE
   ================================ */
@media (max-width: 480px) {
    .recent-gallery-thumbnail {
        width: 100px !important;
        height: 125px !important;
        max-width: 100px !important;
        max-height: 125px !important;
        min-width: 100px !important;
        min-height: 125px !important;
    }
}
@media (max-width: 480px) {
    .gallery-member-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-member-heading .gallery-member-updated {
        margin-left: 0 !important;
    }
}


/* Wrapper */
.nc-wrapper {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    max-width: 100%;
    padding: 10px 0;
}

/* Heading */
.nc-heading {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ccc;
}

/* Entry row */
.nc-entry {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    column-gap: 10px;
    align-items: start;
    padding: 6px 12px;
    border-bottom: 1px solid #222;
    background-color: #111;
}

/* Alternating row color */
.nc-entry.odd {
    background-color: #1a1a1a;
}

/* Author name */
.nc-author a {
    color: #ff4d4d;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

/* Title text */
.nc-title a {
    color: #ffff66;
    font-weight: 300;
    text-decoration: none;
    word-break: break-word;
}

/* Time */
.nc-time {
    color: #ccc;
    font-size: 12px;
    white-space: nowrap;
    text-align: right;
}

/* Footer note */
.nc-wrapper .note {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    padding: 0 12px;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .nc-entry {
        grid-template-columns: 1fr;
        row-gap: 5px;
    }

    .nc-time {
        text-align: left;
        font-size: 11px;
    }
}


/* Main container for profiles */
.dms-profile-archive {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Each profile tile */
.dms-profile-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 10px;
}

/* Odd/Even backgrounds */
.dms-profile-row.odd {
    background-color: #1a1a1a;
}

.dms-profile-row.even {
    background-color: #111;
}

/* Image on the left */
.dms-profile-image {
    flex-shrink: 0;
    width: 180px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 10px;
}

.dms-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Right-side info */
.dms-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #FFFF99;
}

/* Username */
.dms-profile-username {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFA0;
}

/* "Updated X ago" */
.dms-profile-updated {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    margin-left: 10px;
}

/* Field labels */
.dms-label {
    font-weight: 500;
    color: #FF6600;
}

/* Answer containers (in yellow) */
.dms-profile-country,
.dms-profile-roleplay,
.dms-profile-size,
.dms-partner-size,
.dms-profile-category {
    color: #FFFF99;
    font-weight: 300;
}

/* Fantasy themes block spacing */
.dms-profile-category {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
    text-align: left;
}


/* Match and No-Match Fantasy Theme Tags */
.dms-profile-category .match {
    color: rgb(206,18,18);
    font-weight: 500
}

.dms-profile-category .no-match {
    color: #FFFF99;
    font-weight: 300;
}



/* Pagination container */
.dms-profile-pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

/* Page numbers */
.dms-profile-pagination a,
.dms-profile-pagination span {
    display: inline-block;
    padding: 6px 10px;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    min-width: 32px;
    text-align: center;
    transition: background 0.2s ease-in-out;
}

/* Hover effect */
.dms-profile-pagination a:hover {
    background-color: #444;
}

/* Current page (highlighted in red with white text) */
.dms-profile-pagination .current {
    background-color: #C22525;  /* Red background */
    color: #fff;                /* White number */
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}


.dms-profile-last-login {
    color: white;
    font-size: 13px;
    margin-left: 5px;
}

.dms-profile-updated {
    display: block;
    margin-left: 0;
    padding-left: 0;
    font-size: 13px;
    color:white;
}



@media (max-width: 768px) {
  .dms-profile-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }

  .dms-profile-image {
    width: 75%;
    max-width: 220px;
    margin-bottom: 10px;
  }

  .dms-profile-info {
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 0 5px;
  }

  .dms-profile-username {
    font-size: 16px;
  }

  .dms-profile-category {
    padding-top: 8px;
    border-top: 1px solid #444;
  }

  .dms-profile-updated {
    display: block;
    margin-left: 0;
    margin-top: 4px;
    font-size: 12px;
  }
}


/* STYLES FOR PAGE FADE IN CONTROL */
.fade-target {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-target.fade-in {
    opacity: 1;
}


.author-profile-image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px !important;
    display: block;
    overflow: hidden;
}


#profile-filter-form {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Section containers */
.dms-filter-group {
    margin-bottom: 25px;
}

/* Section titles */
.dms-filter-heading {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

/* Checkbox label style */
.dms-filter-checkbox {
    display: block;
    margin: 3px 0;
    font-size: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Standard checkboxes */
.dms-filter-checkbox input[type="checkbox"] {
    margin-right: 6px;
    transform: scale(1.05);
}

/* Force grid layout for 'profile-category' (My Fantasy Themes) */
#profile-filter-form .dms-filter-group[data-taxonomy="profile-category"] .dms-filter-checkbox {
    display: inline-block;
    width: calc(33.333% - 10px);
    margin: 5px;
    font-size: 13px;
}

@media (max-width: 768px) {
    #profile-filter-form .dms-filter-group[data-taxonomy="profile-category"] .dms-filter-checkbox {
        width: calc(50% - 10px);
    }
}


/* Apply + Clear button group */
.dms-filter-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Buttons */
.dms-filter-apply,
.dms-filter-clear {
    padding: 8px 15px;
    border: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    background: #a12121;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    display: inline-block;
}

.dms-filter-clear {
    background: #7c1e1e;
}

.dms-filter-apply:hover,
.dms-filter-clear:hover {
    opacity: 0.85;
}
.dms-filter-country {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    background: #1c1c1c;
    color: #fff;
    border: 1px solid #444;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
}
.dms-match-toggle label {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

#profile_search_name {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    border-radius: 6px !important;
    padding: 5px 12px !important;           /* Thinner */
    font-size: 14px !important;
    width: 360px !important;                /* Wider */
    box-sizing: border-box !important;
    outline: none !important;
    margin-left: 10px !important;           /* Left margin */
    transition: border 0.2s, box-shadow 0.2s;
    display: inline-block !important;       /* Aligns with label */
    vertical-align: middle !important;
}

#profile_search_name::placeholder {
    color: #bbb !important;
    opacity: 1 !important; /* For Firefox */
}



.site-news-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-news-item {
    display: flex;
    background-color: #034b6c;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.yellow-bar {
    width: 6px;
    background-color: #f9e900;
}

.site-news-left {
    width: 180px;
    flex-shrink: 0;
}

.site-news-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.site-news-right {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-news-byline {
    font-size: 14px;
    color: #d9ff8a;
}

.site-news-right h3 a {
    color: #ffeb3b;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.site-news-right p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.site-news-meta {
    font-size: 12px;
    margin-top: 8px;
    color: #a0e4f1;
}

.site-news-author-img {
    margin-top: 15px;
    text-align: center;
}

.site-news-author-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.site-news-author-name {
    margin-top: 5px;
    font-size: 12px;
    color: #ffffaa;
}
.site-news-author-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}


.link-results {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.link-card {
    position: relative;
    display: flex;
    background-color: #1b1b1b;
    border-left: 6px solid #555; /* fallback if JS fails */
    padding: 15px 15px 15px 18px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease-in-out;
}

/* Alternating rows */
.link-card.even {
    background-color: #222222;
}
.link-card.odd {
    background-color: #1b1b1b;
}

.link-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 3px 0 0 3px;
}

/* Content area */
.link-content {
    margin-left: 10px;
    width: 100%;
    color: #fff;
    font-size: 14px;
}

.link-content a {
    color: #ffffa0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.link-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Flags with labels */
.link-flags {
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    font-weight: 500;
}

.link-flags div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Flag color overrides */
.flag-paid {
    color: #e66100;
}

.flag-registration {
    color: #ffc107;
}

.flag-revenue {
    color: #4dd0e1;
}

/* Description */
.link-card p {
    color: #ccc;
    font-size: 14px;
    margin: 5px 0 10px 0;
}

/* Taxonomy type label */
.link-type {
    font-size: 12px;
    font-weight: 300;
    color: #aaa;
    margin-top: 4px;
}

.link-filter-form {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #111111;
    border: 1px solid #444;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.link-filter-form select,
.link-filter-form input[type="text"] {
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 14px;
    min-width: 200px;
}

.link-filter-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 300;
}

.link-filter-form button {
    background-color: #5f0000;
    color: #ffffff;
    padding: 6px 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.link-filter-form button:hover {
    background-color: #7a0000;
}

.reset-filters-button {
    background-color: #333;
    color: #ccc;
    padding: 6px 14px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.reset-filters-button:hover {
    background-color: #555;
    color: #fff;
}
.link-report {
    margin-top: 8px;
}

.report-link {
    color: #bbbbbb !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 5px !important;
}

.report-link:hover {
    color: #ff6f61 !important;
    text-decoration: underline !important;
}

.report-success {
    background-color: #112911;
    color: #aaffaa;
    padding: 10px 15px;
    border: 1px solid #2a4a2a;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.report-error {
    background-color: #2b1111;
    color: #ff6f61;
    padding: 10px 15px;
    border: 1px solid #a13e3e;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}
.add-link-button {
    background-color: #388E3C; /* Darker green */
    color: white;
    padding: 6px 14px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
    margin-left: 10px;
}

.add-link-button:hover {
    background-color: #2c6c2f; /* Slightly darker green on hover */
}


.dms-photo-moderation-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #111111;
    border-radius: 8px;
    color: #ffffff;
    margin-bottom: 30px; /* <-- ADD THIS LINE */
}


.dms-photo-moderation-image {
    flex: 0 0 200px;
}

.dms-photo-moderation-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.dms-photo-moderation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #ffffff; /* <- force text inside info block white */
}

.dms-photo-moderation-author,
.dms-photo-moderation-caption,
.dms-photo-moderation-taxonomy,
.dms-photo-moderation-edit-link {
    color: #ffffff; /* <- each text block forced white */
    font-size: 16px;
}

.dms-photo-moderation-edit-link a {
    color: #ffffff; /* <- even links white */
    text-decoration: underline;
}


.dms-photo-moderation-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dms-photo-moderation-image img:hover {
    transform: scale(2.0);
    z-index: 10;
   
}



/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .dms-photo-moderation-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .dms-photo-moderation-image img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .dms-photo-moderation-info {
        text-align: center;
    }

    .dms-photo-moderation-info a {
        display: inline-block;
        margin-top: 8px;
    }
}


.dms-profile-alert {
    background: #550000;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.dms-homepage-alert {
    background: #660000;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.dms-homepage-alert a {
    color: #ffd700;
    text-decoration: underline;
}


/* === Global Wrapper === */
.dms-profiles-status-list {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px;
}

/* === Section Headings === */
.dms-section-heading {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin: 40px 0 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Red for Active Flagged */
.dms-heading-flagged {
  color: #ff3333;
}

/* Green for Good Standing */
.dms-heading-good {
  color: #44dd88;
}


/* === Group Styling === */
.dms-profile-status-group {
  padding: 15px;
  border-radius: 8px;
}

.dms-profile-status-group.active-flags {
  background-color: #202020;
}

.dms-profile-status-group.resolved-history {
  background-color: #2a2a2a;
}

/* === Individual Profile Block === */
.dms-profile-status-item {
  background-color: #1a1a1a;
  padding: 20px;
  border: 1px solid #444;
  border-radius: 6px;
}

/* === Header === */
.dms-profile-header {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #f1f1f1;
}

.dms-profile-header span {
  font-size: 14px;
  color: #aaa;
  margin-left: 10px;
}

/* === Metadata === */
.dms-profile-meta {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 8px;
  line-height: 1.6;
}

.dms-profile-meta .label {
  font-weight: 600;
  display: inline-block;
  min-width: 150px;
}

/* === Message to Member === */
.dms-profile-message {
  background-color: #111;
  border-left: 4px solid #cc0000;
  padding: 12px 14px;
  font-size: 14px;
  color: #f0f0f0;
  margin: 16px 0 14px;
}

/* === History Section === */

.dms-profile-history-entry.unresolved .status {
  color: #ff9933; /* vivid orange */
}

.dms-profile-history-entry.unresolved::after {
  content: " (Unresolved)";
  color: #ff9933;
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
}



.dms-profile-history {
  background-color: #181818;
  padding: 10px;
  border-radius: 5px;
  font-size: 13px;
  color: #ccc;
}

.dms-profile-history-entry {
  border-bottom: 1px solid #333;
  padding: 6px 0;
}

.dms-profile-history-entry:last-child {
  border-bottom: none;
}

.dms-profile-history-entry .date {
  color: #aaa;
  font-size: 12px;
}

.dms-profile-history-entry .status {
  font-weight: 500;
  color: #fff;
}

.dms-profile-history-entry .notes {
  color: #bbb;
  font-style: italic;
  margin-top: 2px;
}

/* === Edit Link === */
.dms-profile-edit-link {
  margin-top: 12px;
}

.dms-profile-edit-link a {
  background-color: #5f0000;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
}

.dms-profile-edit-link a:hover {
  background-color: #990000;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .dms-profile-status-item {
    padding: 15px;
  }

  .dms-profile-header {
    font-size: 16px;
  }

  .dms-profile-meta,
  .dms-profile-message,
  .dms-profile-history {
    font-size: 13px;
  }

  .dms-profile-edit-link a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .dms-profile-meta .label {
    display: block;
    min-width: auto;
    margin-bottom: 3px;
  }
}


.flag-profile-form select,
.flag-profile-form textarea,
.flag-profile-form input[type="text"] {
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 14px;
    min-width: 200px;
    width: 100%;
    box-sizing: border-box;
}

.flag-profile-form textarea {
    background-color: #222;
    color: #fff; /* <- This makes the typed text white */
    border: 1px solid #555;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 14px;
    min-height: 150px;
    width: 600px;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
}



.flag-profile-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 300;
    color: #fff;
    margin-bottom: 5px;
}

.flag-profile-form button {
    background-color: #5f0000;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.flag-profile-form button:hover {
    background-color: #7a0000;
}

.flag-profile-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
    font-size: 14px;
}
/*Profile Flag Modal Styles/*
/**************************/*

.dms-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; }
.dms-modal-content { background: #111; padding: 20px; margin: 10% auto; width: 400px; color: #fff; border-radius: 6px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; }
.form-group textarea, .form-group select { width: 100%; }


#flag-profile-modal.dms-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.75);
  max-width: 480px;
  width: 90%;
  height: auto;
}

#flag-profile-modal .dms-modal-content {
  max-height: 800px;
  overflow-y: auto;
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }

  #flag-profile-modal.dms-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    transform: none;
    width: 92vw;
    max-width: 92vw;
    max-height: 95vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    border-radius: 6px;
    box-sizing: border-box;
  }

  #flag-profile-modal .dms-modal-content {
    width: 100%;
    box-sizing: border-box;
  }
}


/* Wrapper */
.aco-wrapper {
    background-color: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    padding: 20px;
    border-radius: 8px;
}

/* Top section layout */
.aco-top-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

/* Photo block */
.aco-photo {
    flex: 0 0 200px;
    text-align: center;
}
.aco-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info block */
.aco-info {
    flex: 1;
    min-width: 250px;
}

/* Each field */
.aco-field {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Buttons */
.aco-button-group {
    margin: 15px 0;
}
.aco-button-group button {
    background-color: #444444;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}
.aco-button-group button:hover {
    background-color: #666666;
}

/* Links */
.aco-field a {
    color: #4cc9f0;
    text-decoration: none;
}
.aco-field a:hover {
    text-decoration: underline;
}

/* Responsive mobile adjustments */
@media (max-width: 768px) {
    .aco-top-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .aco-info {
        text-align: left;
        width: 100%;
    }
}


/* Wrapper for all sections */
.aco-section {
    margin-bottom: 40px !important;
    padding: 20px !important;
    background-color: #111111 !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Section headings */
.aco-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: #ffe600;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Gallery and Comment WRAPS are flex */
.aco-section.galleries .aco-items-wrap,
.aco-section.comments .aco-items-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Stories are direct block items now */
.aco-section.stories .aco-item {
    display: block;
    margin-bottom: 12px;
}

/* Comments styling (same as stories) */
.aco-section.comments .aco-item {
    flex: 1 1 100%;
}

/* Individual item default */
.aco-item {
    font-size: 15px;
    color: #ffffff;
}

/* Text links */
.aco-item a {
    color: #4cc9f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aco-item a:hover {
    color: white;
    text-decoration: underline;
}

/* Gallery image styling */
.aco-item img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 transparent;
    display: block;
}

/* Pop effect on hover */
.aco-item img:hover {
    transform: scale(1.5);
}

/* No-image fallback */
.aco-item .no-image {
    width: 150px;
    height: 200px;
    background: #333;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .aco-section.galleries .aco-items-wrap,
    .aco-section.comments .aco-items-wrap {
        flex-direction: column;
        align-items: center;
    }

    .aco-item {
        text-align: center;
        margin: 10px 0;
    }

    .aco-item img {
        margin: 0 auto;
    }
}


.dms-pass-form-wrapper {
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.dms-pass-form {
    display: flex;
    flex-direction: column;
}

.dms-pass-input-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dms-pass-input-row label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 300;
    width: 160px;
    min-width: 160px;
    margin-right: 10px;
    font-family: 'Inter', sans-serif;
}

.dms-pass-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.dms-pass-input {
    flex: 1;
    padding: 6px 36px 6px 10px;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    height: 32px;
}

.dms-pass-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 26px;
    width: 26px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

.dms-pass-toggle:hover {
    color: #ffffff;
    background-color: #333;
}

.dms-pass-toggle:focus {
    outline: none;
    box-shadow: none;
}

.dms-pass-submit-row {
    margin-left: 170px;
}

.dms-pass-submit-btn {
    background-color: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    display: inline-block;
    margin: 20px 0 0 0;
}

.dms-pass-submit-btn:hover,
.dms-pass-submit-btn:focus {
    background-color: #a30000;
    color: white;
}

.dms-pass-audit-msg {
    color: #cccccc;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

.dms-pass-note {
    color: #888888;
    font-size: 12px;
    font-style: italic;
}

.dms-pass-logout-option {
    margin-top: 10px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 13px;
}

.dms-pass-success-msg,
.dms-pass-error-msg {
    font-size: 14px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.dms-pass-success-msg {
    background-color: #003d00;
    color: #bbffbb;
    border: 1px solid #1d5e1d;
}

.dms-pass-error-msg {
    background-color: #3d0000;
    color: #ffbbbb;
    border: 1px solid #5e1d1d;
}

@media screen and (max-width: 600px) {
    .dms-pass-input-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dms-pass-input-row label {
        margin-bottom: 6px;
        width: auto;
    }

    .dms-pass-wrapper {
        width: 100%;
    }

    .dms-pass-toggle {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .dms-pass-input {
        width: 100%;
        padding-right: 40px;
    }

    .dms-pass-submit-row {
        margin-left: 0;
    }
}


/* ================================
   Global Form Styles
================================= */
#dms-story-upload-form {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    color: white;
    max-width: 100%;
    margin: auto;
    font-family: 'Inter', sans-serif;
}

.dms-form-group {
    margin-bottom: 50px;
}

.dms-form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.dms-form-group input[type="text"],
.dms-form-group textarea,
#story_series {
    width: 100%;
    padding: 10px;
    border: 1px solid #666;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 15px;
}

/* TinyMCE editor */
#wp-story_content-wrap {
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

/* ================================
   Story Themes Grid (Checkboxes)
================================= */
.dms-themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px 20px;
    margin-bottom: 10px;
}

.dms-themes-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: white;
}

.dms-themes-grid input[type="checkbox"] {
    transform: scale(1.2);
}

.dms-themes-note {
    margin-top: 25px;
    font-size: 13px;
    font-style: italic;
    color: #ccc;
}

/* ================================
   Buttons (Form + Modal Trigger)
================================= */
#dms-story-upload-form input[type="submit"],
#open-series-modal {
    background-color: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    margin-top: 10px;
}

/* Lock the hover state */
#open-series-modal:hover,
#open-series-modal:focus {
    background-color: #a30000;
    color: white;
}



#dms-story-upload-form input[type="submit"]:hover,
#open-series-modal:hover {
    background-color: #a30000;
}

/* ================================
   Modal Styles
================================= */
#series-modal {
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#new-series-form {
    background: #222;
    padding: 25px;
    border-radius: 6px;
    width: 90%;
    max-width: 400px;
    color: white;
}

#new-series-form label {
    display: block;
    margin-bottom: 8px;
}

#new-series-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #666;
    background: #fff;
    color: #000;
    margin-bottom: 15px;
}

.dms-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* ================================
   Modal Button Styles
================================= */
.dms-create-series-btn {
    background: #198754;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.dms-create-series-btn:hover {
    background: #157347;
}

.dms-close-modal-btn {
    background: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.dms-close-modal-btn:hover {
    background: #a30000;
}

/* ================================
   Success Message
================================= */
.dms-form-success {
    background: #2e7d32;
    color: white;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 20px;
}
.dms-form-success {
    background: #2e7d32;
    color: white;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
}


.dms-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.dms-modal {
    background: #222;
    padding: 20px 25px;
    max-width: 600px;
    margin: 80px auto;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #5f0000;
}

.dms-modal h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

.dms-tag-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px 16px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #111;
    border: 1px solid #5f0000;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dms-tag-checkboxes label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}

.dms-tag-checkboxes input[type="checkbox"] {
    accent-color: #5f0000;
    margin-right: 6px;
    transform: scale(1.05);
}

.dms-modal button {
    background: #5f0000;
    color: #fff;
    padding: 7px 14px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background 0.2s ease-in-out;
}

.dms-modal button:hover {
    background: #7f0000;
}

@media (max-width: 480px) {
    .dms-tag-checkboxes {
        grid-template-columns: repeat(1, 1fr);
    }
}
#open-block-tags-modal {
    background-color: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    margin-top: 10px;
}

/* Hover + focus states */
#open-block-tags-modal:hover,
#open-block-tags-modal:focus {
    background-color: #a30000;
    color: white;
}

/* BEGIN INLINE CODE */
/* BEGIN INLINE CODE */
/* BEGIN INLINE CODE */

/* Success message styling */
#dms-inline-blocked-tags-message {
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #0f0;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#dms-inline-blocked-tags-message:hover {
    text-shadow: 0 0 6px #00ff00;
}

/* Ensure Elementor wrapper doesn't center everything */
.elementor-shortcode {
    text-align: left !important;
}

/* Outer shortcode wrapper */
.dms-inline-blocked-tags {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

/* Form wrapper */
#dms-inline-block-tags-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

/* GRID layout: 4 columns on desktop */
.dms-tag-checkboxes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px 24px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Individual checkbox label styling */
.dms-tag-checkboxes-grid label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    color: #fff !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}


/* Tablet: 2 columns */
@media (max-width: 900px) {
    .dms-tag-checkboxes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 500px) {
    .dms-tag-checkboxes-grid {
        grid-template-columns: 1fr !important;
    }
}


.dms-button {
    background-color: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Hover + focus */
.dms-button:hover,
.dms-button:focus {
    background-color: #a30000;
    color: white;
}


.dms-email-form-wrapper {
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.dms-email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dms-email-field-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.dms-email-field-row label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 300;
    width: 160px;
    min-width: 160px;
    margin-right: 10px;
    font-family: 'Inter', sans-serif;
}

.dms-email-current {
    flex: 1;
    font-size: 13px;
    color: #cccccc;
    font-family: 'Inter', sans-serif;
}

.dms-email-pass-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.dms-email-pass-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.dms-email-field-row input[type="email"],
.dms-email-pass-field {
    flex: 1;
    padding: 6px 36px 6px 10px;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    height: 32px;
}

/* Autofill + focus override */
.dms-email-pass-field:-webkit-autofill,
.dms-email-pass-field:-webkit-autofill:focus,
.dms-email-pass-field:focus {
    background-color: #1a1a1a !important;
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Eyeball toggle */
.dms-email-toggle-pass {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    height: 26px;
    width: 26px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

.dms-email-toggle-pass:hover {
    color: #ffffff;
    background-color: #333;
}

.dms-email-submit-row {
    margin-left: 170px;
}

.dms-email-submit-btn {
    background-color: #5f0000;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    display: inline-block;
    margin: 20px 0 0 170px;
}

.dms-email-submit-btn:hover,
.dms-email-submit-btn:focus {
    background-color: #a30000;
    color: white;
}

.dms-email-success-msg,
.dms-email-error-msg {
    font-size: 14px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.dms-email-success-msg {
    background-color: #003d00;
    color: #bbffbb;
    border: 1px solid #1d5e1d;
}

.dms-email-error-msg {
    background-color: #3d0000;
    color: #ffbbbb;
    border: 1px solid #5e1d1d;
}

/* Mobile tweaks */
@media screen and (max-width: 600px) {
    .dms-email-field-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dms-email-field-row label {
        margin-bottom: 6px;
        width: auto;
    }

    .dms-email-pass-wrapper {
        width: 100%;
    }

    .dms-email-pass-wrapper input {
        padding-right: 40px;
    }

    .dms-email-toggle-pass {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }

    .dms-email-submit-row {
        margin-left: 0;
    }

    .dms-email-submit-btn {
        margin-left: 0;
    }
}


.dms-email-history {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #dddddd;
}

.dms-email-history-row {
    margin-bottom: 8px;
}

.dms-email-history-date {
    color: #888888;
    font-weight: 300;
}

.dms-old-email {
    color: #ff6666; /* faded red */
    font-weight: 400;
}

.dms-new-email {
    color: #66ffcc; /* teal green */
    font-weight: 400;
}

.dms-email-history-empty {
    font-style: italic;
    color: #999999;
}
.dms-email-history-empty {
    font-style: italic;
    color: #ffffff;
    font-size: 13px;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
}


.dms-blocked-tags-report {
    margin: 30px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #e0e0e0;
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.dms-blocked-user {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.dms-blocked-username {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

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

.dms-blocked-tag {
    background-color: #5f0000;
    color: #fff;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 20px;
    white-space: nowrap;
}

.dms-blocked-user-count {
    margin-bottom: 15px;
}

/*///////////////////////////*/
/* Pending Post Story Styles */
/*///////////////////////////*/

/*///////////////////////////*/
/* Pending Post Story Styles */
/*///////////////////////////*/

.dms-pending-admin-feed-user {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffe066;
    margin: 30px 0 10px 0;
    letter-spacing: .01em;
}

.dms-pending-admin-card {
    background: #181818;
    border-radius: 4px;
    box-shadow: 0 2px 14px #0003;
    margin-bottom: 18px;
    display: flex;
    align-items: stretch;
    position: relative;
    transition: box-shadow .14s;
    min-height: 56px;
    padding: 0; /* Remove direct padding! */
    overflow: visible;
}

.dms-pending-admin-card-bar {
    width: 8px;
    background: #ffe066;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    flex-shrink: 0;
}

.dms-pending-admin-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 28px 20px 24px;
    position: relative;
    z-index: 2;
}

.dms-pending-avatar.dms-pending-avatar-desktop {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: #232323;
    object-fit: cover;
    border: 2.5px solid #232323;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    box-shadow: 0 0 4px #0004;
    margin-top: 4px;
    display: block;
}

.dms-pending-avatar.dms-pending-avatar-mobile {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: #232323;
    object-fit: cover;
    border: 2.5px solid #232323;
    aspect-ratio: 1/1;
    box-shadow: 0 0 4px #0004;
    margin: 0 12px 8px 0;
    display: block;
    float: left;
}

.dms-pending-title-row {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffe066;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dms-pending-date {
    font-size: 0.97rem;
    color: #b3b3a5;
    font-weight: 400;
    margin-bottom: 3px;
}

.dms-pending-series-row {
    font-size: 1rem;
    color: #ffc400;
    margin-bottom: 6px;
    font-weight: 400;
}

.dms-pending-excerpt {
    font-size: 1rem;
    color: #eeeeee;
    margin-bottom: 8px;
    line-height: 1.5;
    font-style: italic;
    clear: both;
}

.dms-pending-body {
    font-size: 1.02rem;
    color: #e6e6e6;
    margin-bottom: 10px;
    line-height: 1.52;
    background: #232323;
    border-radius: 5px;
    padding: 13px 15px;
    max-width: 700px;
    white-space: pre-line;
    clear: both;
}

.dms-pending-author {
    font-size: .98rem;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 500;
}

.dms-pending-moderate-btn {
    background: #5f0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: background .14s;
    margin-top: 4px;
    margin-left: 2px;
    margin-bottom: 0;
    outline: none;
    box-shadow: 0 0.5px 0.5px #0006;
}

.dms-pending-moderate-btn:hover {
    background: #b00000;
}

/* Hide on mobile (show desktop only) */
.dms-hide-mobile { display: block; }
.dms-hide-desktop { display: none; }

@media (max-width: 700px) {
    .dms-hide-mobile { display: none !important; }
    .dms-hide-desktop { display: block !important; }
    .dms-pending-admin-card {
        flex-direction: column;
        min-height: 0;
    }
    .dms-pending-admin-card-bar {
        width: 100%;
        height: 8px;
        min-height: 8px;
        max-height: 8px;
        border-radius: 4px 4px 0 0;
    }
    .dms-pending-admin-card-content {
        padding: 12px 8px 10px 8px;
    }
    .dms-pending-avatar.dms-pending-avatar-mobile {
        float: left;
        margin: 0 12px 8px 0;
        display: block;
    }
    .dms-pending-avatar.dms-pending-avatar-desktop {
        display: none !important;
    }
    .dms-pending-title-row,
    .dms-pending-date,
    .dms-pending-series-row,
    .dms-pending-excerpt,
    .dms-pending-body,
    .dms-pending-author {
        clear: both;
    }
}


.dms-email-report {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin: 30px 0;
    color: #e0e0e0;
}

.dms-email-user {
    margin-bottom: 30px;
}

.dms-email-username {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ffffff;
}

.dms-email-log-wrapper {
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.dms-email-log-row {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 10px;
}

.dms-email-log-row.even {
    background-color: #1a1a1a;
}

.dms-email-log-row.odd {
    background-color: #2a2a2a;
}

.dms-email-field {
    min-width: 180px;
    margin-right: 25px;
    margin-bottom: 6px;
}


.um-416.um {
    max-width: 950px !important;
    width: 100% !important;
}
.um-415.um {
    max-width: 950px !important;
    width: 100% !important;
}


/* SITE ALERTS */

.dms-site-alert {
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
    border-radius: 4px;
}

.profile-update-notice {
    background-color: #8B0000; /* Dark red */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.6;
}


/* Role Play Side Bar Styles Here */

.dms-stats-container,
.dms-member-badge,
.dms-size-badge,
.dms-member-username,
.dms-member-chat-row {
    all: unset;
    all: revert;
}

/* Roleplay Sidebar Base */
.dms-roleplay {
    width: 99%;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin: 0 auto;
    display: block;
}

.rp-stats-container {
    font-size: 13px;
    padding: 0;
    width: 99%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.rp-stats-heading {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    text-align: center;
}

.rp-badge-container {
    display: flex;
    flex-direction: column;
    width: 99%;
    max-width: 100%;
    gap: 8px;
    margin-bottom: 19px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.rp-badge {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: transparent;
    text-transform: uppercase;
    line-height: 1.4;
    display: block;
    width: 98%;
    max-width: 340px;
    text-align: left;
    border: 1.5px solid;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.rp-badge.tiny { border-color: #007BFF; }
.rp-badge.giant { border-color: #D10000; }
.rp-badge.versatile { border-color: #8000A0; }

.rp-active-heading {
    font-size: 14px;
    font-weight: 600;
    color: #effd00;
    margin: 20px 0 10px;
    text-align: center;
}

.rp-active-list {
    margin-bottom: 10px;
    width: 99%;
    max-width: 99%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rp-member {
    display: flex;
    align-items: center;
    width: 99%;
    max-width: 350px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    padding: 3px 9px 3px 4px;
    margin: 6px auto 8px auto;
    background: #161621;
    border: 2px solid;
    gap: 7px;
    min-height: 49px;
    justify-content: flex-start;
}

.rp-member.giant { border-color: #D10000; color: #ff8888; }
.rp-member.tiny { border-color: #007BFF; color: #aaddff; }
.rp-member.versatile { border-color: #8000A0; color: #f0caff; }

.rp-avatar {
    width: 45px;
    height: 45px;
    object-fit: cover;
    margin-right: 6px;
    border: 1px solid #313146;
    background: #232323;
    display: block;
}

.rp-member-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
}

.rp-username {
    font-size: 14px;
    font-weight: 600;
    color: #ffc400;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.rp-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    z-index: 1002;
    background: #28283c;
    color: #fff;
    font-size: 13px;
    border-radius: 7px;
    padding: 11px 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.67);
    min-width: 220px;
    max-width: 330px;
    max-height: 200px;
    overflow-y: auto;
    white-space: normal;
}

.rp-chat-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 13px;
    width: 100%;
    justify-content: flex-start;
}

.rp-chat-icon {
    width: 17px;
    height: 17px;
    fill: #6be1ff;
    display: inline-block;
    vertical-align: middle;
}

.rp-chat-link {
    color: #6be1ff;
    text-decoration: underline;
    font-weight: 500;
}

.rp-room-btn {
    display: block;
    margin: 18px 0 12px 0;
    background: #5F0000;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    padding: 9px 0;
    width: 99%;
    max-width: 340px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.rp-room-btn:hover {
    background: #9F0000;
}

.rp-no-members {
    color: #aaa;
    text-align: center;
}



/* Role Play Compliance Update Form */

/* === Roleplay Compliance Form Styles === */
.dms-rp-compliance-form {
  background: #222222;
  border-radius: 18px;
  box-shadow: 0 7px 28px #000a;
  padding: 34px 26px 26px;
  max-width: 900px;
  margin: 35px auto;
  font-family: 'Inter', sans-serif;
}
.dms-rp-compliance-form h2 {
  font-size: 1.6rem;
  color: #effd00;
  font-weight: 500;
  margin-bottom: 18px;
  text-align: center;
}
.dms-rp-compliance-form label {
  display: block;
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 7px;
  font-weight: 400;
  margin-top: 18px;
}
.dms-rp-compliance-form select,
.dms-rp-compliance-form input[type="text"],
.dms-rp-compliance-form textarea {
  width: 100%;
  padding: 7px 11px;
  border-radius: 7px;
  border: 1px solid #353545;
  background: #515151;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.dms-rp-compliance-form textarea {
  min-height: 180px;
  max-height: 180px;
}
.dms-rp-compliance-form .dms-profile-img-preview {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 14px;
  margin-bottom: 8px;
  object-fit: cover;
  border: 2px solid #5f0000;
}
.dms-rp-compliance-form .dms-upload-btn {
  background: #5f0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 8px;
  margin-top: 4px;
  display: inline-block;
}
.dms-rp-compliance-form .dms-rp-msg {
  background: #515151;
  color: #ffc400;
  border-radius: 7px;
  padding: 13px 12px;
  margin-bottom: 14px;
  text-align: center;
  font-size: 1.05rem;
}
.dms-rp-compliance-form .dms-rp-err {
  color: #ff4444;
  margin-top: 10px;
  text-align: center;
  font-size: 1.04rem;
}
.dms-rp-compliance-form .dms-rp-success {
  color: #23D606;
  margin-top: 10px;
  text-align: center;
  font-size: 1.08rem;
}
.dms-rp-compliance-form button[type="submit"] {
  background: #23D606;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
  display: block;
  width: 100%;
  margin-top: 20px;
}


/* === Divider Styling with Forced Top Spacing === */
.dms-divider {
  border: none;
  border-top: 2px solid #FFFFFF;
  margin-top: 32px !important;    /* Forces space above divider */
  margin-bottom: 26px !important; /* More space below divider */
  width: 100%;
  display: block;
  clear: both;
}


/* === "No file chosen" (file input) Styling === */
.dms-rp-compliance-form input[type="file"] {
  color: #ffc400;
  background: #191930;
  font-size: 1rem;
  padding: 7px 0 9px 0;
  border-radius: 7px;
  margin-bottom: 6px;
}

/* === Note Styling === */
.dms-photo-note {
  font-size: 13px;
  color: #fffed7;
  background: #5f0000;
  border-radius: 5px;
  padding: 7px 13px 8px 13px;
  margin-bottom: 15px;
  margin-top: 2px;
  display: inline-block;
  font-weight: 400;
}

/* Prevent Safari/Chrome iOS/macOS from darkening inputs/textareas/selects */
.dms-rp-compliance-form input,
.dms-rp-compliance-form textarea,
.dms-rp-compliance-form select {
  background-color: #515151 !important;
  color: #fff !important;
  /* For autofill */
  transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
}

/* Kill autofill yellow/blue in Chrome/Apple */
.dms-rp-compliance-form input:-webkit-autofill,
.dms-rp-compliance-form input:-webkit-autofill:focus,
.dms-rp-compliance-form textarea:-webkit-autofill,
.dms-rp-compliance-form select:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #515151 inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  transition: background-color 9999s ease-in-out 0s;
}

@media (max-width: 600px) {
  .dms-rp-compliance-form {
    padding: 16px 5vw 18px;
    max-width: 99vw;
    border-radius: 10px;
  }
  .dms-rp-compliance-form h2 {
    font-size: 1.2rem;
  }
}



.dms-update-profile-link a {
    display: inline-block;
    padding: 4px 10px;
    background-color: #5f0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.2s ease-in-out;
}

.dms-update-profile-link a:hover {
    background-color: #8b0000;
}


#cf-migration-form {
    margin: 0 auto;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #e0e0e0;
    padding: 0;
    background: none !important;
    border: none !important;
}

/* Basic row */
.dms-email-log-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px 0;
    background: none !important;
    border: none !important;
}

/* Label cell */
.dms-email-label {
     margin-top: -5px; /* 👈 clean downward nudge */
	
    width: 200px;
    margin-right: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
}
.dms-email-label {
    display: flex;
    align-items: center;
    height: 30px;
}

.cf-full-width {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

/* Field cell */
.dms-email-input {
    flex: 1;
    min-width: 180px;
    margin-bottom: 6px;
}

.dms-email-input input[type="text"] {
    padding: 5px 8px;
    font-size: 14px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444444
;
    border-radius: 4px;
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}

.dms-email-input button {
    background-color: #7a0000;
    color: #fff;
    padding: 6px 18px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    height: 32px;
}

.dms-email-input button:hover {
    background-color: #a00000;
}

/* Terms row full width */
.cf-full-width {
    width: 100%;
    margin-top: 10px;
}

#cf-migration-message {
    margin-top: 10px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
}

.cf-migration-success {
    background: #1a3c1a;
    color: #c5ffc9;
    border-left: 4px solid #43a047;
}

.cf-migration-error {
    background: #3c1a1a;
    color: #ffc5c5;
    border-left: 4px solid #d32f2f;
}

@media (max-width: 600px) {
    .dms-email-log-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dms-email-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .dms-email-input {
        width: 100%;
        margin-right: 0;
    }
}
#cf_username {
    background-color: #1A1A1A !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}
.cf-request-status-message {
    color: #eeeeee;
    background-color: #1a1a1a;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 15px;
    border-left: 5px solid #444;
}

.cf-request-pending {
    border-color: #f0ad4e; /* amber */
}

.cf-request-complete {
    border-color: #5cb85c; /* green */
}

.cf-request-rejected {
    border-color: #d9534f; /* red */
}

.cf-request-status-message a {
    color: #ffd700;
    text-decoration: underline;
}

.cf-request-status-message a:hover {
    color: #ffffff;
}

.cf-contact-link {
    font-weight: 600;
    color: #ffa07a;
}


.cfm-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 20px;
}

.cfm-table th {
    text-align: left;
    padding: 8px 10px;
    background-color: #222;
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid #444;
}

.cfm-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #333;
    vertical-align: top;
}

.cfm-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.cfm-table tr:nth-child(odd) {
    background-color: #2a2a2a;
}

.cfm-table a {
    color: #66ccff;
    text-decoration: none;
}

.cfm-table a:hover {
    text-decoration: underline;
}

.cfm-table select,
.cfm-table textarea {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 14px;
    padding: 4px 8px;
    width: 100%;
    box-sizing: border-box;
}

.cfm-table textarea {
    resize: vertical;
}

#cfm-submit-button,
#cf-admin-migration-form button[type="submit"] {
    background-color: #7a0000;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
}

#cfm-submit-button:hover,
#cf-admin-migration-form button[type="submit"]:hover {
    background-color: #a00000;
}

.cfm-update-confirmation {
    margin-top: 20px;
    padding: 12px 18px;
    background-color: #1a3c1a;
    color: #c5ffc9;
    border-left: 4px solid #43a047;
    border-radius: 4px;
    font-size: 14px;
}
#cf-admin-migration-form textarea {
    color: white;
    background-color: #111;
}


/* Coiled Fist Migration Summary Styling */
.cfm-summary {
    font-family: 'Inter', sans-serif;
    color: #E2E283; /* Matches the gold-ish yellow in the image */
    font-size: 15px;
    line-height: 1.6;
}

.cfm-summary .cfm-total-stories,
.cfm-summary .cfm-author-count {
    font-weight: bold;
    color: #D50000; /* Stand out in bright white */
}

.cfm-summary .cfm-user-list {
    margin-top: 10px;
    margin-bottom: 10px;
}

.cfm-summary a.cfm-username {
    color: #E2E283;
    text-decoration: none;
}

.cfm-summary a.cfm-username:hover {
    color: #E2E283;
    text-decoration: underline;
}


.dms-related-chapters-grid {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.dms-single-chapter-note {
    font-style: italic;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 10px;
}

.dms-chapter-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.dms-chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.chapter-box {
    background: #111;
    border: 1px solid #333;
    padding: 10px 12px;
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, color 0.2s;
    display: block;
    word-break: break-word;
}

.chapter-box:hover {
    background-color: #1d1d1d;
    color: #fff;
}

.chapter-box.current {
    background: #222;
    color: #fff;
    font-weight: bold;
    border-color: #555;
}

.hidden-chapter {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}


.show-all-chapters-btn {
    margin-top: 15px;
    padding: 8px 14px;
    font-size: 13px;
    background: #111;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.show-all-chapters-btn:hover {
    background: #222;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .dms-chapter-grid {
        grid-template-columns: 1fr;
    }

    .chapter-box {
        font-size: 12px;
        padding: 8px 10px;
    }
}



    table.dms-ip-table {
        width: 100%;
        border-collapse: collapse;
        font-family: sans-serif;
        font-size: 14px;
        margin-top: 20px;
        color: #fff;
    }
    table.dms-ip-table th,
    table.dms-ip-table td {
        border: 1px solid #444;
        padding: 8px;
        vertical-align: top;
    }
    table.dms-ip-table th {
        background: #222;
        color: #fff;
    }
    table.dms-ip-table tr:nth-child(even) {
        background: #111;
    }
    table.dms-ip-table tr:nth-child(odd) {
        background: #000;
    }
    table.dms-ip-table a {
        color: #00bfff;
        text-decoration: none;
    }



/* Size Preferences */
.dms-size-preference {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    color: #FFFFA0;
    line-height: 1.6;
    text-align: left;
margin-bottom: 15px;
}

.dms-size-preference .match {
    font-weight: 400;
    color: #FFFFA0;
    position: relative;
    padding-right: 14px;
    white-space: nowrap;
}

.dms-size-preference .match::after {
    content: "★";
    color: #FFD700;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
}

/* Optional tooltip on hover (can be disabled later) */
.dms-size-preference .match:hover::before {
    content: "This matches your profile";
    position: absolute;
    bottom: 125%;
    left: 0;
    background-color: #222;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    z-index: 10;
    opacity: 1;
}

.dms-size-preference .no-match {
    font-weight: 200;
    color: #FFFFA0;
    white-space: nowrap;
}

/* Fantasy Themes */
.fantasy-heading {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FF8C00;
    margin-bottom: 5px;
}

.fantasy-tags {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 200;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 10px;
}

.fantasy-tag-link {
    text-decoration: none;
    position: relative;
    padding-right: 16px;
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap;
}

/* Matching fantasy tag */
.fantasy-tag-link.match {
    font-weight: 200 !important;
    color: #FFFFA0 !important;
}

/* Star */
.fantasy-tag-link.match::after {
    content: "★";
    color: #FFD700;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
}

/* Tooltip */
.fantasy-tag-link.match:hover::before {
    content: "This matches your profile";
    position: absolute;
    bottom: 125%;
    left: 0;
    background-color: #222;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    z-index: 10;
}

/* Non-matching fantasy tag */
.fantasy-tag-link.no-match {
    font-weight: 200 !important;
    color: #FFFFA0 !important;
}

/* Kill the pipes */
.fantasy-tags .pipe {
    display: none;
}

.match-alert {
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    color: #FFFFFF;
}

/* Size badge styles */
.giant-badge,
.tiny-badge,
.versatile-badge {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 200;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid;
    display: inline-block;
    background-color: transparent;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Border colors */
.giant-badge {
    border-color: #D10000;
}

.tiny-badge {
    border-color: #007BFF;
}

.versatile-badge {
    border-color: #8000A0;
}



/* Profile Match Hint Line Styles */
.match-hint {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 200;
    color: #CCCCCC;
    margin-top: 6px;
    line-height: 1.4;
	margin-bottom: 15px;
}

.match-hint-label {
    font-weight: 300;
    color: #FFCC00;
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-hint-text {
    font-weight: 200;
    color: #AAAAAA;
}
/* Profile Match Hint Line Styles */

/* Profile Style Sheet Section all sections */
.profile-section {
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.profile-heading {
    font-size: 30px;
    font-weight: 300;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.profile-subheading {
    font-size: 20px;
    font-weight: 300;
    color: #FFA500;
    margin: 20px 0 3px; /* 3px bottom margin to tighten spacing */
}

.profile-field {
    margin-bottom: 5px;
}

.profile-label {
    font-size: 16px;
    font-weight: 200;
    color: #FF8C00;
    display: inline;
}

.profile-value {
    font-size: 16px;
    font-weight: 200;
    color: #FFFFFF;
}

.profile-divider {
    border-bottom: 1px solid #5F0000;
    margin: 15px 0;
}

.profile-top-divider {
    border-bottom: 1px solid #5F0000;
    margin-top: 25px;
    margin-bottom: 30px;
}

.profile-tag-phrase {
    font-size: 16px;
    font-weight: 200;
font-style: italic;
    color: #ffff88;
    text-align: center;
}


.profile-tag-phrase,
.profile-title-wrapper,
.profile-location-wrapper,
.profile-country-wrapper {
    text-align: center;
    margin-bottom: 4px;
}

.profile-tag-phrase,
.profile-title-label,
.profile-title-value,
.profile-location-label,
.profile-location-value,
.profile-country-label,
.profile-country-value {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
    display: inline-block;
}

.profile-tag-phrase {
    font-size: 16px;
    color: #ffffff;
    display: block;
}

.profile-title-label,
.profile-location-label,
.profile-country-label {
    color: #cc0000;
}

.profile-title-value,
.profile-location-value,
.profile-country-value {
    color: #ffff88;
}



.profile-margin {
    margin-bottom: 30px;
}

/* Roleplay Special Styling */
.profile-roleplay-answer {
    padding: 1px 3px;
    border-radius: 4px;
    font-weight: 300;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid;
    margin-left: 8px;
}

.roleplay-yes {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #00cc00;
}

.roleplay-no {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #cc0000;
}



/* update buttons */

.dms-update-personal-button {
    padding: 1px 3px;
    border-radius: 4px;
	border-color: #5f0000;
    font-weight: 300;
    font-size: 12px;
    font-color: white;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid;
    margin-left: 0px;
    margin-bottom: 20px;
    margin-top: 10px

}


.dms-update-profile-macro-button {
padding: 1px 3px;
border-radius: 4px;
font-weight: 300;
font-size: 12px;
font-family: 'Inter', sans-serif;
text-transform: uppercase;
display: inline-block;
border: 2px solid #5f0000;
color: #ffffff;
margin-bottom: 20px;

}

.dms-update-links-button {
padding: 1px 3px;
border-radius: 4px;
font-weight: 300;
font-size: 12px;
font-family: 'Inter', sans-serif;
text-transform: uppercase;
display: inline-block;
border: 2px solid #5f0000;
color: #ffffff;
margin-bottom: 20px;
}

.dms-update-personal-button {
padding: 1px 3px;
border-radius: 4px;
font-weight: 300;
font-size: 12px;
font-family: 'Inter', sans-serif;
text-transform: uppercase;
display: inline-block;
border: 2px solid #5f0000;
color: #ffffff;
margin-bottom: 20px;

}

/* End Profile Syle Sheet all sections  */




    /* styles for links section */

.profile-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 650px;
    width: 100%;
    margin: 10px auto 0 auto; /* centers the grid */
}



.dms-link-button {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 200;
    color: #ffff88;
    border: 1px solid #ffff88;
    padding: 6px 8px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

.dms-link-button:hover {
    background-color: #1a1a1a; /* just a tad lighter than #111111 */
    color: #ffff88; /* stay consistent */
}



.profile-section {
    margin-bottom: 25px;
}

.profile-heading {
    font-size: 22px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 10px;
}


/* Role Play Style for fag option */



/* end Role play for flag option */



/* styles for links update modal */

    .dms-links-modal {
        position: fixed;
        top: 3%;
        left: 50%;
        transform: translateX(-50%);
        background: #111;
        padding: 20px;
        border: 1px solid #888;
        z-index: 9999;
        max-width: 500px;
        width: 90%;
        color: white;
        border-radius: 8px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 12px rgba(0,0,0,0.8);
    }


    .dms-macro-modal {
        position: fixed;
        top: 3%;
        left: 50%;
        transform: translateX(-50%);
        background: #111;
        padding: 20px;
        border: 1px solid #888;
        z-index: 9999;
        max-width: 500px;
        width: 90%;
        color: white;
        border-radius: 8px;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 12px rgba(0,0,0,0.8);
    }


    .dms-links-modal h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .dms-links-modal input[type="text"],
    .dms-links-modal input[type="url"] {
        width: 100%;
        padding: 6px 10px;
        margin-bottom: 12px;
        background: #222;
        color: white !important;
        border: 1px solid #555;
        border-radius: 4px;
        font-size: 14px;
        height: 34px;
        -webkit-text-fill-color: white !important; /* iOS fix */
    }

    .dms-links-modal input::placeholder {
        color: #bbb;
    }

    .dms-modal-controls {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .dms-modal-controls button {
        padding: 8px 14px;
        border: none;
        border-radius: 4px;
        background: #444;
        color: white;
        cursor: pointer;
        font-size: 14px;
        flex-grow: 1;
        text-align: center;
    }

.dms-links-modal select,
.dms-links-modal textarea {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 12px;
    background: #222;
    color: white !important;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    -webkit-text-fill-color: white !important; /* iOS fix */
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: italic;
    height: 34px;
}

.dms-links-modal textarea {
    height: auto;
    min-height: 60px;
    resize: vertical;
}

.dms-links-modal label {
    display: block;
    margin-bottom: 6px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #ccc;
}


.dms-macro-modal select,
.dms-macro-modal input[type="text"],
.dms-macro-modal textarea {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 12px;
    background: #222;
    color: white !important;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-style: italic;
    -webkit-text-fill-color: white !important; /* iOS fix */
}

.dms-macro-modal label {
    display: block;
    margin-bottom: 4px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #ccc;
}

.dms-macro-modal textarea {
    min-height: 90px;
    resize: vertical;
}




/* Styles for Modal Check Boxes Grid */
.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 20px;
    margin-top: 10px;
}

.taxonomy-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.taxonomy-item input[type="checkbox"] {
    accent-color: #5f0000;
    width: 16px;
    height: 16px;
}

.taxonomy-item input[type="checkbox"]:checked + span,
.taxonomy-item input[type="checkbox"]:checked ~ span {
    color: #5f0000;
    font-weight: 500;
}

/* END Styles for Modal Check Boxes Grid */

    @media screen and (max-width: 600px) {
        .dms-links-modal h3 {
            font-size: 16px;
        }

        .dms-links-modal {
            max-width: 95%;
            padding: 15px;
            top: 2%;
        }
    }
    

/* Profile Photo Thumbnails under profile photo section */

.primary-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-items: center;
}

.primary-gallery li {
    margin: 0;
}

.primary-gallery-thumbnail {
    max-width: 90px;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}


/* tablet */

@media (min-width: 601px) and (max-width: 1024px) {
    .primary-gallery {
        grid-template-columns: repeat(6, 1fr);
    }

    .primary-gallery-thumbnail {
        max-width: 85px;
    }
}


/* Mobile (3 per row, 65% smaller thumbnails) */
@media (max-width: 600px) {
    .primary-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .primary-gallery-thumbnail {
        max-width: 65px;
    }
}

/* END Profile Photo Thumbnails section */


/* STYELS FOR PROFILE PHOTO UPDATE SECTION */


/* === CHANGE PROFILE BUTTON === */

.dms-profile-photo-btn {
    padding: 1px 3px;
    border-radius: 4px;
    font-weight: 300;
    font-size: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    display: block;
    margin: 12px auto 20px auto;
    border: 2px solid #5f0000;
    /* Optionally: add a little width for bigger click area */
    min-width: 120px;
    letter-spacing: 0.03em;
    transition: background 0.17s, color 0.15s, border-color 0.15s;
    background: #222;
    cursor: pointer;
}
.dms-profile-photo-btn:hover {
    background: #5f0000;
    color: #fff;
    border-color: #ffe671;
}


/* === CENTER AND SIZE PROFILE IMAGE (BEAST UPGRADE) === */
.dms-profile-photo-current {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.dms-profile-photo-current img.dms-profile-photo-img {
    width: 480px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* === MODAL OVERLAY === */
.dms-profile-photo-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.77);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 0;
}

/* === MODAL WINDOW === */
.dms-profile-photo-modal-content {
    background: #191919;
    color: #fff;
    border-radius: 18px;
    max-width: 900px;
    width: 95vw;
    max-height: 900px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 8px 44px rgba(0,0,0,0.65);
    margin: 0 auto;
    padding: 46px 44px 32px 44px;
    overflow-y: auto;
}

/* === MODAL CLOSE BUTTON === */
.dms-profile-photo-modal-close {
    position: absolute;
    top: 16px; 
    right: 20px;
    background: none;
    color: #FFFFFF;
    font-size: 2.3em;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    font-weight: 700;
    transition: color 0.16s;
}
.dms-profile-photo-modal-close:hover {
    color: #fff;
    background: #5f0000;
    border-radius: 50%;
}

/* === MODAL TITLE === */
.dms-profile-photo-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 26px 0;
    text-align: left;
    letter-spacing: 0.02em;
}

/* === GRID CONTAINER === */
.dms-profile-photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 111px);
    gap: 18px;
    justify-content: center;
    align-items: start;
    margin-bottom: 26px;
    width: 100%;
    overflow-x: auto;
}

/* === INDIVIDUAL OPTION LABEL === */
.dms-profile-photo-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border-radius: 12px;
    padding: 2px 0 10px 0;
    transition: filter 0.16s, box-shadow 0.15s;
    position: relative;
}
.dms-profile-photo-option input[type="radio"] {
    display: none; /* Hide radio itself */
}

/* === PHOTO IMAGE === */
.dms-profile-photo-choice {
    width: 145px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.19);
    background: #222;
    transition: outline 0.16s, box-shadow 0.16s, filter 0.12s;
    outline: 2px solid transparent;
    display: block;
    cursor: pointer;
}
.dms-profile-photo-option input[type="radio"]:checked + .dms-profile-photo-choice {
    outline: 3px solid #ffe671;
    box-shadow: 0 0 0 4px #5f000080;
    filter: brightness(1.08);
}
.dms-profile-photo-option:hover .dms-profile-photo-choice,
.dms-profile-photo-option:focus-within .dms-profile-photo-choice {
    filter: brightness(1.09) saturate(1.11);
    outline: 2.5px solid #ffe671;
}

/* === SELECTOR VISUALLY HIDDEN === */
.dms-profile-photo-option input[type="radio"] {
    display: none;
}

/* === CLICK ENTIRE PHOTO TO SELECT === */
.dms-profile-photo-option {
    cursor: pointer;
}
.dms-profile-photo-choice:active {
    outline: 3px solid #ffe671;
}

/* === GRID RESPONSIVE === */
@media (max-width: 1100px) {
    .dms-profile-photo-grid {
        grid-template-columns: repeat(4, 125px);
        gap: 14px;
    }
    .dms-profile-photo-choice {
        width: 125px;
    }
}
@media (max-width: 700px) {
    .dms-profile-photo-modal-content {
        max-width: 98vw;
        padding: 22px 8px 22px 8px;
        max-height: 92vh;
    }
    .dms-profile-photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .dms-profile-photo-choice {
        width: 99px;
    }
}

/* === INSTRUCTIONS TEXT AT BOTTOM === */
.dms-profile-photo-modal-instructions {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    background: #232323;
    border-radius: 9px;
    margin: 24px 0 4px 0;
    padding: 12px 20px;
    text-align: left;
    font-weight: 200;
    line-height: 1.22;
}

/* end PROFILE PHOTO UPDATE SECTION STYLES */


.dms-profile-header {
    margin-bottom: 20px;
}

.dms-profile-name {
    font-size: 24px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    color: #fff;
    margin-bottom: 8px;
}

.dms-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Make it bolder */
    color: #ffffff;   /* Solid white text */
    margin-bottom: 12px;
}

.dms-meta-item {
    display: flex;
    align-items: center;
    gap: 6px; /* use 6px–8px for just enough space between icon and label */
}


.dms-profile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dms-profile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.dms-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px;
    background-color: transparent !important;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dms-nav-button:hover {
    background-color: #5f0000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.dms-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}


@media only screen and (max-width: 768px) {
    .dms-profile-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        line-height: 1.2 !important;
        margin-bottom: 10px;
    }

    .dms-meta-item {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}

.dms-profile-update-link a {
    display: inline-block;
    padding: 4px 2px;
    background-color: #5f0000;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.dms-profile-version-message {
font: inter, sans-serif;    
font-size: 14px;
    margin-top: 8px;
    color: #dddddd;
}

.version-number {
    font-weight: 300;
    color: #ff0000;
}


.author-header-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.author-header-left {
    flex: 0 0 auto;
    order: 2;
}

.author-header-left img.author-profile-image {
    width: 170px;
    height: 170px;
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-bottom: 10px;
}

/* Mobile-only photo hidden by default */
.author-photo-mobile {
    display: none;
}

.author-header-right {
    flex: 1 1 0%;
    order: 1;
}

.author-header-name {
    font-size: 22px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin-bottom: 10px;
}

.author-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
}

.author-meta-item {
    display: flex;
    align-items: center;
    gap: 6px; /* use 6px–8px for just enough space between icon and label */

}

.author-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px;
    background-color: transparent !important;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.author-nav-button:hover {
    background-color: #5f0000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.author-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* 📱 Mobile view: Title → Mobile Photo → Meta/Menu */
@media only screen and (max-width: 768px) {
    .author-header-wrapper {
        flex-direction: column;
    }

    .author-header-name {
        order: 1;
    }

    .author-header-left {
        display: none !important; /* Hides desktop photo container */
    }

    .author-photo-mobile {
        display: block !important;
        margin: 12px auto;
        text-align: center;
    }

    .author-photo-mobile img {
        display: block;
        width: 170px;
        height: 170px;
        border-radius: 100%;
        object-fit: cover;
        border: 2px solid #ffffff;
        margin: 0 auto 10px auto;
    }

    .author-meta-row {
        order: 3;
        flex-direction: column;
        gap: 6px;
    }

    .author-nav-row {
        order: 4;
        flex-direction: column;
        gap: 8px;
    }
}


.custom-whos-online {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}

.custom-whos-online h3 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.user-count {
    font-size: 14px;
    color: #bbbbbb;
    margin-bottom: 10px;
    font-style: italic;
}

.whos-online-user {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
}

.username {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
}

/* Avatar container with status ring */
.avatar-container {
    position: relative;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border: 2px solid #888888;
    border-radius: 50%;
    box-sizing: border-box;
    overflow: visible; /* 🔥 Restore the hover preview visibility */
}


/* Status ring colors */
.avatar-online {
    border-color: #0CF000 !important;
}

.avatar-idle {
    border-color: #EFFD00 !important;
}

.avatar-offline {
    border-color: #555555 !important;
}

/* Avatar image fits inside the ring cleanly */
.user-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
}




/* Optional user status text below username */
.status-text {
    font-size: 10px;
    color: #fff !important;
    font-weight: normal;
    margin-top: 2px;
    word-wrap: break-word;
    max-width: 100%;
}

/* Hover image preview */
.avatar-hover-preview {
    display: none;
    position: absolute;
    top: -10px;
    left: 50px;
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    z-index: 9999;
}

.avatar-container:hover .avatar-hover-preview {
    display: block;
}

/* Status badge in image pop-out */
.status-badge {
    display: inline-block;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #000000;
    border-radius: 4px;
    padding: 1px 4px;
    line-height: 1.2;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Background color for badges */
.status-online {
    background-color: #0CF000;
}


.status-badge.status-idle {
    background-color: #EFFD00 !important;
}


.status-offline {
    background-color: #777777;
}


.site-admin-label {
    font-size: 9px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 200 !important;
    color: #fff !important;
    background: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 2px 0 0 0 !important;
    border-radius: 0 !important;
    letter-spacing: 0.3px !important;
}

/* --- Improved Left Color Bar for Size Identity (with spacing and radius) --- */
.custom-whos-online .whos-online-user.size-tiny,
.custom-whos-online .whos-online-user.size-giant,
.custom-whos-online .whos-online-user.size-versatile {
    border-left: 6px solid;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding-left: 12px !important;
}

.custom-whos-online .whos-online-user.size-tiny {
    border-left-color: #2196f3;
}
.custom-whos-online .whos-online-user.size-giant {
    border-left-color: #b20000;
}
.custom-whos-online .whos-online-user.size-versatile {
    border-left-color: #7c3aed; /* More purple */
}

/* --- Update legend dot color for versatile --- */
.legend-dot.versatile { background: #7c3aed; }

.size-legend-key {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: Inter, sans-serif;
    font-weight: 300;
}
.legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    border: 1.7px solid #202124;
    box-shadow: 0 1px 2px #0004;
}
.legend-dot.tiny { background: #2196f3; }
.legend-dot.giant { background: #b20000; }
.legend-dot.versatile { background: #7c3aed; }


.size-legend-label {
    font-family: Inter,sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffc400;
    margin-bottom: 1px; /* Tighter! */
    letter-spacing: 0.6px;
}
.size-legend-key {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
    font-size: 13px;
    font-family: Inter, sans-serif;
    font-weight: 300;
}
.legend-dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    border: 1.6px solid #232323;
    box-shadow: 0 1px 2px #0004;
}
.legend-dot.tiny { background: #2196f3; }
.legend-dot.giant { background: #b20000; }
.legend-dot.versatile { background: #7c3aed; }

.legend-label {
    font-size: 14px;
    color: #ededed;
    margin-right: 10px;
    margin-bottom: 0;
    margin-left: -5px; /* snugs label toward the dot */
}

.dms-story-header {
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 0px solid #444;
}

.story-header-flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.story-header-content {
    flex: 1;
    min-width: 200px;
}

.story-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    color: #F8F861 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.dms-story-header .dms-profile-nav {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.story-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-item b {
    color: #fff;
    font-weight: 500;
}

.story-tags {
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 12px;
}

.story-excerpt {
    font-size: 15px;
    color: #ffff99;
    font-style: italic;
    margin-top: 8px;
}

/* Like Button */
.dms-profile-nav .like-button {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    background-color: #880000;
    color: #fff;
    border-radius: 4px;
    height: 36px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dms-profile-nav .like-button.liked {
    background-color: #006600;
    color: #fff;
}

/* Desktop Avatar Block */
.story-avatar-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 70px;
    margin-top: 4px;
}

.story-avatar-desktop .story-avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 0 2px rgba(0,0,0,0.4);
}

.story-avatar-desktop .author-name {
    font-size: 14px;
    color: #fff;
    margin-top: 4px;
    text-align: center;
}

/* Mobile Avatar Below Title */
.story-avatar-mobile {
    display: none;
}

.story-avatar-mobile .story-avatar-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.story-avatar-mobile .author-name {
    font-size: 14px;
    color: #fff;
    margin-left: 8px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .story-header-flex {
        flex-direction: column;
    }

    .story-title {
        font-size: 18px !important;
    }

    .story-avatar-desktop {
        display: none !important;
    }

    .story-avatar-mobile {
        display: flex !important;
        align-items: center;
        gap: 10px;
        margin: 10px 0;
    }
}


.dms-publishing-status {
    padding: 14px 20px;
    border-radius: 10px;
    background: #181818;
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.03em;
    box-shadow: 0 1px 6px #0003;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 200;
    line-height: 1.55;
}
.dms-publishing-status strong {
    color: #FFD600;
    font-weight: 400;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.dms-publishing-status em {
    color: #FFD600;
    font-style: normal;
    font-weight: 300;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.dms-publishing-status.dms-fast-track {
    border-left: 6px solid #5ddd00;
}
.dms-publishing-status.dms-moderated {
    border-left: 6px solid #FFD600;
}


/* ==================== GALLERY FEED: MAIN CONTAINER & ENTRIES ==================== */
.dms-photo-feed-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px 0;
}

.photo-feed-entry {
  background: #1c1c1e;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  padding: 0;
}

/* Header: Avatar, Name, Time */
.photo-feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.photo-feed-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.photo-feed-username {
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}

.photo-feed-date {
  font-size: 0.85rem;
  color: #FFFFFF;
}

/* Photo block */
.photo-feed-image-container {
  width: 100%;
  margin: 0;
}

.photo-feed-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}


/* Actions: Heart, Comment, Eye */
.photo-feed-actions {
  display: flex;
  align-items: center;
  gap: 0; /* Remove or reduce the gap to bring buttons closer */
  padding: 10px 10px 0;
  font-size: 1.1rem;
}

.photo-like-btn,
.photo-comment-btn,
.photo-views-btn {
  background: none;
  border: none;
  color: #fff !important; /* Force button text (including the eye icon) to white */
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}


/* When the like button is active (liked), turn the icon red */
.photo-like-btn.liked .photo-like-icon {
  color: #ff0000 !important; /* Force the color to red */
}



/* Keep the emoji (eye) as it is */
.photo-views-btn img {
  filter: none !important; /* Remove the filter, let the emoji remain as it is */
}

/* Force the count text inside the photo-views-btn to be white */
.photo-views-btn .photo-views-count {
  color: #fff !important; /* Override any other color styles */
}

.photo-like-btn:hover,
.photo-comment-btn:hover {
  color: #5F0000;
}

.photo-feed-likes {
  font-size: 0.95rem;
  color: #fff;
  padding: 6px 16px 0;
  font-weight: 300;
}

/* Ensure the views button text and icon are white even if disabled */
.photo-views-btn:disabled {
  color: #fff !important; /* White color */
  opacity: 1 !important; /* Remove any faded opacity */
  filter: none !important; /* Remove any filter affecting the color */
}

/* Force white on the count inside the photo-views-btn */
.photo-views-btn .photo-views-count {
  color: #fff !important; /* Ensure white color for the count */
}


/* Caption */
.photo-feed-caption {
  font-size: 0.95rem;
  padding: 4px 16px;
  color: #FFFFFF;
  line-height: 1.45;
}

.photo-feed-caption strong {
  font-weight: 400;
  color: #fff;
}

.photo-feed-caption a {
  color: #FFFFFF;
  text-decoration: none;
}

.photo-feed-caption a:hover {
  text-decoration: underline;
}

/* Timestamp under caption */
.photo-feed-timestamp {
  font-size: 0.8rem;
  color: #666;
  padding: 2px 16px 10px;
}

/* Loader */
.dms-feed-loader {
  color: #fff;
  background: #292b34;
  text-align: center;
  padding: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 1.14rem;
  border-radius: 10px;
  margin: 18px auto;
  width: 240px;
}

/* ==================== MODAL: FULLSCREEN (MOBILE & DESKTOP) ==================== */
.dms-photo-comment-modal {
  position: fixed !important;
  z-index: 9999 !important;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10,10,15,0.85);
}


.dms-photo-comment-modal[style*="display: block"] {
  display: flex !important;
}

.dms-modal-content {
  background: #232326;
  color: #fff;
  border-radius: 22px 22px 0 0;
  width: 100vw;
  max-width: 480px;
  max-height: 75vh;
  min-height: 44vh;
  padding: 0 0 10px 0;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 12px 32px 0 rgba(0,0,0,0.48);
  font-family: 'Inter', Arial, sans-serif;
}

@media (max-width: 600px) {
  .dms-modal-content {
    border-radius: 18px 18px 0 0;
    width: 100vw;
    max-width: 100vw;
    min-height: 99vh;
    max-height: 100vh;
    padding: 0 0 10px 0;
  }
}

.dms-modal-close-btn {
  position: absolute;
  right: 19px; top: 18px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #b5b5b5;
  opacity: 0.95;
  cursor: pointer;
  z-index: 2;
}

/* ==================== COMMENT THREAD & ITEMS ==================== */
.dms-comment-thread-list {
  flex: 1 1 0;
  overflow-y: auto;
  padding: 24px 18px 10px 18px;
  max-height: 65vh;
  scrollbar-width: thin;
  scrollbar-color: #303030 #181818;
}
.dms-comment-thread-list::-webkit-scrollbar {
  width: 7px;
  background: #181818;
}
.dms-comment-thread-list::-webkit-scrollbar-thumb {
  background: #303030;
  border-radius: 5px;
}

.dms-comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-bottom: none;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  font-size: 1.04rem;
}

.dms-comment-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 3px;
  flex-shrink: 0;
}

.dms-comment-main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.dms-comment-username {
  font-weight: 500;
  font-size: 1.01rem;
  color: #f6d473;
  margin-right: 7px;
}

.dms-comment-date {
  font-size: 0.80em;
  color: #959595;
  margin-left: 5px;
}

.dms-comment-text {
  color: #ececec;
  font-size: 1.02rem;
  margin: 1px 0 2px 0;
  line-height: 1.4;
  word-break: break-word;
}

.dms-comment-actions {
  margin-top: 2px;
  display: flex;
  gap: 14px;
}

/* Reply/Hide links look like IG text links, not buttons */
.dms-comment-reply-btn,
.dms-comment-hide-btn {
  background: none;
  color: #929292;
  border: none;
  font-size: 0.97em;
  padding: 0;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.13s;
  text-decoration: none;
  margin-right: 10px;
}
.dms-comment-reply-btn:hover,
.dms-comment-hide-btn:hover {
  color: #ffd851;
  text-decoration: underline;
}

/* Nested replies */
.dms-comment-children {
  margin-left: 24px;
  border-left: 1.7px solid #333;
  padding-left: 7px;
  margin-top: 4px;
}

.dms-reply-bar {
  margin-left: 24px;   /* Indents it to the right */
  margin-bottom: 7px;
  padding-left: 10px;  /* Optional: adds a little space inside the left edge */
  border-left: 3px solid #FFFFFF;  /* Optional: gives a visual indicator for the reply */
  font-size: 0.99em;
  color: #FFFFFF;
  background: #1a1a1a; /* Optional: subtle dark background for reply bar */
  border-radius: 4px;  /* Optional: smooth corners */
}


/* Images inside comments */
.dms-comment-text img {
  max-width: 95px;
  border-radius: 8px;
  margin: 8px 0 2px 0;
  display: block;
}

/* ==================== COMMENT INPUT ROW (BOTTOM) ==================== */
.dms-comment-form {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-top: 1px solid #29292d;
  background: #232326;
  position: relative;
}

/* Style the textarea inside the form */
.dms-comment-form textarea {
  flex: 1 1 0;
  padding: 9px 13px;
  border-radius: 22px;
  border: none;
  background: #18181a;
  color: #fafafa !important;
  font-size: 1rem;
  font-family: 'Inter', Arial, sans-serif;
}

/* Style the submit button inside the form */
.dms-comment-form button[type="submit"] {
  padding: 6px 11px;
  border-radius: 17px;
  border: none;
  background: #28282d;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.dms-comment-form button[type="submit"]:hover {
  background: #005bb5;
}


/* Smooth modal scrolling/overscroll */
.dms-photo-comment-modal,
.dms-modal-content {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}



/* Style only the Cancel button in the reply bar */
.dms-reply-bar .dms-cancel-reply-btn {
  margin-left: 14px !important;   /* Pushes button away from text */
  padding: 2px 16px !important;   /* Padding for clickable area */
  background: #ffd851 !important; /* Bright yellow */
  color: #232323 !important;      /* Dark text for contrast */
  border: none !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 1em !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13) !important;
  transition: background 0.18s, color 0.18s !important;
  outline: none !important;
  line-height: 1.2 !important;
}
.dms-reply-bar .dms-cancel-reply-btn:hover,
.dms-reply-bar .dms-cancel-reply-btn:focus {
  background: #ffe05c !important; /* Slightly brighter on hover */
  color: #000 !important;
}

/* --------------Gallery Feed Book Mark Styles */
.cftbm-icon {
    color: #bbb; /* faint grey */
    transition: color 0.2s;
}
.cftbm-icon.active {
    color: #EDFF00; /* solid grey */
}
.cftbm-icon.bookmarked {
    color: #c00; /* solid red */
}
.cftbm-icon.previously-bookmarked {
    color: #EFFF00; /* faint solid grey */
}



/* Recent Post Styles */

.dms-forum-feed {
    font-family: 'Inter', sans-serif;
    color: #fff;
    max-width: 420px;
    margin: 0 auto;
}

.dms-post {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px 14px;     /* Added padding for breathing room */
    background: #1b1b1b;    /* Single background, tweak as needed */
}


.dms-post:nth-child(odd) {
    background: #181818;
}
.dms-post:nth-child(even) {
    background: #222;
}

/* Remove border-bottom since we're using gaps */
.dms-post:not(:last-child) {
    border-bottom: none;
}


.dms-avatar {
    min-width: 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dms-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #242424;
    background: #111;
    display: block;
}

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

.dms-title {
    font-size: 14px;            /* Just 2px bigger than excerpt */
    font-weight: 600;
    color: #F1E359;
    margin-bottom: 1px;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dms-title a {
    color: #F1E359;
    text-decoration: none !important;   /* No underline, ever */
    font-size: inherit;
}

.dms-new {
    background: #C00E0E;
    color: #fff;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.67em;
    margin-left: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    vertical-align: middle;
    margin-top: 2px;
}

.dms-meta {
    font-size: 13px;
    color: #b8b8b8;
    margin-bottom: 2px;
    margin-top: 1px;
}

.dms-meta a {
    color: #FB0A0A;
    text-decoration: none;
    font-weight: 500;
}

.dms-excerpt {
    font-size: 14px;
    color: #ededed;
    font-weight: 300;
    margin-top: 2px;
    line-height: 1.42;
    word-break: break-word;
}

/* Optional: Remove excess space at bottom of last post */
.dms-forum-feed .dms-post:last-child {
    border-bottom: none;
    padding-bottom: 15px;
}



/* recent polls styles here */

/* Polls widget extra tweaks */
.dms-poll-feed {
    /* Already inherits from forum feed, but tweak if needed */
    max-width: 420px;
}
.dms-poll-show-more-btn {
    background: #242424 !important;
    color: #F1E359 !important;
    font-size: 13px !important;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    margin: 16px 0 0 0;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background 0.16s;
}
.dms-poll-show-more-btn:hover {
    background: #343434 !important;
}
/* Responsive tweak for mobile */
@media (max-width:600px) {
    .dms-poll-feed { max-width: 99vw; }
}


/* ==== Add Link Form Styles (Tweaked) ==== */

.alf-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #181818;
    padding: 30px 28px 26px 28px;
    border-radius: 12px;
    box-shadow: 0 1px 14px #0002;
}

.alf-field-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alf-label {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    max-width: 100%;
}

.alf-input,
.alf-textarea {
    width: 60%;
    max-width: 500px;
    min-width: 220px;
    margin: 5px auto 5px auto;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #999;
    background: #252525;
    color: #fff;
    font-size: 1rem;
    display: block;
    box-sizing: border-box;
}

/* Full width only for the dropdown */
select.alf-input {
    width: 100%;
    min-width: unset;
    max-width: unset;
}

/* Always white text for autofill fields (fix for Apple/iOS devices) */
.alf-input:-webkit-autofill,
.alf-input:-webkit-autofill:focus,
.alf-input:-webkit-autofill:hover,
.alf-input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
    background-color: #252525 !important;
    color: #fff !important;
}

/* Remove yellow bg in Chrome/iOS for autofill */
input.alf-input:-webkit-autofill,
textarea.alf-input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #252525 inset !important;
    -webkit-box-shadow: 0 0 0 1000px #252525 inset !important;
}

.alf-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.alf-note {
    font-size: 13px;
    color: #bdbdbd;
    margin-bottom: 6px;
    margin-top: -2px;
    width: 60%;
    max-width: 500px;
    min-width: 220px;
    text-align: left;
}

.alf-submit {
    background: #5f0000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;
    padding: 9px 25px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alf-submit:hover,
.alf-submit:focus {
    background: #b20000;
}

.alf-notice {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

.alf-success {
    color: #006a24;
    background: #eaffea;
    border: 1px solid #98e2ad;
}

.alf-error {
    color: #b20000;
    background: #fff2f2;
    border: 1px solid #eeb0b0;
}

/* Responsive: 100% width on mobile/small screens */
@media (max-width: 600px) {
    .alf-input,
    .alf-textarea,
    .alf-note {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
}
/* Align checkbox help text directly under label */
.alf-checkbox .alf-note {
    width: auto !important;
    max-width: 100% !important;
    min-width: unset !important;
    margin-left: 0 !important;
    text-align: left !important;
    padding-left: 2px;
}

/* White text inside inputs and textareas */
.alf-input,
.alf-textarea,
.alf-input:focus,
.alf-textarea:focus {
    color: #fff !important;
    background: #252525 !important;
}

/* White placeholder text in all browsers */
.alf-input::placeholder,
.alf-textarea::placeholder {
    color: #fff !important;
    opacity: 1 !important;
}
.alf-input:-ms-input-placeholder,
.alf-textarea:-ms-input-placeholder {
    color: #fff !important;
}
.alf-input::-ms-input-placeholder,
.alf-textarea::-ms-input-placeholder {
    color: #fff !important;
}

/* Extra fix for Apple/iOS and Chrome autofill */
.alf-input:-webkit-autofill,
.alf-textarea:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    box-shadow: 0 0 0 1000px #252525 inset !important;
    background: #252525 !important;
    color: #fff !important;
}
/* Align all .alf-checkbox groups to the left, not center */
.alf-checkbox {
    align-items: flex-start !important;
}

/* Extra: Make the checkbox label and help note flow left and under each other */
.alf-checkbox .alf-label {
    display: flex;
    align-items: center;
    width: auto;
}

.alf-checkbox .alf-note {
    margin-left: 28px; /* aligns with the checkbox, adjust if needed */
    width: auto !important;
    text-align: left !important;
    padding-left: 0 !important;
}


/* Gallery Header Styles */
.dms-gallery-header { 
    max-width:650px; 
    margin:0 auto 16px; 
    color:#fff; 
    font-family:Inter,sans-serif; 
    font-size:16px; 
    text-align:center; /* Center everything inside */
}
.dms-gallery-meta-row { display:flex; align-items:center; margin-bottom:10px; gap:14px; }
.dms-gallery-meta-avatar img { width:30px; height:30px; border-radius:50%; object-fit:cover; border:1.5px solid #444;}
.dms-gallery-meta-info { display:flex; flex-wrap:wrap; align-items:center; gap:11px; }
.dms-gallery-meta-username a { font-weight:600; color:#eee; text-decoration:none; }
.dms-gallery-meta-date, .dms-gallery-meta-time { color:#bbb; }
.dms-gallery-meta-comments { color:#aaa; }
.dms-gallery-meta-folder { background:#181818; color:#ffe066; border-radius:10px; padding:2px 9px; font-size:14px; margin-left:6px; }
.dms-gallery-action-row { 
    margin:10px 0 2px 0; 
    display:inline-flex;   /* Center buttons inline */
    gap:14px; 
    justify-content:center; 
}
/* Always center the gallery views text */
.dms-gallery-views { 
    margin-top:8px; 
    color:#ccc; 
    font-size:15px; 
    text-align:center; 
    width:100%;          /* Ensures it stretches and centers inside parent */
    display:block;
}

.dms-eye-icon { margin-right:6px; font-size:1.2em; vertical-align:middle; }

/* Button tweaks: you can add more here for the .dms-like-btn and .dms-bookmark-btn */
.dms-like-btn, .dms-bookmark-btn {
    background: #222; border: 1px solid #555; color: #fff; border-radius: 7px;
    padding: 5px 14px; font-size: 15px; cursor: pointer; margin-right: 6px;
    display: inline-flex; align-items: center; gap: 5px;
    transition: background 0.17s, border 0.17s;
}
.dms-like-btn.liked, .dms-bookmark-btn.bookmarked { border-color: #ffe066; background: #191919; }
.dms-like-btn:hover, .dms-bookmark-btn:hover { background: #333; border-color: #ffe066; }
.dms-icon { display: inline-block; vertical-align: middle; }

Replace your responsive block and views rule with this:

/* Responsive tweaks */
@media (max-width: 480px) {
    .dms-gallery-header { 
        font-size:14px; 
        text-align:center;
    }
    .dms-gallery-meta-row { 
        flex-direction:column; 
        align-items:center;     /* Center avatar + meta info */
        gap:6px; 
    }
    .dms-gallery-meta-info { 
        flex-direction:column; 
        gap:6px; 
        align-items:center;
    }
    .dms-gallery-action-row {
        justify-content:center;
        width:100%;
    }



.dms-stats-container,
.dms-member-badge,
.dms-size-badge,
.dms-member-username,
.dms-member-chat-row {
    all: unset;
    all: revert;
}


/* Roleplay Sidebar Base */
.dms-roleplay {
    width: 100%;
    max-width: 340px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.rp-stats-container {
    font-size: 13px;
    padding: 0;
}

.rp-stats-heading {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.rp-badge-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 19px;
}

.rp-badge {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: transparent;
    text-transform: uppercase;
    line-height: 1.4;
    display: block;
    width: 100%;
    text-align: left;
    border: 1.5px solid;
}

.rp-badge.tiny { border-color: #007BFF; }
.rp-badge.giant { border-color: #D10000; }
.rp-badge.versatile { border-color: #8000A0; }

.rp-active-heading {
    font-size: 15px;
    font-weight: 600;
    color: #effd00;
    margin: 20px 0 10px;
}

.rp-active-list {
    margin-bottom: 10px;
}

.rp-member {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    padding: 3px 9px 3px 4px;
    margin: 6px auto 8px auto;
    background: #161621;
    border: 2px solid;
    gap: 7px;
    min-height: 49px;
}

.rp-member.giant { border-color: #D10000; color: #ff8888; }
.rp-member.tiny { border-color: #007BFF; color: #aaddff; }
.rp-member.versatile { border-color: #8000A0; color: #f0caff; }

.rp-avatar {
    width: 45px;
    height: 45px;
    object-fit: cover;
    margin-right: 6px;
    border: 1px solid #313146;
    background: #232323;
}

.rp-member-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rp-username {
    font-size: 14px;
    font-weight: 600;
    color: #ffc400;
    cursor: pointer;
    position: relative;
}

.rp-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    z-index: 1002;
    background: #28283c;
    color: #fff;
    font-size: 13px;
    border-radius: 7px;
    padding: 11px 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.67);
    min-width: 220px;
    max-width: 330px;
    max-height: 200px;
    overflow-y: auto;
    white-space: normal;
}

.rp-chat-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 13px;
}

.rp-chat-icon {
    width: 17px;
    height: 17px;
    fill: #6be1ff;
    display: inline-block;
    vertical-align: middle;
}

.rp-chat-link {
    color: #6be1ff;
    text-decoration: underline;
    font-weight: 500;
}

.rp-room-btn {
    display: block;
    margin: 18px 0 12px 0;
    background: #effd00;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    padding: 9px 0;
    width: 100%;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.rp-room-btn:hover {
    background: #fff200;
}

.rp-no-members {
    color: #aaa;
}
