.site-alert {
    padding-top: 5rem;
}

.logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.auth-feature-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: #e6f5fc;
    color: #1194d1;
    font-size: 1.8rem;
}

.dashboard-composer .button {
    flex: 0 0 auto;
}

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

.userPageBox .columns {
    align-items: center;
}

.avatar_user {
    width: 86px;
    height: 86px;
    margin: auto;
}

.avatar_userimg,
#avatarContainer img,
.profile-friend-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#avatarContainer {
    width: 180px;
    height: 180px;
    margin: 1rem auto;
}

.profile-friend-avatar {
    max-width: 100px;
    max-height: 100px;
}

.user-avatar-headshot {
    object-fit: cover !important;
    object-position: center 28%;
    background: #eaf4f8;
}

.user-avatar-fullbody {
    object-fit: contain !important;
    object-position: center bottom;
}

.friend-request-actions form {
    display: inline-block;
}

.avatar_forum {
    width: 90px;
    height: 90px;
    margin: auto;
}

.avatar_forumimg,
.forum-post-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.forum-thread-card {
    margin-bottom: 1rem;
}

.forum-post-body {
    margin-top: 1rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.forum-form-container {
    max-width: 850px;
}

.forum-post-image {
    display: block;
    max-width: min(100%, 720px);
    max-height: 640px;
    margin-top: 1rem;
    border: 1px solid #dfe5e8;
    border-radius: 4px;
    object-fit: contain;
}

.legal-page {
    background: #f5f7f8;
}

.legal-page > .container {
    max-width: 980px;
}

.legal-hero {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.legal-hero > .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e2f4fc;
    color: #0d91cf;
    font-size: 1.65rem;
}

.legal-hero .title {
    margin-bottom: .25rem;
}

.legal-content {
    padding: 2.25rem;
}

.legal-content h2 {
    margin-top: 2rem;
    color: #252d32;
}

.support-grid .box,
.about-values .box {
    height: 100%;
}

.support-icon,
.about-values .box > i {
    margin-bottom: 1rem;
    color: #1194d1;
    font-size: 1.8rem;
}

.support-contact {
    padding: 2.25rem;
}

.about-intro {
    padding: 3rem;
    text-align: center;
}

.about-intro img {
    max-width: 340px;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .legal-hero {
        align-items: flex-start;
    }

    .legal-content,
    .about-intro {
        padding: 1.35rem;
    }
}

.message-unread {
    border-left: 4px solid #1194d1;
    background: #f5fbfe;
}

.message-body {
    overflow-wrap: anywhere;
}

.navbar #searchItem,
.navbar #searchItem:hover,
.navbar #searchItem:focus,
.navbar #searchItem:focus-within {
    background: transparent !important;
}

.navbar #searchItem .navbar-link,
.navbar #searchItem .navbar-link:hover,
.navbar #searchItem .navbar-link:focus {
    background: #fff !important;
    color: #4a4a4a !important;
}

.presence-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: .35rem;
    border-radius: 50%;
    background: #aab4b9;
}

.presence-dot.is-online {
    background: #34bd83;
    box-shadow: 0 0 0 3px rgba(52, 189, 131, .14);
}

.dashboard-presence.is-offline {
    background: #aab4b9;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.admin-stat-card {
    display: flex;
    min-width: 0;
    padding: 1.25rem;
    flex-direction: column;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(28, 51, 64, .06);
}

.admin-stat-card i {
    margin-bottom: .75rem;
    color: #1495d0;
}

.admin-stat-card strong {
    font-size: 1.65rem;
}

.admin-stat-card span,
.admin-server-grid span {
    color: #7a878e;
    font-size: .78rem;
}

.admin-server-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.admin-server-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.admin-server-grid .progress {
    height: .45rem;
    margin-top: .45rem;
}

.admin-list {
    padding: 0;
    overflow: hidden;
}

.admin-list a {
    display: grid;
    padding: .8rem 1rem;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    border-bottom: 1px solid #edf0f2;
    color: #35434b;
}

.admin-list small {
    color: #879298;
}

.admin-log-table {
    font-size: .82rem;
}

@media (max-width: 900px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-stat-grid,
    .admin-server-grid {
        grid-template-columns: 1fr;
    }
}

.payout-tooltip {
    position: relative;
    cursor: help;
    outline: none;
}

.payout-card {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    visibility: hidden;
    width: 260px;
    padding: 1rem;
    flex-direction: column;
    gap: .35rem;
    border: 1px solid #dce5e9;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 45, 56, .18);
    color: #35434b;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.payout-card::before {
    position: absolute;
    top: -6px;
    right: 28px;
    width: 11px;
    height: 11px;
    border-top: 1px solid #dce5e9;
    border-left: 1px solid #dce5e9;
    background: #fff;
    content: '';
    transform: rotate(45deg);
}

.payout-tooltip:hover .payout-card,
.payout-tooltip:focus .payout-card,
.payout-tooltip:focus-within .payout-card {
    display: flex !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.payout-card-heading {
    color: #168fca;
    font-weight: 700;
}

.payout-card-countdown {
    font-size: .9rem;
}

.payout-card-reward {
    color: #7a878e;
    font-size: .75rem;
}

.moderation-tools {
    position: relative;
    color: #69777e;
    font-size: .8rem;
}

.moderation-tools summary {
    cursor: pointer;
    user-select: none;
}

.moderation-form {
    display: flex;
    width: min(100%, 470px);
    margin-top: .6rem;
    gap: .5rem;
}

.moderation-form .input {
    flex: 1;
}

.moderation-user-panel {
    border-top: 3px solid #e05252;
}

.achievement-locked .achievement-badge-png {
    filter: grayscale(1);
    opacity: .42;
}

.profile-achievements {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}

.profile-achievement img {
    display: block;
    width: 82px;
    height: 82px;
    margin: 0 auto .35rem;
    object-fit: contain;
}

.profile-achievement span {
    font-size: .75rem;
    font-weight: 700;
}

.achievement-manage-row {
    display: flex;
    padding: .5rem 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e8edef;
}

.achievement-manage-row > span {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.achievement-manage-row img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .profile-achievements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .moderation-form {
        flex-direction: column;
    }
}

@media (max-width: 1023px) {
    .payout-card {
        right: auto;
        left: 1rem;
    }

    .payout-card::before {
        right: auto;
        left: 28px;
    }
}
