/* Общие стили */
:root {
    /* Основные цвета (Желтый/Оранжевый из логотипа) */
    --primary-color: #ffc107; 
    --primary-gradient: linear-gradient(135deg, #ffd740 0%, #ffab00 100%);
    --primary-glow: rgba(255, 193, 7, 0.5);
    
    /* Дополнительные цвета */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa; /* Очень светлый серый */
    --text-main: #2d3436; /* Темно-серый, почти черный */
    --text-muted: #636e72;
    
    /* Акценты */
    --radius: 16px;
    --shadow: 0 10px 30px rgba(255, 171, 0, 0.15); /* Теплая тень */
    --shadow-hover: 0 15px 40px rgba(255, 171, 0, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px; /* Более округлые кнопки */
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #2d3436; /* Темный текст для контраста на желтом */
    box-shadow: 0 4px 15px rgba(255, 171, 0, 0.3);
}
.btn-primary:hover { 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 171, 0, 0.5);
}

.btn-secondary {
    background: white;
    border: 2px solid #ffab00;
    color: #2d3436;
}
.btn-secondary:hover { 
    background: #ffab00;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 171, 0, 0.2);
}

.btn-danger {
    background: #e85d4e;
    color: white;
    box-shadow: 0 4px 15px rgba(232, 93, 78, 0.24);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 93, 78, 0.32);
}

.btn-small {
    padding: 10px 16px;
    font-size: 12px;
}

.btn-block { width: 100%; }

/* Хедер */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo a {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 2px;
}
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(255, 171, 0, 0.3));
}
.logo .accent { 
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list { display: flex; gap: 25px; }
.nav-link { 
    font-weight: 700; 
    font-size: 14px; 
    text-transform: uppercase; 
    color: var(--text-main);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: 0.3s;
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; gap: 15px; align-items: center; }
.logout-form { margin: 0; }
.logout-form .btn { width: 100%; }
.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 25px; height: 3px; background: #333; margin: 5px 0; }

/* Сетка макета (Main + Sidebar) */
.layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Слайдер */
.slider-section {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.slider-container {
    position: relative;
    height: 450px; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Темный фон для баннера, чтобы не был слишком ярким */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3436 100%);
    color: white; /* Текст на баннере должен быть белым */
}

.slide.active { opacity: 1; z-index: 2; }

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
    color: white; /* Принудительно белый цвет текста */
}

.slide-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: white; /* Белый заголовок */
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-desc {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e0e0e0; /* Светло-серый текст */
    font-weight: 500;
}

.slide-image {
    position: relative;
    z-index: 3;
    height: 100%;
    width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Контейнер для 3D скина */
.skin-viewer {
    width: 300px;
    height: 400px;
    /* Свечение за персонажем */
    background: radial-gradient(circle, rgba(255, 171, 0, 0.2) 0%, transparent 70%);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 80px;
    z-index: 4;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { 
    background: #ffab00; 
    transform: scale(1.3); 
    box-shadow: 0 0 10px rgba(255, 171, 0, 0.5);
}

/* Виджеты Сайдбара */
.widget {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.03);
}

.widget-header {
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.widget-header i { 
    color: #ffab00; 
    font-size: 18px;
}
.auth-only-widget {
    display: none;
}

body.is-authenticated .auth-only-widget {
    display: block;
}

.account-balance-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(135deg, #25231c 0%, #16191d 52%, #312309 100%);
    box-shadow: 0 18px 34px rgba(22, 25, 29, 0.16), inset 0 0 0 1px rgba(255, 202, 79, 0.16);
    color: #fff;
}

.account-balance-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -34px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: rgba(255, 171, 0, 0.2);
    filter: blur(2px);
}

.account-balance-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-balance-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffca4f, #ff8f00);
    color: #1d1b16;
    box-shadow: 0 10px 22px rgba(255, 171, 0, 0.28);
}

.account-balance-meta {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.account-balance-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.account-balance-value {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.04em;
}

.account-balance-hint {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.46);
}

.account-topup-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 13px;
    border-radius: 14px;
    background: #fff;
    color: #17191d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.account-topup-btn:hover {
    transform: translateY(-2px);
    background: #ffca4f;
    box-shadow: 0 14px 26px rgba(255, 171, 0, 0.24);
}

.account-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid rgba(255, 171, 0, 0.08);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
}

.account-nav-link:hover {
    transform: translateX(4px);
    background: #fffdf6;
    border-color: rgba(255, 171, 0, 0.2);
}

.account-nav-link-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.account-nav-link-main i,
.account-nav-link > i {
    color: #ffab00;
}

/* Мониторинг */
.server-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.circular-progress {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(#ffab00 calc(var(--percent) * 1%), #eee 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
}

.progress-value {
    position: relative;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
}

.server-details h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.server-details p { font-size: 13px; color: var(--text-muted); }
.accent-text { color: #ffab00; font-weight: 700; }

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.server-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b2bec3;
}

.server-status-online { color: #00b894; }
.server-status-online::before { background: #00e676; box-shadow: 0 0 8px rgba(0, 230, 118, 0.8); }
.server-status-offline { color: #d63031; }
.server-status-offline::before { background: #ff5252; box-shadow: 0 0 8px rgba(255, 82, 82, 0.45); }

.server-empty {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.divider { height: 1px; background: #f0f0f0; margin: 20px 0; }

.total-stats {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 202, 79, 0.32), transparent 32%),
        linear-gradient(135deg, #17191d, #2d2514);
    padding: 16px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 16px 28px rgba(22, 25, 29, 0.14);
}
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 14px; }
.stat-row strong { color: #ffca4f; font-size: 18px; }
.stat-row.muted { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.stat-row + .stat-row { margin-top: 8px; }
.dot.online { width: 10px; height: 10px; background: #00e676; border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 8px #00e676; }

/* Соцсети */
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-btn {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    gap: 15px;
    transition: 0.3s;
    background: var(--social-color, #229ED9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}
.social-btn i { font-size: 18px; }
.social-btn.vk { background: #0077FF; box-shadow: 0 4px 10px rgba(0, 119, 255, 0.3); }
.social-btn.discord { background: #5865F2; box-shadow: 0 4px 10px rgba(88, 101, 242, 0.3); }
.social-btn.tg { background: #229ED9; box-shadow: 0 4px 10px rgba(34, 158, 217, 0.3); }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Новости */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
@media (max-width:  768px) {
    .news-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 25px; }
}
.news-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card h3 { margin-bottom: 15px; font-size: 20px; font-weight: 800; }
.news-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.read-more { 
    font-size: 14px; 
    color: #ff8f00; 
    font-weight: 700; 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.read-more::after { content: '→'; transition: 0.3s; }
.read-more:hover::after { transform: translateX(5px); }

/* Футер */
.footer { background: white; padding: 40px 0; margin-top: auto; text-align: center; color: var(--text-muted); font-size: 14px; border-top: 1px solid #eee; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-copy p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-bottom-links a {
    color: #ff8f00;
    font-weight: 700;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    display: flex;
    justify-content: center;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-content {
    width: min(980px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 202, 79, 0.2), transparent 30%),
        rgba(23, 25, 29, 0.96);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 202, 79, 0.18);
}

.cookie-banner-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.cookie-banner-content a {
    color: #ffca4f;
    font-weight: 700;
}

.cookie-banner-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.open { display: flex; opacity: 1; }

.modal-window {
    background: white;
    padding: 50px;
    border-radius: 24px;
    width: 420px;
    max-width: 90%;
    max-height: calc(100vh - 40px);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    overflow-y: auto;
}

.modal-overlay.open .modal-window { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: #f5f5f5; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 20px; cursor: pointer; color: #777;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.modal-close:hover { background: #ffab00; color: white; }

.modal-title { text-align: center; margin-bottom: 35px; font-size: 28px; font-weight: 900; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: var(--text-muted); }
.form-group input {
    width: 100%; padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee; border-radius: 12px;
    font-size: 15px; font-weight: 500;
    transition: 0.3s;
}
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
    resize: vertical;
}
.form-group input:focus { border-color: #ffab00; background: white; outline: none; }
.form-group textarea:focus,
.form-group select:focus { border-color: #ffab00; background: white; outline: none; }

.form-actions { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.forgot-pass { font-size: 14px; color: #ff8f00; font-weight: 600; }

.modal-footer { margin-top: 30px; text-align: center; font-size: 15px; color: var(--text-muted); }
.modal-footer a { color: #ff8f00; font-weight: 700; }

.page-alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.compact-alerts {
    margin-bottom: 24px;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
}

.alert-success {
    background: #eefbf3;
    color: #1f7a43;
    border-color: rgba(31, 122, 67, 0.15);
}

.alert-error {
    background: #fff1f0;
    color: #b53c2f;
    border-color: rgba(181, 60, 47, 0.16);
}

.auth-section,
.dashboard-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 36px;
}

.auth-page-card {
    max-width: 640px;
}

.twofa-login-card {
    max-width: 560px;
}

.twofa-code-input {
    text-align: center;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 0.22em;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff8e1;
    color: #b28704;
    width: fit-content;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.auth-page-title {
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.1;
}

.auth-page-subtitle {
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 16px;
    max-width: 620px;
}

.auth-page-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff8e1;
    color: #4a4f55;
    font-size: 14px;
    line-height: 1.6;
}

.auth-agreement input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.auth-agreement a {
    margin-left: 6px;
    color: #ff8f00;
    font-weight: 700;
}

.auth-captcha-wrap {
    margin-bottom: 24px;
    overflow-x: auto;
}

.auth-captcha-wrap .g-recaptcha {
    display: inline-block;
    max-width: 100%;
}

.auth-captcha-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 171, 0, 0.12);
    color: #4a4f55;
    font-size: 14px;
    line-height: 1.5;
}

.form-hint {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-links {
    margin-top: 22px;
    font-size: 15px;
    color: var(--text-muted);
}

.auth-links a {
    color: #ff8f00;
    font-weight: 700;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-profile-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    margin-top: 28px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 202, 79, 0.18), transparent 30%),
        linear-gradient(135deg, #f7f4ea 0%, #ffffff 48%, #fff8e1 100%);
    border: 1px solid rgba(255, 171, 0, 0.2);
    box-shadow: 0 22px 46px rgba(22, 25, 29, 0.08);
}

.dashboard-profile-card::before {
    content: '';
    position: absolute;
    inset: 18px auto auto 18px;
    width: 94px;
    height: 94px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.2), rgba(255, 255, 255, 0));
    transform: rotate(12deg);
}

.dashboard-skin-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 171, 0, 0.24), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 225, 0.78));
    border: 1px solid rgba(255, 171, 0, 0.16);
}

.dashboard-skin-viewer {
    width: 220px;
    height: 330px;
    background: radial-gradient(circle, rgba(255, 171, 0, 0.24) 0%, transparent 68%);
}

.dashboard-skin-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: -12px;
    text-align: center;
}

.dashboard-skin-caption strong {
    font-size: 18px;
    font-weight: 900;
    color: #2d3436;
}

.dashboard-skin-caption span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-profile-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.dashboard-profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    border-left: 4px solid #ffca4f;
    box-shadow: 0 10px 22px rgba(22, 25, 29, 0.06);
}

.dashboard-profile-row span {
    color: #6f767d;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-profile-row strong {
    color: #2d3436;
    font-size: 15px;
    font-weight: 900;
    text-align: right;
}

.dashboard-status-good {
    color: #00a86b !important;
}

.dashboard-status-danger {
    color: #d63031 !important;
}

.dashboard-sections {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid rgba(45, 52, 54, 0.08);
}

.dashboard-sections-title {
    margin-bottom: 28px;
    font-size: 28px;
    line-height: 1.2;
    color: #2d3436;
}

.dashboard-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}

.dashboard-section-card {
    position: relative;
    overflow: visible;
    min-height: 174px;
    padding: 52px 22px 24px;
    border: 1px solid rgba(45, 52, 54, 0.06);
    border-radius: 10px;
    background:
        radial-gradient(circle at 20px 26px, rgba(45, 52, 54, 0.18) 1px, transparent 2px) 0 0 / 14px 14px,
        #fff;
    box-shadow: 0 18px 34px rgba(22, 25, 29, 0.06);
    color: #2d3436;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dashboard-section-card:hover,
.dashboard-section-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(255, 171, 0, 0.34);
    box-shadow: 0 22px 40px rgba(255, 171, 0, 0.14);
}

.dashboard-section-icon {
    position: absolute;
    top: -18px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e9e5db;
    color: #9b927e;
    transform: translateX(-50%);
    box-shadow: 0 8px 18px rgba(22, 25, 29, 0.08);
}

.dashboard-section-card.is-active .dashboard-section-icon {
    background: linear-gradient(135deg, #ffca4f, #ff8f00);
    color: #2d3436;
}

.dashboard-section-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 900;
}

.dashboard-section-card > span:last-child {
    display: block;
    color: #7b8288;
    font-size: 14px;
    line-height: 1.2;
}

.dashboard-tab-panels {
    margin-top: 30px;
}

.dashboard-tab-backbar {
    display: none;
    margin-top: 10px;
}

.dashboard-tab-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-sections.has-active-tab .dashboard-sections-title,
.dashboard-sections.has-active-tab .dashboard-section-grid {
    display: none;
}

.dashboard-sections.has-active-tab .dashboard-tab-backbar {
    display: block;
}

.dashboard-sections.has-active-tab .dashboard-tab-panels {
    margin-top: 16px;
}

.dashboard-tab-panel {
    display: none;
}

.dashboard-tab-panel.is-active {
    display: block;
}

.dashboard-customization-panel,
.dashboard-placeholder-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 248, 225, 0.92), rgba(255, 255, 255, 0.96)),
        #fff;
    border: 1px solid rgba(255, 171, 0, 0.14);
}

.dashboard-placeholder-panel {
    display: block;
}

.dashboard-customization-panel h3,
.dashboard-placeholder-panel h3 {
    margin: 12px 0;
    font-size: 26px;
    color: #2d3436;
}

.dashboard-customization-panel p,
.dashboard-placeholder-panel p {
    color: var(--text-muted);
    line-height: 1.65;
}

.dashboard-customization-form {
    display: grid;
    gap: 16px;
}

.dashboard-twofa-panel {
    margin-top: 18px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 171, 0, 0.16);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 202, 79, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 251, 237, 0.96), rgba(255, 255, 255, 0.98));
}

