/* ========== КЛАНЫ ========== */
#tab-clan.active {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.clan-content {
    padding: 8px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ========== СЕКЦИЯ "НЕТ КЛАНА" ========== */
.no-clan-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.no-clan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 12px;
    margin-bottom: 12px;
}

.no-clan-icon {
    font-size: 2em;
}

.no-clan-title {
    font-weight: 600;
    font-size: 1.1em;
}

.no-clan-subtitle {
    color: #666;
    font-size: 0.85em;
}

.no-clan-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.no-clan-actions .play-btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
}

.suggested-section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.suggested-section .section-title {
    font-weight: 600;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.suggested-clans-list {
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 8px;
}

.suggested-clans-list::-webkit-scrollbar {
    width: 6px;
}

.suggested-clans-list::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.suggested-clans-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.suggested-clan-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.suggested-clan-card:hover {
    transform: translateX(3px);
}

.suggested-clan-emblem {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    flex-shrink: 0;
}

.suggested-clan-info {
    flex: 1;
    min-width: 0;
}

.suggested-clan-name {
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggested-clan-stats {
    display: flex;
    gap: 10px;
    font-size: 0.75em;
    color: #666;
}

.suggested-join-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8em;
    cursor: pointer;
    flex-shrink: 0;
}

.suggested-join-btn:hover {
    transform: scale(1.05);
}

.suggested-join-btn:disabled,
.suggested-join-btn.locked {
    opacity: 0.6;
    cursor: pointer;
    background: #999;
}

.no-suggested {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 0.9em;
}

/* Старые стили для совместимости */
.clan-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.clan-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 12px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.clan-header-top {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.clan-emblem {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    border: 2px solid #667eea;
    flex-shrink: 0;
}

.clan-header-top h2 {
    margin: 0;
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.clan-stats {
    display: flex;
    gap: 10px;
    color: #666;
    font-size: 0.75em;
    flex-wrap: wrap;
}

.clan-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.clan-tab-btn {
    padding: 6px 12px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tab-timer {
    font-size: 0.85em;
    color: #667eea;
    font-weight: bold;
}

.clan-tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.clan-tab-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.clan-tab {
    display: none;
}

.clan-tab.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.my-clan {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ========== УЧАСТНИКИ КЛАНА ========== */
.clan-members {
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 8px;
}

.clan-members::-webkit-scrollbar {
    width: 8px;
}

.clan-members::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}

.clan-members::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

.clan-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 6px;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.member-frame {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-image: url('/images/photo.png');
    background-size: cover;
    background-position: center;
    border: 2px solid #666;
    flex-shrink: 0;
}

.leader-badge {
    font-size: 1em;
}

.member-stats {
    display: flex;
    gap: 10px;
    color: #666;
    font-size: 0.8em;
}

.leader-badge {
    font-size: 1em;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.kick-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    flex-shrink: 0;
    width: 24px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 0.75em;
}

/* Стили ников перенесены в customization.css */
.member-info .player-name-styled {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85em;
}

/* Мобильные стили для участников */
@media (max-width: 400px) {
    .clan-member {
        padding: 6px 8px;
        flex-wrap: wrap;
        position: relative;
    }
    
    .member-frame {
        width: 22px;
        height: 22px;
    }
    
    .member-info {
        gap: 5px;
        flex: 1;
        min-width: 60px;
        order: 1;
    }
    
    .member-name {
        font-size: 0.75em;
        max-width: 70px;
    }
    
    .member-stats {
        font-size: 0.7em;
        gap: 6px;
        width: 100%;
        justify-content: flex-start;
        margin-top: 4px;
        order: 10;
    }
    
    .kick-btn,
    .leader-badge {
        position: absolute;
        top: 4px;
        right: 4px;
        width: auto;
        order: 0;
    }
    
    .kick-btn {
        padding: 2px 5px;
        font-size: 0.6em;
    }
    
    .leader-badge {
        font-size: 0.85em;
    }
}

@media (max-width: 320px) {
    .member-name {
        max-width: 55px;
        font-size: 0.7em;
    }
    
    .member-stats {
        font-size: 0.65em;
        gap: 4px;
    }
}

/* ========== МИССИИ КЛАНА (квадратные карточки) ========== */
.clan-missions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 4px;
    padding-right: 8px;
}

.clan-missions::-webkit-scrollbar {
    width: 8px;
}

.clan-missions::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}

.clan-missions::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

.clan-mission {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
    aspect-ratio: 1;
    justify-content: center;
}

.clan-mission:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.clan-mission.completed {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
}

.mission-check {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon {
    font-size: 1.6em;
    line-height: 1;
}

.mission-name {
    font-weight: 600;
    font-size: 0.65em;
    line-height: 1.1;
    color: #333;
}

.mission-desc {
    font-size: 0.55em;
    color: #666;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mission-progress-num {
    font-size: 0.6em;
    color: #667eea;
    font-weight: 600;
}

.mission-reward {
    font-size: 0.7em;
    color: #667eea;
    font-weight: bold;
    margin-top: auto;
    padding-top: 2px;
}

.no-missions {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    padding: 20px;
}

/* ========== DESKTOP МИССИИ ========== */
@media (min-width: 500px) {
    .clan-missions {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 8px;
    }
    
    .clan-mission {
        padding: 10px 8px;
    }
    
    .mission-icon {
        font-size: 2em;
    }
    
    .mission-name {
        font-size: 0.75em;
    }
    
    .mission-desc {
        font-size: 0.65em;
    }
    
    .mission-progress-num {
        font-size: 0.7em;
    }
    
    .mission-reward {
        font-size: 0.8em;
    }
    
    .mission-check {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

@media (min-width: 650px) {
    .clan-mission {
        aspect-ratio: auto;
    }
    
    .mission-reward {
        margin-top: 4px;
    }
}

@media (min-width: 900px) {
    .clan-missions {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    
    .clan-mission {
        padding: 12px 10px;
    }
    
    .mission-icon {
        font-size: 2.2em;
    }
    
    .mission-name {
        font-size: 0.8em;
    }
    
    .mission-desc {
        font-size: 0.7em;
    }
    
    .mission-progress-num {
        font-size: 0.75em;
    }
    
    .mission-reward {
        font-size: 0.9em;
    }
}

/* ========== РАЗДЕЛ ВКЛАДА ========== */
#clan-tab-donate.active {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.donate-header {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.donate-stats {
    display: flex;
    gap: 10px;
    font-size: 0.8em;
    flex-wrap: wrap;
}

.contribute-form {
    display: flex;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.contribute-form input {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9em;
    min-width: 60px;
}

.contribute-form .play-btn {
    padding: 8px 12px;
    font-size: 0.85em;
}

/* ========== УРОВНИ ВКЛАДА ========== */
.contribution-levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.contribution-level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 2px;
    background: #f8f9fa;
    border-radius: 6px;
    opacity: 0.5;
    gap: 0;
    min-height: 0;
}

.contribution-level-item.reached {
    opacity: 1;
    background: #d4edda;
}

.contribution-level-item.current {
    opacity: 1;
    background: linear-gradient(135deg, #667eea30, #764ba230);
    border: 2px solid #667eea;
}

.level-number {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    line-height: 1;
}

.level-req {
    color: #666;
    font-size: 0.6em;
    line-height: 1.2;
}

.level-bonus {
    color: #667eea;
    font-weight: 600;
    font-size: 0.6em;
    line-height: 1.2;
}

/* Респонсив для уровней вклада */
@media (max-width: 500px) {
    .contribution-levels {
        gap: 3px;
    }
    
    .contribution-level-item {
        padding: 3px 1px;
    }
    
    .level-number {
        font-size: 1em;
    }
    
    .level-req, .level-bonus {
        font-size: 0.55em;
    }
}

@media (max-width: 350px) {
    .donate-stats {
        font-size: 0.7em;
    }
    
    .contribute-form input {
        padding: 6px 8px;
        font-size: 0.85em;
    }
    
    .contribute-form .play-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* ========== ЛИДЕРБОРД КЛАНОВ ========== */
.clan-leaderboard-item, .clan-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.clan-position {
    font-weight: bold;
    color: #667eea;
    width: 30px;
}

.clan-name {
    flex: 1;
    font-weight: 500;
}

.join-clan-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.join-clan-btn:hover {
    transform: scale(1.05);
}

/* ========== НАСТРОЙКИ КЛАНА ========== */
#clan-tab-settings.active {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 15px;
}

.clan-settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.settings-row > span:first-child {
    font-weight: 500;
    font-size: 0.85em;
    color: #555;
    min-width: 70px;
}

.settings-row input[type="number"] {
    width: 80px;
    padding: 6px 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-btn.small {
    padding: 6px 12px;
    font-size: 0.8em;
}

.play-btn.danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    margin-top: auto;
}

.play-btn.danger.small {
    align-self: flex-start;
}

/* ========== СЕЛЕКТОРЫ ЭМБЛЕМ И РАМОК ========== */
.emblem-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.emblem-option {
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid #ddd;
}

.emblem-option:hover {
    transform: scale(1.1);
    border-color: #aaa;
}

.emblem-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea20, #764ba220);
}

.frame-color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.frame-color-option {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.frame-color-option:hover {
    transform: scale(1.15);
}

.frame-color-option.selected {
    border-color: #333;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

/* Респонсив для настроек */
@media (max-width: 400px) {
    .settings-row > span:first-child {
        min-width: 55px;
        font-size: 0.8em;
    }
    
    .emblem-option {
        width: 28px;
        height: 28px;
        font-size: 1em;
    }
    
    .frame-color-option {
        width: 22px;
        height: 22px;
    }
}

/* Старые стили рекомендуемых кланов (совместимость) */
.suggested-clan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.clan-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clan-emblem-medium {
    font-size: 2em;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e9ecef;
    border-radius: 10px;
}

.clan-emblem-small {
    font-size: 1.2em;
}

.clan-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.clan-stats-mini {
    font-size: 0.85em;
    color: #666;
}

.min-rating {
    font-size: 0.8em;
    color: #dc3545;
}

.no-clans {
    text-align: center;
    color: #999;
    padding: 30px;
}

/* ========== ТАЙМЕР МИССИЙ ========== */
.missions-timer {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 8px;
    margin-bottom: 15px;
}

.missions-timer b {
    color: #667eea;
    font-size: 1.1em;
}

/* ========== ПРЕВЬЮ КЛАНА (новый стиль) ========== */
.clan-preview-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
}

.clan-preview-layout {
    display: flex;
    gap: 20px;
}

.clan-preview-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clan-preview-right {
    width: 220px;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 350px;
}

.clan-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.clan-preview-emblem {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 3px solid #667eea;
    flex-shrink: 0;
}

.clan-preview-info h2 {
    margin: 0;
    font-size: 1.1em;
}

.clan-preview-rank {
    color: #666;
    font-size: 0.85em;
}

.clan-preview-stats {
    display: flex;
    gap: 8px;
}

.clan-stat {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 8px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.clan-stat .stat-icon {
    font-size: 1.2em;
}

.clan-stat .stat-value {
    font-size: 0.9em;
    font-weight: bold;
}

.clan-preview-note {
    text-align: center;
    color: #999;
    font-size: 0.85em;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Список участников клана в превью */
.clan-members-list {
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 6px;
}

.clan-members-list::-webkit-scrollbar {
    width: 5px;
}

.clan-members-list::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.clan-members-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.clan-member-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.clan-member-item:hover {
    transform: translateX(2px);
}

.clan-member-item.leader {
    background: linear-gradient(135deg, #FFD70030, #FFA50020);
}

.leader-crown {
    font-size: 0.9em;
    flex-shrink: 0;
}

.member-frame {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-image: url('/images/photo.png');
    background-size: cover;
    background-position: center;
    border: 2px solid #666;
    flex-shrink: 0;
}

.member-frame.frame-default { border-color: #666; }
.member-frame.frame-bronze { border-color: #CD7F32; }
.member-frame.frame-silver { border-color: #C0C0C0; }
.member-frame.frame-gold { border-color: #FFD700; }
.member-frame.frame-platinum { border-color: #E5E4E2; }
.member-frame.frame-diamond { border-color: #B9F2FF; box-shadow: 0 0 4px #B9F2FF; }

/* Заменено на player-name-styled */
.clan-member-item .player-name-styled {
    flex: 1;
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-pts {
    font-size: 0.7em;
    color: #666;
}

/* Мобильная версия превью клана */
@media (max-width: 600px) {
    .clan-preview-layout {
        flex-direction: column;
        gap: 12px;
    }
    
    .clan-preview-right {
        width: 100%;
        max-height: 200px;
    }
    
    .clan-preview-modal {
        max-height: 95vh;
        overflow-y: scroll;
        padding: 15px;
        padding-right: 10px;
    }
    
    .clan-preview-modal::-webkit-scrollbar {
        width: 6px;
    }
    
    .clan-preview-modal::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 3px;
    }
    
    .clan-preview-modal::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 3px;
    }
}

@media (max-width: 350px) {
    .clan-preview-modal {
        padding: 10px;
    }
    
    .clan-preview-emblem {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
    }
    
    .clan-preview-stats {
        gap: 4px;
    }
    
    .clan-stat {
        padding: 6px 4px;
    }
    
    .clan-stat .stat-icon {
        font-size: 1em;
    }
    
    .clan-stat .stat-value {
        font-size: 0.8em;
    }
}

/* Старые стили для совместимости */
.preview-member {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 5px;
}

.preview-member.leader {
    background: linear-gradient(135deg, #ffd70020, #ffa50020);
    border: 1px solid #ffd700;
}

.member-name {
    flex: 1;
}

.member-rating {
    color: #666;
    margin-right: 10px;
}

.more-members {
    text-align: center;
    color: #999;
    padding: 10px;
    font-style: italic;
}

.clan-preview-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}

/* Кликабельные элементы */
.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.clickable:hover {
    background: #e9ecef !important;
}

.clan-leaderboard-item.clickable:hover {
    transform: translateX(5px);
}
