@charset "UTF-8";
/* 消息 */
@keyframes post_shake {
    0%,to {
        transform: translateZ(0);
    }

    10%,30%,50% {
        transform: translate3d(-5px,0,0);
    }

    70%,90% {
        transform: translate3d(0,0,0);
    }

    20%,40%,60%,80% {
        transform: translate3d(5px,0,0);
    }
}
/* nav header */
.nav-item.usernotice>.nav-link span.unread {
    display: none
}

.nav-item.usernotice.current>.nav-link .unread {
    display: block
}

.nav-item.usernotice.current>.nav-link .read {
    display: none
}

/* postlist*/
.postlist>.post.current .avatar-3{
    animation: post_shake 3s ease infinite;    
} 

/*bootstrap plus*/
.text-small {
    font-size: 12px
}

.btn-small {
    padding: 0 0.1rem;
    font-size: 0.75rem
}

/* my-notice */
.noticelist > .notice {    
    padding: 0.7rem 0
}

.noticelist > .notice:not(:last-child) {
    border-bottom: 1px solid #e9ecef
}

.noticelist > .notice .message {
    color: var(--gray)
}

.noticelist > .notice .message a {    
    color: var(--gray)
}

.noticelist > .notice.isread .message i.icon-circle { 
    display: none
}

.noticelist > .notice .message .comment-info {
    display: inline;
    color: var(--gray-500)
}

.noticelist > .notice .message .quote-comment {
     margin-top: 0.25rem;
     color: var(--dark)
}
.noticelist > .notice .message .reply-comment {
    position: relative;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    background-color: var(--gray-200)
}
.noticelist > .notice .message .single-comment a,.noticelist > .notice .message .reply-comment a {
    color: var(--dark)
}

.noticelist > .notice .message .reply-comment:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 50px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--gray-200);
    -webkit-transform-origin: 0 0;
    -webkit-transform: rotate(135deg);
    transform-origin: 0 0;
    transform: rotate(135deg);
}

/* wuai message center */
.wuai-message-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 0 88px;
    color: #24222c;
}

.wuai-message-page a {
    color: inherit;
}

.wuai-message-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 12px;
    margin: 0 0 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #fff5fa 100%);
    box-shadow: 0 12px 30px rgba(139, 92, 246, .08);
    border: 1px solid rgba(139, 92, 246, .12);
}

.wuai-message-topbar-icon,
.wuai-message-action {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff1f8;
    color: var(--xh-primary);
    flex: 0 0 auto;
    box-shadow: 0 6px 16px rgba(139, 92, 246, .12);
}

.wuai-message-topbar-title {
    min-width: 0;
    flex: 1 1 auto;
}

.wuai-message-topbar-title h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.wuai-message-topbar-title p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #8a8290;
}

.wuai-message-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.wuai-message-readall {
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #f1edf1;
    color: #8c8490;
    font-size: 13px;
    font-weight: 700;
    cursor: default;
}

.wuai-message-readall.readall {
    cursor: pointer;
    background: linear-gradient(135deg, var(--xh-primary-2) 0%, var(--xh-primary) 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(139, 92, 246, .22);
}

.wuai-message-category-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    margin: 0 0 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(139, 92, 246, .1);
    box-shadow: 0 12px 30px rgba(34, 34, 48, .06);
}

.wuai-message-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 10px 4px;
    border-radius: 16px;
    text-align: center;
    transition: background-color .18s ease, transform .18s ease;
}

.wuai-message-category:hover,
.wuai-message-category.active {
    background: #fff1f8;
}

.wuai-message-category:active {
    transform: scale(.98);
}

.wuai-message-category-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: var(--xh-primary);
}

.wuai-message-category-icon em {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff2b2b;
    border: 2px solid #fff;
}

.wuai-message-category-mention {
    background: rgba(139, 92, 246, .10);
}

.wuai-message-category-interaction {
    background: #eef7ff;
    color: #5aa6ff;
}

.wuai-message-category-system {
    background: #fff8e8;
    color: #f5a623;
}

.wuai-message-category-announce {
    background: #f3efff;
    color: #8c68ff;
}