.dashboard-twofa-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.dashboard-twofa-head h3 {
    margin: 10px 0 0;
    color: #2d3436;
    font-size: 28px;
}

.dashboard-twofa-head p {
    max-width: 360px;
    margin: 8px 0 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.dashboard-twofa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.dashboard-twofa-card,
.dashboard-twofa-action-card {
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 25, 29, 0.08);
    box-shadow: 0 14px 28px rgba(22, 25, 29, 0.06);
}

.dashboard-twofa-card-title {
    display: block;
    margin-bottom: 12px;
    color: #2d3436;
    font-size: 15px;
    font-weight: 900;
}

.dashboard-twofa-qr {
    display: grid;
    place-items: center;
    width: 190px;
    min-height: 190px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(23, 25, 29, 0.08);
    color: #9aa0a6;
    font-weight: 900;
}

.dashboard-twofa-qr canvas,
.dashboard-twofa-qr img {
    display: block;
    width: 170px;
    height: 170px;
    image-rendering: pixelated;
}

.dashboard-twofa-hint {
    display: block;
    margin: 0 0 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.dashboard-twofa-secret {
    display: block;
    margin: 0 0 14px;
    padding: 12px;
    border-radius: 12px;
    background: #17191d;
    color: #ffca4f;
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: 0.06em;
    word-break: break-all;
}

.dashboard-twofa-action-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-twofa-action-card .form-group {
    margin-bottom: 0;
}

.dashboard-twofa-action-card .btn {
    width: 100%;
    min-height: 46px;
}

.dashboard-security-state {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 202, 79, 0.16);
    border: 1px solid rgba(255, 171, 0, 0.22);
    color: #4d5156;
    font-size: 14px;
    line-height: 1.45;
}

.dashboard-security-state i {
    margin-top: 2px;
    color: #ff9f00;
}

.dashboard-security-state.is-enabled {
    background: rgba(88, 166, 92, 0.12);
    border-color: rgba(88, 166, 92, 0.24);
}

.dashboard-security-state.is-enabled i {
    color: #3fa35b;
}

.dashboard-list-panel {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.12);
    box-shadow: 0 18px 34px rgba(22, 25, 29, 0.06);
}

.dashboard-donate-panel {
    gap: 20px;
}

.dashboard-donate-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-donate-head p {
    margin: 10px 0 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.dashboard-donate-summary {
    min-width: 140px;
    padding: 18px;
    border-radius: 18px;
    background: #fff7e8;
    border: 1px solid rgba(255, 171, 0, 0.16);
    text-align: center;
}

.dashboard-donate-summary strong {
    display: block;
    font-size: 28px;
    color: #2d3436;
}

.dashboard-donate-summary span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 13px;
}

.dashboard-donate-server-card {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.dashboard-donate-server-header {
    margin-bottom: 16px;
}

.dashboard-donate-server-header h4 {
    margin: 0;
    font-size: 22px;
    color: #2d3436;
}

.dashboard-donate-server-header p {
    margin: 8px 0 0;
    color: var(--text-muted);
}

.dashboard-donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.dashboard-donate-status-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 248, 225, 0.94), rgba(255, 255, 255, 0.98)),
        #fff;
    border: 1px solid rgba(255, 171, 0, 0.14);
}

.dashboard-donate-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-donate-card-top strong {
    color: #2d3436;
    font-size: 20px;
}

.dashboard-donate-badge {
    --status-color: #ffab00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--status-color);
    border: 1px solid rgba(255, 171, 0, 0.18);
    background: rgba(255, 171, 0, 0.08);
    font-weight: 900;
}

.dashboard-donate-badge-small {
    padding: 6px 10px;
    font-size: 12px;
}

.dashboard-donate-server-group {
    color: #6b7278;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-donate-benefits {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    margin: 0;
    color: #4f565d;
}

.dashboard-donate-benefits li {
    line-height: 1.45;
}

.dashboard-donate-inherits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-donate-kits {
    display: grid;
    gap: 10px;
}

.dashboard-donate-kit {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 25, 29, 0.06);
}

.dashboard-donate-kit img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
}

.dashboard-donate-kit span {
    color: #4f565d;
    font-size: 14px;
    line-height: 1.45;
}

.modal-window-wide {
    width: min(1080px, calc(100vw - 40px));
    max-width: 1080px;
}

.dashboard-donate-showcase {
    gap: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 214, 153, 0.28), transparent 35%),
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), #ffffff);
}

.dashboard-donate-active-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dashboard-donate-active-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.dashboard-donate-active-item strong,
.dashboard-donate-active-item span:last-child {
    display: block;
}

.dashboard-donate-active-item span:last-child {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.dashboard-donate-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.dashboard-privilege-card {
    --privilege-color: #ff8f3d;
    position: relative;
    display: grid;
    gap: 16px;
    min-height: 340px;
    padding: 28px 24px 82px;
    border: 0;
    border-radius: 24px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    background:
        radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.45), transparent 40%),
        linear-gradient(180deg, color-mix(in srgb, var(--privilege-color) 92%, white 8%), color-mix(in srgb, var(--privilege-color) 68%, black 6%));
    box-shadow: 0 28px 44px color-mix(in srgb, var(--privilege-color) 24%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-privilege-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 52px color-mix(in srgb, var(--privilege-color) 30%, transparent);
}

.dashboard-privilege-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.92;
}

.dashboard-privilege-card strong {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.dashboard-privilege-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.dashboard-privilege-price {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: 12px;
    background: #fff;
    color: #2d3436;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(22, 25, 29, 0.14);
}

.dashboard-donate-modal {
    display: grid;
    gap: 20px;
}

.dashboard-donate-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7efd9, #fffdf7);
}

.dashboard-donate-modal-head h3 {
    margin: 12px 0 8px;
    color: #2d3436;
    font-size: 28px;
}

.dashboard-donate-modal-head p {
    margin: 0;
    color: #696f74;
    line-height: 1.6;
}

.dashboard-donate-modal-price {
    min-width: 160px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    color: #2d3436;
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.dashboard-donate-modal-controls {
    display: grid;
}

.dashboard-donate-modal-panel {
    display: none;
    gap: 18px;
}

.dashboard-donate-modal-panel.is-active {
    display: grid;
}

.dashboard-donate-modal-server {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: #faf5e8;
}

.dashboard-donate-benefit-table {
    display: grid;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(45, 52, 54, 0.08);
}

.dashboard-donate-benefit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    background: #fff;
}

.dashboard-donate-benefit-row:nth-child(even) {
    background: #fcfcfa;
}

.dashboard-donate-benefit-row span,
.dashboard-donate-benefit-row strong {
    padding: 16px 22px;
    border-top: 1px solid rgba(45, 52, 54, 0.06);
}

.dashboard-donate-benefit-row.is-head {
    background: #f4efe4;
    font-weight: 900;
}

.dashboard-donate-benefit-row.is-head span {
    border-top: 0;
}

.dashboard-donate-benefit-row strong {
    color: #2d3436;
    font-weight: 900;
}

.dashboard-donate-kit-block {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #efe4c7, #f8f3e6);
}

.dashboard-donate-kit-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-donate-kit-block-head h4 {
    margin: 0;
    font-size: 30px;
    color: #2d3436;
}

.dashboard-donate-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dashboard-donate-kit-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 52, 54, 0.08);
}

.dashboard-donate-kit-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.dashboard-donate-kit-meta strong {
    font-size: 24px;
    color: #2d3436;
}

.dashboard-donate-kit-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(45, 52, 54, 0.08);
    color: #4f565d;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-donate-kit-card img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.dashboard-donate-kit-card p {
    margin: 0;
    color: #4f565d;
    line-height: 1.55;
}

.admin-donate-server-stack {
    gap: 24px;
}

.admin-donate-server-privilege {
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 248, 231, 0.9), #fff);
    border: 1px solid rgba(255, 171, 0, 0.14);
}

.admin-donate-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-inline-card-benefit,
.admin-inline-card-kit {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.admin-inline-card-kit-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-kit-preview {
    grid-column: span 2;
}

.admin-kit-preview img {
    width: 100%;
    max-width: 220px;
    border-radius: 14px;
    object-fit: cover;
}

.admin-donate-privilege-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.admin-donate-privilege-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98), #fff);
    border: 1px solid rgba(255, 171, 0, 0.14);
}

.admin-donate-privilege-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-donate-server-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.admin-donate-server-button {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    background: #fff;
    color: #2d3436;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-donate-server-button strong {
    font-size: 18px;
    font-weight: 900;
}

.admin-donate-server-button span:last-child {
    color: var(--text-muted);
    font-size: 13px;
}

.admin-donate-server-button:hover,
.admin-donate-server-button.is-enabled {
    transform: translateY(-2px);
    border-color: rgba(255, 171, 0, 0.36);
    box-shadow: 0 16px 28px rgba(22, 25, 29, 0.08);
}

.admin-donate-modal {
    display: grid;
    gap: 20px;
}

.admin-donate-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-donate-modal-head h3 {
    margin: 12px 0 6px;
}

.dashboard-donate-showcase {
    gap: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 74, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(255, 193, 74, 0.12), transparent 26%),
        #fff;
}

.dashboard-donate-showcase-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));*/
    gap: 18px;
}

