.finance-hub {
    width: 100%;
    padding: 24px 20px 36px;
    color: #ffffff;
}

.finance-hub * {
    box-sizing: border-box;
}

.finance-hub-heading {
    min-height: 76px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #0b1728;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 5px 5px 0 0;
}

.finance-hub-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.finance-hub-heading p {
    margin: 8px 0 0;
    color: #9eabc0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.finance-hub-content {
    padding: 16px;
    background: #07111f;
    border-radius: 0 0 5px 5px;
}

.finance-hub-errors {
    margin-bottom: 10px;
    padding: 12px 13px;
    background: #3c1d26;
    border: 1px solid rgba(242, 121, 143, 0.3);
    border-radius: 4px;
    color: #f2798f;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
}

.finance-hub-errors p {
    margin: 0;
}

.finance-hub-errors p + p {
    margin-top: 6px;
}

.finance-hub-section {
    margin-bottom: 14px;
    background: #0b1728;
    border-radius: 4px;
    overflow: hidden;
}

.finance-hub-section:last-child {
    margin-bottom: 0;
}

.finance-hub-section__heading {
    min-height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #101d31;
    border-top: 3px solid var(--ffo-gold, #f0c545);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.finance-hub-section__heading--split {
    justify-content: space-between;
}

.finance-hub-section__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.finance-hub-section__heading a {
    color: var(--ffo-gold, #f0c545);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.finance-hub-section__heading a:hover,
.finance-hub-section__heading a:focus-visible {
    color: #ffffff;
    outline: none;
}

.finance-ranking-grid {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.finance-ranking-card {
    min-width: 0;
    background: #0d1a2c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
}

.finance-ranking-card__head {
    min-height: 54px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #101d31;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.finance-ranking-card__head span {
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.finance-ranking-card__head strong {
    flex: 0 0 auto;
    color: var(--ffo-gold, #f0c545);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.finance-ranking-card__rows {
    padding: 8px;
}

.finance-ranking-row {
    min-height: 78px;
    padding: 8px;
    display: grid;
    grid-template-columns: 30px 42px minmax(0, 1fr);
    grid-template-areas:
        "rank badge club"
        "rank badge value";
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 9px;
    row-gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.finance-ranking-row:last-child {
    border-bottom: 0;
}

.finance-ranking-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.018);
}

.finance-ranking-row__rank {
    grid-area: rank;
    color: #708198;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.finance-ranking-row__badge,
.finance-ranking-row__placeholder-badge {
    grid-area: badge;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.finance-ranking-row__badge img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.finance-ranking-row__badge > span {
    color: #9eabc0;
    font-size: 11px;
    font-weight: 900;
}

.finance-ranking-row__placeholder-badge {
    border: 1px solid rgba(240, 197, 69, 0.35);
    color: var(--ffo-gold, #f0c545);
    font-size: 17px;
    font-weight: 900;
}

.finance-ranking-row__club {
    grid-area: club;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
    align-self: end;
}

.finance-ranking-row__value {
    grid-area: value;
    color: var(--ffo-gold, #f0c545);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-align: left;
    white-space: nowrap;
    align-self: start;
}

.finance-ranking-row--placeholder .finance-ranking-row__club {
    color: #9eabc0;
}

.finance-ranking-row--placeholder .finance-ranking-row__value {
    color: #708198;
    font-size: 8px;
}

.finance-ranking-empty {
    min-height: 198px;
    display: grid;
    place-items: center;
    color: #708198;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.finance-transfers {
    width: 100%;
    overflow: hidden;
}

.finance-transfers__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.finance-transfers__table th,
.finance-transfers__table td {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
}

.finance-transfers__table th:last-child,
.finance-transfers__table td:last-child {
    border-right: 0;
}

.finance-transfers__table thead th {
    height: 46px;
    padding: 8px 10px;
    background: #0d1a2c;
    color: #9eabc0;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.finance-transfers__table tbody td {
    height: 54px;
    padding: 8px 10px;
    color: #b9c4d3;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
}

.finance-transfers__table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.018);
}

.finance-transfers__table tbody tr:hover {
    background: #101d31;
}

.finance-transfers__date-col {
    width: 92px;
}

.finance-transfers__player-col {
    width: 170px;
}

.finance-transfers__club-col {
    width: 225px;
}

.finance-transfers__arrow-col {
    width: 28px;
}

.finance-transfers__deal-col {
    width: 125px;
}

.finance-transfers__date {
    color: #708198 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.finance-transfers__player {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.finance-transfers__arrow {
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: var(--ffo-gold, #f0c545) !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    text-align: center;
}

.finance-transfers__deal {
    color: var(--ffo-gold, #f0c545) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-align: right;
    white-space: nowrap;
}

.finance-club-cell {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.finance-club-cell img {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
}

.finance-club-cell span {
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.finance-club-cell > span:only-child {
    grid-column: 1 / -1;
    overflow: visible;
    text-overflow: clip;
}

.finance-transfers__empty {
    padding: 24px;
    color: #9eabc0;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.finance-tools {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.finance-tool {
    min-width: 0;
    min-height: 72px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #0d1a2c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    text-decoration: none;
}

.finance-tool:hover,
.finance-tool:focus-visible {
    background: #14243b;
    border-color: rgba(240, 197, 69, 0.5);
    outline: none;
}

.finance-tool__copy {
    min-width: 0;
}

.finance-tool__copy strong,
.finance-tool__copy small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.finance-tool__copy strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.finance-tool__copy small {
    margin-top: 6px;
    color: #708198;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.finance-tool__arrow {
    flex: 0 0 auto;
    color: var(--ffo-gold, #f0c545);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}