@font-face {
    font-family: 'douyuFont';
    src: url('/static/fonts/douyuFont-2.otf') format('opentype');
    font-display: swap;
}

:root{
    --primary-color:#463d3e;
    --header-bg: linear-gradient(-180deg, #463d3e 5%, #463d3e 95%) !important;
    --navbar-link-hover:#eaf4f4 !important;
    --match-header-color:#000;
    --match-header-active:#463d3e;
    --match-list-font-size:30px !important;
    --match-signal-end-bg-color:#9e0059;
    --match-signal-end-color:#fff;
    --match-signal-end-bg-border:1px solid #9e0059;
    --news-text-color:#463d3e;
    --news-text-before-bg-color:#463d3e;
    --footer-border-color:#370617;
    --footer-bg-color:#000814;
    --footer-link-text-color:#f0ead2 !important;
    --friendly-bg-color:#001d3d;
    --search-btn-bg-color:#dde5b6;
    --search-btn-text-color:#000;
    --leaderboard-header-bg-color:#463d3e;
    --leaderboard-header-text-color:#fff;

    --pagination-bg-active-color:#6b9080;
    --pagination-bg-hover-color:#eaac8b;
    --pagination-text-active-color:#fff;
    --directly-pagination-bg-active-color:#6b9080;

    --data-tab-after-bg-color:#463d3e;
    --post-comment-btn-bg-color:#003554;
    --post-comment-btn-bg-text-color:#fff;
    --tv-title-bg-color:#4d908e;
    --tv-title-bg-text-color:#fff;
    --tv-title-bg-border-bottom-color:#ffeee2;
    --all-game-title-border:1px solid #463d3e;
    --all-game-title-text-color: #fff;
    --all-game-data-list-a-hover-color:#a4c3b2;
    --all-game-data-list-a-active-bg-color:#463d3e;
    --all-game-data-list-a-active-color:#fff;
    --all-game-data-list-a-active-hover-color:#fff;
    --mobile-navbar-item-bg-color:rgb(176, 72, 72);
    --stream-content-bg-color:#463d3e;
    --tv-item-bg-color:#463d3e;
    --tv-item-text-color:#fff;
    --one-flex: 0 0 100%;
    --two-flex: 0 0 50%;
    --three-flex: 0 0 50%;
    --data-order-flex-direction:row;
    --info-page-one-flex:0 0 65%;
    --info-page-two-flex:0 0 32%;
    --index-master-table-flex:0 0 67%;
    --data-year-item-a-hover-color:#000;
    --stream-page-tab-active-color:#fff;
    --login-area-bg-color:#b23a48;
    --login-area-text-color:#fff;
}

.info-content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
}

.one{
    flex: var(--one-flex);
}

.two{
    flex: var(--two-flex);
}

.three{
    flex: var(--three-flex);
}

.info-content .news{
    background-color: #fff;
    padding: 1.2%;
    box-sizing: border-box;
    overflow-y: auto;
    border: 3px solid #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-top: 5px;
}

.info-content .news .title{
    font-size: 22px;
    color:var(--news-text-color);
}

.info-content .news .title h4::before{
    content: '';
    position: relative;   
    top: 2px;   
    display: inline-block;   
    width: 6px;  
    height: 19px;   
    border-radius: 5px;   
    margin-right: 10px;
    background-color: var(--news-text-before-bg-color);
}
.info-content .news .news-item{
    margin-top: 20px;
}
.info-content .news .news-item a{
     line-height: 35px;  
    width: 100%;   
    color: #000000;   
    font-size: 13px;  
    text-align: left;
    display: block;  
}

.info-content .news .tag{
    margin: 10px;
}

.pc{
    display: block;
}

.mobile{
    display: none;
}

.v57_index_content{
    display: flex;
}

.photo-wall{
    width: 100%;
    height: 120px;
    display: flex;
    padding: 0 20px;
    margin-top: 10px;
    flex-wrap: nowrap;  
    overflow-x: auto;   
}

.photo-wall .photo-wall-item{
    width: 17%;
    min-width: 180px;
    flex-shrink: 0;
    padding: 5px 0;
    margin-right: 35px;
    position: relative;
    z-index: 1;
}

.photo-wall .photo-wall-item .photo{
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    top:0;
    left:0;
}

.photo-wall .photo-wall-item .play-icon{
    width: 40px;
    height: 40px;
    position: absolute;
    top:50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%,-50%);
}

header .login-area{
    background-color: var(--login-area-bg-color);
    color:var(--login-area-text-color);
    text-align: right;
}

header .login-area .login-area-content{
    width: 97%;
    margin: 0 auto;
    padding: 10px 0;
}

header .login-area .login-area-content a{
    font-size: 16px;
    margin-right: 10px;
    cursor: pointer;
}

header .login-area .login-area-content a:hover{
    color:var(--primary);
}

.banner{
    width: 100%;
    height: 240px;
    position: relative;
    user-select: none;
    backdrop-filter: blur(20px);
    overflow: hidden;
    background-color: #332f30;
    margin: 0 auto;
    max-width: 1280px;
}

.banner img{
    position: absolute;
    right: 9vw;
    top: 0;
    width: auto;
    height: 90%;
    transform: scale(1.9);
    transform-origin: top left;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 3%, rgba(0, 0, 0, 1) 93%, rgba(0, 0, 0, 0) 100%);
}

.banner .banner-word{
    position: absolute;
    color:#fff;
    top: 50%;
    transform: translateY(-50%);
    left: 4%;
    width: 90%;
}