.dashboard-privilege-card {
    --privilege-color: #ffb000;
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    align-content: stretch;
    min-height: 240px;
    padding: 22px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 171, 0, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.96));
    color: #2d3436;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(22, 25, 29, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-privilege-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 171, 0, 0.42);
    box-shadow: 0 24px 42px rgba(22, 25, 29, 0.1);
}

.dashboard-privilege-card-glow {
    position: absolute;
    inset: -70px auto auto -10px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--privilege-color) 18%, transparent);
    filter: blur(6px);
    pointer-events: none;
}

.dashboard-privilege-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: color-mix(in srgb, var(--privilege-color) 72%, #9a6a00);
    background: color-mix(in srgb, var(--privilege-color) 14%, white);
    font-size: 22px;
}

.dashboard-privilege-card strong {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.dashboard-privilege-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #5f656b;
    line-height: 1.55;
    font-size: 15px;
}

.dashboard-privilege-price {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    margin-top: auto;
    justify-self: start;
    padding: 12px 18px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--privilege-color) 18%, white);
    color: #2d3436;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(22, 25, 29, 0.08);
    z-index: 2;
    white-space: nowrap;
}

.dashboard-donate-modal-compact {
    width: min(620px, calc(100vw - 40px));
    max-width: 620px;
}

.dashboard-donate-modal {
    display: grid;
    gap: 18px;
}

.dashboard-donate-modal-head-compact {
    display: grid;
    gap: 8px;
    padding: 0;
    background: transparent;
}

.dashboard-donate-modal-group {
    color: #8b9196;
    font-size: 15px;
}

.dashboard-donate-modal-head h3 {
    margin: 0;
    color: #2d3436;
    font-size: 32px;
}

.dashboard-donate-modal-head p {
    margin: 0;
    color: #5f656b;
    line-height: 1.5;
}

.dashboard-donate-modal-price {
    min-width: 0;
    width: fit-content;
    padding: 0;
    background: transparent;
    font-size: 32px;
}

.dashboard-donate-modal-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 176, 0, 0.12);
    color: #2d3436;
}

.dashboard-donate-modal-user .auth-eyebrow {
    margin: 0;
}

.dashboard-donate-buy-btn {
    background: linear-gradient(180deg, #ffc933, #ffb000);
    color: #2d3436;
    font-weight: 900;
    border: 0;
    box-shadow: 0 14px 28px rgba(255, 176, 0, 0.22);
}

.dashboard-donate-buy-btn:disabled {
    box-shadow: none;
}

.dashboard-donate-feature-list {
    display: grid;
    gap: 10px;
}

.dashboard-donate-feature-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
}

.dashboard-donate-feature-item span {
    color: #43494f;
    line-height: 1.5;
}

.dashboard-donate-feature-item strong {
    color: #2d3436;
    font-weight: 900;
}

.donate-public-page {
    display: grid;
    gap: 28px;
}

.donate-public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.donate-public-hero-copy {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 193, 59, 0.26), transparent 38%),
        linear-gradient(135deg, #fff9ef, #fff3d8);
    border: 1px solid rgba(255, 176, 0, 0.16);
}

.donate-public-hero-copy .auth-page-title,
.donate-public-empty h2 {
    margin-bottom: 14px;
}

.donate-public-stats {
    display: grid;
    gap: 16px;
}

.donate-public-stats .dashboard-donate-summary {
    min-height: 132px;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffef9, #fff5df);
    border: 1px solid rgba(255, 176, 0, 0.14);
}

.donate-public-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.donate-public-grid {
    margin-top: 4px;
}

.donate-public-empty {
    padding: 38px 30px;
    border-radius: 24px;
    text-align: center;
    background: #fff9ef;
    border: 1px dashed rgba(255, 176, 0, 0.3);
}

.donate-public-empty p {
    max-width: 720px;
    margin: 0 auto;
    color: #5f656b;
}

.donate-public-inherits {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.donate-public-modal-sections {
    display: grid;
    gap: 22px;
}

.donate-public-modal-section {
    display: grid;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fffdf7;
    border: 1px solid rgba(255, 176, 0, 0.12);
}

.donate-public-modal-section .dashboard-donate-kit-grid {
    grid-template-columns: 1fr;
}

.donate-public-modal-section .dashboard-donate-kit-card {
    grid-template-columns: 1fr;
}

.donate-public-modal-section .dashboard-donate-kit-card img {
    grid-row: auto;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    aspect-ratio: auto;
    background: rgba(45, 52, 54, 0.04);
}

.donate-public-modal-section .dashboard-donate-kit-card .dashboard-donate-kit-meta,
.donate-public-modal-section .dashboard-donate-kit-card p {
    grid-column: 1;
}

.donate-public-modal-section .dashboard-donate-kit-card-no-image {
    grid-template-columns: 1fr;
}

.donate-public-modal-section .dashboard-donate-kit-card-no-image .dashboard-donate-kit-meta,
.donate-public-modal-section .dashboard-donate-kit-card-no-image p {
    grid-column: 1;
}

.donate-public-modal-actions {
    display: grid;
    gap: 12px;
}

@media (max-width: 900px) {
    .donate-public-hero {
        grid-template-columns: 1fr;
    }

    .donate-public-hero-copy,
    .donate-public-empty,
    .donate-public-modal-section {
        padding: 22px 18px;
    }

    .donate-public-cta {
        flex-direction: column;
    }

    .donate-public-cta .btn {
        width: 100%;
    }

    .donate-public-modal-section .dashboard-donate-kit-card {
        grid-template-columns: 1fr;
    }

    .donate-public-modal-section .dashboard-donate-kit-card img {
        max-height: none;
    }

    .donate-public-modal-section .dashboard-donate-kit-card .dashboard-donate-kit-meta,
    .donate-public-modal-section .dashboard-donate-kit-card p {
        grid-column: 1;
    }
}

.dashboard-list-title {
    margin: 0 0 4px;
    color: #2d3436;
    font-size: 20px;
}

.dashboard-list-title-spaced {
    margin-top: 18px;
}

.dashboard-log-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fffaf0;
    border-left: 4px solid #ffca4f;
}

.dashboard-log-row strong {
    color: #2d3436;
    font-weight: 900;
}

.dashboard-log-row span {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-ticket-card {
    display: none;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.16);
}

.dashboard-ticket-card.is-active {
    display: grid;
}

.dashboard-ticket-card.is-archived {
    background: #f7f7f5;
    border-color: rgba(45, 52, 54, 0.08);
    opacity: 0.88;
}

.support-ticket-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr) auto minmax(120px, auto);
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 14px;
    background: #fff;
    color: #2d3436;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-ticket-row:hover,
.support-ticket-row.is-active {
    transform: translateY(-1px);
    border-color: rgba(255, 171, 0, 0.38);
    box-shadow: 0 12px 24px rgba(22, 25, 29, 0.07);
}

.support-ticket-row.is-archived {
    background: #f8f8f6;
}

.support-ticket-id {
    font-weight: 900;
    color: #ff8f00;
}

.support-ticket-subject {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-preview {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-user,
.support-ticket-date {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.support-ticket-details {
    margin-top: 18px;
}

.support-ticket-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
}

.support-ticket-detail-header strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    color: #2d3436;
}

.support-conversation-thread {
    display: grid;
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 4px;
}

.support-chat-bubble {
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 18px 18px 18px 6px;
    background: #f6f7f8;
    border: 1px solid rgba(45, 52, 54, 0.06);
}

.support-chat-bubble.is-admin {
    margin-left: auto;
    border-radius: 18px 18px 6px 18px;
    background: #fff1bf;
}

.support-chat-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.support-chat-bubble-meta strong {
    color: #2d3436;
    font-size: 14px;
}

.support-chat-bubble-meta span {
    color: #7c848c;
    font-size: 12px;
    white-space: nowrap;
}

.support-chat-bubble p {
    margin: 0;
    color: #4e555c;
    line-height: 1.6;
}

.support-dashboard-live {
    display: grid;
    gap: 18px;
}

.support-admin-layout {
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.support-admin-sidebar {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    border: 1px solid rgba(255, 171, 0, 0.14);
    box-shadow: 0 18px 44px rgba(22, 25, 29, 0.08);
    position: sticky;
    top: 104px;
}

.support-admin-sidebar-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.support-admin-sidebar-count {
    font-size: 24px;
    line-height: 1;
}

.support-admin-chat-list {
    display: grid;
    gap: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-right: 4px;
}

.support-admin-chat-list-archived {
    margin-top: 12px;
    max-height: 320px;
}

.support-admin-chat-item {
    width: 100%;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-admin-chat-item:hover,
.support-admin-chat-item.is-active {
    transform: translateY(-1px);
    border-color: rgba(255, 171, 0, 0.38);
    box-shadow: 0 12px 24px rgba(22, 25, 29, 0.08);
}

.support-admin-chat-item.is-archived {
    background: #f8f8f6;
}

.support-admin-chat-avatar {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--primary-gradient);
    color: #2d3436;
    font-size: 18px;
    font-weight: 900;
}

.support-admin-chat-main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.support-admin-chat-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.support-admin-chat-topline strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.support-admin-chat-topline time {
    color: #7c848c;
    font-size: 11px;
    white-space: nowrap;
}

.support-admin-chat-subject {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
}

.support-admin-chat-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6f767d;
    font-size: 12px;
}

.support-admin-chat-meta {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.support-admin-chat-id {
    color: #ff8f00;
    font-size: 12px;
    font-weight: 900;
}

.support-admin-detail {
    min-width: 0;
}

.support-admin-archive-group {
    margin-top: 18px;
    border-top: 1px solid rgba(45, 52, 54, 0.08);
    padding-top: 14px;
}

.support-admin-archive-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    color: #6f767d;
    font-size: 13px;
    font-weight: 800;
}

.support-admin-archive-toggle::-webkit-details-marker {
    display: none;
}

.support-admin-archive-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(45, 52, 54, 0.08);
    color: #4f565d;
}

.support-admin-archive-empty {
    margin-top: 12px;
}

.support-admin-detail-card {
    display: grid;
    gap: 18px;
    border-radius: 24px;
}

.support-admin-detail-card.is-archived {
    background: #f8f8f6;
}

.support-admin-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
}

.support-admin-detail-subtitle {
    margin: 8px 0 0;
    color: #6f767d;
}

.support-admin-reply-form {
    padding-top: 10px;
    border-top: 1px solid rgba(45, 52, 54, 0.08);
}

.support-captcha-note {
    margin-bottom: 8px;
}

.support-admin-legacy {
    display: none !important;
}

@media (max-width: 1100px) {
    .support-admin-layout {
        grid-template-columns: 1fr;
    }

    .support-admin-sidebar {
        position: static;
    }

    .support-admin-chat-list {
        max-height: none;
    }
}

@media (max-width: 900px) {
    .support-conversation-thread {
        max-height: 360px;
    }

    .support-chat-bubble {
        max-width: 100%;
    }

    .support-admin-chat-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .support-admin-chat-meta {
        grid-column: 2;
        justify-items: start;
        grid-auto-flow: column;
    }
}

.admin-rules-toolbar {
    display: grid;
    gap: 16px;
}

.admin-rules-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-rules-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.14);
    color: #2d3436;
    font-size: 13px;
    font-weight: 800;
}

.admin-rules-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 171, 0, 0.32);
    box-shadow: 0 10px 20px rgba(22, 25, 29, 0.06);
}

.admin-rules-sections {
    display: grid;
    gap: 16px;
}

.admin-rules-section-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.14);
    box-shadow: 0 14px 32px rgba(22, 25, 29, 0.05);
}

.admin-rules-section-summary,
.admin-rules-item-summary {
    list-style: none;
}

.admin-rules-section-summary::-webkit-details-marker,
.admin-rules-item-summary::-webkit-details-marker {
    display: none;
}

.admin-rules-section-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
}

.admin-rules-section-summary-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-rules-section-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 171, 0, 0.12);
    color: #b28704;
    flex: 0 0 46px;
}