.wuai-message-category strong {
    font-size: 14px;
    line-height: 1.2;
    color: #2b2832;
}

.wuai-message-category small {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.2;
    color: #958d99;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wuai-message-list-card {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(139, 92, 246, .1);
    box-shadow: 0 12px 30px rgba(34, 34, 48, .06);
}

.wuai-message-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #ffe1ee;
}

.wuai-message-list-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.wuai-message-list-head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #958d99;
}

.wuai-message-all-link {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1f8;
    color: var(--xh-primary) !important;
    font-size: 12px;
    font-weight: 700;
}

.wuai-message-list {
    margin: 0;
}

.wuai-message-item {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border-bottom: 1px solid #f5edf2;
    background: #fff;
}

.wuai-message-item:last-child {
    border-bottom: 0;
}

.wuai-message-item.unread {
    background: linear-gradient(90deg, rgba(5,45,52,.64) 0%, #fff 46%);
}

.wuai-message-row-link {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 6px 14px 14px;
}

.wuai-message-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.wuai-message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffe1ee;
    background: #f6f2f5;
}

.wuai-message-unread-dot {
    position: absolute;
    right: 1px;
    top: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff2b2b;
    border: 2px solid #fff;
}

.wuai-message-main {
    min-width: 0;
    flex: 1 1 auto;
}

