body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: image-set(
    url("logo/fon_84024346.avif") type("image/avif"),
    url("logo/fon_84024346.webp") type("image/webp"),
    url("logo/fon_84024346.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgb(51, 51, 51);
}
.header-right {display: flex; align-items: center; gap: 10px;}
header button {
    margin-left: 10px;
    padding: 8px 16px;
    width: auto;
    height: auto;
    position: relative;
    color: #fff;
    outline: none;
    background-color: transparent;
    transition: 1s;
    border: 3px ridge rgb(151, 193, 241);
    border-radius: 0.4em;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}
header button::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}
header button::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background: rgb(51, 51, 51);
    transition: 0.5s;
    transform-origin: center;
}
header button:hover::before, header button:hover::after {transform: scale(0);}
header button:hover {box-shadow: inset 0 0 25px rgb(151, 193, 241);}
.menu-wrapper {position: relative;}
.menu-dropdown {
    position: absolute;
    z-index: 9999;
    top: 120%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgb(51, 51, 51);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}
.menu-dropdown.active {opacity: 1; transform: translateY(0); pointer-events: all;}
.menu-dropdown button {width: 190px; text-align: center;}
.messeng {
  display: inline-flex;
    font-weight: bold;
    align-items: center;
}
.icon-menu {
  height: 38px;
  width: 38px;
  border-radius: 8px;
}
.name {display: inline-flex; gap: 0; align-items: center;}
.name .h-1, .h-2{margin: 0; line-height: 1; white-space: nowrap; text-decoration: none; font-weight: bold;}
.name .h-1 {font-size: 2rem; color: rgb(151, 193, 241);}
.name .h-2 {font-size: 2rem; color: rgb(218, 135, 11);}
#sectionTitle, .user-card h2 {
    display: inline-block;
    margin: 0;
    font-size: 1.45rem;
    color: black;
    
}
.container {
    display: flex;
    width: 100%;
    height: 90%;
    height: calc(99vh - 120px);
    overflow: hidden;
    max-width: 1500px;
    max-height: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    margin: 30px auto;
    border-radius: 25px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    border: 2px solid black;
    gap: 10px;
    box-sizing: border-box;
}
.content {
    width: 66%;
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: calc(100% - 40px);
    overflow-y: auto;
}
.content::-webkit-scrollbar {width: 11px;}
.content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
.content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
.mods-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.mods-header h2 {justify-self: start;}
.modsCount, .Comm {
    justify-self: center;
    color: black;
    width: max-content;
    font-size: 1.05rem;
    border-left: 10px solid rgb(151, 193, 241);
    padding-left: 5px;
    border-radius: 10px;
    background: linear-gradient(to right, rgb(151, 193, 241), rgb(218, 135, 11));
    border-right: 10px solid rgb(218, 135, 11);
    padding-right: 5px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
}
.search {justify-self: end; text-align: center; margin-top: 10px;}
.Comm {margin-bottom: 5px;}
input {
    padding: 8px 10px;
    width: 220px;
    border-radius: 8px;
    border: none;
    box-sizing: border-box;
}
.sidebar {
    width: 34%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 10px;
}

.user-card {
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    border: 2px solid black;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.9);
}

.user-profile-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.user-main-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.avatar-upload {
    position: relative;
    flex-shrink: 0;
}

.avatar-trigger {
    position: relative;
    display: block;
    width: 116px;
    height: 116px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /*border: 3px solid rgba(255, 255, 255, 0.9);*/
    background: linear-gradient(to bottom, rgba(151, 193, 241, 0.85), rgba(218, 135, 11, 0.85));
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.avatar-trigger:hover .avatar-overlay,
.avatar-trigger:focus-visible .avatar-overlay {
    opacity: 1;
}

.avatar-trigger:focus-visible {
    outline: 3px solid rgba(151, 193, 241, 0.95);
    outline-offset: 4px;
}

.avatar-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    color: #222;
    font-size: 0.92rem;
    opacity: 0.9;
}

