:root {
  --box-bg-color: #1f1f1f;
  --row-hover-bg: #2c2c2c;
  --main-color: #bf0c3e;
  --page-bg: #121212;
  --text: #ededed;
  --muted: #b8b8b8;
  --line: #404040;
  --live: #0a93ae;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Source Sans 3", Helvetica, sans-serif;
}

body.dark {
  background-color: #121212;
  color: #fff;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.main {
  min-height: calc(100vh - 180px);
}

@media (min-width: 992px) {
  .container {
    max-width: 1100px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1420px;
  }
}

header.site-header {
  background: #1f1f1f;
}

.navbar {
  padding: 0 !important;
  letter-spacing: 0.04rem;
  min-height: 48px;
  border-top: 1px solid #111;
  background: #1f1f1f !important;
}

.navbar-brand {
  margin: 0;
  padding: 8px 16px 8px 0;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.35rem;
  color: #fff !important;
  text-transform: uppercase;
  line-height: 1;
}

.navbar-brand span {
  color: var(--main-color);
}

.navbar .nav-item .nav-link {
  color: #fff;
  font-size: 14px;
  padding: 12px 14px;
}

.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link.active {
  color: var(--main-color) !important;
}

.navbar-toggler {
  border: 1px solid #444;
  background: transparent;
  padding: 6px 10px;
}

.navbar-toggler:focus {
  outline: 1px solid var(--main-color);
}

.navbar-collapse.show {
  display: block !important;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }
}

#site-header {
  min-height: 118px;
}

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ico svg {
  display: block;
}

#sports {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding: 8px 0 4px;
  margin-bottom: 0;
  border: unset;
  gap: 4px;
}

#sports a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 8px 10px;
  color: #ccc;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#sports a .ico {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #fff;
}

#sports a:hover,
#sports a.active {
  color: var(--main-color);
}

#sports a:hover .ico,
#sports a.active .ico {
  color: var(--main-color);
}

.sv-box {
  background: var(--box-bg-color);
  border-radius: 15px;
  padding: 5px;
  margin-top: 16px;
  display: block;
  position: relative;
}

.sv-box .header {
  padding: 10px 12px 4px;
}

.sv-box .header .title {
  padding-left: 8px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.sv-box .body {
  padding: 2px 10px 12px;
  position: relative;
  overflow: hidden;
}

.top-tournament {
  padding: 6px 4px 0;
}

.top-tournament > div {
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.top-tournament img,
.league-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 100px;
  background: #161616;
}

.league-name {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0 10px;
  color: #fff;
}

.competitions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.competitions li {
  background: #121212;
}

.competitions li:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.competitions li:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.competitions .competition {
  display: block;
  text-decoration: none;
  position: relative;
  line-height: 23px;
  padding: 0 6px 3px;
  border-top: 1px dashed var(--line);
  transition: background 0.3s ease;
}

.competitions li:first-child .competition {
  border-top: 0;
}

.competition-cell-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  color: #fff;
  white-space: nowrap;
  padding: 5px 78px 5px 0;
}

.competition-cell-table-cell {
  display: table-cell;
  padding: 10px 0;
  vertical-align: middle;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
}

.competition-cell-side1 {
  text-align: right;
  padding-left: 10px;
  padding-right: 6px;
}

.competition-cell-side2 {
  text-align: left;
  padding-left: 6px;
}

.competition-cell-score {
  width: 108px;
  text-align: center;
  font-weight: 500;
}

.competition-cell-status {
  display: block;
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  color: #c3c3c3;
}

.competition-cell-time {
  color: var(--main-color);
  font-size: 13px;
  font-weight: 700;
}

.match-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #2a1218;
  border: 1px solid rgba(191, 12, 62, 0.55);
  color: #ff4d73;
  font-family: Oswald, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
}

.match-countdown.competition-cell-status {
  display: inline-flex;
  text-transform: none;
  color: #ff4d73;
  font-size: 0.82rem;
}

.match-countdown b {
  font-weight: 500;
}

.match-countdown.is-live {
  min-width: 52px;
  padding: 3px 9px;
  background: var(--main-color);
  border-color: #e10f48;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: countdown-pulse 1.4s ease-in-out infinite;
}

.match-countdown.is-live b {
  font-weight: 500;
  color: #fff;
}

.match-countdown.is-ended {
  min-width: 58px;
  padding: 3px 9px;
  background: #2a2a2a;
  border-color: #444;
  color: #9a9a9a;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  animation: none;
}

.match-countdown.is-ended b {
  color: #9a9a9a;
  font-weight: 600;
}

@keyframes countdown-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(191, 12, 62, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(191, 12, 62, 0);
  }
}