.banner-word h1{
    font-size: 35px;
    font-weight: 100;
    letter-spacing: 15px;
    font-family: 'douyuFont';
    text-shadow: 5px 5px 3px #333;
    animation: bobbing 1s infinite ease-in-out;
}

.banner-word h2{
    margin-top: 5px;
    letter-spacing: 8px;
}

.hot-info{
    width: 98%;
    margin: 10px auto 0;
}

.hot-info .title{
    height: 2.5rem;
    line-height: 2.5rem;
    border-bottom: 1px solid var(--primary-color);
    padding: 0px;
}

.hot-info .title span{
    float: left;
    color: rgb(255, 255, 255);
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
    background: var(--primary-color);
    padding: 0px 1.5rem;
    font-size: 18px;
}

.hot-info .hot-info-img{
    box-sizing: border-box;
    width: 30%;
    padding: 10px 10px 10px 0;
}

.hot-info-content{
    display: flex;
    align-items: center;
}

.hot-info .hot-info-news-item{
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.hot-info .hot-info-news-item img{
    margin-right: 10px;
}

#rocket{
    position: fixed;
    bottom: 70px;
    right: 5px;
    z-index: 999;
}

.gqzb{
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--match-signal-end-color);
    background: var(--match-signal-end-bg-color);
    border: var(--match-signal-end-bg-border);
    box-sizing: border-box;
    padding: 10px;
    margin-left: 10px;
}

.gqzb p{
    text-align: center;
}

.ad-banner{
    margin: 10px auto 10px auto;
    max-width: 1280px;
    width: 100%;
    height: 320px;
    position: relative;
    user-select: none;
    backdrop-filter: blur(20px);
    overflow: hidden;
    background: linear-gradient(to bottom, #010101, #000);
}

.ad-banner-filter{
    background-color: rgba(0, 0, 0, 0.619);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}

.ad-banner img{
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 10;
}

.ad-banner-word{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    color:#fff;
}

.ad-banner-word h2{
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 8px;
    font-family: 'CangErYuYangTiW05';
}

.ad-banner-button{
    margin-top: 20px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), linear-gradient(145deg, green, blue 25%, #9f6eff 50%, #fd66cb 75%, orange);
    transform-style: preserve-3d;
    border-radius: 9999px;
    padding: 2px;
    transition: transform .3s cubic-bezier(1,0,0,1);
    display: inline-block;
    transform: scaleZ(1.01);
    box-shadow: 0 3px 7px rgba(19, 17, 26, .14);
}

/* CSS */
.button-85 {
    background-color: black;
    color: #fff;
    text-align: center;
    letter-spacing: .01786em;
    white-space: nowrap;
    border-radius: 1000px;
    justify-content: center;
    align-items: center;
    padding: 20px 34px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.111em;
    display: flex;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1.01) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 16px;
  }

  .button-85:hover{
    color:#fff;
  }
  
  .button-80 {
    margin: 3px auto 0 auto;
    background: #f0ead2;
    backface-visibility: hidden;
    border-radius: .375rem;
    border-style: solid;
    border-width: .125rem;
    box-sizing: border-box;
    color: #212121;
    cursor: pointer;
    display: inline-block;
    font-family: Circular,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    padding: 8px 10px;
    position: relative;
    text-align: left;
    text-decoration: none; /* 重要，確保 <a> 沒有下劃線 */
    transform: translateZ(0) scale(1);
    transition: transform .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button-80:not(:disabled):hover {
    transform: scale(1.05);
    color:#000;
  }
  
  .button-80:not(:disabled):hover:active {
    transform: scale(1.05) translateY(.125rem);
  }
  
  .button-80:focus {
    outline: 0 solid transparent;
  }
  
  .button-80:focus:before {
    content: "";
    left: calc(-1*.375rem);
    pointer-events: none;
    position: absolute;
    top: calc(-1*.375rem);
    transition: border-radius;
    user-select: none;
  }
  
  .button-80:focus:not(:focus-visible) {
    outline: 0 solid transparent;
  }
  
  .button-80:focus:not(:focus-visible):before {
    border-width: 0;
  }
  
  .button-80:not(:disabled):active {
    transform: translateY(.125rem);
  }
  
  @keyframes glowing-button-85 {
    0% {
      background-position: 0 0;
    }
    50% {
      background-position: 400% 0;
    }
    100% {
      background-position: 0 0;
    }
  }  

@media screen and (max-width:900px) {
    .info-content{
        flex-direction: column;
        padding-right: 5px;
    }

    .info-content .news{
        max-height: unset;
        margin: 20px 5%;
        padding: 2%;
    }

    .pc{
        display: none;
    }

    .mobile{
        display: block;
    }

    .v57_index_content{
        display: block;
    }

    .banner .banner-word{
        left: 3%;
        font-size: 26px;
        width: 65%;
    }

    .banner-word h1{
        font-size: 25px;
        letter-spacing: 10px;
        line-height: 1.5em;
    }

    .banner-word h2{
        font-size: 12px;
        line-height: 1.5em;
        letter-spacing: 3px;
    }
    
    .hot-info-content{
        display: block;
    }

    .hot-info .hot-info-img{
        display: none;
    }

    .ad-banner{
        height: 180px;
    }
    
    .ad-banner img{
        /* width: auto;
        height: 270px;
        right: 0;
        top:46%; */
    }
    
    .ad-banner-word{
        width: 100%;
    }
    
    .ad-banner-word h2{
        letter-spacing: 0;
        font-size: 25px;
    }
}

@keyframes bobbing {
    0%, 100% {
        color: #fde4cf;
    }
    25% {
        color: #fde4cf;
    }
    75% {
        color: #fde4cf;
    }
}