.admin-rules-section-summary strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.admin-rules-section-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-rules-section-caret,
.admin-rules-item-caret {
    color: #7d8791;
    transition: transform 0.2s ease;
}

.admin-rules-section-card[open] .admin-rules-section-caret,
.admin-rules-item-card[open] .admin-rules-item-caret {
    transform: rotate(180deg);
}

.admin-rules-section-body {
    display: grid;
    gap: 16px;
    padding: 0 20px 20px;
}

.admin-rules-section-settings {
    padding: 18px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid rgba(255, 171, 0, 0.1);
}

.admin-rules-section-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-rules-delete-form {
    display: flex;
    justify-content: flex-end;
}

.admin-rules-item-list {
    display: grid;
    gap: 12px;
}

.admin-rules-item-card {
    border-radius: 18px;
    background: #fdfdfd;
    border: 1px solid rgba(45, 52, 54, 0.08);
    overflow: hidden;
}

.admin-rules-item-template {
    display: none;
}

.admin-rules-item-summary {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
}

.admin-rules-item-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: #98b530;
    color: #fff;
    font-weight: 900;
}

.admin-rules-item-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
    color: #2d3436;
}

.admin-rules-item-fields {
    display: grid;
    gap: 14px;
    padding: 0 16px 16px;
}

.admin-rules-inline-checkbox {
    align-self: end;
    min-height: 54px;
    margin-bottom: 0;
}

.admin-rules-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rules-page {
    display: grid;
    gap: 26px;
}

.rules-page-head,
.rules-section-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.rules-page-head h1 {
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 42px;
    line-height: 1.05;
}

.rules-page-head p {
    max-width: 820px;
    color: var(--text-muted);
    font-size: 16px;
}

.rules-section-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2px;
    padding: 6px;
    border-radius: 24px;
    background: #e9edf0;
    box-shadow: var(--shadow);
}

.rules-section-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 102px;
    padding: 18px 14px;
    border-radius: 20px;
    color: #2d3436;
    text-align: center;
    font-weight: 800;
}

.rules-section-tab i {
    font-size: 22px;
}

.rules-section-tab.is-active,
.rules-section-tab:hover {
    background: #fff;
    box-shadow: 0 14px 26px rgba(22, 25, 29, 0.08);
}

.rules-section-panel {
    display: none;
    gap: 18px;
}

.rules-section-panel.is-active {
    display: grid;
}

.rules-section-header h2 {
    font-size: 30px;
    line-height: 1.1;
}

.rules-cards {
    display: grid;
    gap: 24px;
}

.rules-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: flex-start;
    gap: 18px;
}

.rules-card-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px;
    border-radius: 14px;
    background: #98b530;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.rules-card-body {
    padding: 24px 26px;
    border-radius: 18px;
    background: #f7f2e3;
    box-shadow: 0 16px 32px rgba(22, 25, 29, 0.06);
}

.rules-card-body h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.2;
}

.rules-card-body p {
    margin: 0;
    color: #40464c;
    font-size: 16px;
    line-height: 1.65;
}

.rules-note,
.rules-penalty {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
}

.rules-note {
    color: #5b8f20;
    font-weight: 400;
}

.rules-penalty {
    color: #d94b43;
    font-weight: 800;
}

.rules-penalty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #d94b43;
    line-height: 1;
    margin-top: 4px;
    animation: rulesPenaltyPulse 1.8s ease-in-out infinite;
}

@keyframes rulesPenaltyPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.08);
    }
}

@media (max-width: 900px) {
    .rules-card {
        grid-template-columns: 1fr;
    }

    .rules-card-code {
        width: fit-content;
        min-width: 72px;
    }

    .admin-rules-section-actions,
    .admin-rules-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.legal-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.legal-page-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legal-page-head h1 {
    font-size: 42px;
    line-height: 1.08;
}

.legal-page-head p {
    max-width: 900px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.legal-page-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.legal-page-block {
    padding: 24px 26px;
    border-radius: 18px;
    background: #f7f2e3;
    box-shadow: 0 16px 32px rgba(22, 25, 29, 0.05);
}

.legal-page-block p {
    margin: 0;
    color: #40464c;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-banner-button {
        width: 100%;
    }

    .legal-page-head h1 {
        font-size: 34px;
    }

    .legal-page-card {
        padding: 20px;
    }

}

.dashboard-chat-message {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f6f7f8;
}

.dashboard-chat-message.is-admin {
    margin-left: auto;
    background: #fff1bf;
}

.dashboard-chat-message b {
    display: block;
    margin-bottom: 4px;
    color: #2d3436;
}

.dashboard-chat-message p {
    margin: 0;
    color: #5f666d;
    line-height: 1.5;
}

.dashboard-support-reply {
    display: grid;
    gap: 10px;
}

.dashboard-support-close {
    display: flex;
    justify-content: flex-end;
}

.dashboard-support-reply textarea {
    width: 100%;
    resize: vertical;
}

.support-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 220;
    width: min(390px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.support-widget-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.98) 0%, rgba(66, 73, 76, 0.96) 100%);
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 22px 50px rgba(45, 52, 54, 0.18), 0 10px 28px rgba(255, 171, 0, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-widget-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 60px rgba(45, 52, 54, 0.24), 0 14px 32px rgba(255, 171, 0, 0.34);
}

.support-widget-toggle-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary-gradient);
    color: #2d3436;
    font-size: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.support-widget-toggle-copy strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.support-widget-toggle-copy span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.45;
}

.support-widget-panel {
    display: none;
    width: 100%;
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff9eb 100%);
    border: 1px solid rgba(255, 171, 0, 0.16);
    box-shadow: 0 26px 60px rgba(45, 52, 54, 0.16);
}

.support-widget.is-open .support-widget-panel {
    display: block;
    animation: support-widget-rise 0.22s ease;
}

@keyframes support-widget-rise {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.support-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.support-widget-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b28704;
}

.support-widget-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
}

.support-widget-subtitle {
    margin-top: 8px;
    color: #5f666d;
    font-size: 14px;
    line-height: 1.6;
}

.support-widget-close-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 171, 0, 0.12);
    color: #6d5100;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.support-widget-close-button:hover {
    background: rgba(255, 171, 0, 0.22);
    transform: translateY(-1px);
}

.support-widget-alerts {
    margin-bottom: 14px;
}

.support-widget-ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.support-widget-ticket-meta strong {
    display: block;
    margin-top: 4px;
    line-height: 1.35;
}

.support-widget-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 171, 0, 0.14);
    color: #8b6600;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.support-widget-thread {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 12px;
}

.support-widget-message {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f6f7f8;
}

.support-widget-message.is-admin {
    margin-left: auto;
    background: #fff1bf;
}

.support-widget-message b {
    display: block;
    margin-bottom: 4px;
    color: #2d3436;
}

.support-widget-message p {
    margin: 0;
    color: #5f666d;
    line-height: 1.5;
}

.support-widget-ticket-links {
    margin-bottom: 12px;
}

.support-widget-history-link {
    color: #8c6700;
    font-size: 13px;
    font-weight: 700;
}

.support-widget-history-link:hover {
    color: #ffab00;
}

.support-widget-form {
    display: grid;
    gap: 12px;
}

.support-widget-form textarea {
    width: 100%;
    min-height: 92px;
    resize: vertical;
}

.support-widget-secondary-form {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.support-widget-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.support-widget-guest {
    display: grid;
    gap: 14px;
}

.support-widget-guest p {
    margin: 0;
    color: #5f666d;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .support-widget {
        right: 14px;
        left: 14px;
        bottom: 96px;
        width: auto;
    }

    .support-widget-toggle {
        padding: 14px 16px;
        border-radius: 22px;
    }

    .support-widget-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .support-widget-title {
        font-size: 24px;
    }

    .support-widget-ticket-meta {
        flex-direction: column;
    }

    .support-widget-thread {
        max-height: 220px;
    }
}

.dashboard-stat {
    padding: 22px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid rgba(255, 171, 0, 0.08);
}

.dashboard-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.3;
}

.dashboard-stat-label {
    font-size: 12px;
    font-weight: 800;
    color: #b28704;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.password-change-title {
    margin-top: 16px;
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.1;
}

.admin-hero-card {
    margin-bottom: 28px;
}

.admin-section-card {
    margin-bottom: 28px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 20px;
}

.admin-three-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.admin-panel {
    background: #f9fafb;
    border: 1px solid rgba(255, 171, 0, 0.08);
    border-radius: 20px;
    padding: 22px;
}

.admin-panel-title {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.2;
}

.admin-subtitle {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
}

.admin-form-grid {
    display: flex;
    flex-direction: column;
}

.admin-grid-2,
.admin-grid-4 {
    display: grid;
    gap: 16px;
}

.admin-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-form-section {
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.admin-form-section-heading {
    margin-bottom: 14px;
}

.admin-form-section-heading .admin-subtitle {
    margin-bottom: 4px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eceff1;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.admin-table th {
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7a8083;
}

.admin-muted {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 8px;
    margin-bottom: 6px;
}

.admin-badge-active {
    background: #eefbf3;
    color: #1f7a43;
}

.admin-badge-blocked {
    background: #fff1f0;
    color: #b53c2f;
}

.admin-badge-admin {
    background: #fff8e1;
    color: #b28704;
}

.admin-badge-neutral {
    background: #edf1f4;
    color: #51606d;
}

.admin-user-detail {
    margin-top: 24px;
}

.admin-users-tab .admin-two-column {
    grid-template-columns: 1fr;
}

.admin-users-create-panel {
    display: none;
}

.admin-users-list-panel,
.admin-user-create-modal,
.admin-user-modal {
    background: #f9fafb;
}

.admin-users-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-users-panel-head .admin-panel-title {
    margin-bottom: 6px;
}

.admin-users-search {
    min-width: min(360px, 100%);
    margin: 0;
}

.admin-users-search input {
    width: 100%;
}

.admin-user-search-empty {
    padding-top: 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.admin-user-modal {
    max-width: 1180px;
}

.admin-user-modal .admin-user-detail {
    margin-top: 0;
}

.admin-user-create-modal {
    max-width: 560px;
}

.admin-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.admin-checkbox input {
    width: 18px;
    height: 18px;
}

.admin-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.admin-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-inline-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(255, 171, 0, 0.1);
}

.admin-inline-card-main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-inline-card-menu {
    grid-template-columns: 1.2fr 1.6fr 120px 140px;
}

.admin-inline-card-monitoring-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-inline-card-social-main {
    grid-template-columns: 1fr 1.5fr 1.2fr 90px 110px auto;
}

.admin-refresh-form {
    margin-top: 18px;
}

.admin-inline-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 150px;
}

.admin-inline-card-monitoring {
    flex-direction: column;
}

.admin-inline-card-monitoring .admin-inline-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 171, 0, 0.12);
}

.admin-inline-card-monitoring .admin-checkbox {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.admin-donate-server-header,
.admin-donate-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-donate-server-header {
    margin-bottom: 18px;
}

.admin-donate-card {
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.12);
    box-shadow: 0 14px 30px rgba(22, 25, 29, 0.05);
}

.admin-status-chip {
    --status-color: #ffab00;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 171, 0, 0.1);
    color: var(--status-color);
    border: 1px solid rgba(255, 171, 0, 0.22);
    font-weight: 900;
    letter-spacing: 0.02em;
}

