.match-modern-page, .match-modern-page * {
    box-sizing: border-box;
}

.match-modern-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.match-modern-page {
    --blue: #1D4289;
    --blue-dark: #16356f;
    --blue-deep: #102d61;
    --ink: #10243b;
    --muted: #647287;
    --border: rgba(18,54,96,.14);
    --soft: #f3f6fa;
    --green: #23845d;
    --red: #b94747;
    min-width: 0;
    padding: clamp(.8rem,2vw,1.35rem) 0 3rem;
    overflow-x: hidden;
    background: linear-gradient(180deg,#f4f7fb 0,#fff 35rem);
}

.match-modern-shell {
    width: 100%;
    max-width: 84rem;
    min-width: 0;
    margin: 0 auto;
    padding-inline: clamp(1rem,3vw,2rem);
}

.match-modern-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    background: var(--blue);
    box-shadow: 0 1.2rem 3.2rem rgba(29,66,137,.25);
    color: #fff;
    isolation: isolate;
}

.match-modern-hero:before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(115deg,#1d4289,#102d61);
    content: "";
}

.match-modern-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.match-modern-hero.has-image:after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,rgba(15,42,90,.96) 0%,rgba(15,42,90,.83) 44%,rgba(15,42,90,.62) 100%);
    content: "";
    pointer-events: none;
}

.match-modern-hero__top,
.match-modern-scoreboard,
.match-modern-hero__facts {
    position: relative;
    z-index: 2;
}

.match-modern-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem,3vw,1.5rem);
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.match-modern-hero__meta {
    display: flex;
    flex-wrap: wrap;
    color: rgba(255,255,255,.78);
    font-size: .73rem;
    font-weight: 750;
}

.match-modern-hero__meta strong {
    color: #fff;
}

.match-modern-scoreboard {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(8rem,.6fr) minmax(0,1fr);
    align-items: center;
    gap: clamp(.8rem,3vw,2rem);
    padding: clamp(1.5rem,4vw,2.6rem);
}

.match-modern-team {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: clamp(.7rem,2vw,1.1rem);
    min-width: 0;
}

.match-modern-team--away {
    grid-template-columns: minmax(0,1fr) auto;
    text-align: right;
}

.match-modern-team__logo {
    position: relative;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
    isolation: isolate;
}

.match-modern-team__logo img {
    transform-origin: center;
}

.match-modern-team__name {
    min-width: 0;
}

.match-modern-team__name small {
    display: block;
    margin-bottom: .3rem;
    color: rgba(255,255,255,.62);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.match-modern-team__name a, .match-modern-team__name strong {
    display: block;
    color: #fff !important;
    font-size: clamp(1.05rem,2.6vw,1.65rem);
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.match-modern-team__scorers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .18rem .38rem;
    margin-top: .46rem;
    color: rgba(255,255,255,.78);
    font-size: .67rem;
    font-weight: 760;
    line-height: 1.35;
}

.match-modern-team--away .match-modern-team__scorers {
    justify-content: flex-end;
}

.match-modern-team__scorer {
    display: inline-flex;
    min-width: 0;
    align-items: baseline;
    gap: .2rem;
}

.match-modern-team__scorer:not(:last-child):after {
    margin-left: .18rem;
    color: rgba(255,255,255,.42);
    content: "·";
}

.match-modern-team__scorer-name {
    min-width: 0;
}

.match-modern-team__scorer-name-full {
    display: inline;
}

.match-modern-team__scorer-name-short {
    display: none;
}

.match-modern-team__scorers a {
    display: inline !important;
    color: rgba(255,255,255,.92) !important;
    font-size: inherit !important;
    font-weight: 850 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    overflow-wrap: normal !important;
}

.match-modern-team__scorer-detail {
    color: rgba(255,255,255,.62);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (hover:hover) and (pointer:fine) {
    .match-modern-team__scorers a:hover {
        color: #fff !important;
        text-decoration: underline !important;
        text-underline-offset: .16rem;
    }
}

.match-modern-score {
    text-align: center;
}

.match-modern-score strong {
    display: block;
    color: #fff;
    font-family: "Francois One","Arial Narrow",sans-serif;
    font-size: clamp(3rem,8vw,5.6rem);
    font-weight: 400;
    letter-spacing: .03em;
    line-height: .9;
    white-space: nowrap;
}

.match-modern-score span {
    display: block;
    margin-top: .45rem;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
    font-weight: 750;
}

.match-modern-hero__facts {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.14);
    background: rgba(5,24,55,.2);
}

.match-modern-hero__facts.has-weather {
    grid-template-columns: repeat(7,minmax(0,1fr));
}

.match-modern-hero__fact {
    min-width: 0;
    border-left: 1px solid rgba(255,255,255,.1);
}

.match-modern-hero__fact:first-child {
    border-left: 0;
}

.match-modern-hero__fact span {
    display: block;
    color: rgba(255,255,255,.6);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.match-modern-hero__fact strong, .match-modern-hero__fact a {
    display: block;
    min-width: 0;
    overflow: visible;
    color: #fff !important;
    line-height: 1.3;
    text-decoration: none;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.match-modern-section {
    margin-top: clamp(1.2rem,3vw,2rem);
}

.match-modern-panel {
    min-width: 0;
    padding: clamp(1rem,2.4vw,1.4rem);
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 .8rem 2.2rem rgba(16,36,59,.07);
}

.match-modern-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.match-modern-panel__header h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.2rem,2.7vw,1.7rem);
    line-height: 1.2;
}

.match-modern-panel__header p {
    margin: .3rem 0 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.45;
}

.match-modern-view-toggle {
    display: flex;
    flex: 0 0 auto;
    padding: .18rem;
    border: 1px solid var(--border);
    border-radius: .7rem;
    background: #eef3f8;
}

.match-modern-page button.match-modern-view-button {
    appearance: none !important;
    min-height: 2.1rem !important;
    margin: 0 !important;
    padding: .4rem .62rem !important;
    border: 0 !important;
    border-radius: .55rem !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--muted) !important;
    font: inherit !important;
    font-size: .7rem !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.match-modern-page button.match-modern-view-button[aria-pressed="true"] {
    background: #fff !important;
    color: var(--blue) !important;
    box-shadow: 0 .2rem .5rem rgba(16,36,59,.1) !important;
}

/* Grundformen för planen och spelarna ligger i lineup-pitch.css. */
.match-modern-pitch {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 46rem;
    margin: 0 !important;
    padding: 2.3rem 1rem 1.5rem;
    float: none !important;
    clear: both;
}

.match-modern-pitch__row--goalkeeper {
    grid-template-columns: minmax(0,1fr);
    min-height: 4.5rem;
}

.match-modern-player__events {
    display: flex;
    justify-content: center;
    gap: .16rem;
    min-height: .8rem;
    margin-top: .2rem;
}

.match-modern-player__event {
    display: inline-grid;
    min-width: 1rem;
    height: 1rem;
    place-items: center;
    border-radius: .25rem;
    background: rgba(255,255,255,.9);
    color: #10243b;
    font-size: .55rem;
    font-weight: 900;
}

.match-modern-player__event--yellow {
    background: #f3d346;
}

.match-modern-player__event--red {
    background: #c54444;
    color: #fff;
}

.match-modern-player__event--homegrown {
    background: #dcebf9;
    color: var(--blue);
}

.match-modern-lineup-list {
    display: none;
}

.match-modern-lineup-list__row {
    display: grid;
    align-items: center;
    padding: .65rem 0;
    border-top: 1px solid var(--border);
}

.match-modern-lineup-list__row:first-child {
    border-top: 0;
}

.match-modern-lineup-list__number {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: .65rem;
    background: #e7eff9;
    color: var(--blue);
    font-weight: 900;
}

.match-modern-lineup-list__name a {
    color: var(--ink) !important;
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
}

.match-modern-lineup-list__name small {
    display: block;
    margin-top: .12rem;
    color: var(--muted);
    font-size: .67rem;
}

.match-modern-lineup-list__events {
    color: var(--muted);
    font-size: .68rem;
    text-align: right;
}

.match-modern-squad {
    display: grid;
    gap: .85rem;
}

.match-modern-squad__group {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #fff;
}

.match-modern-squad__group h3 {
    margin: 0 0 .5rem;
    color: var(--ink);
    font-size: .9rem;
    line-height: 1.3;
}

.match-modern-squad-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.match-modern-squad-list li {
    display: grid;
    grid-template-columns: 2rem minmax(0,1fr) auto;
    align-items: center;
    gap: .55rem;
    padding: .55rem 0;
    border-top: 1px solid rgba(18,54,96,.09);
}

.match-modern-squad-list li:first-child {
    border-top: 0;
}

.match-modern-squad-list__number {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    border-radius: .55rem;
    background: #edf3fa;
    color: var(--blue);
    font-size: .7rem;
    font-weight: 900;
}

.match-modern-squad-list__name {
    min-width: 0;
}

.match-modern-squad-list__name a, .match-modern-squad-list__name strong {
    display: block;
    overflow: hidden;
    color: var(--ink) !important;
    font-size: .75rem;
    font-weight: 850;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-modern-squad-list__name small {
    display: block;
    margin-top: .1rem;
    color: var(--muted);
    font-size: .82rem;
}

.match-modern-squad-list__status {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 750;
    text-align: right;
}

.match-modern-media {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    grid-auto-rows: 8.1rem;
    gap: .55rem;
}

.match-modern-page button.match-modern-media__item {
    appearance: none !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: .78rem !important;
    background: #e8edf4 !important;
    box-shadow: none !important;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: zoom-in !important;
    transition: border-color .18s ease,transform .18s ease !important;
}

.match-modern-page button.match-modern-media__item:first-child {
    grid-column: span 3;
    grid-row: span 2;
}

.match-modern-media__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    transition: transform .22s ease;
}

.match-modern-media__item--announcement img, .match-modern-media__item--venue img {
    padding: .45rem;
    object-fit: contain !important;
}

.match-modern-media__caption {
    position: absolute;
    right: .4rem;
    bottom: .4rem;
    left: .4rem;
    padding: .45rem .55rem;
    border-radius: .52rem;
    background: rgba(8,28,58,.8);
    color: #fff;
    font-size: .62rem;
    line-height: 1.35;
    text-align: left;
    backdrop-filter: blur(6px);
}

@media (hover:hover) and (pointer:fine) {
    .match-modern-page button.match-modern-media__item:hover {
        border-color: rgba(29,66,137,.55) !important;
        transform: translateY(-.1rem);
    }
    .match-modern-media__item:hover img {
        transform: scale(1.025);
    }
}

.match-modern-note {
    padding: 1rem;
    border-left: .3rem solid var(--blue);
    border-radius: .75rem;
    background: #edf3fb;
    color: #34465b;
    font-size: .82rem;
    line-height: 1.65;
}

.match-modern-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(4,16,35,.9);
    backdrop-filter: blur(5px);
}

.match-modern-lightbox[hidden] {
    display: none !important;
}

.match-modern-lightbox__dialog {
    position: relative;
    width: min(74rem,100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.5rem 5rem rgba(0,0,0,.45);
}

.match-modern-lightbox__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
}

.match-modern-lightbox__top strong {
    color: var(--ink);
    font-size: .8rem;
}

