.entry.private {
    color: red; /* رنگ متن قرمز */
    border-left: 3px solid red; /* optional */
}

.chat-attention {
    display: flex;
    font-size: .75rem;
    line-height: 0.8rem;
    padding: .05rem;
    align-items: center;
    color: #ffffff99;
}

.sb-tabs {
    align-items: flex-end;
    display: flex;
    height: 2rem;
    margin-top: 0px;
    padding-left: .75rem;
    padding-right: .75rem;
	margin-bottom: 0px;
}

.tab {
    --tw-bg-opacity: 1;
    background-color: #292929;
    border-color: #00000052;
    border-width: 1px 1px 0;
    color: #ffffff99;
    display: block;
    font-size: .75rem;
    line-height: 1rem;
    margin-right: -1px;
    padding: .25rem .75rem;
    position: relative;
    transition-duration: .1s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}
.tab.active {
    --tw-bg-opacity: 1;
    background-color: rgb(41 41 41 / var(--tw-bg-opacity));
    border-top-left-radius: .188rem;
    border-top-right-radius: .188rem;
    padding-bottom: .375rem;
    padding-top: .375rem
6px
;
}
	





/* رنگ دلخواه برای هر گروه */
.group-filter-btn[data-gid='4'] { background: #f24b4b;color:red; } /* Admin */
.group-filter-btn[data-gid='6'] { background: #ed7a16; } /* Moderator */
.group-filter-btn[data-gid='10'] { background: #028e6b; } /* Trial Moderator */
.group-filter-btn[data-gid='8'] { background: #8b0ee3; } /* Developers */
.group-filter-btn[data-gid='12'] { background: #FFD700; color:#000; } /* Contributor */
.group-filter-btn[data-gid='15'] { background: #FF51F2; } /* Luxurious */
.group-filter-btn[data-gid='16'] { background: #fe9289; } /* Deluxe */
.group-filter-btn[data-gid='17'] { background: #4DD5D5; color:#000; } /* Premium */
.group-filter-btn[data-gid='18'] { background: orange; } /* Sponsors */
.group-filter-btn[data-gid='2'] { background: #d9d9d9; color:#000; } /* Member */
.group-filter-btn[data-gid='7'] { background: #777; color:#fff; text-decoration: line-through; } /* Banned */
/* واکنش‌گرایی موبایل */








#shoutbox .dvz-sb-tabs {
align-items: flex-end;
    display: flex;
    height: 2rem;
    margin-top: .25rem;
    padding-left: .75rem;
    padding-right: .75rem;
	border-bottom: 1px solid #141414;
	margin: 0px;
}

#shoutbox .dvz-sb-tabs li {
--tw-bg-opacity
1
: 1;
    background-color: #292929;
    border-color: #00000052;
    border-width: 1px 1px 0;
    color: #ffffff99;
    display: block;
    font-size: .75rem;
    line-height: 1rem;
    margin-right: -1px;
    padding: .25rem .75rem;
    position: relative;
    transition-duration: .1s;
    transition-property: all;
    transition-timing-function: 
cubic-bezier(.4, 0, .2, 1);
	border-top: 1px solid #181818;
    border-right: 1px solid #181818;
    border-left: 1px solid #181818;
}

#shoutbox .dvz-sb-tabs li a {
    text-decoration: none;
}

#shoutbox .dvz-sb-tabs li.active {
--tw-bg-opacity
1
: 1;
    background-color: rgb(41 41 41 / var(--tw-bg-opacity));
    border-top-left-radius: .188rem;
    border-top-right-radius: .188rem;
    padding-bottom: .375rem;
    padding-top: .375rem;
}

#shoutbox .thread-entry .text a {
    font-weight: bold;
}

#shoutbox .thread-entry .info {
    font-size: 11px;
    color: #888;
}

#shoutbox .thread-entry .info .sep {
    margin: 0 3px;
}

#shoutbox .dvz-sb-tabs .sb-badge {
    display: none;
    margin-left: 4px;
    padding: 0 5px;
    font-size: 10px;
    border-radius: 10px;
    background: #e74c3c;
    color: #fff;
}

#shoutbox .entry.private {
    border-left: 3px solid #ff0000;
}

#shoutbox .entry.private .text strong {
    color: #ff0000;
}





/* make shoutbox body a positioning context */
#shoutbox .body {
    position: relative;
}