.solo-event .match-countdown {
  display: inline-flex;
  margin-top: 8px;
}

.competition-cell-status-name {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-ss {
  background: var(--live) !important;
  color: #fff !important;
  border: 0;
  min-height: 35px;
  line-height: 21px;
}

.live-color {
  color: var(--main-color) !important;
}

.competition:hover {
  background: var(--row-hover-bg) !important;
}

.event-name,
.competition-cell-table-cell .name,
.solo-event > div {
  font-family: "Source Sans 3", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

.title-event {
  color: #ededed;
  font-weight: 500;
  margin: 14px 0;
}

.solo-event {
  padding: 16px 90px 16px 16px !important;
}

.solo-event small {
  display: block;
  color: #d7d6d6;
}

.logo.home-team,
.logo.away-team {
  display: inline-block;
  width: 32px;
  vertical-align: middle;
}

.competition-cell-table .logo img,
.team-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.img-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #ddd;
  font-size: 8px;
  font-weight: 500;
}

.league-logo.img-fallback {
  width: 24px;
  height: 24px;
  font-size: 9px;
}

.match-view-headT {
  display: table;
  table-layout: fixed;
  width: 95%;
  margin: auto;
}

.match-view-head-side1,
.match-view-head-side2,
.match-view-headSS {
  display: table-cell;
  vertical-align: top;
}

.match-view-head-side1,
.match-view-head-side2 {
  font-size: 1.1em;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.event-team img,
.event-team .img-fallback {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.event-team .img-fallback {
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
}

.event-team h5 {
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
}

.match-view-headSS {
  text-align: center;
  vertical-align: middle;
}

.event-status {
  margin: 10px 0;
  font-size: 16px;
}

.start-time {
  font-size: 1.6em;
  line-height: 1.1;
  font-weight: 300;
  color: #aaa;
}

#event-sticky-info .nav.nav-pills {
  padding: 8px 0 2px;
  background: #121212;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  display: flex;
}

#event-sticky-info .nav-pills > li {
  flex: 1;
  text-align: center;
}

#event-sticky-info .nav-pills > li > a {
  color: #fff;
  display: block;
  padding: 8px;
  border-bottom: 4px solid var(--main-color);
  font-weight: 700;
}

.embed-responsive {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

#streams {
  min-height: 40px;
  margin-top: 16px;
}

.player-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 12px;
}

.player-stage {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.streams-heading {
  margin: 18px 0 8px;
  color: #bbb;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-tab {
  appearance: none;
  border: 1px solid #3a3a3a;
  background: #1a1a1a;
  color: #e8e8e8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.player-tab:hover {
  border-color: var(--main-color);
  color: #fff;
}

.player-tab.active {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 24px;
  color: #bbb;
  background: #0a0a0a;
  text-align: center;
}

.embed-placeholder i {
  display: block;
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 12px;
  opacity: 0.9;
}

.embed-placeholder p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.embed-placeholder p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  color: #888;
}

.embed-placeholder strong {
  color: #fff;
  font-size: 16px;
}

.streams-empty {
  text-align: center;
  color: #bbb;
  margin: 12px 0 4px;
}

.streams-table {
  width: 100%;
  color: #fff;
}

.streams-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  color: #9a9a9a;
  font-weight: 600;
  padding: 8px 6px;
  border-bottom: 1px solid #333;
}

.streams-table tbody tr td {
  background: #212121;
  border: unset !important;
  color: #fff;
  padding: 10px 8px;
  vertical-align: middle;
}

.streams-table tbody tr {
  cursor: pointer;
}

.streams-table tbody tr.active,
.streams-table tbody tr:hover {
  outline: 1px solid var(--main-color);
}

.badge-live {
  background: var(--main-color);
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
}

.page-status {
  padding: 40px 16px;
  text-align: center;
  color: #aaa;
}

.page-status .spinner {
  margin-bottom: 8px;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #444;
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

.spinner-lg {
  width: 28px;
  height: 28px;
  border-width: 3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.embed-click-to-play {
  cursor: pointer;
}

.embed-click-to-play .ico {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 12px;
}

.channel-card .ico {
  display: block;
  font-size: 1.6rem;
  color: var(--main-color);
  margin-bottom: 8px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 10px 4px 16px;
}

.channel-card {
  display: block;
  background: #121212;
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  border: 1px dashed var(--line);
  color: #fff;
}

.channel-card:hover {
  background: var(--box-bg-color);
  border-color: var(--main-color);
}

footer.site-footer {
  background: rgb(31, 31, 31);
  color: #ccc;
  padding: 1.5rem 1rem;
  margin-top: auto;
}

footer.site-footer hr {
  border: 0;
  border-top: 1px solid hsla(0, 0%, 95%, 0.1);
}

footer.site-footer p {
  color: var(--main-color);
  margin: 0;
}

.navbar-description {
  color: var(--main-color);
  font-style: italic;
  font-size: 14px;
}

#dynamic-content {
  margin-top: 16px;
  padding: 8px 4px 24px;
  color: #ddd;
}

#dynamic-content h1 {
  font-size: 19px;
  margin-top: 5px;
  line-height: 30px;
  color: #fff;
}