.admin-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-checkbox-card {
    margin: 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.admin-server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.form-group input[type="color"] {
    min-height: 54px;
    padding: 8px;
}

.admin-danger-zone {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

.admin-body {
    background:
        radial-gradient(circle at top left, rgba(255, 171, 0, 0.16), transparent 28%),
        linear-gradient(180deg, #f4f6f8 0%, #eceff3 100%);
    min-height: 100vh;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
}

.admin-sidebar-nav {
    background: #12181d;
    color: #f5f7fa;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.admin-sidebar-nav .auth-eyebrow {
    background: rgba(255, 171, 0, 0.14);
    color: #ffca4f;
}

.admin-sidebar-title {
    margin-top: 18px;
    font-size: 30px;
    line-height: 1.05;
}

.admin-sidebar-subtitle,
.admin-sidebar-user-label {
    color: rgba(245, 247, 250, 0.65);
}

.admin-sidebar-user {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-user strong {
    display: block;
    margin-top: 8px;
    font-size: 20px;
}

.admin-tab-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav-group {
    display: grid;
    gap: 8px;
}

.admin-nav-group summary {
    list-style: none;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none;
}

.admin-tab-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    color: rgba(245, 247, 250, 0.82);
    font-weight: 700;
    transition: 0.25s;
    border: 1px solid transparent;
}

.admin-tab-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-tab-link.is-active {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
    color: #11161b;
    box-shadow: 0 16px 32px rgba(255, 143, 0, 0.22);
}

.admin-tab-link i {
    width: 18px;
    text-align: center;
}

.admin-nav-group-toggle {
    justify-content: space-between;
    cursor: pointer;
}

.admin-nav-group-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.admin-nav-group-caret {
    transition: transform 0.2s ease;
}

.admin-nav-group[open] .admin-nav-group-caret {
    transform: rotate(180deg);
}

.admin-nav-group-links {
    display: grid;
    gap: 8px;
    padding-left: 18px;
}

.admin-subtab-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 14px;
    color: rgba(245, 247, 250, 0.72);
    background: rgba(255, 255, 255, 0.03);
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s;
}

.admin-subtab-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.admin-subtab-link.is-active {
    background: linear-gradient(135deg, #ffb300 0%, #ff8f00 100%);
    color: #11161b;
    box-shadow: 0 16px 32px rgba(255, 143, 0, 0.18);
}

.admin-sidebar-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-workspace {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.admin-workspace-title {
    margin-top: 18px;
    font-size: 40px;
    line-height: 1.05;
}

.admin-workspace-subtitle {
    margin-top: 10px;
    max-width: 640px;
    color: var(--text-muted);
}

.admin-tab-panels {
    min-width: 0;
}

.admin-tab-panel {
    display: none;
}

.admin-tab-panel.is-active {
    display: block;
}

.admin-row-active {
    background: rgba(255, 171, 0, 0.08);
}

.admin-row-active td {
    border-bottom-color: rgba(255, 171, 0, 0.2);
}

.html-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 2px solid #eee;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

.html-editor-toolbar button {
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    background: #f2f4f6;
    color: #263238;
    font-weight: 800;
    cursor: pointer;
}

.html-editor {
    min-height: 180px;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 0 0 12px 12px;
    outline: none;
    line-height: 1.6;
}

.html-editor:focus {
    border-color: #ffab00;
    background: #fff;
}

.html-editor-source {
    display: none;
}

.admin-editor-wide {
    grid-column: 1 / -1;
}

.news-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 16px;
}

.news-detail-card {
    overflow: hidden;
}

.news-detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    margin: 24px 0;
}

.news-detail-content {
    color: #39444d;
    font-size: 16px;
    line-height: 1.8;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 22px;
    margin: 14px 0;
}

/* Адаптивность */

/* 1200px: Уменьшаем отступы контейнера */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .nav-list { gap: 15px; }
    .logo a { font-size: 22px; }
}

/* 1024px: Компактное меню, уменьшаем шрифт */
@media (max-width: 1024px) {
    .container { max-width: 100%; padding: 0 20px; }
    .nav-link { font-size: 13px; }
    .btn { padding: 10px 18px; font-size: 13px; }
    .logo-img { height: 40px; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar-nav { position: static; min-height: auto; }
    .admin-workspace-header { flex-direction: column; }
}

/* 990px: Переход на мобильное меню (Бургер) */
.team-page {
    display: grid;
    gap: 28px;
}

.team-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 36px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 209, 102, 0.34), transparent 36%),
        linear-gradient(135deg, #17191d 0%, #23272f 58%, #2d3436 100%);
    color: #fff;
    box-shadow: 0 24px 46px rgba(23, 25, 29, 0.2);
}

.team-hero::after {
    content: '';
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.14);
    filter: blur(10px);
}

.team-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    max-width: 720px;
}

.team-hero h1 {
    font-size: 48px;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -1.4px;
}

.team-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.team-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.team-summary-card {
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.team-summary-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-summary-card strong {
    font-size: 28px;
    line-height: 1;
}

.team-groups {
    display: grid;
    gap: 22px;
}

.team-group {
    display: grid;
    gap: 20px;
    padding: 28px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
    box-shadow: 0 16px 34px rgba(29, 34, 44, 0.06);
}

.team-group-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.team-group-title {
    display: grid;
    gap: 10px;
}

.team-group-title h2 {
    font-size: 34px;
    line-height: 1;
}

.team-group-title p {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 17px;
}

.team-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #17191d;
    box-shadow: inset 0 0 0 1px rgba(23, 25, 29, 0.08);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.team-member-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 22px 20px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 250, 237, 0.98) 100%),
        linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 171, 0, 0.04));
    border: 1px solid rgba(255, 171, 0, 0.14);
    box-shadow: 0 16px 30px rgba(255, 171, 0, 0.08);
}

.team-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 193, 7, 0.18), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 32%, rgba(23, 25, 29, 0.03) 100%);
    pointer-events: none;
}

.team-member-body {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 12px;
}

.team-member-skin {
    width: 100%;
    max-width: 200px;
    height: 250px;
}

.team-member-name {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
}

.team-member-name span {
    color: #7e858c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.team-member-name strong {
    font-size: 28px;
    line-height: 1;
}

.team-empty-state {
    display: grid;
    gap: 12px;
    padding: 34px 30px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
    box-shadow: 0 14px 28px rgba(29, 34, 44, 0.05);
}

.team-empty-state p {
    color: var(--text-muted);
}

@media (max-width: 990px) {
    .header-container { height: 70px; }
    
    /* Скрываем обычное меню и кнопки действий (кроме бургера) */
    .nav {
        position: fixed;
        top: 70px; /* Высота хедера */
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        z-index: 99;
    }
    
    .nav.open { height: auto; padding-bottom: 20px; border-bottom: 1px solid #eee; }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 15px;
        font-size: 16px;
        border-bottom: 1px solid #f9f9f9;
    }
    .nav-link::after { display: none; } /* Убираем подчеркивание */

    /* Показываем бургер */
    .burger { 
        display: block; 
        z-index: 101; /* Поверх меню */
        position: relative;
    }
    
    /* Анимация бургера */
    .burger span { transition: 0.3s; }
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px) }
    
    /* Скрываем кнопки в хедере, их можно перенести в мобильное меню (опционально) */
    .header-actions .btn { display: none; }
    
    /* Добавляем кнопки в мобильное меню (через JS или CSS хак, но проще скрыть) */
    /* Для простоты оставим только навигацию в бургере */
}

/* 768px: Планшеты (вертикальные) */
@media (max-width: 768px) {
    .layout-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
    
    .slider-container { height: 500px; }
    .slide { flex-direction: column; padding: 30px 20px; text-align: center; justify-content: center; }
    
    .slide-content { order: 1; margin-bottom: 20px;         margin-top: 40px;}
    .slide-image { order: 2; width: 100%; height: 250px; }
    .skin-viewer { margin: 0 auto; transform: scale(0.9); }
    
    .slide-title { font-size: 36px; }
    .slide-desc { font-size: 15px; }
    
    .slider-dots { left: 50%; transform: translateX(-50%); bottom: 15px; }

    .account-balance-card {
        flex-direction: column;
        align-items: stretch;
    }

    .account-topup-btn {
        width: 100%;
    }

    .auth-section,
    .dashboard-card {
        padding: 28px 20px;
    }

    .admin-workspace {
        padding: 18px;
    }

    .admin-sidebar-nav {
        padding: 18px;
    }

    .auth-page-title {
        font-size: 30px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .dashboard-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dashboard-customization-panel {
        grid-template-columns: 1fr;
    }

    .dashboard-twofa-panel {
        padding: 24px;
    }

    .dashboard-twofa-head {
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-twofa-head p {
        max-width: none;
    }

    .dashboard-donate-head {
        flex-direction: column;
    }

    .dashboard-donate-modal-head,
    .dashboard-donate-modal-server,
    .dashboard-donate-benefit-row,
    .admin-donate-editor-grid,
    .admin-inline-card-kit-main {
        grid-template-columns: 1fr;
    }

    .dashboard-donate-showcase-grid,
    .dashboard-donate-kit-grid {
        grid-template-columns: 1fr;
    }

    .admin-donate-privilege-list,
    .admin-donate-server-button-grid,
    .dashboard-donate-feature-item {
        grid-template-columns: 1fr;
    }

    .dashboard-privilege-card {
        min-height: 280px;
        padding-bottom: 74px;
    }

    .dashboard-privilege-card strong {
        font-size: 32px;
    }

    .dashboard-donate-modal-user,
    .admin-donate-modal-head {
        display: grid;
    }

    .support-ticket-row {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .support-ticket-row .admin-badge,
    .support-ticket-user,
    .support-ticket-date {
        justify-self: start;
    }

    .support-ticket-detail-header {
        flex-direction: column;
    }

    .dashboard-skin-panel {
        min-height: 340px;
    }

    .dashboard-skin-viewer {
        transform: none;
    }

    .dashboard-profile-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .dashboard-profile-row strong {
        text-align: left;
    }

    .admin-stats-grid,
    .admin-two-column,
    .admin-three-column,
    .admin-grid-2,
    .admin-grid-4,
    .admin-meta-grid,
    .admin-inline-card-main,
    .admin-inline-card-menu,
    .admin-inline-card-monitoring-main,
    .admin-inline-card-social-main {
        grid-template-columns: 1fr;
    }

    .admin-inline-card {
        flex-direction: column;
    }

    .admin-inline-actions {
        align-items: stretch;
        min-width: auto;
    }

    .admin-donate-server-header,
    .admin-donate-card-header {
        flex-direction: column;
    }

    .admin-server-actions {
        justify-content: stretch;
    }

    .password-change-title {
        font-size: 26px;
    }
}

/* 500px: Мобильные телефоны */
@media (max-width: 500px) {
    .header-container { padding: 0 15px; }
    
    .logo a { font-size: 18px; }
    .logo-img { height: 32px; }
    
    .slide-title { font-size: 28px; }
    .slide-buttons .btn { width: 100%; margin-bottom: 10px; }
    
    /* Адаптация модального окна */
    .modal-window { padding: 30px 20px; width: 95%; }

    .dashboard-twofa-qr {
        width: 100%;
        min-height: auto;
    }

    .dashboard-twofa-qr canvas,
    .dashboard-twofa-qr img {
        width: min(184px, 100%);
        height: auto;
    }
}

.admin-donate-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-donate-list-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98), #fff);
    border: 1px solid rgba(255, 171, 0, 0.14);
    box-shadow: 0 14px 30px rgba(22, 25, 29, 0.05);
}

.admin-donate-list-card-head,
.admin-donate-list-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-donate-list-card-topline {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.admin-donate-list-title {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: lowercase;
}

.admin-donate-list-text {
    margin: 0;
    color: #5f656b;
    line-height: 1.55;
}

.admin-donate-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-kebab {
    position: relative;
}

.admin-kebab-summary {
    list-style: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    background: #fff;
    color: #2d3436;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(22, 25, 29, 0.06);
}

.admin-kebab-summary::-webkit-details-marker {
    display: none;
}

.admin-kebab[open] .admin-kebab-summary {
    border-color: rgba(255, 171, 0, 0.32);
    box-shadow: 0 16px 26px rgba(255, 171, 0, 0.14);
}

.admin-kebab-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
    box-shadow: 0 24px 40px rgba(22, 25, 29, 0.14);
    z-index: 6;
}

.admin-kebab-menu form {
    margin: 0;
}

.admin-kebab-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #2d3436;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.admin-kebab-link:hover {
    background: #fff7e7;
}

