.site-top-banner {
    display: block;
    width: calc(100% + 30px);
    max-width: none;
    height: auto;
    margin: 0 -15px;
}

.match-page {
    padding: 0 20px 24px;
    color: #1d252d;
}

.match-page a {
    color: #215f9b;
}

.match-page a:hover,
.match-page a:focus {
    color: #123d67;
}

.marquee {
    max-width: 100%;
    overflow: hidden;
}

.marquee marquee {
    display: block;
    max-width: 100%;
    overflow: hidden;
}

.match-hero {
    margin: 0 -20px 24px;
    padding: 24px;
    background: #151b22;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.match-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #d5dde6;
    font-size: 15px;
}

.match-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.match-scoreboard {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.match-team {
    flex: 1 1 0;
    min-width: 0;
    padding: 18px;
    background: #f8fafc;
    color: #16202a;
    border: 1px solid #d8e0e8;
    border-radius: 4px;
}

.match-team.match-winner {
    border-color: #93bd2f;
    box-shadow: inset 0 4px 0 #93bd2f;
}

.match-team-label {
    margin-bottom: 8px;
    color: #697784;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.match-team-name {
    display: block;
    min-height: 62px;
    color: #15283a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
    word-break: break-word;
}

.match-team-name:hover,
.match-team-name:focus {
    color: #215f9b;
    text-decoration: none;
}

.match-score {
    margin-top: 16px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.match-versus {
    width: 180px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #222b35;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
}

.match-versus-main {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.match-versus-location {
    margin-top: 12px;
    color: #d5dde6;
    line-height: 1.35;
}

.match-export-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: -8px 0 20px;
}

.match-page .match-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    background: #215f9b;
    border: 1px solid #215f9b;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.match-page .match-export-btn:hover,
.match-page .match-export-btn:focus {
    background: #123d67;
    border-color: #123d67;
    color: #fff;
    text-decoration: none;
}

.match-page .match-export-btn-secondary {
    background: #f8fafc;
    border-color: #d8e0e8;
    color: #215f9b;
}

.match-page .match-export-btn-secondary:hover,
.match-page .match-export-btn-secondary:focus {
    background: #e9eef4;
    border-color: #c7d2de;
    color: #123d67;
}

.match-action-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 100%;
}

.match-photo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #d8e0e8;
    border-radius: 4px;
    color: #215f9b;
    font-weight: 700;
}

.match-section {
    margin-bottom: 20px;
}

.match-table-wrap {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.match-table-wrap .table {
    margin-bottom: 0;
    background: #fff;
}

.match-score-table {
    min-width: 620px;
}

.match-comparison-table {
    min-width: 640px;
}

.match-player-table {
    min-width: 860px;
    font-size: 13px;
}

.match-page .table > tbody > tr > td,
.match-page .table > tbody > tr > th,
.match-page .table > thead > tr > td,
.match-page .table > thead > tr > th {
    vertical-align: middle;
}

.match-page .table th {
    white-space: nowrap;
}

.match-empty {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #d8e0e8;
}

.photo-page {
    padding: 24px 20px 32px;
}

.photo-page-header {
    margin-bottom: 18px;
    border-bottom: 2px solid #3d4b55;
}

.photo-page-header h1 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
}

.photo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.photo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #d8e0e8;
    border-radius: 4px;
}

.photo-item-main {
    min-width: 0;
}

.photo-item-date,
.photo-item-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #697784;
    font-size: 13px;
}

.photo-item h2 {
    margin: 8px 0;
    color: #16202a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.photo-item h2 span {
    color: #697784;
    font-size: 13px;
    font-weight: 700;
}

.match-page .photo-item-link,
.photo-page .photo-item-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: #215f9b;
    border: 1px solid #215f9b;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.photo-page .photo-item-link:hover,
.photo-page .photo-item-link:focus {
    background: #123d67;
    border-color: #123d67;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .container {
        width: 100%;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    body {
        min-width: 0;
    }

    .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .wrap {
        padding-left: 8px;
        padding-right: 8px;
    }

    .site-top-banner {
        width: calc(100% + 16px);
        margin-left: -8px;
        margin-right: -8px;
    }

    .marquee {
        margin-bottom: 12px;
    }

    .match-page {
        padding: 0 12px 18px;
    }

    .match-hero {
        margin: 0 -12px 18px;
        padding: 18px 12px;
    }

    .match-meta {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 14px;
    }

    .match-scoreboard {
        display: block;
    }

    .match-team {
        margin-bottom: 10px;
        padding: 14px;
    }

    .match-team-name {
        min-height: 0;
        font-size: 22px;
    }

    .match-score {
        margin-top: 10px;
        font-size: 48px;
    }

    .match-versus {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px;
    }

    .match-export-actions {
        justify-content: stretch;
        flex-wrap: wrap;
        margin: -4px 0 16px;
    }

    .match-page .match-export-btn {
        flex: 1 1 140px;
    }

    .photo-page {
        padding: 18px 12px 24px;
    }

    .photo-list {
        grid-template-columns: 1fr;
    }

    .photo-item {
        display: block;
    }

    .photo-page .photo-item-link {
        width: 100%;
        margin-top: 14px;
    }
}
