a.soco-gototop {
  border: 2px solid var(--scl-primary) !important;
  bottom: 60px !important;
}

a.soco-gototop:hover {
  background: var(--scl-primary) !important;
}

.home .page_bars {
  background: none !important;
}

.home .sports-bars::after {
  display: none !important;
}

.home .sports-bars ul li button.active::before {
  content: none !important;
  display: none !important;
}

.sports-bars .nav-item {
  padding: 0 10px !important;
  flex: 0;
}

@media (max-width: 768px) {
  .match-list-container {
    padding: 10px 0px !important;
  }
}

#wap_bottombanner {
  bottom: 38px;
}

.score-match-data {
  display: flex !important;
}

.grid-matches>.main-grid-match {
  min-width: 0;
  /* bắt buộc để 1fr chia đều thật sự, không bị nội dung bên trong ép giãn */
}

.grid-match__footer {
  display: flex;
  min-width: 0;
}

.grid-match__footer-center {
  flex: 1 1 20%;
  min-width: 0;
  overflow: hidden;
  /* QUAN TRỌNG — chặn nội dung con tràn ra khỏi ranh giới 0-width này */
}

.match-blv-box {
  display: flex;
  align-items: center;
  justify-content: center;
  /* căn giữa cả cụm nút+list trong không gian available */
  gap: 4px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.match-blv-box .slider-wrapper {
  position: relative !important;
  width: auto !important;
  /* để nó co theo nội dung thật, không chiếm hết chỗ trống còn lại */
  max-width: 100% !important;
  overflow: hidden !important;
  flex: 0 1 auto !important;
  /* đổi từ 1 1 auto sang 0 1 auto — không tự nở ra chiếm hết không gian thừa */
  min-width: 0 !important;
  padding: 0 !important;
}

.match-blv-box .blv-list {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
}

.match-blv-box .blv-item-scl {
  flex-shrink: 0;
}

.match-blv-box .nav-btn {
  flex-shrink: 0;
  margin-right: unset !important;
  min-height: unset !important;
  /* nút giữ nguyên kích thước, không bị co giãn */
}

.home .sports-bars ul li::after {
  background: none !important;
}

.grid-matches .soco-empty-match-state {
  grid-column: 1 / -1;
  text-align: center;
  color: #fff;
}

#match-lists-shortcode {
  transition: opacity 0.15s ease;
}

#match-lists-shortcode.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

.fade {
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

/* Detail Page */

#player-stream {
  background: #292d2e;
}

.author-list ul li :hover,
.author-list ul li a.active {
  color: #fff !important;
}

.player .title_box h1 {
  padding: 0 !important;
}

.player-container {
  gap: 0 !important;
}

/* Chat */
.chat-box {
  background-color: var(--as-primary-bg);
}

.stat-container,
.summary-container,
#bxh_scl {
  background: var(--as-primary-bg);
  margin-bottom: 0;
  max-height: 98%;
  scrollbar-width: thin;
  scrollbar-color: #535252 #3a3939;
  overflow-y: auto;
}

.ranking-item {
  background: var(--as-primary-bg);
  border-bottom: 0.5px solid rgb(97 91 90 / 26%);
  padding: 5px 3px;
}

@media (min-width: 1400px) {
  .liveRoom-wrapper .live-room .inner .chat .chat-center {
    height: 480px;
  }
}

@media (min-width: 1190px) {
  .liveRoom-wrapper .live-room .inner .chat .chat-center {
    height: 480px;
  }
}

@media (min-width: 1000px) {
  .liveRoom-wrapper .live-room .inner .chat .chat-center {
    height: 480px;
  }
}

.author-list {
  padding: 5px 0px !important;
  overflow-x: auto;
  
  ul {
    flex-wrap: nowrap !important;
  }
}

