/*
 * Xscore808 Match Detail Page Styles
 * Supplements style.css with match-specific styles
 */

/* Match header responsiveness */
@media (max-width: 480px) {
    .matchx .home-team,
    .matchx .away-team {
        width: 30%;
    }

    .matchx .scorex {
        width: 40%;
    }

    .matchx .team-logo {
        max-width: 45px;
    }

    .timex {
        font-size: 16px;
    }
}

/* Live tracker responsive */
.tracker {
    margin: 10px 0;
}

.tracker iframe {
    width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 480px) {
    .tracker iframe {
        height: 350px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .tracker iframe {
        height: 450px;
    }
}

/* Stats section */
.statsf {
    font-size: 13px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 768px) {
    .statsf {
        width: 700px;
    }
}

@media (max-width: 768px) {
    .statsf {
        width: 100%;
        font-size: 12px;
    }
}

/* TV/Stream links */
#tv_stream {
    padding: 10px 0;
}

#tv_stream a {
    display: inline-flex;
    align-items: center;
    text-align: center;
    width: 100%;
    color: #000;
    font-size: 15px;
}

#tv_stream span {
    text-align: center;
    display: inline-block;
}

#linktv tr:nth-child(odd) {
    background-color: #F5F5F5;
}

#linktv.aleft td {
    text-align: left;
}

/* Show more/less toggle */
.text.short {
    height: 250px;
    overflow: hidden;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.show-more {
    border: 1px solid #36C;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
    color: #36C;
    display: inline-block;
    margin: 5px 0;
}

.show-more:hover {
    background-color: #36C;
    color: #fff;
}

/* Ad responsive helpers */
.adrespon {
    width: 50%;
    text-align: center;
    float: left;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .adrespon {
        width: 100%;
        margin: 5px 0;
    }

    .admobile {
        display: none;
    }
}

/* Tab icon images - loaded from theme assets */
.icon-stream-gray {
    background-image: url('../img/television.svg');
}

.icon-ball-gray {
    background-image: url('../img/football-game.svg');
}

.icon-video-gray {
    background-image: url('../img/television.svg');
}

.icon-h2h-gray {
    background-image: url('../img/chart.svg');
}

.icon-predict-gray {
    background-image: url('../img/analytics.svg');
}

/* 365scores widget overrides - hide duplicate headers */
.match-widget_small_view__mSHbk .match-widget_videoEmbedded__JP97f,
.description-header_container__8txuY,
.description-header_content__X3P5G,
.game-center-header_small_view__pqr6N,
.game-center-header_small_view__LvRTC,
.game-center-header_container__HmxpK,
.match-widget_small_view__mSHbk .match-widget_liveStreaming__2c\+CN,
.live-streaming-module-small-view {
    display: none !important;
}

/* Video player */
#player {
    overflow: hidden;
    height: 400px;
}

@media (max-width: 480px) {
    #player {
        height: 250px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #player {
        height: 300px;
    }
}

/* Highlight overlay */
.overlay {
    position: absolute;
    bottom: 12%;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,0.5);
}

.overlaytop {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 5px;
}
