@import "card.css";

.left-bar{
    width: 420px;
}

.right-main{
    flex:1; display: flex; flex-direction: column; gap: 32px;
}

.published-info{
    border-top: solid 1px #E6E6E6 ; padding:15px 0; margin-top: 20px; padding-top: 25px;
}

.published-info ul li{
    display: flex; justify-content: space-between; align-items: center; color: #333; font-size: 18px; margin-bottom: 13px;
}

.published-info ul li span.red{
    color: #CC0303;
}

.published-info ul li span.green{
    color: #04BB35;
}

.published-info ul li span.blue{
    color: #036BCC;
}

.shuyin span{
    margin:0 5px;
}

.gk-10s{
    display: flex; justify-content: space-between; padding: 0 12px;
}

.gk-10s li{
    width: 48%; background: #F7F9FC; padding: 12px;  border-radius: 5px 5px 5px 5px; color: #383E47; font-size: 14px;
}

.gk-10s li .num-box{
    display: flex; gap: 10px; align-items: center; margin-top: 5px; font-size: 16px; font-weight: bold;
}

.gk-10s li .num-box.green{
    color: #04BB35;
}

.gk-10s li .num-box.blue{
    color: #036BCC;
}

.section-1{
    background: white; padding: 20px 0px; padding-bottom: 0;
}

.section-1 .nor-header{
    padding: 0 10px;
}

.c-body{
    padding: 0 0px;
}

@media screen and (max-width: 768px){
    .published-info ul li{
        font-size: 16px;
    }

    .left-bar{
        width: 100%; padding: 0 15px;
    }

}


@media screen and (max-width: 468px){
    .published-info ul li{
        font-size: 15px;
    }

    .left-bar{
        padding: 0 0px;
    }


}


/* 比賽TIPS列表樣式 */
.match-tips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    padding-top: 0;
}

.match-tip-item {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px;
    transition: all 0.3s ease;
}

.section-1 .match-tip-item:last-child{
    border-bottom:none;
}

.match-tip-item:hover {
    border-color: #CC0303;
    box-shadow: 0 4px 12px rgba(204, 3, 3, 0.1);
}

.section-1 .match-tip-item:last-child{
    border-bottom:none; box-shadow:none;
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.league-info {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.tip-result{
    width: 50px; height: 50px; line-height: 50px; text-align: center; border-radius: 50%; background: #036BCC;
    color: white;
}

.tip-result.red{
    background: #CC0303;
}

.tip-result.green{
    background: #42CC68;
}

.tip-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-price img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.tip-price span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.unlock-btn {
    background: #CC0303;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8px;
    margin-bottom: 3px;
}

a.link-btn{
    background: #337ab7;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8px;
    margin-bottom: 3px;
}

.unlock-btn:hover {
    background: #a00202;
}



.main-tips{
    display: flex;
    justify-content: space-between;
}

.tip-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teams-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-team {
    justify-content: flex-start;
}

.away-team {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.flag-icon {
    height: 16px;
    object-fit: cover;
    position: relative;
    bottom: 1px;
}

.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.vs-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 20px;
}

.vs-text {
    font-size: 16px;
    font-weight: bold;
    color: #999;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 4px;
}

.bet-info {
    text-align: left;
    padding-top: 8px;
}

.bet-type {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

/* 平板響應式 */
@media (max-width: 1024px) {
    .match-tips-list {
        gap: 12px;
        padding: 15px 0;
    }

    .match-tip-item {
        padding: 14px;
    }

    .teams-info {
        padding: 0 15px;
    }

    .vs-section {
        margin: 0 15px;
    }

    .team-name {
        font-size: 13px;
    }

    .flag-icon {
        height: 18px;
    }
}

/* 手機響應式 */
@media (max-width: 768px) {
    .match-tips-list {
        gap: 10px;
        padding: 10px 0;
    }

    .match-tip-item {
        padding: 12px;
        border-radius: 6px;
    }

    .tip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
    }

    .league-info {
        font-size: 12px;
        width: 100%;
    }

    .tip-price {
        align-self: flex-end;
        gap: 6px;
    }

    .tip-price img {
        width: 16px;
        height: 16px;
    }

    .tip-price span {
        font-size: 13px;
    }

    .unlock-btn {
        padding: 3px 10px;
        font-size: 11px;
        border-radius: 12px;
    }

    .teams-info {
        padding: 0 10px;
        gap: 8px;
        width: 100%;
    }

    .team {
        width: 100%;
        justify-content: center !important;
        flex-direction: row !important;
    }

    .vs-section {
        margin: 0;
        order: 1;
    }

    .home-team {
        order: 0;
    }

    .away-team {
        order: 2;
    }

    .vs-text {
        font-size: 14px;
        padding: 3px 10px;
    }

    .team-name {
        font-size: 12px;
    }

    .flag-icon {
        height: 18px;
    }

    .bet-info {
        padding-top: 6px;
    }

    .bet-type {
        font-size: 12px;
    }
}


@media (max-width: 538px) {
    .main-tips{
        flex-direction: column;
    }

    .bet-info{
        text-align:left; padding-right: 30vw;
    }
    
    .main-tips{
        position: relative;
    }
    
    .tip-price{
        position: absolute; right: 9px; bottom: -2px;
    }

    .section-1 .nor-header{
        margin-bottom: 0;
    }

    .unlock-btn {
        padding: 0px 10px;
        font-size: 13px;
        line-height: 26px;
    }

    .tip-price{
        line-height: 25px;
    }

    .tip-price img{
        position: relative; bottom: 1px;margin-bottom: 0;
    }

    .section-2 .main-tips{
        align-items: center; gap: 15px; position: relative; padding-bottom: 10px;
    }

    .team-name{
        font-size: 13px;
    }
    
    .tip-result {
        width: 38px;
        height: 38px;
        line-height: 38px;
        position: absolute;
        right: 5px;
        bottom: 0px;
    }
    
    .tip-body{
        width: 100%;
    }
    
    .published-info{
        padding-left: 12px; padding-right: 12px;
    }

    
}