.admin-kebab-link-danger {
    color: #c54a3f;
}

.admin-donate-modal-xl {
    max-width: 1180px;
    width: min(1180px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.admin-donate-modal-head-stacked {
    display: grid;
    gap: 12px;
}

.admin-donate-modal-summary {
    display: grid;
    gap: 10px;
}

.admin-donate-global-form {
    gap: 0;
}

.admin-donate-server-sections {
    display: grid;
    gap: 20px;
}

.admin-donate-server-section {
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.98), #fff);
}

.admin-donate-server-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.admin-inline-actions-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
}

@media (max-width: 768px) {
    .admin-donate-toolbar,
    .admin-donate-list-card-head,
    .admin-donate-server-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-kebab {
        align-self: flex-end;
    }

    .admin-kebab-menu {
        left: auto;
        right: 0;
        min-width: 160px;
    }
}

.admin-donate-toolbar {
    align-items: center;
    padding: 8px 0 2px;
}

.admin-donate-toolbar .admin-panel-title {
    margin-bottom: 6px;
}

.admin-donate-toolbar .admin-muted {
    max-width: 760px;
    margin-top: 0;
    line-height: 1.6;
}

.admin-donate-privilege-list {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 22px;
}

.admin-donate-list-card {
    position: relative;
    overflow: hidden;
    gap: 18px;
    min-height: 280px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--privilege-color) 18%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 239, 0.98));
    border: 1px solid color-mix(in srgb, var(--privilege-color) 28%, rgba(45, 52, 54, 0.08));
    box-shadow: 0 24px 44px rgba(22, 25, 29, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.admin-donate-list-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--privilege-color) 82%, white), color-mix(in srgb, var(--privilege-color) 58%, #ffcf70));
}

.admin-donate-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 52px rgba(22, 25, 29, 0.1);
    border-color: color-mix(in srgb, var(--privilege-color) 44%, rgba(45, 52, 54, 0.08));
}

.admin-donate-list-card-head {
    align-items: flex-start;
}

.admin-donate-list-card-topline {
    padding-right: 56px;
}

.admin-donate-list-title {
    font-size: 34px;
    letter-spacing: -0.04em;
    color: #182028;
}

.admin-donate-list-text {
    max-width: 44ch;
    font-size: 15px;
}

.admin-donate-list-meta {
    gap: 10px;
}

.admin-kebab {
    position: absolute;
    top: 20px;
    right: 20px;
}

.admin-kebab-summary {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border-color: rgba(24, 32, 40, 0.06);
    background: rgba(255, 255, 255, 0.92);
}

.admin-kebab-summary::marker {
    content: '';
}

.admin-kebab-summary i {
    font-size: 16px;
}

.admin-kebab-menu {
    width: 190px;
    padding: 8px;
    border-radius: 18px;
}

.admin-kebab-link {
    min-height: 44px;
    border-radius: 12px;
}

.admin-donate-create-window {
    width: min(760px, calc(100vw - 40px));
    max-width: 760px;
}

.admin-donate-create-form {
    gap: 6px;
}

.admin-donate-modal-xl {
    display: grid;
    grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px;
}

.admin-donate-modal-xl .modal-close {
    z-index: 4;
}

.admin-donate-modal-xl .admin-donate-modal-head-stacked {
    position: sticky;
    top: 0;
    grid-column: 1;
    grid-row: 1;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 74, 0.22), transparent 34%),
        linear-gradient(180deg, #fff8e8, #fffdf8);
    border: 1px solid rgba(255, 171, 0, 0.12);
}

.admin-donate-modal-xl .admin-donate-global-form {
    position: sticky;
    top: 172px;
    grid-column: 1;
    grid-row: 2;
    padding: 22px;
    border-radius: 24px;
    box-shadow: none;
    background: linear-gradient(180deg, #ffffff, #fffdfa);
}

.admin-donate-modal-xl .admin-donate-global-form .admin-grid-2 {
    grid-template-columns: 1fr;
}

.admin-donate-server-sections {
    grid-column: 2;
    grid-row: 1 / span 2;
    gap: 18px;
}

.admin-donate-server-section {
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 171, 0, 0.12);
    box-shadow: 0 18px 34px rgba(22, 25, 29, 0.04);
}

.admin-donate-server-section-head {
    align-items: center;
    margin-bottom: 22px;
}

.admin-donate-server-section-head .admin-subtitle {
    margin-bottom: 6px;
    font-size: 28px;
}

.admin-donate-server-section-head .admin-muted {
    max-width: 54ch;
    line-height: 1.6;
}

.admin-donate-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-inline-card {
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 171, 0, 0.1);
    box-shadow: 0 12px 24px rgba(22, 25, 29, 0.04);
}

.admin-inline-card-main {
    gap: 14px;
}

.admin-inline-card-benefit .admin-inline-card-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 1fr) 110px;
}

.admin-inline-card-kit-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-inline-actions {
    justify-content: center;
}

.admin-inline-actions-row {
    justify-content: flex-start;
}

.admin-kit-preview img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(22, 25, 29, 0.12);
}

@media (max-width: 1200px) {
    .admin-donate-modal-xl {
        grid-template-columns: 1fr;
    }

    .admin-donate-modal-head-stacked,
    .admin-donate-global-form,
    .admin-donate-server-sections {
        position: static;
        top: auto;
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .admin-donate-privilege-list,
    .admin-donate-editor-grid,
    .admin-inline-card-benefit .admin-inline-card-main,
    .admin-inline-card-kit-main {
        grid-template-columns: 1fr;
    }

    .admin-donate-list-card {
        min-height: auto;
    }

    .admin-donate-list-title {
        font-size: 28px;
    }

    .admin-donate-modal-xl {
        padding: 22px;
    }

    .admin-donate-server-section-head .admin-subtitle {
        font-size: 24px;
    }
}

.dashboard-donate-modal-compact {
    width: min(760px, calc(100vw - 40px));
    max-width: 760px;
}

.admin-donate-modal-xl {
    max-width: 1440px;
    width: min(1440px, calc(100vw - 24px));
    grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
    gap: 28px;
    padding: 30px;
}

.admin-donate-modal-xl .admin-donate-global-form {
    top: 188px;
}

.admin-donate-server-sections {
    gap: 24px;
}

.admin-donate-editor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
}

.admin-donate-batch-form {
    display: grid;
    gap: 18px;
}

.admin-donate-batch-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-donate-batch-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-donate-batch-feedback {
    margin: 0;
}

.admin-donate-batch-list {
    display: grid;
    gap: 16px;
}

.admin-donate-batch-row {
    display: grid;
    gap: 16px;
}

.admin-donate-batch-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-checkbox-compact {
    margin: 0;
}

.admin-donate-batch-empty {
    margin: 0;
}

.admin-donate-editor-grid .admin-inline-card {
    flex-direction: column;
    align-items: stretch;
}

.admin-donate-editor-grid .admin-inline-card-main {
    width: 100%;
}

.admin-donate-editor-grid .admin-inline-actions {
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.admin-donate-editor-grid .admin-inline-card-benefit .admin-inline-card-main {
    grid-template-columns: minmax(280px, 1.8fr) minmax(240px, 1fr) 140px;
}

.admin-donate-editor-grid .admin-inline-card-kit-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-donate-editor-grid .admin-kit-preview {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .admin-donate-batch-head,
    .admin-donate-batch-row-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-donate-batch-toolbar {
        width: 100%;
    }

    .admin-donate-batch-toolbar .btn {
        width: 100%;
    }

    .admin-donate-editor-grid .admin-inline-card-benefit .admin-inline-card-main,
    .admin-donate-editor-grid .admin-inline-card-kit-main {
        grid-template-columns: 1fr;
    }
}

.dashboard-donate-showcase {
    display: grid;
    gap: 22px;
}

.dashboard-donate-server-table-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 171, 0, 0.12);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), #fff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dashboard-donate-server-table-head {
    margin-bottom: 14px;
}

.dashboard-donate-server-table-wrapper {
    overflow-x: auto;
}

.dashboard-donate-server-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.dashboard-donate-server-table th,
.dashboard-donate-server-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
    vertical-align: middle;
}

.dashboard-donate-server-table th {
    padding-top: 0;
    color: #6d7278;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-donate-server-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-donate-server-name {
    font-size: 18px;
    font-weight: 800;
    color: #1f2933;
}

.dashboard-status-badge {
    --status-color: #d9e2ec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--status-color) 18%, white);
    color: color-mix(in srgb, var(--status-color) 58%, #1f2933);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dashboard-donate-server-expiry {
    display: grid;
    gap: 4px;
}

.dashboard-donate-server-expiry strong {
    color: #1f2933;
    font-size: 15px;
}

.dashboard-donate-server-expiry span {
    color: #6d7278;
    font-size: 13px;
}

.dashboard-privilege-card {
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    min-height: 280px;
    padding: 24px;
}

.dashboard-privilege-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    align-content: start;
}

.dashboard-privilege-body strong {
    margin: 0;
}

.dashboard-privilege-body p {
    margin: 0;
}

.dashboard-privilege-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.dashboard-privilege-price {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 0;
    justify-self: auto;
    flex: 0 0 auto;
}

.dashboard-privilege-action {
    color: #6d7278;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-donate-modal-wide {
    width: min(760px, calc(100vw - 40px));
    max-width: 760px;
}

.admin-inline-card-promo {
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.admin-promo-code-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.admin-promo-code-value {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #1f2933;
}

@media (max-width: 768px) {
    .dashboard-donate-server-table-card {
        padding: 18px;
    }

    .dashboard-privilege-card {
        min-height: 240px;
        padding: 20px;
    }

    .dashboard-privilege-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-donate-modal-wide {
        width: min(100vw - 24px, 760px);
    }

    .admin-inline-card-promo {
        align-items: stretch;
    }
}

.admin-reward-layout {
    align-items: start;
}

.admin-reward-card {
    gap: 14px;
}

.dashboard-rewards-panel {
    display: grid;
    gap: 22px;
}

.dashboard-reward-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-reward-summary-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 171, 0, 0.12);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), #fff);
    box-shadow: 0 16px 32px rgba(22, 25, 29, 0.05);
}

.dashboard-reward-summary-card strong {
    color: #1f2933;
    font-size: 34px;
    font-weight: 900;
}

.dashboard-reward-summary-card span {
    color: #6d7278;
}

.dashboard-reward-summary-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-reward-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-reward-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 171, 0, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 193, 74, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98), #fff);
    box-shadow: 0 18px 36px rgba(22, 25, 29, 0.05);
}

.dashboard-reward-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-reward-card-head h4 {
    margin: 6px 0 0;
    color: #1f2933;
    font-size: 28px;
    line-height: 1.15;
}

.dashboard-reward-card-text,
.dashboard-reward-meta span,
.dashboard-reward-actions .admin-muted {
    color: #52606d;
    line-height: 1.6;
}

.dashboard-reward-meta {
    display: grid;
    gap: 8px;
}

.dashboard-reward-progress {
    position: relative;
    overflow: hidden;
    height: 12px;
    border-radius: 999px;
    background: rgba(217, 226, 236, 0.8);
}

.dashboard-reward-progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffb000, #ffd56a);
}

.dashboard-reward-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-vote-top-panel {
    display: grid;
    gap: 22px;
}

.dashboard-vote-hero,
.dashboard-vote-reward-card,
.dashboard-vote-sites-card,
.dashboard-vote-top-card,
.dashboard-vote-table-card {
    display: grid;
    gap: 20px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 199, 71, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.99), #fff);
    border: 1px solid rgba(255, 171, 0, 0.12);
    box-shadow: 0 18px 40px rgba(22, 25, 29, 0.05);
}

.dashboard-vote-hero {
    gap: 12px;
}