.avatar-status {
    margin-top: 8px;
}

.usname {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.usname span {
    margin: 0;
    line-height: 1;
    color: black;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 1.05rem;
}

.usname span[hidden] {
    display: none;
}

.user-stats {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.user-stats > span {
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 999px;
}

.metric-pill,
.users-info {
    display: inline-flex;
    font-weight: bold;
    color: #222;
    align-items: center;
    gap: 6px;
}

.metric-label {
    opacity: 0.8;
}

.metric-rating,
.metric-points {
    background: linear-gradient(to right, rgba(151, 193, 241, 0.95), rgba(218, 135, 11, 0.95));
}

.metric-reports {
    flex-wrap: wrap;
}

.report-points {
    font-size: 0.9rem;
}

.users-icon {
    border-radius: 7px;
    width: 28px;
    height: 28px;
    margin-right: 2px;
    vertical-align: middle;
}
/* статусы жалоб */
.status.green {color: limegreen;}
.status.yellow {color: #ffd43b;}
.status.orange {color: orange;}
.status.red {color: #b00020;}

.account-alerts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-alert {
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: bold;
    line-height: 1.45;
    border: 2px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.account-alert.danger {
    background: rgba(176, 0, 32, 0.15);
    color: #6f061b;
    border-color: rgba(176, 0, 32, 0.25);
}

.account-alert.info {
    background: rgba(151, 193, 241, 0.25);
    color: #173554;
    border-color: rgba(151, 193, 241, 0.4);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 10px;
}

.sidebar-menu button {
    width: 60%;
    height: auto;
    padding: 0.6rem 1rem;
    font-size: 1.1rem;
    color: black;
    background-color: rgb(151, 193, 241);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sidebar-menu button:hover {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
}

.sidebar-menu button.active {
    background: linear-gradient(to right, rgb(151, 193, 241), rgb(218, 135, 11));
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

.main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#pagination {
    position: sticky;
    bottom: 0;
    padding: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-hint {
    color: #111;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(151, 193, 241, 0.8);
    backdrop-filter: blur(5px);
}

.page-ellipsis {
    color: #111;
    font-weight: bold;
    padding: 0 4px;
}

#pagination button {
    font-size: 1.1rem;
    border: 2px ridge rgb(151, 193, 241);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: black;
    cursor: pointer;
    border-radius: 0.6em;
    padding: 8px 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

#pagination button::before,
#pagination button::after {
    content: '';
    position: absolute;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgb(151, 193, 241);
    transition: 0.4s;
}

#pagination button::before {
    top: 0;
}

#pagination button::after {
    bottom: 0;
}

#pagination button:hover::before,
#pagination button:hover::after {
    transform: scaleX(0);
}

#pagination button:hover {
    box-shadow: 0 0 15px rgb(151, 193, 241);
    transform: translateY(-2px);
}

.active-page {
    background: rgb(151, 193, 241);
    color: black;
    box-shadow: 0 0 20px rgb(151, 193, 241);
}

.mods-zone {
    flex: 1;
    min-height: 0;
    padding: 10px;
    color: white;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mod-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid black;
    cursor: pointer;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    content-visibility: auto;
    contain-intrinsic-size: 260px;
}

.mod-card.show {
    color: #1f2a56;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mod-card:hover {
    transform: scale(1.01);
}

.mod-header {
    display: flex;
    align-items: center;
}

.mod-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

.mod-body {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mod-description {
    flex: 1;
    font-size: 1.04rem;
    color: #333;
    display: -webkit-box;
    margin-top: 5px;
    white-space: pre-line;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    width: 100%;
}

.mod-stats {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.mod-stats span {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 999px;
}
.stars {display: inline-flex; gap: 2px;}
/* базовая звезда */
.star {
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
  line-height: 1;
}
/* пустая */
.star.empty {color: #ccc;}
/* полная */
.star.full {color: gold;}
/* половинка */
.star.half {color: orange;}
.star.half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: gold;
}
.rating-value, .info {
    display: inline-flex;
    font-weight: bold;
    color: #222;
    align-items: center;
    gap: 6px;
}

.icon {
    border-radius: 6px;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.mod-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.mod-thumb {
    width: 260px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

#modsList,
#reportsList {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
    gap: 16px;
    align-items: stretch;
    transition: opacity 0.3s ease;
    flex: 1;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.report-badge,
.report-date,
.report-author,
.report-weight,
.report-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.15);
    color: #222;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: bold;
}

.report-badge {
    background: linear-gradient(to right, rgba(151, 193, 241, 0.95), rgba(218, 135, 11, 0.95));
}

.report-state.active {
    background: rgba(71, 163, 71, 0.18);
    color: #175b1d;
}

.report-state.expired {
    background: rgba(176, 0, 32, 0.14);
    color: #7a0f23;
}

.report-message {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.35);
    color: #222;
    line-height: 1.5;
    white-space: pre-line;
}

.empty-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 250px;
    padding: 24px;
    border-radius: 18px;
    border: 2px dashed rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.2);
    color: #222;
    text-align: center;
    box-sizing: border-box;
}

.empty-state strong {
    font-size: 1.2rem;
}

.conf-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #111;
}

