.club-h2h-page {
    --club-h2h-gold: #f0c545;
    --club-h2h-navy: #162b6f;
    --club-h2h-bg: #07111f;
    --club-h2h-panel: #0b1728;
    --club-h2h-panel-soft: #101d31;
    --club-h2h-line: rgba(255, 255, 255, 0.08);
    --club-h2h-muted: #9eabc0;

    width: 100%;
    color: #ffffff;
}

.club-h2h-page *,
.club-h2h-page *::before,
.club-h2h-page *::after {
    box-sizing: border-box;
}

.club-h2h-heading {
    min-height: 68px;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    background: var(--club-h2h-navy);
    border-bottom: 3px solid var(--club-h2h-gold);
}

.club-h2h-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.club-h2h-heading span {
    color: var(--club-h2h-gold);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.club-h2h-content {
    padding: 14px;
    background: var(--club-h2h-bg);
}

.club-h2h-picker {
    min-height: 86px;
    padding: 12px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 132px;
    align-items: end;
    gap: 10px;

    background: var(--club-h2h-panel);
    border: 1px solid var(--club-h2h-line);
    border-top: 3px solid var(--club-h2h-gold);
}

.club-h2h-picker__field {
    min-width: 0;
}

.club-h2h-picker__field label {
    margin: 0 0 7px;
    display: block;
    color: var(--club-h2h-muted);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.club-h2h-picker__field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;

    background: #081321;
    border: 1px solid #29405c;
    border-radius: 0;
    color: #ffffff;

    font: inherit;
    font-size: 13px;
    font-weight: 800;
    outline: 0;
}

.club-h2h-picker__field input:focus {
    border-color: var(--club-h2h-gold);
}

.club-h2h-picker__versus {
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--club-h2h-gold);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.club-h2h-button {
    height: 44px;
    padding: 0 16px;

    background: var(--club-h2h-gold);
    border: 1px solid var(--club-h2h-gold);
    border-radius: 0;
    color: #07111f;

    font: inherit;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.club-h2h-button:hover,
.club-h2h-button:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
}

.club-h2h-error,
.club-h2h-empty {
    min-height: 96px;
    margin-top: 10px;
    padding: 20px;

    display: grid;
    place-items: center;

    background: var(--club-h2h-panel);
    border: 1px solid var(--club-h2h-line);
    color: #c5cfdb;

    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
}

.club-h2h-error {
    border-top: 3px solid #d76069;
    color: #ffd6da;
}

.club-h2h-empty--result {
    min-height: 82px;
}

.club-h2h-scoreboard {
    margin-top: 10px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    gap: 10px;
}

.club-h2h-scoreboard__club,
.club-h2h-scoreboard__middle {
    min-height: 236px;
    padding: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--club-h2h-panel);
    border: 1px solid var(--club-h2h-line);
    text-align: center;
}

.club-h2h-scoreboard__club {
    border-top: 3px solid var(--club-h2h-gold);
}

.club-h2h-scoreboard__club img {
    width: 76px;
    height: 76px;
    margin: 0 0 10px;
    display: block;
    object-fit: contain;
}

.club-h2h-scoreboard__club > span {
    color: var(--club-h2h-muted);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-h2h-scoreboard__club h2 {
    width: 100%;
    margin: 8px 0 12px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.club-h2h-scoreboard__club > strong {
    color: var(--club-h2h-gold);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.club-h2h-scoreboard__club > small {
    margin-top: 6px;
    color: var(--club-h2h-muted);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.club-h2h-scoreboard__middle {
    min-height: 236px;
    background: #06101c;
}

.club-h2h-scoreboard__middle > strong {
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
}

.club-h2h-scoreboard__middle > span {
    margin-top: 8px;
    color: var(--club-h2h-gold);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-h2h-scoreboard__middle > div {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid var(--club-h2h-line);
    color: var(--club-h2h-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.club-h2h-comparison {
    margin-top: 10px;
    background: var(--club-h2h-panel);
    border: 1px solid var(--club-h2h-line);
    overflow: hidden;
}

.club-h2h-comparison__row {
    min-height: 48px;
    padding: 0 14px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    align-items: center;
    gap: 12px;

    border-bottom: 1px solid var(--club-h2h-line);
}

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

.club-h2h-comparison__row > strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
}

.club-h2h-comparison__row > span {
    color: var(--club-h2h-muted);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.club-h2h-comparison__row--heading {
    min-height: 56px;
    background: var(--club-h2h-panel-soft);
    border-top: 3px solid var(--club-h2h-gold);
}

.club-h2h-comparison__row--heading > strong {
    color: var(--club-h2h-gold);
    font-size: 12px;
}

.club-h2h-panel {
    margin-top: 10px;
    background: var(--club-h2h-panel);
    border: 1px solid var(--club-h2h-line);
    overflow: hidden;
}

.club-h2h-panel__heading {
    min-height: 62px;
    padding: 11px 13px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    background: var(--club-h2h-panel-soft);
    border-top: 3px solid var(--club-h2h-gold);
    border-bottom: 1px solid var(--club-h2h-line);
}

.club-h2h-panel__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.club-h2h-panel__heading span {
    color: #8491a5;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.club-h2h-match-list {
    padding: 8px;
    display: grid;
    gap: 6px;
}

.club-h2h-match {
    min-height: 78px;
    padding: 8px 10px;

    display: grid;
    grid-template-columns: 164px minmax(0, 1fr) 82px minmax(0, 1fr);
    align-items: center;
    gap: 10px;

    background: #0d1a2c;
    border: 1px solid var(--club-h2h-line);
    color: inherit;
    text-decoration: none;
}

.club-h2h-match[href]:hover,
.club-h2h-match[href]:focus-visible {
    background: #112139;
    border-color: rgba(240, 197, 69, 0.55);
    outline: 0;
}

.club-h2h-match__meta {
    min-width: 0;
}

.club-h2h-match__meta strong,
.club-h2h-match__meta span {
    display: block;
}

.club-h2h-match__meta strong {
    color: var(--club-h2h-gold);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.club-h2h-match__meta span {
    margin-top: 5px;
    color: #8290a4;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.club-h2h-match__meta .club-h2h-match__view {
    color: #ffffff;
}

.club-h2h-match__club {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.club-h2h-match__club--first {
    justify-content: flex-end;
    text-align: right;
}

.club-h2h-match__club img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: block;
    object-fit: contain;
}

.club-h2h-match__club div {
    min-width: 0;
}

.club-h2h-match__club strong,
.club-h2h-match__club span {
    display: block;
}

.club-h2h-match__club strong {
    color: #ffffff;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.club-h2h-match__club span {
    margin-top: 5px;
    color: #718096;
    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-h2h-match__score {
    text-align: center;
}

.club-h2h-match__score > strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.club-h2h-match__score > strong span {
    margin: 0 4px;
    color: #718096;
}

.club-h2h-match__score small {
    width: 27px;
    height: 19px;
    margin: 7px auto 0;

    display: grid;
    place-items: center;

    background: #27354a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
}

.club-h2h-match__score small.is-w {
    background: #153d28;
    border-color: #2d7a4d;
    color: #9cf3bc;
}

.club-h2h-match__score small.is-d {
    background: #3b3218;
    border-color: #776428;
    color: #ffe394;
}

.club-h2h-match__score small.is-l {
    background: #3d1e25;
    border-color: #7a3842;
    color: #ffb1ba;
}