.play_main_left .author-list li a {
  background: #505861;
  border-radius: 2px;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #FFFFFF;
  padding: 4px 5px;
  padding: 0.25rem 0.3125rem;
  margin-right: 4px;
  margin-right: 0.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.author-list ul li a {
  padding: 8px 15px !important;
}

.ketqua-table {
  border-radius: 6px;
  background: #292d2e;
}

.ketqua-table .match-item-row {
  border-bottom: 0.5px solid rgb(97 91 90 / 26%);
}

.match-item-row {
  background: none !important;
}

.content_post_box {
  background: #1A1D23;
  border-radius: 6px;
  padding: 20px;
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  color: #F2F3F3;
  position: relative;
  z-index: 1;
}

.recent-container {
  padding: 0px 0px !important;
  height: 592px !important;
}

#live-tracker-container .soco-tracker-status {
  background: #292d2e;
}

/* Bảng xếp hạng */
.as-standing {
  background: #212324;
  border: .0625rem solid #343940;
  border-radius: .375rem;
  font-size: .8125rem;
  font-weight: 400;
}

#table_standings>.col-12 {
  padding: 0px 0px !important;
}

.competitions-dropdown {
  padding: 0px 12px !important;
}

.custom-opt-dropdown {
  border: .0625rem solid #343940;
}

.group-table {
  background-color: var(--scl-primary) !important;
  color: #fff;
}

.table_get_livescore {
  border: .0625rem solid #343940;
  border-radius: .375rem;
  overflow: hidden;

  .slider:not(.flickity-enabled)>* {
    display: inline-block !important;
    vertical-align: top;
    white-space: normal !important;
  }

  .button,
  button,
  input[type=button],
  input[type=reset],
  input[type=submit] {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    color: currentColor;
    cursor: pointer;
    display: inline-block;
    font-size: .97em;
    font-weight: bolder;
    letter-spacing: .03em;
    line-height: 2.4em;
    margin-right: 1em;
    margin-top: 0;
    max-width: 100%;
    min-height: 2.5em;
    padding: 0 1.2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    text-shadow: none;
    text-transform: uppercase;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
    vertical-align: middle;
  }

  .box_iframe {
    margin: 20px !important;
  }
}

#embed-player {
  display: flex;
  justify-content: center;
  background: #292d2e;
}

.countdown_scl_wrap .card {
  background-color: #2a2929;
}

.textwidget p {
  margin-bottom: 5px;
}

.mshow-fade .match-item {
  opacity: 1 !important;
  animation: nonet !important;
}

.match-item {
  margin-bottom: 0;
}

.error-404 {
  color: #fff;
  text-align: center;
  background-color: #303536 !important;
  border: .0625rem solid #343940;
  border-radius: .375rem;
}

.ketqua-table .lv-score {
  color: #fff !important;
}

#page-content, #home-content {
  color: #fff;
}

.time-text {
  display: inline !important;
}
.scrollTo {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    position: fixed;
    opacity: 1;
    visibility: visible;
    color: #fff;
    border-radius: 50%;
    z-index: 99999;
    bottom: 20%;
    right: 2%;
    background-color: #4ea648;
  }

  .scrollTo:hover {
    color: white;
  }
  @media (min-width: 992px) {
    .col-lg-4 {
        width: 33.33333333%;
    }
    .col-lg-8 {
        width: 66.66666667%;
    }
}

@media (min-width: 992px) {
    .col-lg-3, .col-lg-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .col-lg-7, .col-lg-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
}
body #toc_container{
	background: #373737!important;
    border: 1px solid #000;
}
body #toc_container .toc_list li a{
    color:#fff!important;
}
.overflow-scroll {
  max-height: 650px;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  padding-right: 15px;
}
footer.page-footer {
  color: #fff;
}
footer p {
  margin-top: 5px;
  margin-bottom: 5px;
}
.footer-widget-custom .textwidget {
  text-align: center;
}
footer .is-layout-flex {
  display: flex;
  justify-content: space-around;
}
.archive-page-header {
  h1 {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
    font-weight: 700;
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 36px;
    line-height: 2.25rem;
    color: #fff;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    text-align: left;
  }
}

/* #content {
  color: #fff;
} */
#main {
  margin-top: 0 !important;
}