/* Корневой независимый блок */
.club-top-block {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f5f5f5;
    padding: 0;
    box-sizing: border-box;
}

.club-top-inner {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 15px;
    padding: 15px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;

    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* ЛОГО */
.club-top-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 70px;
}
.club-top-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* КНОПКИ */
.club-top-actions {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 12px;

    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
}
.club-top-actions::-webkit-scrollbar { height: 0; }

/* Модульная кнопка */
.club-top-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;
    background: #ffffff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;

    border-radius: 10px;
    transition: background 0.25s;
}
.club-top-btn:hover {
    background: #3e8e41;
}

/* Глобальные переменные для кнопок — МОЖНО менять одной строкой */
:root {
    --club-btn-border-color: #000;  /* цвет обводки */
    --club-btn-border-width: 2px;   /* толщина линии */
}

.club-top-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;
    background: #ffffff;
    color: #000; /* текст чёрный */

    text-decoration: none;
    font-weight: 600;

    border-radius: 10px;

    /* ▲ Новая внешняя обводка кнопки (регулируется переменными) */
    border: var(--club-btn-border-width) solid var(--club-btn-border-color);

    /* ▼ Лёгкая внутренняя тень, чтобы выглядело аккуратно (можно удалить) */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);

    transition: all 0.25s ease;
}




.ios-btn {
    background: #fff;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    
    /* iOS Shadow */
    box-shadow:
        0 2px 4px rgba(0,0,0,0.08),   /* лёгкая короткая тень */
        0 8px 20px rgba(0,0,0,0.12); /* мягкая глубокая тень */
    
    transition: all 0.25s ease;
}

.ios-btn:active {
    transform: scale(0.97);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.10),
        0 4px 12px rgba(0,0,0,0.16);
}


/* Ховер — инверсия */
.club-top-btn:hover {
    background: var(--club-btn-border-color);
    color: #fff;
    box-shadow: none;
}




/* ПОЛЬЗОВАТЕЛЬ */
.club-top-user {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Аватар */
.club-top-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

/* Ник */
.club-top-username {
    font-size: 17px;
    font-weight: 600;
}

/* Настройки */
.club-top-settings {
    font-size: 26px;
    text-decoration: none;
    color: #333;
}

/* Мобильный */
@media (max-width: 700px){
    .club-top-logo {
        width: 120px;
        height: 55px;
    }

    .club-top-avatar {
        width: 48px;
        height: 48px;
    }

    .club-top-settings {
        font-size: 22px;
    }

    .club-top-actions {
        gap: 8px;
        overflow-x: auto;
    }
}