.wuai-message-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wuai-message-source {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wuai-message-source strong {
    display: block;
    min-width: 0;
    font-size: 15px;
    line-height: 1.2;
    color: #24222c;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wuai-message-line time {
    flex: 0 0 auto;
    font-size: 12px;
    color: #aaa2ad;
}

.wuai-message-type {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.wuai-message-type-other,
.wuai-message-type-mention {
    color: var(--xh-primary);
    background: #fff1f8;
}

.wuai-message-type-interaction {
    color: #5aa6ff;
    background: #eef7ff;
}

.wuai-message-type-system {
    color: #f09b16;
    background: #fff8e8;
}

.wuai-message-type-announce {
    color: #8c68ff;
    background: #f3efff;
}

.wuai-message-summary {
    display: -webkit-box;
    margin: 7px 0 0;
    color: #6f6874;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wuai-message-item.isread .wuai-message-source strong,
.wuai-message-item.isread .wuai-message-summary {
    color: #938c96;
}

.wuai-message-tools {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 12px 12px 12px 0;
}

.wuai-message-tool-btn,
.wuai-message-delete-btn,
.wuai-message-readed {
    min-width: 54px;
    height: 26px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 26px;
}

.wuai-message-tool-btn {
    background: #fff1f8;
    color: var(--xh-primary);
}

.wuai-message-delete-btn {
    background: #f3f0f3;
    color: #8c8490;
}

.wuai-message-readed {
    background: transparent;
    color: #aaa2ad;
}

.wuai-message-empty {
    padding: 48px 18px;
    text-align: center;
}

.wuai-message-empty-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #fff1f8;
    color: var(--xh-primary);
    font-size: 28px;
}

.wuai-message-empty strong {
    display: block;
    color: #24222c;
    font-size: 18px;
}

.wuai-message-empty p {
    margin: 8px 0 0;
    color: #958d99;
    font-size: 13px;
}

.wuai-message-pagination {
    padding: 18px 0 0;
}

.wuai-message-pagination .page-link {
    border-color: #ffd6e8;
    color: var(--xh-primary);
}

.wuai-message-pagination .page-item.active .page-link {
    background: var(--xh-primary);
    border-color: var(--xh-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .wuai-message-page {
        padding-left: 0;
        padding-right: 0;
    }

    .wuai-message-topbar {
        margin: 0 0 10px;
        border-radius: 16px;
        padding: 12px 10px;
    }

    .wuai-message-topbar-icon {
        display: none;
    }

    .wuai-message-topbar-title h1 {
        font-size: 20px;
    }

    .wuai-message-topbar-title p {
        font-size: 12px;
    }

    .wuai-message-action {
        display: none;
    }

    .wuai-message-readall {
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

    .wuai-message-category-card {
        gap: 6px;
        padding: 10px 8px;
        border-radius: 16px;
    }

    .wuai-message-category {
        padding: 8px 2px;
        border-radius: 14px;
    }

    .wuai-message-category-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .wuai-message-category strong {
        font-size: 13px;
    }

    .wuai-message-category small {
        font-size: 10px;
    }

    .wuai-message-list-card {
        border-radius: 16px;
    }

    .wuai-message-row-link {
        gap: 10px;
        padding: 12px 4px 12px 12px;
    }

    .wuai-message-avatar {
        width: 44px;
        height: 44px;
    }

    .wuai-message-source strong {
        font-size: 14px;
    }

    .wuai-message-summary {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .wuai-message-tools {
        gap: 6px;
        padding: 10px 10px 10px 0;
    }

    .wuai-message-tool-btn,
    .wuai-message-delete-btn,
    .wuai-message-readed {
        min-width: 46px;
        height: 24px;
        padding: 0 7px;
        line-height: 24px;
        font-size: 11px;
    }
}

@media (max-width: 374px) {
    .wuai-message-category-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wuai-message-category-icon {
        width: 38px;
        height: 38px;
    }

    .wuai-message-category small {
        display: none;
    }

    .wuai-message-tools {
        display: none;
    }

    .wuai-message-row-link {
        padding-right: 12px;
    }
}

/* V1.1 消息中心轻量化：四分类、低干扰操作区、APP 消息流 */
.wuai-message-page {
    padding-bottom: 76px;
}

.wuai-message-topbar {
    min-height: 66px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 16px;
}

.wuai-message-topbar-title h1 {
    margin-bottom: 2px;
    font-size: 20px;
    line-height: 1.15;
}

.wuai-message-topbar-title p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.wuai-message-action,
.wuai-message-readall {
    box-shadow: 0 6px 16px rgba(139, 92, 246, .08);
}

.wuai-message-readall {
    height: 32px;
    min-width: 62px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
}

.wuai-message-category-card {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 16px;
}

.wuai-message-category {
    min-width: 0;
    padding: 8px 2px;
    border-radius: 14px;
}

.wuai-message-category-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
    font-size: 18px;
}

.wuai-message-category strong {
    font-size: 13px;
    line-height: 1.25;
}

.wuai-message-category small {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wuai-message-list-card {
    border-radius: 16px;
    overflow: hidden;
}

.wuai-message-list-head {
    padding: 14px 16px;
}

.wuai-message-list-head h2 {
    font-size: 18px;
}

.wuai-message-list-head p {
    margin-top: 3px;
    font-size: 12px;
}

.wuai-message-item {
    min-height: 76px;
    align-items: center;
}

.wuai-message-row-link {
    align-items: center;
    gap: 10px;
    padding: 12px 4px 12px 12px;
}

.wuai-message-avatar {
    width: 44px;
    height: 44px;
}

.wuai-message-source {
    min-width: 0;
}

.wuai-message-source strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wuai-message-type {
    flex: 0 0 auto;
}

.wuai-message-summary {
    margin-top: 5px;
    line-height: 1.45;
    -webkit-line-clamp: 1;
}

.wuai-message-tools {
    min-width: 58px;
    padding: 10px 10px 10px 0;
    gap: 5px;
}

.wuai-message-tool-btn,
.wuai-message-readed {
    min-width: 42px;
    height: 22px;
    padding: 0 6px;
    line-height: 22px;
    font-size: 11px;
}

.wuai-message-delete-btn {
    min-width: 32px;
    height: 22px;
    padding: 0 5px;
    line-height: 22px;
    font-size: 11px;
    color: #b9b0bb;
    background: transparent;
}

.wuai-message-delete-btn:hover,
.wuai-message-delete-btn:focus {
    color: var(--xh-primary);
    background: rgba(139, 92, 246, .10);
}

@media (max-width: 768px) {
    .wuai-message-topbar {
        padding: 10px;
    }

    .wuai-message-category-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 9px 7px;
    }

    .wuai-message-category-icon {
        width: 40px;
        height: 40px;
    }

    .wuai-message-category small {
        font-size: 9px;
    }

    .wuai-message-source strong {
        max-width: 104px;
    }

    .wuai-message-tools {
        min-width: 50px;
        padding-right: 8px;
    }
}

/* V1.2 message cards: three-line mobile-friendly layout */
.wuai-message-item {
    align-items: stretch;
    min-height: 0;
}

.wuai-message-row-link {
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.wuai-message-avatar-wrap {
    width: 44px;
    flex: 0 0 44px;
}

.wuai-message-main {
    min-width: 0;
    flex: 1 1 auto;
}

.wuai-message-line {
    min-width: 0;
    align-items: center;
}

.wuai-message-source {
    flex: 1 1 auto;
    min-width: 0;
}

.wuai-message-source strong {
    max-width: 100%;
}

.wuai-message-action-line {
    display: block;
    margin: 7px 0 0;
    color: #6f6874;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wuai-message-summary {
    margin-top: 5px;
    color: #3a3540;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-line-clamp: 2;
}

.wuai-message-summary span {
    color: #958d99;
}

.wuai-message-item.isread .wuai-message-action-line,
.wuai-message-item.isread .wuai-message-summary {
    color: #938c96;
}

.wuai-message-tools {
    justify-content: flex-start;
    padding-top: 14px;
}

@media (max-width: 768px) {
    .wuai-message-row-link {
        gap: 10px;
        padding: 12px 4px 12px 12px;
    }

    .wuai-message-main {
        min-width: 0;
    }

    .wuai-message-line {
        gap: 7px;
    }

    .wuai-message-line time {
        font-size: 11px;
    }

    .wuai-message-action-line,
    .wuai-message-summary {
        font-size: 12px;
        line-height: 1.45;
    }

    .wuai-message-summary {
        -webkit-line-clamp: 2;
    }

    .wuai-message-tools {
        min-width: 46px;
        padding: 12px 8px 10px 0;
    }
}

@media (max-width: 374px) {
    .wuai-message-tools {
        display: flex;
    }

    .wuai-message-row-link {
        padding-right: 4px;
    }
}

/* Final closeout: keep actions usable on 360-430px screens. */
@media (max-width: 430px) {
    .wuai-message-page {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 86px;
    }

    .wuai-message-topbar {
        gap: 8px;
        align-items: flex-start;
        padding: 10px 9px;
    }

    .wuai-message-topbar-actions {
        gap: 6px;
    }

    .wuai-message-readall {
        min-width: 58px;
        padding: 0 9px;
    }

    .wuai-message-category-card {
        gap: 6px;
        padding: 8px 6px;
    }

    .wuai-message-category {
        padding: 7px 1px;
    }

    .wuai-message-category-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
        font-size: 16px;
    }

    .wuai-message-category strong {
        font-size: 12px;
    }

    .wuai-message-category small {
        display: block;
        font-size: 9px;
    }

    .wuai-message-item {
        display: block;
    }

    .wuai-message-row-link {
        padding: 12px 12px 4px;
    }

    .wuai-message-line {
        align-items: flex-start;
    }

    .wuai-message-line time {
        margin-top: 2px;
        font-size: 11px;
    }

    .wuai-message-action-line {
        display: -webkit-box;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .wuai-message-tools {
        display: flex !important;
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        padding: 0 12px 12px 66px;
    }

    .wuai-message-tool-btn,
    .wuai-message-delete-btn,
    .wuai-message-readed {
        height: 24px;
        min-width: 40px;
        line-height: 24px;
        font-size: 11px;
    }
}

/* V3 message center polish: six tabs, reward display, scoped red dots. */
.wuai-message-page,
.wuai-message-page * {
    box-sizing: border-box;
}

.wuai-message-page {
    width: 100%;
    max-width: 860px;
    overflow-x: hidden;
}

.wuai-message-topbar {
    background: #fff;
    border-color: rgba(139, 92, 246, .12);
}

.wuai-message-category-card {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
}

.wuai-message-category {
    min-width: 0;
    min-height: 68px;
    flex: initial;
    justify-content: center;
    padding: 8px 4px;
}

.wuai-message-category.active {
    outline: 2px solid rgba(139, 92, 246, .18);
    outline-offset: -2px;
}

.wuai-message-category-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
    font-size: 17px;
}

.wuai-message-category-icon em {
    top: 1px;
    right: 1px;
}

.wuai-message-category-all {
    background: rgba(139, 92, 246, .10);
    color: var(--xh-primary);
}

.wuai-message-category-reply {
    background: rgba(56, 189, 248, .12);
    color: #0284c7;
}

.wuai-message-category-reward {
    background: rgba(255, 76, 104, .12);
    color: #ff3f68;
}

.wuai-message-category-private {
    background: rgba(99, 102, 241, .10);
    color: #6366f1;
}

.wuai-message-list-card {
    max-width: 100%;
}

.wuai-message-list-head {
    align-items: center;
}

.wuai-message-item {
    max-width: 100%;
    overflow: hidden;
}

.wuai-message-item.unread {
    background: linear-gradient(90deg, rgba(139, 92, 246, .08) 0%, #fff 58%) !important;
}

.wuai-message-row-link {
    min-width: 0;
    max-width: 100%;
}

.wuai-message-avatar-wrap {
    width: 48px;
    flex: 0 0 48px;
}

.wuai-message-reward-avatar {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff2c6 0%, #ffd3dc 100%);
    color: #ff4068;
    font-size: 20px;
    box-shadow: 0 6px 14px rgba(255, 64, 104, .16);
}

.wuai-message-kind-mark {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ff4068;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

.wuai-message-type-reply {
    color: #0284c7;
    background: rgba(56, 189, 248, .12);
}

.wuai-message-type-reward {
    color: #ff3f68;
    background: rgba(255, 76, 104, .12);
}

.wuai-message-type-private {
    color: #6366f1;
    background: rgba(99, 102, 241, .10);
}

.wuai-message-action-line,
.wuai-message-summary {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.wuai-message-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wuai-message-money {
    color: #ff2f63;
    font-style: normal;
    font-weight: 900;
}

.wuai-message-item[data-kind="reward"] .wuai-message-action-line {
    color: #36303a;
    font-weight: 800;
}

.nav-item.usernotice.current > .nav-link .unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 14px;
}

.nav-item.usernotice.current > .nav-link .unread i {
    display: none;
}

.nav-item.usernotice #nav-usernotice-unread-notices {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.bottom-nav a[data-active="notice"] .badge {
    top: -6px !important;
    right: -12px !important;
    min-width: 18px !important;
    max-width: 34px !important;
    height: 18px !important;
    padding: 0 5px !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

@media (max-width: 430px) {
    .wuai-message-page {
        padding-right: 8px;
        padding-left: 8px;
    }

    .wuai-message-topbar {
        align-items: center;
        gap: 8px;
    }

    .wuai-message-topbar-title h1 {
        font-size: 18px;
    }

    .wuai-message-category-card {
        margin-right: -2px;
        margin-left: -2px;
        padding: 8px 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .wuai-message-category {
        min-width: 0;
        min-height: 62px;
        padding: 7px 3px;
    }

    .wuai-message-category strong {
        font-size: 12px;
    }

    .wuai-message-category small {
        max-width: 100%;
        font-size: 9px;
    }

    .wuai-message-list-head {
        padding: 13px 14px;
    }

    .wuai-message-item {
        display: block;
    }

    .wuai-message-row-link {
        gap: 10px;
        padding: 12px 12px 5px;
    }

    .wuai-message-avatar-wrap {
        width: 44px;
        flex-basis: 44px;
    }

    .wuai-message-avatar,
    .wuai-message-reward-avatar {
        width: 44px;
        height: 44px;
    }

    .wuai-message-source {
        gap: 5px;
    }

    .wuai-message-source strong {
        max-width: 132px;
    }

    .wuai-message-type {
        padding: 2px 5px;
    }

    .wuai-message-tools {
        padding-left: 66px;
    }
}

@media (max-width: 374px) {
    .wuai-message-category {
        min-width: 0;
        min-height: 60px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .wuai-message-source strong {
        max-width: 112px;
    }
}