.dashboard-vote-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-vote-card-head h4 {
    margin: 6px 0 0;
    color: #1f2933;
    font-size: 28px;
    line-height: 1.15;
}

.dashboard-vote-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 176, 0, 0.12);
    color: #8b5e00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-vote-reward-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.dashboard-vote-reward-place {
    display: grid;
    gap: 8px;
    justify-items: center;
    width: min(100%, 168px);
    min-height: 122px;
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(180deg, #c8ec57, #a8d336);
    color: #fff;
    box-shadow: 0 18px 34px rgba(168, 211, 54, 0.35);
}

.dashboard-vote-reward-place strong {
    font-size: 22px;
    line-height: 1;
}

.dashboard-vote-reward-place span {
    font-size: 15px;
    font-weight: 700;
}

.dashboard-vote-support-grid {
    justify-content: flex-start;
}

.dashboard-vote-support-place {
    width: min(100%, 156px);
    min-height: 108px;
    padding: 20px 16px;
}

.dashboard-vote-support-place strong {
    font-size: 24px;
}

.dashboard-vote-prize-grid {
    max-width: 640px;
    margin: 0 auto;
}

.dashboard-vote-prize-grid .dashboard-vote-prize-place:nth-child(4) {
    margin-left: 92px;
}

.dashboard-vote-prize-grid .dashboard-vote-prize-place:nth-child(5) {
    margin-right: 92px;
}

.dashboard-vote-sites-copy {
    margin: 0;
    color: #6d7278;
    line-height: 1.75;
}

.dashboard-vote-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.dashboard-vote-site-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 16px;
    padding: 18px 18px;
    border-radius: 24px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.96), rgba(251, 248, 240, 0.98));
    border: 1px solid rgba(255, 181, 35, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-vote-site-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(22, 25, 29, 0.08);
    border-color: rgba(255, 181, 35, 0.24);
}

.dashboard-vote-site-logo {
    width: 100%;
    min-height: 64px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.dashboard-vote-site-logo img {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.dashboard-vote-site-link {
    color: #1f2933;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-vote-site-link:hover {
    color: #d58a00;
}

.dashboard-vote-site-status {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    background: #eef3ff;
    color: #8ea3d8;
}

.dashboard-vote-site-item.is-voted .dashboard-vote-site-status {
    background: rgba(181, 223, 67, 0.18);
    color: #6e9d12;
}

.dashboard-vote-site-item.is-pending .dashboard-vote-site-status {
    background: rgba(214, 223, 239, 0.7);
    color: #9fb0d2;
}

.dashboard-vote-site-meta {
    display: grid;
    gap: 6px;
}

.dashboard-vote-site-bonus {
    color: #7b8087;
    line-height: 1.5;
}

.dashboard-vote-site-bonus {
    font-size: 14px;
    font-weight: 700;
}

.dashboard-vote-position-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 26px 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 228, 145, 0.34), transparent 16%),
        linear-gradient(135deg, #f7a600, #ffd219);
    color: #fff;
    box-shadow: 0 18px 36px rgba(247, 166, 0, 0.3);
}

.dashboard-vote-position-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 26%, transparent 27% 43%, rgba(255, 255, 255, 0.14) 44% 58%, transparent 59% 100%),
        rgba(255, 255, 255, 0.08);
    font-size: 24px;
}

.dashboard-vote-position-copy {
    display: grid;
    gap: 8px;
}

.dashboard-vote-position-copy strong {
    font-size: 34px;
    line-height: 1.05;
}

.dashboard-vote-position-copy span {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
}

.dashboard-vote-podium {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.dashboard-vote-podium-item {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 18px;
    width: min(100%, 210px);
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.94), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(255, 171, 0, 0.1);
}

.dashboard-vote-podium-item strong {
    color: #1f2933;
    font-size: 22px;
    line-height: 1.05;
}

.dashboard-vote-podium-item span {
    color: #6d7278;
    line-height: 1.45;
}

.dashboard-vote-podium-rank {
    font-size: 14px;
    font-weight: 800;
    color: #52606d;
}

.dashboard-vote-avatar {
    width: 148px;
    height: 148px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 36px rgba(22, 25, 29, 0.14);
    background: linear-gradient(135deg, #ffcf72, #ff9f68);
    display: grid;
    place-items: center;
}

.dashboard-vote-avatar img {
    width: 82px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(10px 12px 10px rgba(22, 25, 29, 0.18));
}

.dashboard-vote-podium-item.rank-2 .dashboard-vote-avatar {
    background: linear-gradient(135deg, #d7d7dc, #8c8f98);
}

.dashboard-vote-podium-item.rank-3 .dashboard-vote-avatar {
    background: linear-gradient(135deg, #e4c5b4, #b6846f);
}

.dashboard-vote-podium-item.rank-4 .dashboard-vote-avatar {
    background: linear-gradient(135deg, #b79f85, #d9b4a0);
}

.dashboard-vote-podium-item.rank-5 .dashboard-vote-avatar {
    background: linear-gradient(135deg, #bba8b6, #6a4350);
}

.dashboard-vote-table-wrapper {
    overflow-x: auto;
}

.dashboard-vote-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.dashboard-vote-table th,
.dashboard-vote-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
}

.dashboard-vote-table th {
    color: #1f2933;
    font-size: 15px;
    font-weight: 800;
}

.dashboard-vote-table td {
    color: #52606d;
}

.dashboard-vote-table tbody tr.is-current-user {
    background: rgba(255, 176, 0, 0.08);
}

.dashboard-vote-table-player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-vote-table-player img {
    width: 34px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
    flex: 0 0 34px;
}

@media (max-width: 1100px) {
    .dashboard-vote-prize-grid .dashboard-vote-prize-place:nth-child(4),
    .dashboard-vote-prize-grid .dashboard-vote-prize-place:nth-child(5) {
        margin: 0;
    }
}

@media (max-width: 900px) {
    .dashboard-reward-summary-grid,
    .dashboard-reward-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-reward-actions,
    .dashboard-reward-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-vote-card-head {
        flex-direction: column;
    }

    .dashboard-vote-position-card {
        grid-template-columns: 1fr;
    }

    .dashboard-vote-position-copy strong,
    .dashboard-vote-card-head h4 {
        font-size: 26px;
    }

    .dashboard-vote-site-item {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .dashboard-vote-site-meta {
        justify-items: center;
    }

    .dashboard-vote-site-item,
    .dashboard-vote-reward-place,
    .dashboard-vote-podium-item {
        width: 100%;
    }

    .dashboard-vote-avatar {
        width: 126px;
        height: 126px;
    }
}

/* Header navigation refresh */
.nav-list {
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 171, 0, 0.12);
    color: var(--text-main);
    cursor: pointer;
    transition: 0.2s ease;
}

.nav-dropdown-toggle:hover {
    background: rgba(255, 171, 0, 0.22);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 220px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(29, 34, 44, 0.12);
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(16px);
    z-index: 120;
}

.nav-dropdown-link {
    display: block;
    padding: 11px 14px;
    border-radius: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: rgba(255, 171, 0, 0.1);
    color: #d48a00;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav-actions {
    display: none;
}

/* Servers directory */
.servers-directory,
.server-page {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.servers-directory-hero {
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 7, 0.24), transparent 30%),
        linear-gradient(135deg, #fdfaf1 0%, #ffffff 55%, #f8fbff 100%);
    margin-bottom: 24px;
}

.servers-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.server-directory-card {
    position: relative;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 221, 128, 0.35), transparent 28%),
        linear-gradient(135deg, #45a7ff 0%, #4577f8 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(69, 119, 248, 0.18);
    overflow: hidden;
}

.server-directory-card h2 {
    font-size: 34px;
    line-height: 1;
    margin: 14px 0 12px;
}

.server-directory-card p {
    max-width: 420px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.server-directory-card .btn {
    align-self: flex-start;
    margin-top: 22px;
}

.server-directory-card .btn-primary {
    color: #23374d;
    background: linear-gradient(135deg, #d7ea25 0%, #b7da23 100%);
}

.server-directory-card-top,
.server-directory-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.server-directory-meta {
    flex-wrap: wrap;
    margin-top: 18px;
}

.server-directory-meta span,
.server-directory-card-top strong {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.server-directory-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.server-directory-status-online {
    background: rgba(69, 202, 120, 0.18);
    color: #2ca15e;
}

.server-directory-status-offline,
.server-directory-status-unknown {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.server-directory-empty {
    padding: 28px;
    border: 1px dashed rgba(45, 52, 54, 0.15);
    border-radius: 24px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.72);
}

/* Server page */
.server-page-hero {
    padding: 36px;
    border-radius: 30px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(72, 162, 255, 0.94), rgba(55, 103, 255, 0.82)),
        linear-gradient(135deg, #48a2ff 0%, #3767ff 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 26px 48px rgba(52, 109, 255, 0.18);
}

.server-page-hero h1 {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
}

.server-page-hero p {
    max-width: 860px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
}

.server-page-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.server-page-stat-card,
.server-page-play-btn {
    min-height: 94px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3436;
    box-shadow: 0 16px 32px rgba(21, 39, 92, 0.08);
}

.server-page-stat-card span {
    display: block;
    margin-bottom: 6px;
    color: #5e6974;
}

.server-page-stat-card strong {
    font-size: 28px;
    line-height: 1.1;
}

.server-page-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(135deg, #d8e91e 0%, #bbd81d 100%);
    color: #fff;
}

.server-page-body {
    padding-top: 28px;
}

.server-page-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.server-page-section-head h2 {
    font-size: 36px;
}

.server-page-online {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-page-online strong {
    font-size: 24px;
}

.server-page-mods {
    display: grid;
    gap: 18px;
}

.server-page-mod-card {
    padding: 24px 26px;
    border-radius: 26px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    background: #fff;
}

.server-page-mod-main {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 18px;
    align-items: center;
}

.server-page-mod-icon {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    background: #f7f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #7f8c8d;
    font-weight: 800;
}

.server-page-mod-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.server-page-mod-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.server-page-mod-content p {
    color: var(--text-muted);
    font-size: 16px;
}

.server-page-mod-link {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 171, 0, 0.1);
    color: #d48a00;
    font-size: 18px;
}

.server-page-addons {
    margin-top: 18px;
}

.server-page-addons h4 {
    margin-bottom: 12px;
    font-size: 20px;
}

.server-page-addon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.server-page-addon-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 16px;
    border-radius: 18px;
    border: 1px solid rgba(45, 52, 54, 0.1);
    background: #fff;
    font-weight: 700;
    color: var(--text-main);
}

.server-page-addon-chip img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}

/* Admin monitoring */
.admin-monitoring-stack {
    gap: 22px;
}

.admin-monitoring-server-card {
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 28px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(29, 34, 44, 0.06);
}

.admin-monitoring-server-head,
.admin-monitoring-server-title-row,
.admin-monitoring-subsection-head,
.admin-monitoring-mod-head,
.admin-monitoring-addon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-monitoring-server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.admin-monitoring-server-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 22px;
    margin-top: 22px;
}

.admin-monitoring-column {
    display: grid;
    gap: 18px;
}

.admin-monitoring-subsection {
    padding: 18px;
    border-radius: 22px;
    background: #fbfcfe;
    border: 1px solid rgba(45, 52, 54, 0.06);
}

.admin-monitoring-subsection h4,
.admin-monitoring-subsection h5 {
    margin-bottom: 14px;
}

.admin-monitoring-page-preview {
    margin-bottom: 16px;
    min-height: 170px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf4ff, #fff4df);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-monitoring-page-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.admin-monitoring-page-placeholder {
    padding: 20px;
    color: var(--text-muted);
    font-weight: 700;
}

.admin-monitoring-mod-list {
    display: grid;
    gap: 18px;
}

.admin-monitoring-mod-card,
.admin-monitoring-mod-create,
.admin-monitoring-addon-form {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
}

.admin-monitoring-mod-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-monitoring-mod-title img,
.admin-monitoring-mod-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 16px;
    background: #f6f8fa;
}

.admin-monitoring-mod-icon-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-monitoring-addon-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.admin-monitoring-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 24px 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 207, 112, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 251, 243, 0.96), #ffffff);
}