.profile-preview-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.35);
}

.profile-public-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.profile-public-info {
    min-width: 0;
}

.moderation-contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 220px;
}

.moderation-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.moderation-contact-link.telegram {
    background: #229ed9;
}

.moderation-contact-link.vk {
    background: #0077ff;
}

.moderation-contact-link:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.moderation-contact-link.is-empty {
    opacity: 0.45;
    filter: grayscale(0.35);
}

.profile-preview-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.profile-preview-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(to bottom, rgba(151, 193, 241, 0.85), rgba(218, 135, 11, 0.85));
    flex-shrink: 0;
}

.profile-preview-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-preview-card h3,
.form-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: #111;
}

.profile-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.identity-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.identity-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.identity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.identity-state {
    color: #333;
    font-weight: 700;
}

.identity-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    color: #111;
}

.identity-details span {
    color: #333;
}

.identity-connect-link {
    display: inline-flex;
    text-decoration: none;
}

.form-card {
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid black;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.35);
}

.mod-editor-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: opacity 0.3s ease;
    flex: 1;
}

.mod-editor-card {
    color: #111;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

.mod-editor-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mod-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.mod-editor-head h3 {
    margin: 0 0 8px;
}

.mod-editor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mod-editor-meta span,
.mod-open-link {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.14);
    color: #222;
    font-size: 0.92rem;
    font-weight: bold;
    text-decoration: none;
}

.mod-open-link {
    flex-shrink: 0;
    background: rgb(151, 193, 241);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.mod-open-link:hover {
    background: rgb(218, 135, 11);
    transform: translateY(-1px);
}

.mod-status.approved {
    background: rgba(71, 163, 71, 0.18);
    color: #175b1d;
}

.mod-status.pending {
    background: rgba(218, 135, 11, 0.2);
    color: #6b3d00;
}

.mod-status.rejected {
    background: rgba(176, 0, 32, 0.14);
    color: #7a0f23;
}

.mod-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.mod-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.danger-btn {
    background: #c0392b;
    color: #fff;
}

.danger-btn:hover {
    background: #8b1f16;
}

.account-danger-card {
    border: 2px solid rgba(151, 193, 241, 0.3);
    box-shadow: 0 0 1rem rgba(151, 193, 241, 0.5);
    transition: border 0.4s ease, box-shadow 0.4s ease;
}

.account-danger-card:hover {
    border-color: red;
    box-shadow: 0 0 30px rgba(128, 2, 0, 1);
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.delete-account-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid rgba(0, 0, 0, 0.16);
}

.delete-account-form[hidden] {
    display: none;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #222;
    font-weight: bold;
    line-height: 1.35;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.field-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.field-stack:last-child {
    margin-bottom: 0;
}

.field-stack label {
    font-weight: bold;
    color: #222;
}

.social-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-label i,
.boosty-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.16);
}

