.gwd_video-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
    transition: opacity .3s ease;
}

.gwd_video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.gwd_spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: gwd-spin .8s linear infinite;
}

.gwd_loader-play-icon {
    width: 62px;
    height: 62px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.gwd_loader-play-icon i {
    margin-left: 4px;
}

.gwd_video-loader.is-paused {
    cursor: pointer;
}

.gwd_video-loader.is-paused .gwd_spinner {
    display: none;
}

.gwd_video-loader.is-paused .gwd_loader-play-icon {
    display: flex;
}

.gwd_video-loader.is-loading .gwd_spinner {
    display: block;
}

.gwd_video-loader.is-loading .gwd_loader-play-icon {
    display: none;
}

@keyframes gwd-spin {
    100% {
        transform: rotate(360deg);
    }
}
.gwd_player-wrapper video{
	min-height:500px;
}
.gwd_blv_wrap{
  gap: 10px;
}
.gwd_controls {
    
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;
    box-sizing: border-box;
}
.gwd_group_vl{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
}
.gwd_controls {
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.gwd_banner_video_bottom{
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}
.gwd_banner_video_bottom img{
  border-radius: unset !important;
}
/* trạng thái ẩn */
.gwd_controls.hide {
    opacity: 0;
    pointer-events: none;
}
.gwd_banner_top_wrapper{
  position: absolute;
  top: 0;
  width: 100%;
}
.gwd_controls_banner{
  position: absolute;
  bottom: 0;
  width: 100%;
}
.gwd_fullscreen-btn{
  margin-left: auto;
}
#gwd_volume{
  --gwd-volume-percent: 100%;
  width: 96px;
  height: 18px;
  flex: 0 0 96px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
/* buttons */
.gwd_controls button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
/* track (Chrome / Edge / Safari) */
#gwd_volume::-webkit-slider-runnable-track {
    height: 5px;
    background: linear-gradient(
        to right,
        #ff3b3b 0%,
        #ff3b3b var(--gwd-volume-percent),
        rgba(255,255,255,0.28) var(--gwd-volume-percent),
        rgba(255,255,255,0.28) 100%
    );
    border-radius: 999px;
}

/* thumb */
#gwd_volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 14px;
    height: 14px;

    background: #ff3b3b;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
    cursor: pointer;

    /* QUAN TRỌNG: căn giữa */
    transform: translateY(-4.5px);
}
/* Firefox */
#gwd_volume::-moz-range-track {
    height: 5px;
    background: rgba(255,255,255,0.28);
    border-radius: 999px;
}

#gwd_volume::-moz-range-progress {
    height: 5px;
    background: #ff3b3b;
    border-radius: 999px;
}

#gwd_volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #ff3b3b;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.gwd_controls button:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* icons inside */
.gwd_controls i, .gwd_controls svg {
    pointer-events: none;
}
/* time text */
.gwd_time {
    color: #ddd;
    font-size: 12px;
    min-width: 90px;
    text-align: left;
    opacity: 0.9;
}

/* fullscreen mode styling */
.video-box:fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.video-box:fullscreen video {
    height: 100%;
    object-fit: cover;
}
.gwd_player-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto 16px;
    background: #000;
}

.gwd_player-wrapper video {
    width: 100%;
    display: block;
}

.gwd_banner {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 220px;
    height: 120px;
    background: rgba(255, 225, 78, 0.95);
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

#gwd_muteBtn{
  margin-left: 0;
}

@media screen and (max-width: 549px) {
  .gwd_controls {
    gap: 8px;
    padding: 10px;
  }

  .gwd_controls button {
    width: 34px;
    height: 34px;
  }

  #gwd_volume {
    display: none;
    width: 76px;
    flex-basis: 76px;
  }

  .gwd_time {
    min-width: auto;
    font-size: 11px;
  }
}

/* Khi fullscreen */
.gwd_player-wrapper:fullscreen {
    width: 100vw;
    height: 100vh;
}