.match-modern-page button.match-modern-lightbox__close {
    appearance: none !important;
    display: grid !important;
    width: 2.3rem !important;
    height: 2.3rem !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e8eef6 !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    font: inherit !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
}

.match-modern-lightbox__image {
    display: block !important;
    width: 100% !important;
    height: min(76vh,52rem) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1rem !important;
    object-fit: contain !important;
    background: #e7edf4;
}

body.match-modern-lightbox-open {
    overflow: hidden;
}

@media (min-width:68.01rem) {
    .match-modern-pitch {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4/5;
    }
}

@media (max-width:68rem) {
    .match-modern-hero__facts, .match-modern-hero__facts.has-weather {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .match-modern-hero__fact:nth-child(4) {
        border-left: 0;
    }
    .match-modern-squad {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .match-modern-pitch {
        min-height: 43rem;
    }
}

@media (max-width:47.99rem) {
    .match-modern-page {
        padding-top: .75rem;
    }
    .match-modern-hero__top {
        align-items: flex-start;
        flex-direction: column;
    }
    .match-modern-scoreboard {
        grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
        gap: .45rem;
        padding: 1.2rem .8rem;
    }
    .match-modern-team {
        display: flex;
        flex-direction: column;
        gap: .45rem;
        text-align: center;
    }
    .match-modern-team--away {
        flex-direction: column-reverse;
        text-align: center;
    }
    .match-modern-team__logo {
        border-radius: .95rem;
    }
    .match-modern-team__name small {
        display: none;
    }
    .match-modern-team__name a, .match-modern-team__name strong {
        font-size: .78rem;
    }
    .match-modern-team__scorers,
    .match-modern-team--away .match-modern-team__scorers {
        justify-content: center;
        margin-top: .32rem;
        font-size: .56rem;
        line-height: 1.28;
    }

    .match-modern-team__scorer {
        gap: .14rem;
    }

    .match-modern-team__scorer-name-full {
        display: none;
    }

    .match-modern-team__scorer-name-short {
        display: inline;
    }
    .match-modern-score strong {
        font-size: 2.75rem;
    }
    .match-modern-score span {
        font-size: .6rem;
    }
    .match-modern-hero__fact:nth-child(odd) {
        border-left: 0;
    }
    .match-modern-squad {
        grid-template-columns: minmax(0,1fr);
    }
    .match-modern-pitch {
        min-height: 39rem;
        padding-right: .35rem;
        padding-left: .35rem;
    }
    .match-modern-pitch__row {
        gap: .15rem;
    }
    .match-modern-player__shirt {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: .7rem .7rem .85rem .85rem;
        font-size: .85rem;
    }
    .match-modern-player__shirt:before, .match-modern-player__shirt:after {
        width: .55rem;
        height: .9rem;
    }
    .match-modern-player__shirt:before {
        left: -.38rem;
    }
    .match-modern-player__shirt:after {
        right: -.38rem;
    }
    .match-modern-player__name {
        padding: .22rem .28rem;
        font-size: .54rem;
    }
    .match-modern-media {
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-auto-rows: 5.4rem;
    }
    .match-modern-page button.match-modern-media__item:first-child {
        grid-column: 1/-1;
        grid-row: span 2;
    }
}

@media (max-width:25rem) {
    .match-modern-scoreboard {
        padding-inline: .45rem;
    }
    .match-modern-team__logo {
        width: 3.5rem;
        height: 3.5rem;
    }
    .match-modern-team__name a, .match-modern-team__name strong {
        font-size: .7rem;
    }
    .match-modern-score strong {
        font-size: 2.3rem;
    }
    .match-modern-pitch {
        min-height: 36rem;
    }
    .match-modern-player__name {
        font-size: .49rem;
    }
}

@media (hover:hover) and (pointer:fine) {
    .match-modern-player:hover .match-modern-player__shirt {
        transform: translateY(-.15rem);
        box-shadow: 0 .55rem 1rem rgba(0,0,0,.3);
    }
    .match-modern-player__shirt {
        transition: transform .18s ease,box-shadow .18s ease;
    }
}

@media (prefers-reduced-motion:reduce) {
    .match-modern-player__shirt {
        transition: none;
    }
}

.match-modern-team__logo:after {
    position: absolute;
    inset: 14%;
    background-image: var(--match-team-logo);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.match-modern-page .match-modern-tabs button span {
    display: inline-grid;
    min-width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    border-radius: 999px;
    background: #e7eef8;
    color: var(--blue);
    font-size: .6rem;
}

.match-modern-page .match-modern-tabs button[aria-selected="true"] span {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.match-modern-report__text {
    max-width: 58rem;
    color: #33475c;
    font-size: .92rem;
    line-height: 1.72;
}

.match-modern-report__text p {
    margin: 0;
}

.match-modern-report__text p+p {
    margin-top: 1rem;
}

.match-modern-report__text a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.match-modern-report__text a:hover {
    text-decoration: underline;
}

.match-modern-milestones {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
}

.match-modern-milestones h3 {
    margin: 0 0 .65rem;
    color: var(--ink);
    font-size: .92rem;
}

.match-modern-milestones ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.match-modern-milestones li {
    position: relative;
    padding: .7rem .75rem .7rem 2rem;
    border-radius: .72rem;
    background: var(--soft);
}

.match-modern-milestones li:before {
    position: absolute;
    top: .72rem;
    left: .72rem;
    color: var(--blue);
    font-weight: 900;
    content: "•";
}

.match-modern-lineup-sidebar {
    min-width: 0;
}

@media (max-width:68rem) {
    .match-modern-lineup-sidebar {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:47.99rem) {
    .match-modern-team__logo:after {
        inset: 12%;
    }
    .match-modern-tabs {
        position: sticky;
        z-index: 20;
    }
    .match-modern-milestones ul {
        grid-template-columns: minmax(0,1fr);
    }
    .match-modern-lineup-sidebar {
        grid-template-columns: minmax(0,1fr);
    }
}

.match-modern-team__logo:after {
    display: none !important;
    content: none !important;
}

.match-modern-team__logo img {
    filter: drop-shadow(0 .2rem .3rem rgba(0,0,0,.2));
}

.match-modern-lineup-card {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    min-width: 0 !important;
}

.match-modern-lineup-card>.match-modern-panel__header, .match-modern-lineup-card>.match-modern-lineup-stage {
    grid-column: 1/-1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

.match-modern-lineup-stage {
    display: block !important;
}

.match-modern-pitch-frame {
    display: flex !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
}

#matchModernPitch[hidden], #matchModernLineupList[hidden] {
    display: none !important;
}

.match-modern-report__body>p:first-child {
    margin-top: 0;
}

.match-modern-report__body h3 {
    display: none;
}

.match-modern-page button.match-modern-lightbox__arrow {
    appearance: none !important;
    position: absolute !important;
    top: 50% !important;
    z-index: 4 !important;
    display: grid !important;
    width: 2.8rem !important;
    height: 2.8rem !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid rgba(18,54,96,.12) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 .45rem 1rem rgba(16,36,59,.18) !important;
    color: var(--blue) !important;
    font: inherit !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transform: translateY(-50%) !important;
}

.match-modern-lightbox__arrow--prev {
    left: .75rem;
}

.match-modern-lightbox__arrow--next {
    right: .75rem;
}

.match-modern-lightbox__stage {
    position: relative;
    display: grid;
    min-height: 20rem;
    place-items: center;
    background: #e4eaf2;
}

.match-modern-lightbox__stage .match-modern-lightbox__image {
    width: 100% !important;
    height: min(78vh,52rem) !important;
    object-fit: contain !important;
}

@media (max-width:68rem) {
    .match-modern-pitch-frame {
        aspect-ratio: auto !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-pitch-frame {
        min-height: 39rem !important;
    }
}

[data-match-tab-panel="lineup-report"] {
    padding-top: clamp(.85rem,2vw,1.25rem);
}

.match-modern-report__body, .match-modern-report__body * {
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.match-modern-report__text.match-modern-report__body {
    width: 100% !important;
    max-width: none !important;
}

.match-modern-lineup-layout {
    grid-template-columns: minmax(0,40rem) minmax(23rem,28rem) !important;
    justify-content: center !important;
}

.match-modern-lineup-card {
    max-width: 40rem !important;
}

.match-modern-pitch-frame {
    min-height: 42rem !important;
    margin-inline: auto !important;
    aspect-ratio: 4/5 !important;
}

.match-modern-lineup-list[hidden] {
    display: none !important;
}

.match-modern-lineup-list:not([hidden]) {
    display: block !important;
    width: 100% !important;
}

.match-modern-lineup-list__row {
    grid-template-columns: 3.2rem 2.4rem minmax(0,1fr) auto !important;
    gap: .7rem !important;
}

.match-modern-lineup-list__portrait {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: .8rem;
    background: #e8eff7;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
}

.match-modern-lineup-list__portrait img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
}

.match-modern-tabs {
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0,1fr) !important;
    overflow: visible !important;
}

.match-modern-page .match-modern-tabs button {
    justify-content: center !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width:68rem) {
    .match-modern-lineup-layout {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .match-modern-lineup-card {
        max-width: none !important;
    }
    .match-modern-pitch-frame {
        width: 100% !important;
        min-height: 43rem !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-page .match-modern-tabs button {
        line-height: 1.15 !important;
    }
    .match-modern-tabs button span {
        display: none !important;
    }
    .match-modern-lineup-list__row {
        grid-template-columns: 2.8rem 2.1rem minmax(0,1fr) !important;
        gap: .55rem !important;
    }
    .match-modern-lineup-list__portrait {
        width: 2.65rem;
        height: 2.65rem;
    }
    .match-modern-lineup-list__events {
        grid-column: 3;
        text-align: left !important;
    }
}

.match-modern-player__event--subbed {
    min-width: auto !important;
    height: auto !important;
    padding: .17rem .3rem !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 999px !important;
    background: rgba(9,35,25,.86) !important;
    color: #fff !important;
    font-size: .5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.match-modern-report {
    display: block !important;
    width: 100% !important;
}

.match-modern-report .match-modern-report__body, .match-modern-report .match-modern-report__body *, .match-modern-report .match-text, .match-modern-report .left-align {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.match-modern-report .match-modern-report__body {
    display: block !important;
}

.match-modern-report .match-modern-report__body p {
    display: block !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.match-modern-team__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: clamp(6.2rem,10.5vw,9.5rem) !important;
    height: clamp(5.6rem,8.8vw,7.8rem) !important;
    min-width: 6.2rem !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.match-modern-team__logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    clip-path: none !important;
}

.match-modern-media__item img {
    object-fit: contain !important;
    object-position: center !important;
    padding: .18rem !important;
    background: #e8eef5 !important;
}

@media (min-width:48rem) {
    .match-modern-tabs {
        display: flex !important;
        grid-auto-flow: initial !important;
        grid-auto-columns: initial !important;
        justify-content: flex-start !important;
        width: max-content !important;
        max-width: 100% !important;
        margin-right: auto !important;
        overflow: visible !important;
    }
    .match-modern-page .match-modern-tabs button {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-start !important;
        white-space: nowrap !important;
        text-align: left !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-team__logo {
        width: 5.35rem !important;
        height: 4.85rem !important;
        min-width: 5.35rem !important;
        padding: 0 !important;
    }
}

[data-match-tab-panel="lineup-report"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
}

.match-modern-lineup-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 1rem !important;
}

.match-modern-lineup-card, .match-modern-lineup-sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.match-modern-lineup-sidebar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
}

.match-modern-lineup-sidebar > .match-modern-squad__group {
    width: 100% !important;
    max-width: none !important;
}

.match-modern-lineup-stage {
    width: 100% !important;
    max-width: none !important;
}

.match-modern-pitch-frame {
    width: 100% !important;
    max-width: 44rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

article.match-modern-report {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    column-count: 1 !important;
    columns: auto !important;
}

article.match-modern-report > .match-modern-panel__header, article.match-modern-report > .match-modern-report__body, article.match-modern-report > .match-modern-milestones {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    grid-column: 1/-1 !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

article.match-modern-report .match-modern-report__body, article.match-modern-report .match-modern-report__body p, article.match-modern-report .match-modern-report__body div {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

article.match-modern-report .match-modern-milestones {
    margin-top: 1.35rem !important;
}

article.match-modern-report .match-modern-milestones ul {
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
}

[data-match-tab-panel="events-stats"] > .match-modern-panel {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

@media (min-width:48rem) {
    .match-modern-lineup-sidebar .match-modern-squad-list li {
        grid-template-columns: 2.4rem minmax(0,1fr) auto !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-pitch-frame {
        max-width: none !important;
    }
}

.match-modern-lineup-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(21rem,27rem) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    gap: 1rem !important;
}

.match-modern-lineup-main, .match-modern-lineup-side {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.match-modern-lineup-side {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
}

.match-modern-lineup-main .match-modern-pitch-frame {
    width: min(100%,35rem) !important;
    max-width: 35rem !important;
    min-height: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    aspect-ratio: 4/5 !important;
}

.match-modern-report-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.match-modern-report-card .match-modern-report__body {
    display: flow-root !important;
    width: 100% !important;
    max-width: none !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

[data-match-tab-panel="events-stats"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 1rem !important;
}

@media (max-width:68rem) {
    .match-modern-lineup-grid {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .match-modern-lineup-main .match-modern-pitch-frame {
        width: min(100%,38rem) !important;
        max-width: 38rem !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-lineup-main .match-modern-pitch-frame {
        width: 100% !important;
        max-width: none !important;
    }
}

[data-match-tab-panel][hidden] {
    display: none !important;
}

.match-modern-report-card, .match-modern-report-card .match-modern-report__body {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.match-modern-report-card .match-modern-report__body > *, .match-modern-report-card .match-modern-report__body p, .match-modern-report-card .match-modern-report__body div {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.match-modern-report-card .match-modern-milestones {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 1.4rem !important;
    padding-top: 1.15rem !important;
    border-top: 1px solid var(--border) !important;
}

.match-modern-report-card .match-modern-milestones ul {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    gap: .55rem !important;
}

.match-modern-report-card .match-modern-milestones li {
    font-size: .9rem !important;
    line-height: 1.55 !important;
}

@media (max-width:47.99rem) {
    .match-modern-report-card .match-modern-milestones li {
        font-size: .82rem !important;
    }
}

@media (min-width:64rem) {
    .match-modern-page {
        font-size: 1.035rem;
    }
    .match-modern-panel__header h2, .match-modern-report-card h2 {
        font-size: 1.62rem !important;
    }
    .match-modern-panel__header p {
        font-size: .82rem !important;
        line-height: 1.55 !important;
    }
    .match-modern-report__body, .match-modern-report__body p {
        font-size: .94rem !important;
        line-height: 1.72 !important;
    }
    .match-modern-milestones h3 {
        font-size: 1.02rem !important;
    }
    .match-modern-milestones li {
        font-size: .94rem !important;
        line-height: 1.55 !important;
    }
    .match-modern-squad-list__name, .match-modern-squad-list__name a {
        font-size: .83rem !important;
    }
    .match-modern-squad-list__status {
        font-size: .69rem !important;
    }
}

.ifkdb-matchdata, .ifkdb-matchdata * {
    box-sizing: border-box;
}

.ifkdb-matchdata[hidden] {
    display: none !important;
}

.ifkdb-matchdata:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: clamp(1.2rem,3vw,2rem) !important;
    padding: 0 !important;
    gap: 1rem !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.ifkdb-matchdata__card {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: clamp(1.15rem,2.4vw,1.55rem) !important;
    overflow: visible !important;
    border: 1px solid rgba(18,54,96,.14) !important;
    border-radius: 1.15rem !important;
    background: #fff !important;
    box-shadow: 0 .8rem 2.2rem rgba(16,36,59,.07) !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.ifkdb-matchdata__header {
    display: block !important;
    width: 100% !important;
    margin: 0 0 1.15rem !important;
    padding: 0 !important;
}

.ifkdb-matchdata__header h2 {
    margin: 0 !important;
    color: #10243b !important;
    font-size: clamp(1.4rem,2.3vw,1.8rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

.ifkdb-matchdata__header p {
    margin: .38rem 0 0 !important;
    color: #647287 !important;
    font-size: .86rem !important;
    line-height: 1.55 !important;
}

.ifkdb-eventchain {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: .35rem !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.ifkdb-eventchain:before {
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    left: 4.45rem;
    width: 2px;
    border-radius: 999px;
    background: #d8e3f0;
    content: "";
    pointer-events: none;
}

.ifkdb-eventchain__item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 5.9rem minmax(0,1fr) !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: .28rem 0 !important;
    float: none !important;
    clear: both !important;
    break-inside: avoid !important;
    transform: none !important;
}

.ifkdb-eventchain__rail {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: 2.7rem 2.35rem !important;
    align-items: center !important;
    gap: .42rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ifkdb-eventchain__minute {
    color: #52637a !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.ifkdb-eventchain__dot {
    display: grid !important;
    width: 2.35rem !important;
    height: 2.35rem !important;
    place-items: center !important;
    border: 3px solid #fff !important;
    border-radius: .78rem !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ifkdb-eventchain__item--goal .ifkdb-eventchain__dot {
    background: #ddf1e8 !important;
    color: #176a48 !important;
}

.ifkdb-eventchain__body {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: .82rem 1rem !important;
    border: 1px solid rgba(18,54,96,.08) !important;
    border-left: 4px solid rgba(29,66,137,.22) !important;
    border-radius: .86rem !important;
    background: #f5f8fc !important;
    text-align: left !important;
}

.ifkdb-eventchain__item.is-opponent .ifkdb-eventchain__body {
    border-left-color: #aeb9c8 !important;
    background: #f5f6f8 !important;
}

.ifkdb-eventchain__body strong {
    display: block !important;
    margin: 0 !important;
    color: #10243b !important;
    font-size: .96rem !important;
    font-weight: 900 !important;
    line-height: 1.28 !important;
}

.ifkdb-eventchain__body span {
    display: block !important;
    margin: .18rem 0 0 !important;
    color: #647287 !important;
    font-size: .82rem !important;
    line-height: 1.48 !important;
}

.ifkdb-statgrid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.ifkdb-statbox {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 7.4rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(18,54,96,.07) !important;
    border-radius: .9rem !important;
    background: #f2f6fb !important;
}

.ifkdb-statbox span, .ifkdb-h2hbox > span {
    color: #68788e !important;
    font-size: .72rem !important;
    font-weight: 900 !important;
    letter-spacing: .065em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
}

.ifkdb-statbox strong {
    color: #10243b !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ifkdb-matchdata__note {
    margin-top: 1rem !important;
    padding: 1rem !important;
    border-radius: .85rem !important;
    background: #f6f8fb !important;
}

.ifkdb-matchdata__note strong {
    display: block !important;
    color: #10243b !important;
    font-size: .82rem !important;
}

.ifkdb-matchdata__note p {
    margin: .28rem 0 0 !important;
    color: #647287 !important;
    font-size: .82rem !important;
    line-height: 1.55 !important;
}

.ifkdb-matchdata__links {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-top: 1rem !important;
    gap: .5rem !important;
}

.ifkdb-matchdata__links a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 2.4rem !important;
    padding: .5rem .72rem !important;
    border: 1px solid rgba(18,54,96,.14) !important;
    border-radius: .68rem !important;
    background: #fff !important;
    color: #1d4289 !important;
    font-size: .76rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.ifkdb-h2hgrid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: .7rem !important;
}

.ifkdb-h2hbox {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    min-height: 9.4rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(18,54,96,.08) !important;
    border-radius: .92rem !important;
    background: #f3f6fa !important;
}

.ifkdb-h2hbox strong {
    display: block !important;
    margin: .55rem 0 0 !important;
    color: #10243b !important;
    font-size: 2.25rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ifkdb-h2hbox small {
    display: block !important;
    margin-top: .65rem !important;
    color: #647287 !important;
    font-size: .74rem !important;
    line-height: 1.4 !important;
}

.ifkdb-h2hbox--meeting {
    background: #1d4289 !important;
}

.ifkdb-h2hbox--meeting > span, .ifkdb-h2hbox--meeting strong, .ifkdb-h2hbox--meeting small {
    color: #fff !important;
}

.ifkdb-h2hbox--win {
    background: rgba(35,132,93,.10) !important;
}

.ifkdb-h2hbox--loss {
    background: rgba(185,71,71,.09) !important;
}

.ifkdb-h2hbox__progress {
    margin-top: .8rem !important;
}

.ifkdb-h2hbox__progress span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
}

@media (min-width:64rem) {
    .ifkdb-matchdata__card {
        padding: 1.55rem !important;
    }
    .ifkdb-matchdata__header h2 {
        font-size: 1.8rem !important;
    }
    .ifkdb-matchdata__header p {
        font-size: .9rem !important;
    }
    .ifkdb-eventchain__body strong {
        font-size: 1rem !important;
    }
    .ifkdb-eventchain__body span {
        font-size: .86rem !important;
    }
    .ifkdb-eventchain__minute {
        font-size: .86rem !important;
    }
    .ifkdb-statbox span, .ifkdb-h2hbox > span {
        font-size: .74rem !important;
    }
}

@media (max-width:47.99rem) {
    .ifkdb-eventchain:before {
        left: 3.58rem;
    }
    .ifkdb-eventchain__item {
        grid-template-columns: 4.7rem minmax(0,1fr) !important;
    }
    .ifkdb-eventchain__rail {
        grid-template-columns: 2rem 2.05rem !important;
        gap: .3rem !important;
    }
    .ifkdb-eventchain__dot {
        width: 2.05rem !important;
        height: 2.05rem !important;
    }
    .ifkdb-eventchain__body {
        padding: .68rem .76rem !important;
    }
    .ifkdb-eventchain__body strong {
        font-size: .82rem !important;
    }
    .ifkdb-eventchain__body span {
        font-size: .72rem !important;
    }
    .ifkdb-statgrid, .ifkdb-h2hgrid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
    .ifkdb-statbox, .ifkdb-h2hbox {
        min-height: auto !important;
    }
}

@media (max-width:25rem) {
    .ifkdb-statgrid, .ifkdb-h2hgrid {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

.ifkdb-statgrid {
    grid-template-columns: repeat(auto-fit,minmax(8.6rem,1fr)) !important;
}

.ifkdb-statbox--yellow {
    background: rgba(244,214,64,.16) !important;
}

.ifkdb-statbox--red {
    background: rgba(201,71,71,.09) !important;
}

.ifkdb-detailstats {
    display: block !important;
    width: 100% !important;
    margin-top: 1.35rem !important;
    padding-top: 1.2rem !important;
    border-top: 1px solid rgba(18,54,96,.11) !important;
}

.ifkdb-detailstats__title {
    display: block !important;
    margin: 0 0 .8rem !important;
}

.ifkdb-detailstats__title h3 {
    margin: 0 !important;
    color: #10243b !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

.ifkdb-detailstats__title p {
    margin: .25rem 0 0 !important;
    color: #647287 !important;
    font-size: .78rem !important;
    line-height: 1.5 !important;
}

.ifkdb-detailstats__table {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(18,54,96,.1) !important;
    border-radius: .9rem !important;
    background: #fff !important;
}

.ifkdb-detailstats__row {
    display: grid !important;
    grid-template-columns: minmax(5rem,.75fr) minmax(10rem,1.5fr) minmax(5rem,.75fr) !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    border-top: 1px solid rgba(18,54,96,.08) !important;
}

.ifkdb-detailstats__row:first-child {
    border-top: 0 !important;
}

.ifkdb-detailstats__row > * {
    display: block !important;
    min-width: 0 !important;
    padding: .7rem .8rem !important;
    text-align: center !important;
}

.ifkdb-detailstats__row > *:first-child {
    text-align: right !important;
}

.ifkdb-detailstats__row > *:last-child {
    text-align: left !important;
}

.ifkdb-detailstats__row strong {
    font-weight: 900 !important;
}

.ifkdb-detailstats__row--header span {
    color: #1d4289 !important;
    font-size: .67rem !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

@media (min-width:48rem) {
    .ifkdb-eventchain {
        gap: .12rem !important;
    }
    .ifkdb-eventchain:before {
        left: 50% !important;
        transform: translateX(-1px) !important;
    }
    .ifkdb-eventchain__item {
        grid-template-columns: minmax(0,1fr) 5.3rem minmax(0,1fr) !important;
        align-items: center !important;
        min-height: 4.15rem !important;
        padding: .16rem 0 !important;
    }
    .ifkdb-eventchain__rail {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: .22rem !important;
    }
    .ifkdb-eventchain__minute {
        order: 1 !important;
        font-size: .73rem !important;
        text-align: center !important;
    }
    .ifkdb-eventchain__dot {
        order: 2 !important;
        width: 2.1rem !important;
        height: 2.1rem !important;
        border-radius: 50% !important;
    }
    .ifkdb-eventchain__body {
        grid-row: 1 !important;
        width: min(100%,34rem) !important;
        padding: .65rem .82rem !important;
    }
    .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body {
        grid-column: 1 !important;
        justify-self: end !important;
        margin-right: .65rem !important;
        border-left: 1px solid rgba(18,54,96,.08) !important;
        border-right: 4px solid rgba(29,66,137,.22) !important;
        text-align: right !important;
    }
    .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body {
        grid-column: 3 !important;
        justify-self: start !important;
        margin-left: .65rem !important;
        text-align: left !important;
    }
    .ifkdb-eventchain__item.is-left.is-opponent .ifkdb-eventchain__body {
        border-right-color: #aeb9c8 !important;
    }
    .ifkdb-eventchain__body strong {
        font-size: .91rem !important;
    }
    .ifkdb-eventchain__body span {
        font-size: .77rem !important;
    }
}

@media (max-width:47.99rem) {
    .ifkdb-detailstats__row {
        grid-template-columns: minmax(4.25rem,.7fr) minmax(7rem,1.3fr) minmax(4.25rem,.7fr) !important;
    }
    .ifkdb-detailstats__row > * {
        padding: .62rem .45rem !important;
    }
    .ifkdb-detailstats__row strong {
        font-size: .8rem !important;
    }
    .ifkdb-detailstats__row span {
        font-size: .69rem !important;
    }
}

.ifkdb-matchdata__overview {
    display: grid !important;
    grid-template-columns: minmax(0,2fr) minmax(18rem,1fr) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 1rem !important;
}

.ifkdb-matchdata__overview.is-without-events {
    grid-template-columns: minmax(0,1fr) !important;
}

.ifkdb-matchdata__events, .ifkdb-matchdata__headtohead {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.ifkdb-matchdata__overview .ifkdb-eventchain__body {
    width: min(100%,26rem) !important;
}

.ifkdb-matchdata__overview .ifkdb-eventchain__item {
    min-height: 3.8rem !important;
}

.ifkdb-matchdata__overview .ifkdb-h2hgrid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}

.ifkdb-matchdata__overview .ifkdb-h2hbox {
    min-height: 8rem !important;
    padding: .85rem !important;
}

.ifkdb-matchdata__overview .ifkdb-h2hbox strong {
    font-size: 1.85rem !important;
}

.ifkdb-matchdata__overview .ifkdb-h2hbox small {
    font-size: .67rem !important;
}

.ifkdb-detailstats__row--header > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .12rem !important;
}

.ifkdb-detailstats__row--header > span:first-child {
    align-items: flex-end !important;
    text-align: right !important;
}

.ifkdb-detailstats__row--header > span:last-child {
    align-items: flex-start !important;
    text-align: left !important;
}

.ifkdb-detailstats__row--header small {
    color: #7a889a !important;
    font-size: .56rem !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

.ifkdb-detailstats__row--header strong {
    color: #1d4289 !important;
    font-weight: 900 !important;
    text-transform: none !important;
}

@media (max-width:70rem) {
    .ifkdb-matchdata__overview {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .ifkdb-matchdata__overview .ifkdb-h2hgrid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}

@media (max-width:47.99rem) {
    .ifkdb-matchdata__overview .ifkdb-h2hgrid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
    .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body {
        text-align: left !important;
    }
}

@media (max-width:25rem) {
    .ifkdb-matchdata__overview .ifkdb-h2hgrid {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

.ifkdb-matchdata__overview {
    align-items: stretch !important;
}

.ifkdb-matchdata__headtohead {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
}

.ifkdb-matchdata__headtohead .ifkdb-matchdata__links {
    margin-top: auto !important;
    padding-top: 1rem !important;
}

@media (min-width:70.01rem) {
    .ifkdb-matchdata__overview:not(.is-without-events) .ifkdb-h2hgrid {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        width: 100% !important;
        gap: .58rem !important;
    }
    .ifkdb-matchdata__overview:not(.is-without-events) .ifkdb-h2hbox {
        min-height: 6.55rem !important;
        padding: .82rem .9rem !important;
    }
    .ifkdb-matchdata__overview:not(.is-without-events) .ifkdb-h2hbox strong {
        margin-top: .35rem !important;
        font-size: 1.72rem !important;
    }
    .ifkdb-matchdata__overview:not(.is-without-events) .ifkdb-h2hbox small {
        margin-top: .34rem !important;
        font-size: .69rem !important;
    }
    .ifkdb-matchdata__overview.is-without-events {
        display: block !important;
        width: 100% !important;
    }
    .ifkdb-matchdata__overview.is-without-events .ifkdb-matchdata__headtohead {
        width: 100% !important;
        height: auto !important;
    }
    .ifkdb-matchdata__overview.is-without-events .ifkdb-h2hgrid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}

@media (min-width:68.01rem) {
    .ifkdb-matchdata__overview:not(.is-without-events) {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(21rem,27rem) !important;
        align-items: start !important;
        width: 100% !important;
        max-width: none !important;
        gap: 1rem !important;
    }
    .ifkdb-matchdata__overview:not(.is-without-events) > .ifkdb-matchdata__events {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
    .ifkdb-matchdata__overview:not(.is-without-events) > .ifkdb-matchdata__headtohead {
        grid-column: 2 !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
    }
}

@media (max-width:68rem) {
    .ifkdb-matchdata__overview {
        grid-template-columns: minmax(0,1fr) !important;
        align-items: start !important;
    }
    .ifkdb-matchdata__events, .ifkdb-matchdata__headtohead {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
    }
}

.ifkdb-matchdata__overview.is-without-events {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.ifkdb-matchdata__overview.is-without-events .ifkdb-matchdata__headtohead {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

@media (min-width:68.01rem) {
    .ifkdb-matchdata__overview.has-events {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(21rem,27rem) !important;
        align-items: start !important;
        width: 100% !important;
        max-width: none !important;
        gap: 1rem !important;
    }
    .ifkdb-matchdata__overview.has-events > .ifkdb-matchdata__events {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
    .ifkdb-matchdata__overview.has-events > .ifkdb-matchdata__matchstats {
        grid-column: 2 !important;
        align-self: start !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
    .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statgrid {
        display: grid !important;
        grid-template-columns: repeat(7,minmax(0,1fr)) !important;
        gap: .32rem !important;
    }
    .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox {
        min-height: 5.6rem !important;
        padding: .55rem .28rem !important;
        align-items: center !important;
        text-align: center !important;
    }
    .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox span {
        font-size: .5rem !important;
        letter-spacing: .025em !important;
        line-height: 1.18 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }
    .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox strong {
        margin-top: .35rem !important;
        font-size: 1.28rem !important;
    }
    .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statgrid {
        display: grid !important;
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
        gap: .5rem !important;
    }
    .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox {
        min-height: 5.9rem !important;
        padding: .68rem .45rem !important;
    }
    .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox span {
        font-size: .57rem !important;
        letter-spacing: .035em !important;
        overflow-wrap: anywhere !important;
    }
    .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox strong {
        font-size: 1.45rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__title p {
        font-size: .7rem !important;
    }
    .ifkdb-matchdata__overview.is-without-events {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
    }
    .ifkdb-matchdata__overview.is-without-events > .ifkdb-matchdata__matchstats {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    .ifkdb-matchdata__overview.is-without-events .ifkdb-statgrid {
        grid-template-columns: repeat(7,minmax(0,1fr)) !important;
    }
}

.ifkdb-matchdata > .ifkdb-matchdata__headtohead {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
}

.ifkdb-matchdata > .ifkdb-matchdata__headtohead .ifkdb-h2hgrid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    gap: .7rem !important;
}

.ifkdb-matchdata > .ifkdb-matchdata__headtohead .ifkdb-h2hbox {
    min-height: 9rem !important;
}

.ifkdb-matchdata > .ifkdb-matchdata__headtohead .ifkdb-matchdata__links {
    margin-top: 1rem !important;
    padding-top: 0 !important;
}

@media (max-width:68rem) {
    .ifkdb-matchdata__overview {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .ifkdb-matchdata__overview > .ifkdb-matchdata__events, .ifkdb-matchdata__overview > .ifkdb-matchdata__matchstats {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width:47.99rem) {
    .ifkdb-matchdata > .ifkdb-matchdata__headtohead .ifkdb-h2hgrid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

@media (max-width:25rem) {
    .ifkdb-matchdata > .ifkdb-matchdata__headtohead .ifkdb-h2hgrid {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

.ifkdb-statbox {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.ifkdb-statbox span {
    width: 100% !important;
    font-size: .79rem !important;
    letter-spacing: .045em !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.ifkdb-statbox strong {
    width: 100% !important;
    margin-top: .48rem !important;
    text-align: center !important;
}

.ifkdb-eventchain__body a, .match-modern-milestones a {
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(29,66,137,.35) !important;
    text-decoration-thickness: .08em !important;
    text-underline-offset: .15em !important;
}

.ifkdb-eventchain__body a:hover, .match-modern-milestones a:hover {
    color: #1d4289 !important;
    text-decoration-color: currentColor !important;
}

.ifkdb-detailstats__title h3 {
    font-size: 1.16rem !important;
}

.ifkdb-detailstats__row strong {
    line-height: 1.3 !important;
}

.ifkdb-detailstats__row span {
    line-height: 1.4 !important;
}

.ifkdb-detailstats__row--header strong {
    font-size: .84rem !important;
    line-height: 1.25 !important;
}

.ifkdb-detailstats__row--header > span:nth-child(2) {
    min-height: 1px !important;
    padding: 0 !important;
}

@media (min-width:68.01rem) {
    .ifkdb-matchdata__overview.has-events .ifkdb-statgrid, .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statgrid, .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statgrid {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: .58rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-statbox, .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox, .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox {
        min-height: 6.2rem !important;
        padding: .78rem .62rem !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-statbox span, .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox span, .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox span {
        font-size: .72rem !important;
        letter-spacing: .04em !important;
        line-height: 1.25 !important;
        text-align: center !important;
        overflow-wrap: normal !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-statbox strong, .ifkdb-matchdata__overview.has-events.is-without-detailed-stats .ifkdb-statbox strong, .ifkdb-matchdata__overview.has-events.has-detailed-stats .ifkdb-statbox strong {
        margin-top: .45rem !important;
        font-size: 1.55rem !important;
        text-align: center !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__title h3 {
        font-size: 1.12rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__row {
        grid-template-columns: minmax(4.8rem,.8fr) minmax(6.8rem,1.25fr) minmax(4.8rem,.8fr) !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__row > * {
        padding: .7rem .45rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__row strong {
        font-size: .94rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__row span {
        font-size: .78rem !important;
    }
    .ifkdb-matchdata__overview.has-events .ifkdb-detailstats__row--header strong {
        font-size: .78rem !important;
    }
}

.match-modern-page [data-match-tab-panel]:not([hidden]) {
    margin-top: 1.25rem !important;
    padding-top: 0 !important;
}

.match-modern-lightbox__heading {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    gap: .15rem !important;
}

.match-modern-lightbox__heading > span {
    color: var(--muted) !important;
    font-size: .65rem !important;
    font-weight: 900 !important;
}

.match-modern-lightbox__heading > strong {
    overflow: hidden !important;
    max-width: 58rem !important;
    color: var(--ink) !important;
    font-size: .86rem !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.match-modern-lightbox__footer {
    padding: .78rem 1rem !important;
    border-top: 1px solid var(--border) !important;
    color: var(--muted) !important;
    font-size: .78rem !important;
    line-height: 1.5 !important;
}

.match-modern-lightbox__footer strong {
    color: var(--ink) !important;
}

.match-modern-lightbox__footer a {
    color: var(--blue) !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

@media (max-width:47.99rem) {
    .match-modern-page [data-match-tab-panel]:not([hidden]) {
        margin-top: 1rem !important;
    }
    .match-modern-lightbox__heading > strong {
        max-width: 68vw !important;
        font-size: .76rem !important;
    }
}

.match-modern-report--sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.match-modern-report--sidebar .match-modern-report__body, .match-modern-report--sidebar .match-modern-report__body > *, .match-modern-report--sidebar .match-modern-report__body p, .match-modern-report--sidebar .match-modern-report__body div {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
    column-count: 1 !important;
    column-width: auto !important;
    columns: auto !important;
}

.match-modern-report--sidebar .match-modern-report__body {
    font-size: .86rem !important;
    line-height: 1.65 !important;
}

.match-modern-report--sidebar .match-modern-milestones {
    margin-top: 1.15rem !important;
}

@media (max-width:68rem) {
    .match-modern-report--sidebar .match-modern-report__body {
        font-size: .92rem !important;
    }
}

.match-modern-page [data-match-tab-panel].match-modern-gallery-panel:not([hidden]) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 1.25rem !important;
    padding: clamp(1rem,2.4vw,1.4rem) !important;
}

.match-modern-gallery-panel > .match-modern-panel__header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin: 0 0 1rem !important;
    padding: 0 !important;
}

.match-modern-gallery-panel > .match-modern-panel__header h2 {
    margin: 0 !important;
    color: var(--ink) !important;
    font-size: clamp(1.2rem,2.7vw,1.7rem) !important;
    line-height: 1.2 !important;
}

.match-modern-gallery-panel .match-modern-media {
    display: grid !important;
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    grid-auto-rows: 8.1rem !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: .55rem !important;
}

.match-modern-page .match-modern-gallery-panel button.match-modern-media__item {
    appearance: none !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: .78rem !important;
    background: #e8edf4 !important;
    box-shadow: none !important;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: zoom-in !important;
    transition: border-color .18s ease,transform .18s ease !important;
}

.match-modern-page .match-modern-gallery-panel button.match-modern-media__item:first-child {
    grid-column: span 3 !important;
    grid-row: span 2 !important;
}

.match-modern-gallery-panel .match-modern-media__item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: none !important;
    transition: transform .22s ease !important;
}

.match-modern-gallery-panel .match-modern-media__item--announcement img, .match-modern-gallery-panel .match-modern-media__item--venue img {
    padding: .45rem !important;
    object-fit: contain !important;
}

.match-modern-gallery-panel .match-modern-media__caption {
    position: absolute !important;
    right: .4rem !important;
    bottom: .4rem !important;
    left: .4rem !important;
    display: block !important;
    padding: .45rem .55rem !important;
    border-radius: .52rem !important;
    color: #fff !important;
    font-size: .62rem !important;
    line-height: 1.35 !important;
    text-align: left !important;
    backdrop-filter: blur(6px) !important;
}

@media (hover:hover) and (pointer:fine) {
    .match-modern-page .match-modern-gallery-panel button.match-modern-media__item:hover {
        border-color: rgba(29,66,137,.55) !important;
        transform: translateY(-.1rem) !important;
    }
    .match-modern-gallery-panel .match-modern-media__item:hover img {
        transform: scale(1.025) !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-page [data-match-tab-panel].match-modern-gallery-panel:not([hidden]) {
        margin-top: 1rem !important;
        padding: 1rem !important;
    }
    .match-modern-gallery-panel .match-modern-media {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        grid-auto-rows: 5.4rem !important;
    }
    .match-modern-page .match-modern-gallery-panel button.match-modern-media__item:first-child {
        grid-column: 1/-1 !important;
        grid-row: span 2 !important;
    }
}

@media (max-width:25rem) {
    .match-modern-gallery-panel .match-modern-media {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

.match-modern-navigation {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 0 .85rem !important;
    padding: .45rem !important;
    border: 1px solid var(--border) !important;
    border-radius: 1rem !important;
    gap: .55rem !important;
}

.match-modern-navigation__matches, .match-modern-navigation__meetings {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: .4rem !important;
}

.match-modern-navigation__matches {
    justify-content: center !important;
}

.match-modern-navigation__meetings {
    justify-content: flex-end !important;
}

.match-modern-page .match-modern-navigation__button {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 2.7rem !important;
    margin: 0 !important;
    padding: .58rem .78rem !important;
    border: 1px solid transparent !important;
    border-radius: .72rem !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    gap: .38rem !important;
    transition: background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease !important;
}

.match-modern-page .match-modern-navigation__button strong {
    color: inherit !important;
    font: inherit !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.match-modern-page .match-modern-navigation__button > span {
    display: inline !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: 1 !important;
}

.match-modern-page .match-modern-navigation__button--all > span {
    color: var(--muted) !important;
    font-size: .64rem !important;
    font-weight: 800 !important;
}

.match-modern-page .match-modern-navigation__button.is-disabled {
    color: #a6b1bf !important;
    cursor: default !important;
    pointer-events: none !important;
}

.match-modern-page .match-modern-navigation__button:focus-visible {
    outline: 3px solid rgba(29,66,137,.3) !important;
    outline-offset: 2px !important;
}

@media (hover:hover) and (pointer:fine) {
    .match-modern-page a.match-modern-navigation__button:hover {
        border-color: rgba(29,66,137,.22) !important;
        background: #edf3fb !important;
        color: var(--blue-dark) !important;
        box-shadow: 0 .2rem .6rem rgba(16,36,59,.07) !important;
    }
    .match-modern-page a.match-modern-navigation__button--all:hover {
        background: #e2ebf7 !important;
    }
}

@media (max-width:76rem) {
    .match-modern-navigation {
        grid-template-columns: auto minmax(0,1fr) !important;
    }
    .match-modern-navigation__meetings {
        grid-column: 1/-1 !important;
        justify-content: flex-end !important;
        padding-top: .1rem !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-navigation {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .match-modern-navigation__matches {
        display: grid !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        width: 100% !important;
        gap: .35rem !important;
    }
    .match-modern-navigation__meetings {
        grid-column: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        width: 100% !important;
        padding-top: 0 !important;
        gap: .35rem !important;
    }
}

@media (max-width:30rem) {
    .match-modern-navigation__matches {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .match-modern-navigation__meetings {
        grid-template-columns: minmax(0,1fr) !important;
    }
}

@media (min-width:48rem) {
    .match-modern-navigation {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
        min-height: 3.65rem !important;
    }
    .match-modern-navigation__matches {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        z-index: 2 !important;
        width: max-content !important;
        max-width: calc(100% - 18rem) !important;
        justify-content: center !important;
        transform: translate(-50%,-50%) !important;
    }
    .match-modern-navigation__meetings {
        grid-column: 2 !important;
        justify-self: end !important;
        justify-content: flex-end !important;
        max-width: 100% !important;
        padding-top: 0 !important;
    }
}

@media (min-width:48rem) and (max-width:76rem) {
    .match-modern-navigation {
        grid-template-columns: minmax(7.2rem,1fr) minmax(7.2rem,1fr) !important;
    }
    .match-modern-navigation__meetings {
        grid-column: 2 !important;
    }
}

@media (max-width:47.99rem) {
    .match-modern-navigation {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 0 !important;
        margin-bottom: .55rem !important;
        padding: .28rem !important;
        overflow-x: auto !important;
        gap: .28rem !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .match-modern-navigation::-webkit-scrollbar {
        display: none !important;
    }
    .match-modern-page .match-modern-navigation__button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        border-radius: .58rem !important;
        gap: .26rem !important;
    }
    .match-modern-page .match-modern-navigation__button--all {
        flex-direction: row !important;
        gap: .2rem !important;
    }
    .match-modern-page .match-modern-navigation__button--all > span {
        display: none !important;
    }
    .match-modern-page .match-modern-navigation__button--meeting {
        font-size: .59rem !important;
    }
}

.match-modern-page {
    color: #17283d;
    font-size: 1rem;
    line-height: 1.55;
}

.match-modern-navigation {
    border-color: rgba(18,54,96,.10) !important;
    background: #fff !important;
    box-shadow: 0 .25rem .8rem rgba(16,36,59,.045) !important;
}

.match-modern-page .match-modern-navigation__button {
    color: #27476d !important;
}

.match-modern-page .match-modern-navigation__button--all {
    border-color: rgba(18,54,96,.09) !important;
    background: #f7f9fc !important;
}

.match-modern-page .match-modern-navigation__button--meeting {
    color: #52647a !important;
}

.match-modern-hero__top {
    min-height: 3.1rem;
}

.match-modern-hero__meta {
    gap: .45rem .75rem;
}

.match-modern-hero__meta span {
    color: rgba(255,255,255,.78);
    font-size: .72rem;
    letter-spacing: 0;
}

.match-modern-team__name small, .match-modern-hero__fact span {
    letter-spacing: .045em;
}

.match-modern-hero__facts, .match-modern-hero__facts.has-weather {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1px;
    background: rgba(255,255,255,.09);
}

.match-modern-hero__fact {
    flex: 1 1 auto;
    min-width: 5.75rem;
    padding: .62rem .72rem;
    border-left: 0;
    background: rgba(5,24,55,.22);
}

.match-modern-hero__fact--form {
    min-width: 8rem;
}

.match-modern-hero__fact--form.is-desktop-overflow-hidden {
    display: none !important;
}

.match-modern-hero__fact span {
    font-size: .62rem;
}

.match-modern-hero__fact strong, .match-modern-hero__fact a {
    margin-top: .25rem;
    font-size: .82rem;
    font-weight: 800;
}

.match-modern-panel, .ifkdb-matchdata__card {
    border-color: rgba(18,54,96,.11) !important;
    border-radius: 1rem !important;
    background: #fff !important;
    box-shadow: 0 .35rem 1.15rem rgba(16,36,59,.055) !important;
}

.match-modern-panel__header {
    margin-bottom: 1.05rem;
}

.match-modern-panel__header h2, .ifkdb-matchdata__header h2, .match-modern-report-card h2 {
    color: #12263d !important;
    font-size: clamp(1.35rem,2.1vw,1.7rem) !important;
    font-weight: 900 !important;
    letter-spacing: -.018em !important;
    line-height: 1.15 !important;
}

.match-modern-panel__header p, .ifkdb-matchdata__header p {
    max-width: 52rem;
}

.match-modern-report__body, .match-modern-report__body p, .match-modern-report__text {
    color: #26394f !important;
    font-size: .96rem !important;
    line-height: 1.72 !important;
}

.match-modern-milestones h3, .ifkdb-detailstats__title h3 {
    color: #172b43 !important;
    font-size: 1.06rem !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}

.match-modern-milestones li {
    color: #34485f !important;
    font-size: .94rem !important;
    line-height: 1.6 !important;
}

.match-modern-tabs {
    border-color: rgba(18,54,96,.10) !important;
}

.ifkdb-statgrid {
    gap: .65rem !important;
}

.ifkdb-statbox, .ifkdb-statbox--yellow, .ifkdb-statbox--red, .ifkdb-h2hbox, .ifkdb-h2hbox--meeting, .ifkdb-h2hbox--win, .ifkdb-h2hbox--draw, .ifkdb-h2hbox--loss {
    border: 1px solid rgba(18,54,96,.09) !important;
    background: #f7f9fc !important;
    color: #17283d !important;
    box-shadow: none !important;
}

.ifkdb-statbox span, .ifkdb-h2hbox > span, .ifkdb-h2hbox--meeting > span {
    color: #667589 !important;
    font-size: .73rem !important;
    letter-spacing: .045em !important;
}

.ifkdb-statbox strong, .ifkdb-h2hbox strong, .ifkdb-h2hbox--meeting strong {
    color: #142a44 !important;
    font-size: 1.85rem !important;
    font-weight: 900 !important;
}

.ifkdb-h2hbox small, .ifkdb-h2hbox--meeting small {
    color: #68778a !important;
}

.ifkdb-h2hbox__progress span {
    background: #1d4289 !important;
}

.ifkdb-eventchain__body, .ifkdb-eventchain__item.is-opponent .ifkdb-eventchain__body {
    border-color: rgba(18,54,96,.09) !important;
    border-left-color: #aab8c8 !important;
    background: #f8fafc !important;
}

.ifkdb-eventchain__item.is-ifk .ifkdb-eventchain__body {
    border-left-color: #365f91 !important;
}

.ifkdb-eventchain__dot {
    border-color: #fff !important;
    background: #edf2f7 !important;
    color: #365f91 !important;
    box-shadow: 0 0 0 1px rgba(18,54,96,.12) !important;
}

.ifkdb-eventchain__item--yellow .ifkdb-eventchain__dot {
    background: #f1d861 !important;
    color: #594d12 !important;
}

.ifkdb-eventchain__item--red .ifkdb-eventchain__dot {
    background: #a94a4a !important;
    color: #fff !important;
}

.ifkdb-detailstats__table {
    border-color: rgba(18,54,96,.10) !important;
    box-shadow: none !important;
}

.ifkdb-detailstats__row--header {
    background: #f3f6fa !important;
}

.ifkdb-detailstats__row strong {
    color: #152a43 !important;
    font-size: 1rem !important;
}

.ifkdb-detailstats__row span {
    color: #56677c !important;
    font-size: .86rem !important;
}

.match-modern-squad__group, .match-modern-note {
    background: #f7f9fc !important;
}

.match-modern-gallery-panel .match-modern-media__caption {
    background: rgba(13,31,52,.82) !important;
}

@media (max-width:47.99rem) {
    .match-modern-navigation {
        justify-content: center !important;
        overflow: visible !important;
    }
    .match-modern-navigation__button--all {
        display: none !important;
    }
    .match-modern-navigation__matches, .match-modern-navigation__meetings {
        display: flex !important;
        flex: 0 1 auto !important;
        width: auto !important;
        gap: .25rem !important;
    }
    .match-modern-navigation__meetings:empty {
        display: none !important;
    }
    .match-modern-page .match-modern-navigation__button {
        min-height: 2rem !important;
        padding: .34rem .45rem !important;
        font-size: .59rem !important;
    }
    .match-modern-page .match-modern-navigation__button.is-disabled {
        display: none !important;
    }
    .match-modern-hero__facts, .match-modern-hero__facts.has-weather {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 1px !important;
        background: rgba(255,255,255,.09) !important;
    }
    .match-modern-hero__fact,
    .match-modern-hero__fact:first-child,
    .match-modern-hero__fact:nth-child(odd),
    .match-modern-hero__fact:nth-child(4) {
        min-width: 0 !important;
        padding: .38rem .48rem !important;
        border-left: 0 !important;
        background: rgba(5,24,55,.28) !important;
    }
    .match-modern-hero__fact span {
        font-size: .54rem !important;
        line-height: 1.15 !important;
    }
    .match-modern-hero__fact strong, .match-modern-hero__fact a {
        margin-top: .1rem !important;
        overflow: visible !important;
        font-size: .73rem !important;
        line-height: 1.22 !important;
        text-overflow: clip !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
    .match-modern-panel__header h2, .ifkdb-matchdata__header h2, .match-modern-report-card h2 {
        font-size: 1.32rem !important;
    }
    .match-modern-report__body, .match-modern-report__body p, .match-modern-report__text {
        font-size: .9rem !important;
        line-height: 1.66 !important;
    }
}

@media (max-width:50rem) {
    .match-modern-navigation {
        position: relative !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
        padding: .28rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: .24rem !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .match-modern-navigation::-webkit-scrollbar {
        display: none !important;
    }
    .match-modern-page .match-modern-navigation a.match-modern-navigation__button--all {
        display: none !important;
    }
    .match-modern-navigation__matches, .match-modern-navigation__meetings {
        position: static !important;
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
        transform: none !important;
        gap: .24rem !important;
    }
    .match-modern-page .match-modern-navigation__button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 2rem !important;
        padding: .34rem .46rem !important;
        border-radius: .58rem !important;
        font-size: .59rem !important;
        gap: .22rem !important;
    }
    .match-modern-page .match-modern-navigation__button.is-disabled {
        display: none !important;
    }
}

.ifkdb-eventchain__body, .ifkdb-eventchain__item.is-ifk .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-opponent .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-left.is-opponent .ifkdb-eventchain__body {
    position: relative !important;
    overflow: visible !important;
    border: 1px solid rgba(18,54,96,.12) !important;
    background: #f8fafc !important;
}

.ifkdb-eventchain__body::before {
    position: absolute;
    z-index: 1;
    width: .72rem;
    height: .72rem;
    background: #f8fafc;
    content: "";
    pointer-events: none;
}

@media (min-width:48rem) {
    .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body::before {
        top: 50%;
        right: -.42rem;
        border-top: 1px solid rgba(18,54,96,.12);
        border-right: 1px solid rgba(18,54,96,.12);
        transform: translateY(-50%) rotate(45deg);
    }
    .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body::before {
        top: 50%;
        left: -.42rem;
        border-bottom: 1px solid rgba(18,54,96,.12);
        border-left: 1px solid rgba(18,54,96,.12);
        transform: translateY(-50%) rotate(45deg);
    }
}

@media (max-width:47.99rem) {
    .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body, .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body {
        width: calc(100% - .5rem) !important;
        margin-left: .5rem !important;
    }
    .ifkdb-eventchain__body::before, .ifkdb-eventchain__item.is-left .ifkdb-eventchain__body::before, .ifkdb-eventchain__item.is-right .ifkdb-eventchain__body::before {
        top: 50%;
        left: -.42rem;
        border-bottom: 1px solid rgba(18,54,96,.12);
        border-left: 1px solid rgba(18,54,96,.12);
        transform: translateY(-50%) rotate(45deg);
    }
}

.ifkdb-h2hbox__meter {
    width: 100% !important;
    margin-top: .75rem !important;
}

.ifkdb-h2hbox__progress {
    position: relative !important;
    width: 100% !important;
    height: .48rem !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 999px !important;
    background: #dce4ee !important;
    box-shadow: inset 0 1px 2px rgba(18,54,96,.08) !important;
}

.ifkdb-h2hbox__progress > span {
    position: relative !important;
    display: block !important;
    min-width: .48rem !important;
    max-width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: #1d4289 !important;
}

.ifkdb-h2hbox__progress > span > i {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    display: block !important;
    width: .78rem !important;
    height: .78rem !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #1d4289 !important;
    box-shadow: 0 1px 4px rgba(18,54,96,.24) !important;
    transform: translate(45%,-50%) !important;
}

.ifkdb-h2hbox__meter-labels {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    margin-top: .48rem !important;
    gap: .5rem !important;
}

.ifkdb-h2hbox__meter-labels span, .ifkdb-h2hbox__meter-labels strong {
    display: block !important;
    margin: 0 !important;
    color: #6b798c !important;
    font-size: .65rem !important;
    font-weight: 750 !important;
    line-height: 1 !important;
}

.ifkdb-h2hbox__meter-labels span:last-child {
    text-align: right !important;
}

.ifkdb-h2hbox__meter-labels strong {
    color: #31465f !important;
    font-size: .69rem !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.ifkdb-h2hbox__progress > span {
    width: 0;
}

.match-modern-page {
    font-family: inherit;
}

.match-modern-page p, .match-modern-page li, .match-modern-page a, .match-modern-page button, .match-modern-page input, .match-modern-page select {
    font-family: inherit !important;
}

.match-modern-panel__header h2, .ifkdb-matchdata__header h2, .match-modern-report-card h2, .match-modern-gallery-panel > .match-modern-panel__header h2 {
    margin: 0 !important;
    color: var(--ink) !important;
    font-size: clamp(1.3rem,2.8vw,1.85rem) !important;
    letter-spacing: -.025em !important;
    line-height: 1.15 !important;
}

.match-modern-panel__header p, .ifkdb-matchdata__header p {
    margin: .28rem 0 0 !important;
    color: var(--muted) !important;
    font-size: .8rem !important;
    line-height: 1.55 !important;
}

.match-modern-tabs {
    display: flex !important;
    align-items: center !important;
    gap: .35rem !important;
    width: 100% !important;
    padding: .65rem !important;
    overflow-x: auto !important;
    border: 1px solid var(--border) !important;
    border-radius: 1.18rem !important;
    background: #f8fafc !important;
    box-shadow: 0 .8rem 2.2rem rgba(16,36,59,.055) !important;
    scrollbar-width: none !important;
}

.match-modern-tabs::-webkit-scrollbar {
    display: none !important;
}

.match-modern-page .match-modern-tabs button {
    appearance: none !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: .38rem !important;
    min-height: 2.55rem !important;
    margin: 0 !important;
    padding: .55rem .72rem !important;
    border: 1px solid transparent !important;
    border-radius: .72rem !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--muted) !important;
    font: inherit !important;
    font-size: .75rem !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer !important;
}

.match-modern-page .match-modern-tabs button:hover {
    background: #edf3fa !important;
    color: var(--blue) !important;
}

.match-modern-page .match-modern-tabs button[aria-selected="true"] {
    border-color: rgba(29,66,137,.12) !important;
    background: #e5eef9 !important;
    box-shadow: none !important;
    color: var(--blue) !important;
}

.match-modern-page .match-modern-tabs button .match-modern-tab-icon {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    font-size: .84rem !important;
    line-height: 1 !important;
}

.match-modern-page .match-modern-tabs button .match-modern-tab-label {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.match-modern-page .match-modern-tabs button .match-modern-tab-count {
    display: grid !important;
    min-width: 1.35rem !important;
    height: 1.35rem !important;
    margin: 0 !important;
    padding: 0 .25rem !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: .42rem !important;
    background: rgba(29,66,137,.08) !important;
    color: inherit !important;
    font: inherit !important;
    font-size: .66rem !important;
    font-weight: inherit !important;
    line-height: 1 !important;
}

.match-modern-page .match-modern-tabs button[aria-selected="true"] .match-modern-tab-count {
    background: rgba(29,66,137,.08) !important;
    color: inherit !important;
}

@media (max-width:47.99rem) {
    .match-modern-tabs {
        top: 4.15rem !important;
        justify-content: flex-start !important;
        padding: .42rem !important;
        overflow-x: hidden !important;
        border-radius: .95rem !important;
        gap: .18rem !important;
    }
    .match-modern-page .match-modern-tabs button {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        min-height: 2.25rem !important;
        padding: .44rem .46rem !important;
        gap: .22rem !important;
        font-size: clamp(.59rem,2.7vw,.68rem) !important;
        white-space: nowrap !important;
    }
    .match-modern-page .match-modern-tabs button .match-modern-tab-label {
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    .match-modern-page .match-modern-tabs button .match-modern-tab-count {
        min-width: 1.18rem !important;
        height: 1.18rem !important;
        padding-inline: .18rem !important;
        font-size: .6rem !important;
    }
    .match-modern-page .match-modern-tabs button .match-modern-tab-icon {
        display: none !important;
    }
    .match-modern-panel__header h2, .ifkdb-matchdata__header h2, .match-modern-report-card h2, .match-modern-gallery-panel > .match-modern-panel__header h2 {
        font-size: clamp(1.3rem,7vw,1.65rem) !important;
    }
}

@media (max-width:26rem) {
    .match-modern-page .match-modern-tabs button {
        padding-inline: .36rem !important;
        font-size: .59rem !important;
    }
}

.match-modern-page .match-modern-tabs button .match-modern-tab-label--desktop {
    display: inline !important;
}

.match-modern-page .match-modern-tabs button .match-modern-tab-label--mobile {
    display: none !important;
}

@media (max-width:47.99rem) {
    .match-modern-page .match-modern-tabs button .match-modern-tab-label--desktop {
        display: none !important;
    }
    .match-modern-page .match-modern-tabs button .match-modern-tab-label--mobile {
        display: inline !important;
    }
}

.ifkdb-h2hstreaks {
    margin-top: 1.2rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(18,54,96,.1);
}

.ifkdb-h2hstreaks__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: .8rem;
    gap: 1rem;
}

.ifkdb-h2hstreaks__header h3 {
    margin: 0 !important;
    color: #172b43 !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
    line-height: 1.2 !important;
}

.ifkdb-h2hstreaks__header p {
    max-width: 44rem;
    margin: .22rem 0 0 !important;
    color: #68778a !important;
    font-size: .73rem !important;
    line-height: 1.5 !important;
}

.ifkdb-h2hstreaks__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .65rem;
}

.ifkdb-h2hstreak {
    display: grid;
    min-width: 0;
    padding: .85rem .9rem;
    border: 1px solid rgba(18,54,96,.09);
    border-radius: .82rem;
    background: #f7f9fc;
    box-shadow: none;
}

.ifkdb-h2hstreak > span {
    color: #617084;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .025em;
    line-height: 1.3;
}

.ifkdb-h2hstreak > strong {
    margin-top: .38rem;
    color: #142a44 !important;
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    letter-spacing: -.04em !important;
    line-height: 1 !important;
}

.ifkdb-h2hstreak > small {
    margin-top: .32rem;
    color: #7a8797;
    font-size: .65rem;
    line-height: 1.35;
}

@media (max-width:68rem) {
    .ifkdb-h2hstreaks__grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width:47.99rem) {
    .ifkdb-h2hstreaks {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    .ifkdb-h2hstreaks__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: .55rem;
    }
    .ifkdb-h2hstreak {
        padding: .75rem;
    }
    .ifkdb-h2hstreak > strong {
        font-size: 1.5rem !important;
    }
}

@media (max-width:25rem) {
    .ifkdb-h2hstreaks__grid {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width:47.99rem) {
    .match-modern-lineup-main .match-modern-pitch-frame {
        min-height: 25rem !important;
        aspect-ratio: 3/4 !important;
        padding-bottom: 2.65rem !important;
    }
}

@media (max-width:22rem) {
    .match-modern-lineup-main .match-modern-pitch-frame {
        min-height: 24.5rem !important;
        aspect-ratio: 7/10 !important;
        padding-bottom: 2.8rem !important;
    }
}


.match-modern-form {
    display: flex;
    align-items: center;
    gap: .24rem;
    min-height: 1.35rem;
    margin-top: .22rem;
    overflow: visible;
}

.match-modern-form__item {
    display: inline-grid;
    width: 1.16rem;
    height: 1.16rem;
    flex: 0 0 1.16rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-style: normal;
    font-size: .56rem;
    font-weight: 900;
    line-height: 1;
}

.match-modern-form__item--w {
    background: #21864b;
}

.match-modern-form__item--d {
    background: #78879a;
}

.match-modern-form__item--l {
    background: #c5443f;
}

@media (max-width:47.99rem) {
    .match-modern-hero__fact--form {
        display: none;
    }

    .match-modern-form {
        gap: .18rem;
        min-height: 1.15rem;
        margin-top: .12rem;
    }

    .match-modern-form__item {
        width: 1rem;
        height: 1rem;
        flex-basis: 1rem;
        font-size: .5rem;
    }
}

@media (min-width:30rem) and (max-width:39.99rem) {
    .match-modern-hero__facts,
    .match-modern-hero__facts.has-weather {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    }

    .match-modern-hero__fact--form {
        display: block;
    }
}

@media (min-width:40rem) and (max-width:47.99rem) {
    .match-modern-hero__facts,
    .match-modern-hero__facts.has-weather {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }

    .match-modern-hero__fact--form {
        display: none;
    }
}

.match-modern-score {
    margin: 0;
}

.match-modern-report__text {
    max-width: 75ch;
    text-wrap: pretty;
}

.match-modern-page [role="tabpanel"] {
    scroll-margin-top: 6rem;
}

.match-modern-page :where(a, button, [tabindex]):focus-visible {
    outline: 3px solid rgba(29,66,137,.42) !important;
    outline-offset: 3px !important;
}

.match-modern-hero :where(a, button):focus-visible,
.match-modern-lightbox :where(a, button):focus-visible {
    outline-color: rgba(255,255,255,.9) !important;
}

.match-modern-lightbox__stage {
    touch-action: pan-y;
}

.match-modern-lightbox__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.match-modern-lightbox__footer[hidden] {
    display: none !important;
}

.match-modern-lightbox__footer > a {
    flex: 0 0 auto;
}

@media (max-width:47.99rem) {
    .match-modern-navigation {
        overscroll-behavior-inline: contain !important;
        scroll-snap-type: inline proximity;
    }

    .match-modern-page .match-modern-navigation__button {
        min-height: 2.75rem !important;
        padding: .58rem .66rem !important;
        font-size: .75rem !important;
        scroll-snap-align: start;
    }

    .match-modern-tabs {
        justify-content: stretch !important;
        overflow-x: hidden !important;
        overscroll-behavior-inline: auto;
        scroll-snap-type: none;
    }

    .match-modern-page .match-modern-tabs button {
        flex: 1 1 0 !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 2.75rem !important;
        padding: .58rem .3rem !important;
        overflow: hidden !important;
        font-size: clamp(.64rem,2.6vw,.75rem) !important;
        scroll-snap-align: none;
    }

    .match-modern-page .match-modern-tabs button .match-modern-tab-count {
        display: none !important;
    }

    .match-modern-hero__fact span {
        font-size: .68rem !important;
    }

    .match-modern-hero__fact strong,
    .match-modern-hero__fact a {
        font-size: .82rem !important;
        line-height: 1.3 !important;
    }

    .match-modern-team__scorers,
    .match-modern-team--away .match-modern-team__scorers {
        font-size: .68rem !important;
        line-height: 1.35 !important;
    }

    .match-modern-player__name {
        font-size: .62rem !important;
        line-height: 1.15 !important;
    }

    .match-modern-lightbox__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.match-external-news-panel :where(
    article,
    [class*="__card"],
    [class*="-card"],
    [class*="__item"]
) {
    min-height: 0 !important;
    height: auto !important;
    align-self: start;
}

@media (prefers-reduced-motion:reduce) {
    .match-modern-page *,
    .match-modern-page *::before,
    .match-modern-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .match-modern-navigation,
    .match-modern-tabs,
    .match-modern-view-toggle,
    .match-modern-lightbox {
        display: none !important;
    }

    .match-modern-page [data-match-tab-panel][hidden],
    #matchModernLineupList[hidden] {
        display: block !important;
    }

    #matchModernPitch {
        display: none !important;
    }

    .match-modern-page,
    .match-modern-panel,
    .ifkdb-matchdata__card {
        background: #fff !important;
        box-shadow: none !important;
    }
}

/* Redaktionell matchnotering */
.match-modern-note {
    display: grid !important;
    grid-template-columns: 2.35rem minmax(0, 1fr) !important;
    gap: .8rem !important;
    align-items: start !important;
    padding: .9rem 1rem !important;
    border: 1px solid rgba(18,54,96,.12) !important;
    border-radius: .85rem !important;
    background: #f7f9fc !important;
    box-shadow: none !important;
    color: #34465b !important;
}

.match-modern-note__icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 50%;
    background: #e8eef6;
    color: #1d4289;
    font-size: .86rem;
    font-weight: 900;
}

.match-modern-note__copy {
    min-width: 0;
}

.match-modern-note__eyebrow {
    margin: 0 0 .24rem !important;
    color: #486b95 !important;
    font-size: .66rem !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.match-modern-note__copy > p:last-child {
    margin: 0 !important;
    color: #34465b !important;
    font-size: .84rem !important;
    line-height: 1.58 !important;
}

@media (max-width: 35rem) {
    .match-modern-note {
        grid-template-columns: 1.9rem minmax(0, 1fr) !important;
        gap: .62rem !important;
        padding: .78rem .82rem !important;
    }

    .match-modern-note__icon {
        width: 1.9rem;
        height: 1.9rem;
        font-size: .76rem;
    }
}

/* Källangivelse för automatiskt importerad väderdata. */
.match-modern-hero__fact--weather {
    min-width: 10.5rem;
}
.match-modern-weather-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .18rem .42rem;
    min-width: 0;
}
.match-modern-weather-heading > span {
    flex: 0 0 auto;
}
.match-modern-weather-source {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .22rem;
    max-width: 24rem;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: .5rem;
    font-weight: 650;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}
.match-modern-hero__fact .match-modern-weather-source a,
.match-modern-hero__fact .match-modern-weather-source span {
    display: inline;
    margin: 0;
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}
.match-modern-hero__fact .match-modern-weather-source a {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: .05em;
    text-underline-offset: .12em;
}
@media (max-width: 48rem) {
    .match-modern-hero__fact--weather {
        min-width: 0 !important;
    }
    .match-modern-weather-heading {
        gap: .12rem .34rem;
    }
    .match-modern-weather-source {
        font-size: .47rem;
        line-height: 1.25;
    }
    .match-modern-hero__fact .match-modern-weather-source a,
    .match-modern-hero__fact .match-modern-weather-source span {
        font-size: inherit !important;
    }
}

/* Gemensam vertikal placering för huvudnavigationen. */
@media (min-width: 48rem) {
    .match-modern-page {
        padding-top: 1rem !important;
    }
}

@media (max-width: 47.99rem) {
    .match-modern-page {
        padding-top: .75rem !important;
    }
}

/* Okända startspelare tonas ned för att skiljas från identifierade spelare. */
.match-modern-player--unknown {
    opacity: .62;
}

.match-modern-player--unknown .match-modern-player__shirt,
.match-modern-player--unknown .match-modern-player__shirt:before,
.match-modern-player--unknown .match-modern-player__shirt:after {
    background: #6f7d89;
}

.match-modern-player--unknown .match-modern-player__shirt {
    border-color: rgba(255,255,255,.58);
    box-shadow: 0 .25rem .55rem rgba(0,0,0,.16);
}

.match-modern-player--unknown .match-modern-player__name {
    background: rgba(48,58,62,.68);
    color: rgba(255,255,255,.9);
}


/* Straffsparksläggningen fortsätter samma visuella händelseflöde. */
.ifkdb-shootout{
    margin-top:1.15rem;
}
.ifkdb-shootout__divider{
    display:grid;
    grid-template-columns:minmax(1rem,1fr) auto minmax(1rem,1fr);
    align-items:center;
    gap:.8rem;
    margin:0 0 .8rem;
    text-align:center;
}
.ifkdb-shootout__divider>span{
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(29,66,137,.26));
}
.ifkdb-shootout__divider>span:last-child{
    background:linear-gradient(90deg,rgba(29,66,137,.26),transparent);
}
.ifkdb-shootout__divider div{
    min-width:0;
}
.ifkdb-shootout__divider h3{
    margin:0 !important;
    color:#172b43 !important;
    font-size:1rem !important;
    font-weight:950 !important;
    letter-spacing:-.01em !important;
    line-height:1.2 !important;
}
.ifkdb-shootout__divider p{
    margin:.18rem 0 0 !important;
    color:#647287 !important;
    font-size:.72rem !important;
    font-weight:700 !important;
    line-height:1.35 !important;
}
.ifkdb-shootout__timeline{
    position:relative;
    display:flex;
    flex-direction:column;
    width:100%;
    gap:.35rem;
}
.ifkdb-shootout__timeline:before{
    position:absolute;
    top:1.05rem;
    bottom:1.05rem;
    left:4.45rem;
    width:2px;
    border-radius:999px;
    background:#d8e3f0;
    content:"";
    pointer-events:none;
}
.ifkdb-shootout__item{
    position:relative;
    display:grid;
    grid-template-columns:5.9rem minmax(0,1fr);
    align-items:center;
    width:100%;
    min-width:0;
    padding:.28rem 0;
}
.ifkdb-shootout__rail{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:2.7rem 2.35rem;
    align-items:center;
    gap:.42rem;
    width:100%;
}
.ifkdb-shootout__order{
    color:#52637a;
    font-size:.82rem;
    font-weight:900;
    line-height:1;
    text-align:right;
    white-space:nowrap;
}
.ifkdb-shootout__order::after{
    content:".";
}
.ifkdb-shootout__dot{
    display:grid;
    width:2.35rem;
    height:2.35rem;
    place-items:center;
    border:3px solid #fff;
    border-radius:.78rem;
    background:#edf2f7;
    color:#52637a;
    font-size:.85rem;
    font-weight:950;
    line-height:1;
}
.ifkdb-shootout__item.is-goal .ifkdb-shootout__dot{
    background:#ddf1e8;
    color:#176a48;
}
.ifkdb-shootout__item.is-miss .ifkdb-shootout__dot{
    background:#eef1f5;
    color:#59697c;
}
.ifkdb-shootout__body{
    position:relative;
    display:block;
    width:100%;
    min-width:0;
    overflow:visible;
    padding:.72rem .9rem;
    border:1px solid rgba(18,54,96,.12);
    border-radius:.86rem;
    background:#f8fafc;
    text-align:left;
}
.ifkdb-shootout__body::before{
    position:absolute;
    z-index:1;
    width:.72rem;
    height:.72rem;
    background:#f8fafc;
    content:"";
    pointer-events:none;
}
.ifkdb-shootout__body>strong{
    display:block;
    min-width:0;
    margin:0;
    color:#10243b;
    font-size:.94rem;
    font-weight:900;
    line-height:1.28;
}
.ifkdb-shootout__meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.2rem .48rem;
    margin:.22rem 0 0;
    color:#647287;
    font-size:.76rem;
    line-height:1.4;
}
.ifkdb-shootout__meta>span{
    display:inline-flex;
    align-items:center;
}
.ifkdb-shootout__meta>span+span::before{
    margin-right:.48rem;
    color:#a2afbe;
    content:"·";
}
.ifkdb-shootout__team{
    font-weight:800;
}
.ifkdb-shootout__outcome{
    font-weight:900;
}
.ifkdb-shootout__item.is-goal .ifkdb-shootout__outcome{
    color:#176a48;
}
.ifkdb-shootout__item.is-miss .ifkdb-shootout__outcome{
    color:#59697c;
}
.ifkdb-shootout__score{
    font-weight:850;
    font-variant-numeric:tabular-nums;
}

@media (min-width:48rem){
    .ifkdb-shootout__timeline{
        gap:.12rem;
    }
    .ifkdb-shootout__timeline:before{
        left:50%;
        transform:translateX(-1px);
    }
    .ifkdb-shootout__item{
        grid-template-columns:minmax(0,1fr) 5.3rem minmax(0,1fr);
        min-height:4.15rem;
        padding:.16rem 0;
    }
    .ifkdb-shootout__rail{
        grid-column:2;
        grid-row:1;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:.22rem;
        width:100%;
    }
    .ifkdb-shootout__order{
        order:1;
        font-size:.73rem;
        text-align:center;
    }
    .ifkdb-shootout__dot{
        order:2;
        width:2.1rem;
        height:2.1rem;
        border-radius:50%;
    }
    .ifkdb-shootout__body{
        grid-row:1;
        width:min(100%,34rem);
        padding:.65rem .82rem;
    }
    .ifkdb-shootout__item.is-left .ifkdb-shootout__body{
        grid-column:1;
        justify-self:end;
        margin-right:.65rem;
        text-align:right;
    }
    .ifkdb-shootout__item.is-left .ifkdb-shootout__body::before{
        top:50%;
        right:-.42rem;
        border-top:1px solid rgba(18,54,96,.12);
        border-right:1px solid rgba(18,54,96,.12);
        transform:translateY(-50%) rotate(45deg);
    }
    .ifkdb-shootout__item.is-right .ifkdb-shootout__body{
        grid-column:3;
        justify-self:start;
        margin-left:.65rem;
        text-align:left;
    }
    .ifkdb-shootout__item.is-right .ifkdb-shootout__body::before{
        top:50%;
        left:-.42rem;
        border-bottom:1px solid rgba(18,54,96,.12);
        border-left:1px solid rgba(18,54,96,.12);
        transform:translateY(-50%) rotate(45deg);
    }
    .ifkdb-shootout__item.is-left .ifkdb-shootout__meta{
        justify-content:flex-end;
    }
}

@media (max-width:47.99rem){
    .ifkdb-shootout{
        margin-top:.9rem;
    }
    .ifkdb-shootout__divider{
        grid-template-columns:minmax(.5rem,1fr) auto minmax(.5rem,1fr);
        gap:.55rem;
        margin-bottom:.7rem;
    }
    .ifkdb-shootout__divider h3{
        font-size:.94rem !important;
    }
    .ifkdb-shootout__divider p{
        max-width:15rem;
        font-size:.67rem !important;
    }
    .ifkdb-shootout__body{
        width:calc(100% - .5rem);
        margin-left:.5rem;
        padding:.68rem .8rem;
    }
    .ifkdb-shootout__body::before{
        top:50%;
        left:-.42rem;
        border-bottom:1px solid rgba(18,54,96,.12);
        border-left:1px solid rgba(18,54,96,.12);
        transform:translateY(-50%) rotate(45deg);
    }
    .ifkdb-shootout__body>strong{
        font-size:.9rem;
    }
    .ifkdb-shootout__meta{
        font-size:.72rem;
    }
}

@media (max-width:26rem){
    .ifkdb-shootout__divider{
        grid-template-columns:1fr;
        text-align:left;
    }
    .ifkdb-shootout__divider>span{
        display:none;
    }
    .ifkdb-shootout__divider p{
        max-width:none;
    }
}