.boosty-field-icon {
    font-weight: 800;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}

.moderation-contacts-card {
    border: 2px solid black;
}

.field-stack input,
.field-stack textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.85);
    color: #111;
}
.field-stack textarea {font-size: 1.03rem; resize: vertical;}
.field-stack textarea::-webkit-scrollbar {width: 8px;}
.field-stack textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(151, 193, 241), rgb(218, 135, 11));
    border-radius: 10px;
}
.field-stack textarea::-webkit-scrollbar-track {background: rgba(0,0,0,0.4);}

.field-hint {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.moderation-contacts-card .field-hint {
    margin-bottom: 10px;
}

.action-btn {
    align-self: flex-start;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: rgb(151, 193, 241);
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.action-btn:hover {
    background: rgb(218, 135, 11);
    transform: translateY(-1px);
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.status-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 22px;
    font-size: 0.95rem;
    font-weight: bold;
}

.status-message.success {
    color: #176b24;
}

.status-message.error {
    color: #8b0d06;
}

.status-message.info {
    color: #1a4e86;
}

.note-box {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(151, 193, 241, 0.25);
    border: 2px solid rgba(151, 193, 241, 0.45);
    color: #0d151f;
    line-height: 1.45;
    text-align: center;
    position: relative;
}

.note-box::after {
    content: '';
    position: absolute;
    background: rgba(151, 193, 241, 0.45);
    border-radius: 20px;
    inset: -8px;
    z-index: -1;
    filter: blur(14px);
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column-reverse;
        min-height: 0;
    }

    .content,
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .mods-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search {
        justify-self: start;
        width: 100%;
    }

    input {
        width: 100%;
    }

    .mod-body {
        flex-direction: column;
    }

    .mod-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 13 / 10;
    }

    .mod-stats,
    .user-stats {
        flex-wrap: wrap;
    }

    #modsList,
    #reportsList {
        grid-template-columns: 1fr;
    }

    .sidebar-menu button {
        width: 100%;
    }

    .user-profile-head,
    .profile-preview-head {
        flex-direction: column;
        text-align: center;
    }

    .profile-public-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .moderation-contact-links {
        min-width: 0;
    }

    .user-card,
    .user-main-info {
        text-align: center;
    }

    .user-main-info,
    .profile-preview-text,
    .usname {
        align-items: center;
    }
}

@media (max-width: 640px) {
    header {
        flex-direction: column;
        gap: 14px;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        width: calc(100% - 18px);
        padding: 1rem;
        margin: 14px auto;
    }

    .name h4,
    .name h5 {
        font-size: 1.5rem;
    }

    .menu-dropdown {
        right: auto;
        left: 0;
    }
}

/* Банер cookie соглашения пользователя */
.cookie-banner {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
    border: 2px solid black;
    backdrop-filter: blur(5px);
    border-radius: 26px;
    color: #fff;
    display: none;
}

.cookie-content {
    width: auto;
    justify-content: center;
    align-items: center;
    margin: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size: 1.1rem;
}

.info-policy {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(151, 193, 241, 0.25);
    border: 2px solid rgba(151, 193, 241, 0.45);
    color: #0d151f;
    line-height: 1.45;
    text-align: center;
    position: relative;
}

.info-policy::after {
    content: '';
    position: absolute;
    background: rgba(151, 193, 241, 0.45);
    border-radius: 26px;
    inset: -8px;
    z-index: -1;
    filter: blur(14px);
}

.btn {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #111;
    background: rgb(151, 193, 241);
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: rgb(218, 135, 11);
    transform: scale(1.05);
    }

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.1rem;
}

.yes {
    background: #4CAF50;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.yes:hover {
    transform: scale(1.05);
    background: green;
}

.no {
    background: #f44336;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease
}

.no:hover {
    transform: scale(1.05);
    background: red;
}