.gwd_player-wrapper:fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gwd_player-wrapper:fullscreen .gwd_banner {
    display: flex;
}
button.chatBoxAction {
    font-size: 12px;
    line-height: 1;
}
.chat_container {
    min-height: auto;
}

.video_match #video {
    height: 593px; 
}

@media (max-width: 767px) {
    .video_match #video {
        height: auto;
    }

    .video_match {
        padding-bottom: 0;
        background-color: transparent;
    }
   
}

.video_match img {
    height: auto;
}

#wide-nav {
    min-height: auto !important;
    padding: 12px 0;
    background: #2C3339;
    border-bottom: 1px solid #51B025;
}

#wide-nav .flex-row.container {
 padding: 0;
}

#wide-nav .flex-row.container .a-marquee {
    background-color: rgb(25, 25, 25);
    color: rgb(255, 255, 255);
    box-sizing: border-box;
    flex: 1 1 0%;
    white-space: nowrap;
    line-height: 30px;
}

.match_hot .tournament {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    line-height: 22px;
}

.box_about h3 {
    font-family: 'SF Pro Display', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 36px;
    color: #F2F3F3;
    margin-bottom: 20px;
}
.table_top_bet th {
    text-transform: unset;
}

@media (max-width: 1280px) {
    .live_match .bottom {
        align-items: flex-start;
        flex-direction: unset;
    }
}

.video_match {
    height: auto;
    padding-bottom: unset;
    background: url(../img/spinner.gif) no-repeat center / 60px auto;
}

.banner-for-list-match {
    display: flex;
    justify-content: space-between;
}

.banner-for-list-match .banner-item {
    flex: 0 0 49%;
}

@media only screen and (max-width: 850px) {
    .banner-for-list-match .banner-item {
        flex: 1 !important
    }
    .none-on-mobile {
        display: none;
    }
}

.box_right .banner {
    background-color: transparent;
}

#livechat_app {
    /* max-height: 650px; */
    min-height: 450px;
}

/* ── Hot Match Channel Links ─────────────────────────────── */
#hot-channel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
}

#hot-channel-links .link-viewer {
    flex: 0 0 auto;
    min-width: 90px;
    text-align: center;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 !important;
}

#hot-channel-links .link-viewer:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#hot-channel-links .link-viewer.active {
    background: #51b025 !important;
    border-color: #51b025 !important;
    color: #fff !important;
}

/* ── World Cup Tab ───────────────────────────────────────── */
.list_tab .tab-worldcup > a {
    background: linear-gradient(135deg, #c8a623, #f5d76e, #c8a623);
    color: #1a1a1a !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 0.3px;
}

.list_tab .tab-worldcup.active > a,
.list_tab .tab-worldcup:hover > a {
    background: linear-gradient(135deg, #e6b800, #ffe566, #e6b800);
    color: #1a1a1a !important;
}

@media (max-width: 767px) {
    .match_hot {
        padding: 25px 10px 15px;
    }
}

@media (max-width: 549px) {
    
    .list_match .tab_container .list_tab {
        justify-content: space-between;
    }

    .list_match .tab_container .list_tab li a {
            padding: 0 10px;
    }
}

@media (max-width: 450px) {
    .gwd-banner-bottom__overlay img {
        width: 50%;
        max-width: 500px !important;
    }
}
@media screen and (max-width: 768px) {
    .gwd_spinner,
    .gwd_loader-play-icon{
        width: 24px;
        height: 24px;
    }
}
@media (max-width: 768px) {
    .gwd-top-strip-marquee__track img {
        height: 25px;
        width: auto;
    }
}
@media screen and (max-width: 768px) {
    body .gwd_blv_wrap {
        flex-direction: column !important;
    }
}
@media screen and (max-width: 768px) {
    .gwd_btn_bet img {
        height: 30px;
        width: auto;
    }
    .gwd_btn_bet{
        margin: auto;
    }
}