.finances-summary {
    width: 100%;
    color: #ffffff;
}

.finances-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #294384;
    background: #101a37;
}

.finances-summary__head h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.1;
}

.finances-summary__head p {
    margin: 5px 0 0;
    color: #b9c1d8;
    font-size: 12px;
}

.finances-summary__refresh {
    flex: 0 0 auto;
    min-width: 94px;
    padding: 9px 14px;
    border: 1px solid #f0c545;
    background: #162b6f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.finances-summary__refresh:hover,
.finances-summary__refresh:focus {
    background: #1d388d;
    color: #f0c545;
}

.finances-summary__overall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 1px solid #294384;
    background: #0e1730;
}

.finances-summary__overall span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.finances-summary__overall strong {
    color: #f0c545;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.finances-summary__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.finances-league {
    min-width: 0;
    border: 1px solid #294384;
    background: #0b1226;
}

.finances-league__head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 10px 12px;
    border-bottom: 2px solid #f0c545;
    background: #162b6f;
}

.finances-league__head img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.finances-league__head h2 {
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.finances-league__head p {
    margin: 5px 0 0;
    color: #c5cce0;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.finances-league__head p strong {
    color: #f0c545;
}

.finances-league__clubs {
    padding: 7px 8px;
}

.finances-club {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 39px;
    padding: 5px 4px;
    border-bottom: 1px solid #1d2a4c;
}

.finances-club:last-child {
    border-bottom: 0;
}

.finances-club__identity {
    display: grid;
    grid-template-columns: 23px 29px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-width: 0;
}

.finances-club__rank {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 1px solid #30446f;
    color: #aeb8d1;
    font-size: 10px;
    font-weight: 800;
}

.finances-club__identity img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.finances-club__name {
    overflow: hidden;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.finances-club__amount {
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.finances-club__amount.is-positive {
    color: #72d89b;
}

.finances-club__amount.is-warning {
    color: #f0c545;
}

.finances-club__amount.is-negative {
    color: #ff9f9f;
}

.finances-summary__error {
    padding: 18px;
    border: 1px solid #7d3841;
    background: #2b151a;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
}