/* popup container */
#shoutbox .dvz-sb-smiley-popup {
    position: absolute;
    right: 6px;
    bottom: 48px;
    width: 250px;
    height: 220px;              /* fixed height */
    background: #232323;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid rgb(255 255 255 / 15%);
    overflow: hidden;           /* header fixed, inner grid scrolls */
    display: none;
    z-index: 50;
    font-size: 13px;
}

/* open animation */
#shoutbox .dvz-sb-smiley-popup.open {
    animation: dvz-sb-popup-in 0.15s ease-out;
}

@keyframes dvz-sb-popup-in {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* header (fixed at top) */
#shoutbox .dvz-sb-smiley-header {
    padding: 4px 8px;
    background: linear-gradient(89deg, #333333, #7d3400);
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

#shoutbox .dvz-sb-smiley-header .close {
    cursor: pointer;
    font-size: 14px;
}

/* scrollable grid area */
#shoutbox .dvz-sb-smiley-grid {
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26px, 1fr));
    gap: 4px;
    max-height: 180px;          /* popup height minus header */
    overflow-y: auto;           /* scrollbar when needed */
    box-sizing: border-box;
}

/* individual smilies */
#shoutbox .dvz-sb-smiley {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0;               /* hide text spacing, rely on img */
    line-height: 1;
    padding: 3px;
    border-radius: 6px;
    transition: background 0.15s, transform 0.1s;
    text-align: center;
}

#shoutbox .dvz-sb-smiley img {
    max-width: 22px;
    max-height: 22px;
    display: block;
    margin: 0 auto;
}

#shoutbox .dvz-sb-smiley:hover {
    background: #f0f0ff;
    transform: translateY(-1px);
}

/* input + smiley button inline (unchanged) */
#shoutbox .dvz-sb-input-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

#shoutbox .dvz-sb-input-wrapper .text {
    flex: 1;
}

#shoutbox .dvz-sb-smiley-toggle {
display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: rgb(33 33 33);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s 
ease;
	margin-right: 10px;
}











/* container */
#shoutbox .dvz-sb-user-tooltip {
    position: absolute;
    width: 240px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.1);
    z-index: 60;
    font-size: 12px;
    padding: 6px;
}

/* card structure */
#shoutbox .dvz-sb-usercard {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#shoutbox .dvz-sb-usercard.loading,
#shoutbox .dvz-sb-usercard.error {
    padding: 10px;
    text-align: center;
}

/* header: avatar + name + status */
#shoutbox .dvz-sb-usercard-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

#shoutbox .dvz-sb-usercard-header .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

#shoutbox .dvz-sb-usercard-header .main .name a {
    font-weight: bold;
    text-decoration: none;
}

#shoutbox .dvz-sb-usercard-header .main .status {
    margin-top: 2px;
    font-size: 11px;
}

#shoutbox .dvz-sb-usercard-header .main .status.online {
    color: #27ae60;
}

#shoutbox .dvz-sb-usercard-header .main .status.offline {
    color: #c0392b;
}

/* body: stats */
#shoutbox .dvz-sb-usercard-body {
    border-top: 1px solid #eee;
    padding-top: 4px;
}

#shoutbox .dvz-sb-usercard-body .row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

#shoutbox .dvz-sb-usercard-body .row .label {
    color: #777;
}

#shoutbox .dvz-sb-usercard-body .row .value {
    font-weight: bold;
}


#shoutbox .dvz-sb-usercard-actions {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

#shoutbox .dvz-sb-usercard-actions button {
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
}

#shoutbox .dvz-sb-usercard-actions button:hover {
    background: #e9f3ff;
}


/* dialog overlay inside shoutbox */
#shoutbox .dvz-sb-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
}

/* dialog box */
#shoutbox .dvz-sb-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    max-width: 420px;
    width: 95%;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 12px;
}

/* header */
#shoutbox .dvz-sb-dialog-header {
    padding: 6px 10px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shoutbox .dvz-sb-dialog-header .title {
    font-weight: bold;
}

#shoutbox .dvz-sb-dialog-header .close {
    cursor: pointer;
    font-size: 14px;
}

/* body scroll */
#shoutbox .dvz-sb-dialog-body {
    padding: 8px;
    overflow-y: auto;
}