.admin-monitoring-toolbar-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    align-items: end;
    gap: 16px;
    margin: 0;
}

.admin-monitoring-refresh-form {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.admin-monitoring-list {
    display: grid;
    gap: 16px;
}

.admin-monitoring-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(29, 34, 44, 0.05);
}

.admin-monitoring-list-card-main {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.admin-monitoring-list-card-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-monitoring-list-card-top h4 {
    margin: 0;
}

.admin-monitoring-list-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-monitoring-modal {
    width: min(1180px, 96vw);
    max-width: min(1180px, 96vw);
    max-height: calc(100vh - 48px);
    padding: 34px;
    overflow-y: auto;
}

.admin-monitoring-modal-form,
.admin-monitoring-mods-modal {
    display: grid;
    gap: 20px;
}

.admin-monitoring-modal-grid {
    display: grid;
    gap: 18px;
    padding-right: 6px;
}

.admin-monitoring-bulk-list,
.admin-monitoring-modal-mod-list {
    display: grid;
    gap: 16px;
}

.admin-monitoring-bulk-row,
.admin-monitoring-modal-mod {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
}

.admin-monitoring-bulk-remove {
    margin-top: 12px;
}

.admin-monitoring-modal-mod {
    padding: 0;
    overflow: hidden;
}

.admin-monitoring-mods-modal .modal-title,
.admin-monitoring-modal .modal-title {
    margin-bottom: 24px;
    text-align: left;
    padding-right: 44px;
}

.admin-monitoring-list-head {
    margin-bottom: 20px;
}

.admin-monitoring-create-shell,
.admin-monitoring-server-card,
.admin-monitoring-mod-card,
.admin-monitoring-section-toggle {
    padding: 0;
    overflow: hidden;
}

.admin-monitoring-create-shell summary,
.admin-monitoring-server-summary,
.admin-monitoring-section-summary,
.admin-monitoring-mod-summary {
    list-style: none;
    cursor: pointer;
}

.admin-monitoring-create-shell summary::-webkit-details-marker,
.admin-monitoring-server-summary::-webkit-details-marker,
.admin-monitoring-section-summary::-webkit-details-marker,
.admin-monitoring-mod-summary::-webkit-details-marker {
    display: none;
}

.admin-monitoring-create-summary,
.admin-monitoring-server-summary,
.admin-monitoring-section-summary,
.admin-monitoring-mod-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
}

.admin-monitoring-create-summary strong,
.admin-monitoring-section-summary strong {
    display: block;
    color: var(--text-main);
}

.admin-monitoring-create-summary span,
.admin-monitoring-section-summary span,
.admin-monitoring-summary-hint,
.admin-monitoring-mod-summary-text span {
    color: var(--text-muted);
    font-size: 14px;
}

.admin-monitoring-create-body,
.admin-monitoring-server-body {
    padding: 0 24px 24px;
}

.admin-monitoring-create-shell[open] .admin-monitoring-create-summary,
.admin-monitoring-server-card[open] .admin-monitoring-server-summary,
.admin-monitoring-section-toggle[open] .admin-monitoring-section-summary,
.admin-monitoring-mod-card[open] .admin-monitoring-mod-summary {
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
}

.admin-monitoring-summary-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-monitoring-summary-top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-monitoring-summary-top h4,
.admin-monitoring-mod-summary-text strong {
    margin: 0;
}

.admin-monitoring-summary-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.admin-monitoring-summary-caret {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--text-main);
    border-bottom: 2px solid var(--text-main);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.admin-monitoring-create-shell[open] .admin-monitoring-summary-caret,
.admin-monitoring-server-card[open] > .admin-monitoring-server-summary .admin-monitoring-summary-caret,
.admin-monitoring-section-toggle[open] > .admin-monitoring-section-summary .admin-monitoring-summary-caret,
.admin-monitoring-mod-card[open] > .admin-monitoring-mod-summary .admin-monitoring-summary-caret {
    transform: rotate(-135deg);
}

.admin-monitoring-section-summary {
    padding: 16px 18px;
}

.admin-monitoring-section-body {
    padding: 18px;
    border-top: 1px solid rgba(45, 52, 54, 0.06);
}

.admin-monitoring-mod-summary {
    padding: 16px 18px;
}

.admin-monitoring-mod-body {
    padding: 18px;
    border-top: 1px solid rgba(45, 52, 54, 0.06);
}

.admin-monitoring-mod-summary-text {
    display: grid;
    gap: 4px;
}

@media (max-width: 1100px) {
    .server-page-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-page-play-btn {
        grid-column: span 2;
    }

    .admin-monitoring-server-grid {
        grid-template-columns: 1fr;
    }

    .admin-monitoring-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-monitoring-toolbar-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 990px) {
    .nav-item-main {
        width: 100%;
        justify-content: center;
    }

    .nav-dropdown-toggle {
        width: 38px;
        height: 38px;
        margin-right: 12px;
    }

    .nav-item-dropdown .nav-dropdown-menu {
        position: static;
        min-width: 100%;
        margin: 0 14px 10px;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        display: none;
        border: 1px solid rgba(45, 52, 54, 0.06);
    }

    .nav-item-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-link {
        text-align: center;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 18px 14px 6px;
    }

    .header-actions .btn,
    .header-actions .logout-form {
        display: none;
    }

    .servers-directory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .servers-directory,
    .server-page {
        padding: 18px;
        border-radius: 24px;
    }

    .servers-directory-hero,
    .server-page-hero {
        padding: 24px;
    }

    .server-page-hero h1 {
        font-size: 38px;
    }

    .server-page-stats,
    .admin-grid-3 {
        grid-template-columns: 1fr;
    }

    .server-page-play-btn {
        grid-column: auto;
    }

    .server-page-section-head,
    .admin-monitoring-server-head,
    .admin-monitoring-mod-head,
    .admin-monitoring-addon-head,
    .admin-monitoring-create-summary,
    .admin-monitoring-server-summary,
    .admin-monitoring-section-summary,
    .admin-monitoring-mod-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .server-page-mod-main {
        grid-template-columns: 1fr;
    }

    .admin-monitoring-list-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-monitoring-list-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-monitoring-modal {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 24px 18px;
    }

    .admin-monitoring-summary-actions {
        margin-left: 0;
    }

    .admin-monitoring-create-body,
    .admin-monitoring-server-body,
    .admin-monitoring-section-body,
    .admin-monitoring-mod-body {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Public navigation and server pages refresh */
.nav-item-dropdown {
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-dropdown-menu {
    top: calc(100% + 8px);
}

.server-page-hero {
    position: relative;
    overflow: hidden;
}

.server-page-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px;
}

.server-page-stat-card {
    flex: 1 1 170px;
    min-width: 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.server-page-stat-card strong {
    font-size: clamp(18px, 2.1vw, 28px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.server-page-play-btn {
    flex: 0 0 170px;
    min-width: 170px;
    min-height: 120px;
}

.server-page-online {
    flex-wrap: wrap;
}

.start-page,
.download-page {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.start-page {
    display: grid;
    gap: 22px;
}

.start-page-head {
    display: grid;
    gap: 14px;
}

.start-page-head h1,
.download-page-head h1 {
    font-size: 46px;
    line-height: 1.05;
}

.start-page-head p,
.download-page-head p {
    max-width: 900px;
    color: var(--text-muted);
    font-size: 18px;
}

.start-page-server-chip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.1), rgba(72, 162, 255, 0.1));
    width: fit-content;
}

.start-page-server-chip span {
    color: #6d7278;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.start-page-server-chip strong {
    font-size: 18px;
}

.start-page-steps {
    display: grid;
    gap: 16px;
}

.start-step-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: start;
    padding: 28px;
    border-radius: 24px;
    background: #f7f9fc;
    border: 1px solid rgba(45, 52, 54, 0.05);
}

.start-step-number {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #c6df35 0%, #a5ce24 100%);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(165, 206, 36, 0.28);
}

.start-step-content {
    display: grid;
    gap: 12px;
}

.start-step-content h3 {
    font-size: 30px;
    line-height: 1.1;
}

.start-step-content p {
    color: var(--text-muted);
    font-size: 18px;
}

.start-step-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 18px;
    width: fit-content;
    background: linear-gradient(135deg, #c6df35 0%, #a5ce24 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 18px 32px rgba(165, 206, 36, 0.24);
}

.download-page {
    display: grid;
    gap: 24px;
}

.download-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.1);
    box-shadow: 0 14px 28px rgba(29, 34, 44, 0.05);
}

.download-card.is-available:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(29, 34, 44, 0.08);
}

.download-card.is-disabled {
    opacity: 0.72;
}

.download-card-content {
    display: grid;
    gap: 2px;
}

.download-card-content span {
    color: #6d7278;
    font-size: 18px;
}

.download-card-content strong {
    font-size: 42px;
    line-height: 1;
}

.download-card-icon {
    font-size: 60px;
    color: #17191d;
}

.download-page-note p {
    font-size: 20px;
    color: #3b4652;
}

.download-page-benefits {
    display: grid;
    gap: 14px;
}

.download-benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f7f9fc;
    color: #3b4652;
    font-size: 18px;
}

.download-benefit-card i {
    color: #9bc321;
    font-size: 24px;
}

.admin-launcher-downloads {
    display: grid;
    gap: 18px;
}

.admin-launcher-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    background: #fbfcfe;
    border: 1px solid rgba(45, 52, 54, 0.08);
}

.admin-launcher-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 990px) {
    .nav {
        position: fixed;
        top: 82px;
        left: 12px;
        right: 12px;
        width: auto;
        height: auto;
        max-height: calc(100vh - 96px);
        overflow: auto;
        padding: 0;
        border: 1px solid rgba(45, 52, 54, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 48px rgba(29, 34, 44, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 150;
    }

    .nav.open {
        padding: 10px 0 18px;
        border-bottom: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        padding: 6px 0;
    }

    .nav-list li {
        text-align: left;
    }

    .nav-item-main {
        width: 100%;
        justify-content: space-between;
        padding: 0 14px;
    }

    .nav-link {
        padding: 16px 4px;
        font-size: 15px;
        border-bottom: none;
    }

    .nav-item-dropdown .nav-dropdown-menu {
        margin: 0 14px 10px;
        border-radius: 18px;
        background: #f7f9fc;
    }

    .mobile-nav-actions {
        padding: 16px 14px 6px;
    }

    .mobile-nav-actions .btn,
    .mobile-nav-actions .logout-form,
    .mobile-nav-actions .logout-form .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .server-page-hero h1,
    .start-page-head h1,
    .download-page-head h1 {
        font-size: 34px;
    }

    .server-page-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .server-page-play-btn {
        min-width: 0;
    }

    .start-page,
    .download-page {
        padding: 22px 18px;
    }

    .start-step-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .start-step-content h3 {
        font-size: 24px;
    }

    .start-step-content p,
    .download-benefit-card,
    .download-page-note p,
    .start-page-head p,
    .download-page-head p {
        font-size: 16px;
    }

    .start-step-button {
        width: 100%;
        font-size: 20px;
    }

    .download-page-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 22px 20px;
    }

    .download-card-content strong {
        font-size: 34px;
    }

    .download-card-icon {
        font-size: 46px;
    }

    .admin-launcher-card-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 990px) {
    .team-hero {
        padding: 30px 24px;
    }

    .team-hero h1 {
        font-size: 40px;
    }

    .team-group {
        padding: 24px 20px;
    }
}
@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 32px;
    }

    .team-hero p,
    .team-group-title p {
        font-size: 16px;
    }

    .team-group-head {
        flex-direction: column;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-member-card {
        min-height: 0;
    }
}