#dynamic-content h2 {
  font-size: 1.3rem;
  margin: 16px 0 8px;
  color: #fff;
}

#dynamic-content h3 {
  font-size: 1.1rem;
  margin: 14px 0 8px;
  color: #fff;
}

#dynamic-content h4 {
  font-size: 1rem;
  margin: 12px 0 6px;
  color: #fff;
}

#dynamic-content p {
  margin-bottom: 12px;
  line-height: 1.6;
}

#dynamic-content img {
  max-width: 100%;
  height: auto;
}

.seo-side-copy {
  color: #b8b8b8;
  font-size: 14px;
  padding: 4px 6px 10px;
}

.news-sidebar .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.news-more {
  color: var(--main-color);
  font-size: 12px;
  white-space: nowrap;
  padding-right: 8px;
}

.blog-item {
  color: #fff !important;
  border: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #121212 !important;
  display: block;
  transition: transform 0.2s ease, outline-color 0.2s ease;
}

.blog-item:hover {
  outline: 1px solid var(--main-color);
  transform: translateY(-1px);
}

.blog-item .card-img-top {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #1a1a1a;
}

.blog-item .card-body {
  padding: 10px 12px 12px;
}

.blog-item .card-title {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.35;
  color: #fff;
}

.blog-meta {
  color: #9a9a9a;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  padding: 8px 4px 16px;
}

.news-grid article {
  margin: 0;
}

.news-grid .blog-item {
  margin-bottom: 0 !important;
  height: 100%;
}

.news-grid .blog-item .card-img-top {
  height: 160px;
}

.news-article-inner {
  padding: 12px 8px 20px;
}

.news-article-inner h1 {
  font-size: 1.7rem;
  margin: 0 0 8px;
  color: #fff;
}

.news-article-inner h2 {
  font-size: 1.2rem;
  margin: 18px 0 8px;
  color: #fff;
}

.news-hero {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0 18px;
  background: #1a1a1a;
}

.news-body {
  color: #ddd;
  line-height: 1.7;
}

.news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}

.news-body p {
  margin-bottom: 12px;
}

body.dark .blog-item,
body.dark .blog-item .card-title {
  color: #fff;
}

@media (max-width: 767.98px) {
  .contentContain .col-md-9 {
    padding-left: 0;
    padding-right: 0;
  }

  .league-name {
    font-size: 0.88rem;
    margin-left: 8px;
  }

  .top-tournament img,
  .league-logo,
  .league-logo.img-fallback {
    width: 20px;
    height: 20px;
  }

  .competitions .competition {
    line-height: 18px;
    padding: 0 4px 2px;
  }

  .competition-cell-table {
    padding: 2px 40px 2px 0;
  }

  .competition-cell-table-cell {
    padding: 7px 0;
  }

  .competition-cell-side1 {
    padding-left: 4px;
    padding-right: 4px;
  }

  .competition-cell-side2 {
    padding-left: 4px;
  }

  .competition-cell-score {
    width: 84px;
  }

  .event-name,
  .competition-cell-table-cell .name,
  .solo-event > div {
    font-size: 0.8rem;
    font-weight: 500;
  }

  .competition-cell-table .logo img,
  .team-logo,
  .img-fallback {
    width: 16px;
    height: 16px;
  }

  .img-fallback {
    font-size: 7px;
  }

  .match-countdown {
    min-width: 62px;
    padding: 3px 5px;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0;
  }

  .match-countdown.is-live {
    min-width: 42px;
    padding: 2px 6px;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .solo-event {
    padding: 10px 44px 10px 10px !important;
    font-size: 0.82rem;
  }

  .btn-ss {
    min-height: 26px;
    padding: 4px 7px;
    font-size: 11px;
    line-height: 16px;
  }

  .competition-cell-status-name {
    right: 6px;
  }

  .competition-cell-status-name .d-md-inline {
    display: none;
  }

  .event-team img,
  .event-team .img-fallback {
    width: 50px;
    height: 50px;
  }

  .event-team h5 {
    font-size: 13px;
  }

  #sports {
    display: flex !important;
  }

  #sports a {
    min-width: 52px;
    font-size: 10px;
    padding: 6px 6px;
  }
}