/* leaderboard */
#shoutbox .dvz-sb-leaderboard ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

#shoutbox .dvz-sb-leaderboard .item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

#shoutbox .dvz-sb-leaderboard .item:last-child {
    border-bottom: none;
}

#shoutbox .dvz-sb-leaderboard .avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

#shoutbox .dvz-sb-leaderboard .main .meta {
    font-size: 11px;
    color: #777;
}

/* banlist */
#shoutbox .dvz-sb-banlist ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

#shoutbox .dvz-sb-banlist .item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

#shoutbox .dvz-sb-banlist .item:last-child {
    border-bottom: none;
}

#shoutbox .dvz-sb-banlist .avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

#shoutbox .dvz-sb-banlist .main .meta {
    font-size: 11px;
    color: #777;
}

#shoutbox .dvz-sb-banlist-empty {
    text-align: center;
    padding: 10px;
    color: #777;
}

/* error message */
#shoutbox .dvz-sb-error {
    text-align: center;
    padding: 10px;
    color: #c0392b;
}
#shoutbox .dvz-sb-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
}

/* Popup overlay */
#shoutbox .dvz-sb-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Dialog box */
#shoutbox .dvz-sb-dialog {
    width: 320px;
    background: #1b1b1b;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    animation: fadeIn .2s ease-out;
}

/* Header */
#shoutbox .dvz-sb-dialog-header {
    padding: 10px;
    font-weight: bold;
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shoutbox .dvz-sb-dialog-header .close {
    cursor: pointer;
    font-size: 18px;
}

/* Body */
#shoutbox .dvz-sb-dialog-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

/* Leaderboard item */
.dvz-sb-leaderboard .item,
.dvz-sb-banlist .item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.dvz-sb-leaderboard .item .avatar img,
.dvz-sb-banlist .item .avatar img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    margin-right: 8px;
}

#dvz-sb-dialog-overlay2 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 13px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2 {
    background: #fff;
    border-radius: 8px;
    max-width: 360px;
    width: 95%;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header {
    padding: 6px 10px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header .close {
    cursor: pointer;
    font-size: 16px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-body {
    padding: 8px;
    overflow-y: auto;
}

/* leaderboard / banlist items */
.dvz-sb-leaderboard ol,
.dvz-sb-banlist ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.dvz-sb-leaderboard .item,
.dvz-sb-banlist .item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.dvz-sb-leaderboard .item:last-child,
.dvz-sb-banlist .item:last-child {
    border-bottom: none;
}

.dvz-sb-leaderboard .avatar img,
.dvz-sb-banlist .avatar img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.dvz-sb-leaderboard .main .meta,
.dvz-sb-banlist .main .meta {
    font-size: 11px;
    color: #777;
}
#dvz-sb-dialog-overlay2 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 13px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2 {
    background: #fff;
    border-radius: 8px;
    max-width: 360px;
    width: 95%;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header {
    padding: 6px 10px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header .close {
    cursor: pointer;
    font-size: 16px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-body {
    padding: 8px;
    overflow-y: auto;
}

/* leaderboard / banlist items */
.dvz-sb-leaderboard ol,
.dvz-sb-banlist ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.dvz-sb-leaderboard .item,
.dvz-sb-banlist .item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.dvz-sb-leaderboard .avatar img,
.dvz-sb-banlist .avatar img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}
#dvz-sb-dialog-overlay2 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 13px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2 {
    background: #fff;
    border-radius: 8px;
    max-width: 360px;
    width: 95%;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header {
    padding: 6px 10px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-header .close {
    cursor: pointer;
    font-size: 16px;
}

#dvz-sb-dialog-overlay2 .dvz-sb-dialog2-body {
    padding: 8px;
    overflow-y: auto;
}

/* leaderboard / banlist items */
.dvz-sb-leaderboard ol,
.dvz-sb-banlist ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.dvz-sb-leaderboard .item,
.dvz-sb-banlist .item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.dvz-sb-leaderboard .avatar img,
.dvz-sb-banlist .avatar img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.dvz-sb-leaderboard .main .meta,
.dvz-sb-banlist .main .meta {
    font-size: 11px;
    color: #777;
}
.sb-badge {
    margin-left: 4px;
    color: #e74c3c;   /* red dot */
    font-weight: bold;
}


/* When unread exists */
.sb-badge.active {
    display: inline-block;
}
