
/* =========================================================
   Live Result Page
   ========================================================= */
.center-live{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    padding: 20px 50px 50px 50px;
}


.live-result-container{
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    background: rgba(25, 25, 25, 0.52);

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 15px;

    overflow: hidden;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* =========================================================
   標題
   ========================================================= */

.live-result-title{
    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    color: #ffffff;

    background: rgba(15, 15, 15, 0.72);

    font-size: 17px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.20);

    letter-spacing: 0.4px;
}

/* =========================================================
   賽場名稱
   ========================================================= */

.live-result-event-name{
    width: 100%;

    height: 53.5px;

    padding: 12px 20px;

    background: transparent;

    color: #ffffff;

    font-size: 19px;
    font-weight: 600;

    line-height: 1.5;

    border-bottom: 1px solid rgba(255,255,255,0.25);

    overflow-wrap: anywhere;
    word-break: break-word;
}

/* =========================================================
   組別列表
   ========================================================= */

.live-result-list{
    width: 100%;
    height: calc(100% - 133.5px);
    background: transparent;
    padding: 10px 20px;
    overflow-y: auto;
}


.live-result-group-button{
    width: 100%;
    min-height: 58px;

    margin-bottom: 12px;
    padding: 10px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.09);

    color: #ffffff;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.live-result-group-button:last-child{
    margin-bottom: 0;
}


.live-result-group-button:hover{
    background: rgba(255, 255, 255, 0.17);

    border-color: rgba(255, 255, 255, 0.48);

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);

    transform: translateY(-1px);
}


.live-result-group-button:active{
    background: rgba(255, 255, 255, 0.12);

    transform: translateY(0);

    box-shadow: none;
}


.live-result-group-name{
    flex: 1;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.5;

    overflow-wrap: anywhere;
    word-break: break-word;
}


.live-result-group-arrow{
    flex: 0 0 auto;

    margin-left: 15px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 20px;

    transition:
        transform 0.2s ease;
}


.live-result-group-button:hover .live-result-group-arrow{
    color: #ffffff;
    transform: translateX(4px);
}

/* =========================================================
   沒有即時成績
   ========================================================= */

.live-result-empty{
    width: 100%;

    padding: 50px 20px;

    text-align: center;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;
}

/* =========================================================
   回首頁
   ========================================================= */

.live-result-back{
    width: 100%;
    min-height: 40px;

    display: flex;
    justify-content: right;
    align-items: center;

    padding: 0 18px;

    color: #ffffff;

    background: rgba(15, 15, 15, 0.72);

    font-size: 17px;
    font-weight: 600;

    border-top: 1px solid rgba(255, 255, 255, 0.20);

}
.live-result-back a{
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    font-size: 14px;
}


.live-result-back a:hover{
    color: #ffffff;

    text-decoration: underline;
}

/* =========================================================
   平板模式
   ========================================================= */

@media screen and (max-width: 1024px){

    html,
    body{
        width: 100%;
        height: 100%;
    }


    .indexbody{
        width: 100%;
        height: 100%;

        overflow: hidden;
    }


    .top{
        width: 100%;
        height: 190px;

        padding: 30px 30px 0 30px;
    }


    .imgbox{
        width: 480px;
        height: 160px;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }


    .center-live{
        width: 100%;
        height: calc(100% - 300px);

        padding: 15px 30px 30px 30px;
    }


    .live-result-container{
        width: 100%;
        height: 100%;

        max-width: none;
    }


    .live-result-title{
        min-height: 42px;

        padding: 0 16px;

        font-size: 17px;
    }


    .live-result-event-name{
        height: 52px;

        padding: 12px 18px;

        font-size: 18px;
    }


    .live-result-list{
        height: calc(100% - 133.5px);

        padding: 10px 15px;
    }


    .live-result-group-button{
        min-height: 58px;

        padding: 10px 15px;

        margin-bottom: 10px;
    }


    .live-result-group-name{
        font-size: 15px;
    }


    .live-result-back{
        min-height: 42px;

        padding: 0 16px;
    }

}

/* =========================================================
   手機模式
   ========================================================= */

@media screen and (max-width: 600px){

    html,
    body{
        width: 100%;
        height: 100%;
    }


    .indexbody{
        width: 100%;
        height: 100%;

        overflow: hidden;
    }


    .top{
        width: 100%;
        height: 125px;

        padding: 15px 12px 0 12px;
    }


    .imgbox{
        float: none;

        width: 100%;
        height: 90px;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }


    .center-live{
        width: 100%;

        height: calc(100% - 245px);

        padding: 10px 12px 20px 12px;
    }


    .live-result-container{
        width: 100%;
        height: 100%;

        max-width: none;

        border-radius: 12px;
    }


    .live-result-title{
        min-height: 40px;

        padding: 0 13px;

        font-size: 16px;
    }


    .live-result-event-name{
        height: 46.5px;

        padding: 10px 14px;

        font-size: 17px;

        line-height: 1.5;
    }


    .live-result-list{
        height: calc(100% - 126.5px);

        padding: 8px 10px;
    }


    .live-result-group-button{
        min-height: 54px;

        margin-bottom: 8px;

        padding: 9px 12px;

        border-radius: 7px;
    }


    .live-result-group-name{
        font-size: 14px;

        line-height: 1.5;
    }


    .live-result-group-arrow{
        margin-left: 10px;

        font-size: 18px;
    }


    .live-result-empty{
        padding: 40px 15px;

        font-size: 14px;
    }


    .live-result-back{
        min-height: 40px;

        padding: 0 13px;
    }


    .live-result-back a{
        font-size: 13px;
    }

}
