     .swiper-button-next, .swiper-button-prev {
    background: #1FC7D4;
    padding: 12px;
    border-radius: 50%;
    color: #fff;
}
.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
}
/*   .time-unit{min-width: 20px; padding: 2px;}*/
.prediction-container {
           
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        @media only screen and (max-width: 767px) {
            .prediction-container{grid-template-columns: repeat(1, 1fr);}
        }

        /* Tablets (768px to 1024px) */
        @media only screen and (min-width: 768px) and (max-width: 1024px) {
           .prediction-container{grid-template-columns: repeat(3, 1fr);}
        }

        .prediction-box {
            background: var(--card-background);
            border-radius: 24px;
           
            color: white;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .status-badge {
            position: absolute;
/*            top: 12px;
            left: 12px;*/
            background: rgba(0, 0, 0, 0.5);
/*            padding: 4px 8px;*/
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            color:var(--primary-color);
        }

        .round-id {
            position: absolute;
            top: 12px;
            right: 12px;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .prediction-up {
            color: var(--up-color);
            text-align: center;
            font-size: 18px;
            margin: 16px 0 8px;
        }

        .prediction-down {
            color: var(--down-color);
            text-align: center;
            font-size: 18px;
            margin: 16px 0 8px;
        }

        .payout {
            text-align: center;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .price-container {
            background: rgba(118, 69, 217, 0.2);
            border-radius: 16px;
            padding: 16px;
            margin: 24px auto;
            text-align: center;
            display: inline-block;
            min-height: 114px;
        }
        .header-next .price-container{background:linear-gradient(rgb(83, 222, 233) 0%, rgb(118, 69, 217) 100%); padding: 1px}
        .header-later .price-container{ padding: 1px}
        .gxfHGu {
            background: var(--box-color);
             border-radius: 14px;
             padding: 16px;
             min-height: 112px;
         }

        .price-row {
/*            display: flex;*/
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .price-label {
            color: var(--text-secondary);
            font-size: 14px;
        }

/*        .price-value {
            font-size: 20px;
            font-weight: 600;
        }*/

        .price-change {
            color: var(--up-color);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .price-change.down {
            color: var(--down-color);
        }

        .locked-price, .prize-pool {
            color: var(--text-secondary);
            font-size: 14px;
            margin-top: 8px;
        }

        .btn-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin: 24px;
        }

        .btn-up {
            background: var(--up-color);
            color: white;
            border: none;
            border-radius: 16px;
            padding: 12px;
            cursor: pointer;
            font-weight: 600;
            text-align: center;
            width: 100%;
        }

        .btn-down {
            background: var(--down-color);
            color: white;
            border: none;
            border-radius: 16px;
            padding: 12px;
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            text-align: center;
        }
        .game-title{margin-bottom: 30px}
        
        
        
        

.scroll-container {
    clear:both;
      display: grid;
      overflow-x: auto;
      gap: 20px;
      padding-bottom: 20px;
      scroll-behavior: smooth;
       grid-template-columns: repeat(7, 1fr);
      scrollbar-width: none; /* For Firefox */
      -ms-overflow-style: none; /* For IE and Edge */
    }
 @media only screen and (max-width: 680px) {
            .scroll-container{grid-template-columns: repeat(1, 1fr);}
            .time-unit{max-width: 60px !important; margin:0 auto;}
        }

        
    .scroll-container::-webkit-scrollbar {
      height: 10px;
      display: none
    }

    .scroll-container::-webkit-scrollbar-thumb {
/*      background: #555;
      border-radius: 10px;*/
display: none
    }

    .prediction-box {
      min-width: 270px;
      flex: 0 0 auto;
/*      background: #1f1d2b;*/
      border-radius: 16px;
      color: white;
     
     
    }

    .prediction-box.header-live {
      border-color: #7645D9;
    }

    .box-header {
    background: #141414;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    display: block;
    justify-content: space-between;
    min-height: 45px;
    
}

    .progress-bar {
      height: 6px;
      background: #2f2f2f;
    }

    .progress-fill {
      height: 100%;
      background: #a16eff;
      width: 2%;
    }

    .box-content {
      padding: 16px;
    }

    .box-content h4 {
      margin: 0;
      font-size: 20px;
      color: #31D0AA;
    }

    .price-card {
      margin-top: 10px;
      font-size: 14px;
    }

    .price-card .change {
      display: inline-block;
      margin-top: 4px;
      padding: 4px 8px;
      background: #00c28b;
      color: white;
      font-weight: bold;
      font-size: 13px;
      border-radius: 6px;
    }

    .price-card .row {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
    }

    .action-buttons {
      display: flex;
      gap: 10px;
      margin-top: 15px;
    }

    .action-buttons a {
      flex: 1;
      text-align: center;
      padding: 10px;
      border-radius: 8px;
      color: white;
      font-weight: bold;
      text-decoration: none;
      font-size: 14px;
    }

    .btn-up {
      background: #31D0AA;
    }

    .btn-down {
      background: #EC407A;
    }
    .header-expired{opacity: 0.7; cursor: pointer}
    .header-expired:hover{opacity: 1}
    .header-live .price-container{border: 2px solid #31D0AA;}
    .header-live .box-header,.header-live .round-id{color:var(--primary-color);}
    
    .prediction-box.header-live {
    position: relative;
    padding: 3px;
    border-radius: 12px;
    background: linear-gradient(90deg, #31D0AA, #7645D9, #31D0AA);
    background-size: 400% 400%;
    animation: animatedBorder 5s linear infinite;
    overflow: hidden;
}

.prediction-box.header-live::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #31D0AA, #7645D9, #31D0AA);
    background-size: 400% 400%;
    animation: animatedBorder 5s linear infinite;
    border-radius: 14px;
}

@keyframes animatedBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header-live .box-header{ border-top-right-radius:12px;
border-top-left-radius:12px;}
.gggbg{/*background: #1F1D2B;*/  background: var(--card-background);
    height: 100%;
    border-radius: 10px;}
.countdown{display: block !important}
.result-card__img{width:50px;}
.top_div{width: 100%;}
.top_div h1{float: left}
.top_div .result-card__img{margin-left: 20px; margin-top: -3px;}