:root {
  color-scheme: dark;
  --page-bg: #2c2a2a;
  --header-bg: #383838;
  --panel: #343434;
  --panel-strong: #292929;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #999;
  --orange: #ff991f;
  --score: #ffb743;
  --green: #00d632;
  --teal: #13b99b;
  --shell: 1072px;
}

/* Sports-live entrance page utilities. */
.sports-live-entry-main {
  padding-block: 0 2rem;
}

.sports-live-entry-masthead {
  min-height: 12.5rem;
}

.sports-live-entry-container {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1072 / 316;
  overflow: hidden;
  border-radius: 0.3rem;
  background: #111 url("/usr/themes/Mirages/images/sports-live/sports-live-entry-pc.png?v=20260827c") center / cover no-repeat;
}

.sports-live-entry-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.sports-live-entry-label img {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.sports-live-entry-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 42%;
  min-height: 3.6rem;
  padding: 0.5rem 1rem;
  transform: translate(-50%, -50%);
  border: 1px solid #ff9d00;
  border-radius: 999px;
  background: rgba(3, 8, 7, 0.9);
  color: #fff;
}

.sports-live-entry-cta__icon {
  display: block;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.sports-live-entry-cta strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.sports-live-entry-cta__arrow {
  display: block;
  flex: 0 0 auto;
  width: 11px;
  height: 21px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .sports-live-entry-main {
    padding-block: 1rem;
  }

  .sports-live-entry-container {
    aspect-ratio: 686 / 350;
    background-image: url("/usr/themes/Mirages/images/sports-live/sports-live-entry-h5.png?v=20260827c");
  }

  .sports-live-entry-label {
    top: 16px;
    left: 14px;
    gap: 4px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .sports-live-entry-label img {
    width: 12px;
    height: 12px;
  }

  .sports-live-entry-cta {
    gap: 0.55rem;
    width: 68%;
    min-height: 3rem;
    padding: 0.4rem 0.75rem;
  }

  .sports-live-entry-cta__icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .sports-live-entry-cta strong {
    font-size: 0.9rem;
  }
}

.sports-header-actions {
  position: fixed;
  top: 0.55rem;
  right: 0.8rem;
  z-index: 999;
  display: flex;
  gap: 0.45rem;
}

.sports-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
}

.sports-navigation-slide-toggle,
.sports-search-panel {
  display: none;
}

.sports-read-settings-trigger {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  line-height: 2.5rem;
  vertical-align: middle;
}

.sports-entry-masthead {
  height: 0;
}

.sports-entry-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sports-metrika-pixel {
  position: absolute;
  left: -9999px;
}

body.schedule-page *,
body.schedule-page *::before,
body.schedule-page *::after,
.sports-live-entry-container,
.sports-live-entry-container *,
.sports-live-entry-container *::before,
.sports-live-entry-container *::after {
  box-sizing: border-box;
}

body.schedule-page {
  min-width: 320px;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.schedule-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
}

body.sports-live-subpage #ai-navigation-container {
  display: none;
}

@media (max-width: 767px) {
  .sports-live-entry-masthead {
    min-height: 10rem;
  }
}

body.schedule-page #body > .container {
  width: 100%;
}

body.schedule-page #archive {
  width: 100%;
}

@media screen and (min-width: 768px) and (max-width: 1301px) {
  body.schedule-page.card .container {
    max-width: 720px;
  }
}

@media screen and (min-width: 1302px) and (max-width: 1599px) {
  body.schedule-page.card .container {
    max-width: 864px;
  }
}

@media screen and (min-width: 1600px) and (max-width: 1799px) {
  body.schedule-page.card .container {
    max-width: 896px;
  }
}

@media screen and (min-width: 1800px) and (max-width: 1999px) {
  body.schedule-page.card .container {
    max-width: 960px;
  }
}

@media screen and (min-width: 2000px) and (max-width: 2399px) {
  body.schedule-page.card .container {
    max-width: 992px;
  }
}

@media screen and (min-width: 2400px) {
  body.schedule-page.card .container {
    max-width: 1024px;
  }
}

@media screen and (min-width: 768px) {
  body.schedule-page.card .container {
    max-width: 1104px;
  }
}

body.schedule-page #body-bottom {
  margin-top: 0;
}

.schedule-page a {
  color: inherit;
  text-decoration: none;
}

.schedule-page button,
.schedule-page input {
  font: inherit;
  letter-spacing: 0;
}

.schedule-page button {
  color: inherit;
}

.schedule-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.schedule-header {
  height: 80px;
  background: var(--header-bg);
}

.schedule-header__inner {
  display: flex;
  align-items: center;
  height: 80px;
}

.schedule-brand {
  display: block;
  flex: 0 0 auto;
  width: 150px;
  height: 36px;
}

.schedule-brand picture,
.schedule-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.schedule-nav {
  display: flex;
  align-items: stretch;
  gap: 66px;
  align-self: stretch;
  margin-left: 84px;
}

.schedule-page .schedule-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  color: #878787;
  font-size: 20px;
  white-space: nowrap;
}

.schedule-page .schedule-nav__item.is-active {
  color: #fff;
}

.schedule-nav__item.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--orange);
}

.schedule-main {
  position: relative;
  padding-top: 40px;
}

.schedule-date-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 78px);
  justify-content: space-between;
  align-items: stretch;
}

.schedule-calendar-trigger,
.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 78px;
  height: 132px;
  padding: 16px 8px 19px;
  border: 1px solid #515151;
  border-radius: 39px;
  background: #393939;
  cursor: pointer;
}

.schedule-calendar-trigger img {
  display: block;
  width: 52px;
  height: 52px;
}

.schedule-calendar-trigger span,
.schedule-date span {
  color: #f2f2f2;
  font-size: 16px;
  line-height: 1;
}

.schedule-date strong {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #777;
  color: #f2f2f2;
  font-size: 18px;
  font-weight: 500;
}

.schedule-date.is-active {
  border-color: var(--orange);
  background: var(--orange);
}

.schedule-date.is-active strong {
  background: #161616;
}

.schedule-date.is-active span {
  color: #1d1d1d;
}

.schedule-calendar-panel {
  position: absolute;
  display: block;
  z-index: 30;
  top: 158px;
  left: 0;
  width: 340px;
  padding: 18px;
  border-radius: 10px;
  background: #3a3735;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

.schedule-calendar-panel[hidden],
.schedule-modal[hidden] {
  display: none;
}

.schedule-calendar-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schedule-calendar-panel__head strong {
  font-size: 20px;
}

.schedule-calendar-panel__head > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.schedule-calendar-panel__head a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: transparent;
  color: #999;
  cursor: pointer;
}

.schedule-calendar-panel__week,
.schedule-calendar-panel__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.schedule-calendar-panel__week {
  margin-top: 18px;
  color: #a7a7a7;
  font-size: 12px;
}

.schedule-calendar-panel__days {
  gap: 8px 0;
  margin-top: 12px;
}

.schedule-calendar-panel__days a,
.schedule-calendar-panel__days span.is-disabled {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

.schedule-calendar-panel__days span.is-disabled {
  color: #555;
  cursor: not-allowed;
}

.schedule-calendar-panel__head a.is-disabled {
  color: #555;
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.schedule-calendar-panel__days a.is-selected {
  background: var(--orange);
}

.schedule-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 153, 31, 0.36);
}

.schedule-banners a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.schedule-banners img {
  display: block;
  width: 100%;
  height: auto;
}

.schedule-banners picture {
  display: contents;
}

.schedule-filter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.schedule-status-filter {
  display: flex;
  gap: 16px;
}

.schedule-status-filter a,
.schedule-page .schedule-league-trigger {
  display: flex;
  align-items: center;
  height: 58px;
  /* min-width: 128px; */
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  background: #343434;
  color: #999;
  font-size: 20px;
  cursor: pointer;
}

.schedule-league-trigger > img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.schedule-status-filter a.is-active {
  background: var(--orange);
  color: #161616;
}

.schedule-league-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  /* min-width: 280px; */
  justify-content: flex-start;
}

.schedule-league-trigger__arrow {
  width: 12px !important;
  height: 18px !important;
  margin-left: auto;
  transform: rotate(90deg);
  filter: brightness(60%);
}

.schedule-results {
  margin-top: 24px;
}

.schedule-league-panel {
  position: absolute;
  z-index: 20;
  top: 242px;
  right: 0;
  display: none;
  width: min(420px, 100%);
  padding: 20px;
  border-radius: 8px;
  background: #3a3735;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
}

.schedule-league-panel:target {
  display: block;
}

.schedule-league-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.schedule-league-panel__head a {
  color: #aaa;
  font-size: 24px;
  line-height: 1;
}

.schedule-league-panel__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.schedule-league-panel__options a {
  padding: 10px 12px;
  border-radius: 4px;
  background: #4a4642;
  color: #ddd;
  font-size: 13px;
}

.schedule-league-panel__options a.is-selected {
  background: var(--orange);
  color: #171717;
}

.schedule-table-head,
.schedule-match {
  display: grid;
  grid-template-columns: 160px 112px minmax(170px, 1fr) 90px minmax(170px, 1fr) 84px 105px;
  align-items: center;
}

.schedule-table-head {
  min-height: 62px;
  border-top: 2px solid var(--orange);
  border-radius: 8px 8px 0 0;
  background: #292929;
  color: #eee;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.schedule-match-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.schedule-match {
  min-height: 60px;
  border-radius: 7px;
  background: #353535;
  color: #e2e2e2;
  font-size: 13px;
  text-align: center;
}

.schedule-match[hidden] {
  display: none;
}

.page-nav[hidden] {
  display: none;
}

.schedule-match__time img {
  display: none;
}

.schedule-match__team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.schedule-match__team--home {
  justify-content: flex-end;
}

.schedule-match__team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-match__team img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-match__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--score);
  font-size: 20px;
}

.schedule-match__score b,
.schedule-match__score strong {
  font-weight: 500;
}

.schedule-match__away-score--h5 {
  display: none;
}

.schedule-match__live {
  display: grid;
  place-items: center;
}

.schedule-match__live img {
  display: block;
  width: 22px;
  height: 19px;
  object-fit: contain;
}

.schedule-match__viewers {
  color: #aaa;
}

.schedule-match__viewers i {
  margin-right: 5px;
}

@media (min-width: 721px) {
  .schedule-match__team--home,
  .schedule-match__team--away {
    justify-content: center;
  }
}

.schedule-empty {
  display: grid;
  min-height: 780px;
  place-items: start center;
  padding-top: 210px;
}

.schedule-empty[hidden] {
  display: none;
}

.schedule-empty img {
  display: block;
  width: 198px;
  height: 204px;
  object-fit: contain;
}

.schedule-pagination {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  margin-top: 20px;
  color: #ddd;
  font-size: 13px;
}

.schedule-pagination a,
.schedule-pagination button,
.schedule-pagination input {
  height: 42px;
  border: 1px solid #aaa;
  border-radius: 6px;
  background: transparent;
  color: #eee;
}

.schedule-pagination a,
.schedule-pagination button {
  display: grid;
  min-width: 64px;
  padding: 0 14px;
  place-items: center;
}

.schedule-pagination input {
  width: 66px;
  padding: 0 8px;
}

.schedule-pagination__next {
  position: absolute;
  right: 0;
}

.schedule-page .page-jump form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  line-height: normal;
}

.schedule-page .page-jump .page-info,
.schedule-page .page-jump input,
.schedule-page .page-jump button {
  flex: none;
  margin: 0;
  line-height: 20px;
  vertical-align: middle;
}

.schedule-ads {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.schedule-ads a {
  display: grid;
  height: 126px;
  place-items: center;
  border-radius: 8px;
  background: #838383;
  color: #dedede;
  font-size: 52px;
  font-weight: 300;
}

.schedule-footer {
  padding: 118px 0 30px;
  color: #999;
}

.schedule-footer__quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 620px;
  margin: 0 auto 48px;
}

.schedule-footer__quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.schedule-footer__quick img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.schedule-footer__description {
  font-size: 15px;
  line-height: 1.7;
}

.schedule-footer__description h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 18px;
}

.schedule-footer__description a {
  color: var(--teal);
}

.schedule-footer__description p {
  margin: 0 0 14px;
}

.schedule-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.schedule-footer__links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  justify-content: center;
  font-size: 15px;
}

.schedule-footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 42px;
}

.schedule-footer__social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #ddd;
  font-size: 20px;
}

.schedule-footer__social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.schedule-footer__legal {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}

.schedule-footer__copyright {
  margin: 16px 0 0;
  color: #777;
  text-align: center;
  font-size: 12px;
}

.schedule-footer__copyright a {
  color: #999;
}

.schedule-modal {
  position: absolute;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
}

.schedule-modal__backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(12, 12, 12, 0.68);
  pointer-events: auto;
}

.schedule-modal__panel {
  position: absolute;
  top: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100vw - 32px));
  height: min(354px, calc(100vh - 32px));
  padding: 14px 14px 12px;
  border-radius: 18px;
  transform: none;
  background: linear-gradient(135deg, #323232 0%, #483e33 100%);
  pointer-events: auto;
}

.schedule-modal__options {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.schedule-modal__options.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.schedule-modal__empty {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 13px;
  line-height: 18px;
}

.schedule-modal__empty img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.42;
}

.schedule-modal__games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.schedule-modal__games button {
  min-width: 0;
  height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #aaa;
  font-size: 13px;
  cursor: pointer;
}

.schedule-modal__games button.is-active {
  background: var(--orange);
  color: #222;
}

.schedule-modal__games button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 1px;
}

.schedule-modal__panel--esports .schedule-modal__options {
  padding-right: 6px;
}

.schedule-modal__game-group {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.schedule-modal__game-group[hidden],
.schedule-modal__panel--esports label[hidden] {
  display: none;
}

.schedule-modal__game-letter {
  padding-top: 9px;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
}

.schedule-modal__game-leagues {
  min-width: 0;
}

.schedule-modal__panel--esports label {
  min-height: 36px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.schedule-modal__panel--esports label:last-child {
  border-bottom: 0;
}

.schedule-modal__panel--esports label span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

body.schedule-page .schedule-modal__options::-webkit-scrollbar {
  width: 10px;
}

body.schedule-page .schedule-modal__options::-webkit-scrollbar-track {
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
}

body.schedule-page .schedule-modal__options::-webkit-scrollbar-thumb {
  min-height: 0;
  padding: 0;
  border-radius: 6px;
  background-clip: border-box;
  background-color: #ffffff66;
  -webkit-box-shadow: none;
  box-shadow: none;
}

body.schedule-page .schedule-modal__options::-webkit-scrollbar-thumb:hover,
body.schedule-page .schedule-modal__options::-webkit-scrollbar-thumb:active {
  background-color: #ffffff66;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@supports not selector(::-webkit-scrollbar) {
  .schedule-modal__options {
    scrollbar-color: #ffffff66 rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
  }
}

.schedule-modal fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0;
  padding: 4px 0 7px;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.schedule-modal legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
}

.schedule-modal label {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #eee;
  font-size: 13px;
  line-height: 1.3;
}

.schedule-modal label span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-modal input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: url("/usr/themes/Mirages/images/sports-live/league-unchecked.svg?v=20260827c") center / 13px 13px no-repeat;
  cursor: pointer;
}

.schedule-modal input:checked {
  background-image: url("/usr/themes/Mirages/images/sports-live/league-checked.svg?v=20260827c");
}

.schedule-modal input:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

.schedule-modal__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 10px;
}

.schedule-modal__actions button {
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: #5b554f;
  font-size: 13px;
  cursor: pointer;
}

.schedule-modal__actions button.is-primary {
  background: var(--orange);
  color: #222;
}

body.has-schedule-modal {
  overflow-x: hidden;
}

@media (max-width: 720px) {
  .schedule-shell {
    width: calc(100% - 2rem);
  }

  .schedule-header {
    /* height: 70px; */
    background: #111;
  }

  .schedule-header__inner {
    flex-direction: column;
    justify-content: flex-end;
  }

  .schedule-brand {
    width: 100px;
    height: 26px;
    margin-bottom: 3px;
  }

  .schedule-nav {
    align-self: auto;
    gap: 24px;
    height: 38px;
    margin: 0;
  }

  .schedule-nav__item {
    font-size: 14px;
  }

  .schedule-nav__item.is-active::after {
    bottom: 0;
    height: 2px;
  }

  .schedule-main {
    padding-top: 9px;
  }

  .schedule-date-section {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding-right: 2px;
  }

  .schedule-date-section::-webkit-scrollbar {
    display: none;
  }

  .schedule-calendar-trigger,
  .schedule-date {
    flex: 0 0 37px;
    width: 37px;
    height: 63px;
    padding: 5px 2px 8px;
    border-radius: 19px;
  }

  .schedule-calendar-trigger img {
    width: 24px;
    height: 24px;
  }

  .schedule-calendar-trigger span,
  .schedule-date span {
    font-size: 10px;
  }

  .schedule-date strong {
    width: 31px;
    height: 31px;
    font-size: 10px;
  }

  .schedule-calendar-panel {
    position: fixed;
    top: 188px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .schedule-league-panel {
    position: fixed;
    top: 145px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .schedule-banners {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  .schedule-banners a {
    border-radius: 5px;
  }

  .schedule-filter {
    gap: 6px;
    margin-top: 10px;
  }

  .schedule-status-filter {
    flex: 0 0 auto;
    gap: 7px;
  }

  .schedule-status-filter a,
  .schedule-page .schedule-league-trigger {
    height: 24px;
    padding: 0 12px;
    border-radius: 3px;
    font-size: 11px;
  }

  .schedule-league-trigger > img {
    width: 16px;
    height: 16px;
  }

  .schedule-page .schedule-league-trigger {
    flex: 0 0 92px;
    min-width: 92px;
    gap: 5px;
    padding: 0 8px;
    white-space: nowrap;
  }

  .schedule-league-trigger > .schedule-league-trigger__arrow {
    width: 5px !important;
    height: 9px !important;
    margin-left: auto;
  }

  .schedule-results {
    margin-top: 10px;
  }

  .schedule-table-head {
    display: none;
  }

  .schedule-match-list {
    gap: 11px;
    margin-top: 0;
  }

  .schedule-match {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    grid-template-rows: 28px 48px;
    min-height: 76px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 12px;
  }

  .schedule-match__competition {
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: center;
    width: 100%;
    padding-inline: 56px;
    border-bottom: 1px solid var(--line);
    color: #999;
    font-size: 13px;
    line-height: 27px;
    text-align: center;
  }

  .schedule-match__time {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #999;
    font-size: 11px;
  }

  .schedule-match__time img {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 3px;
    vertical-align: -2px;
  }

  .schedule-match__team {
    grid-row: 2;
    gap: 6px;
    white-space: nowrap;
  }

  .schedule-match__team--home {
    grid-column: 1;
  }

  .schedule-match__team--away {
    grid-column: 3;
  }

  .schedule-match__team img {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
  }

  .schedule-match__score {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    gap: 5px;
    margin-top: 5px;
    font-size: 17px;
  }

  .schedule-match__away-score--pc {
    display: none;
  }

  .schedule-match__away-score--h5 {
    display: inline;
  }

  .schedule-match__live {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
  }

  .schedule-match__live img {
    width: 18px;
    height: 16px;
  }

  .schedule-match__viewers {
    display: none;
  }

  .schedule-page--basketball .schedule-match {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    column-gap: 3px;
  }

  .schedule-page--basketball .schedule-match__team {
    gap: 5px;
  }

  .schedule-page--basketball .schedule-match__team span {
    min-width: 0;
  }

  .schedule-page--basketball .schedule-match__team img {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .schedule-page--basketball .schedule-match__score {
    gap: 4px;
    white-space: nowrap;
  }

  .schedule-empty {
    min-height: 490px;
    padding-top: 84px;
  }

  .schedule-empty img {
    width: 132px;
    height: 136px;
  }

  .schedule-pagination {
    justify-content: flex-end;
    gap: 9px;
    min-height: 33px;
    margin-top: 10px;
    font-size: 13px;
  }

  .schedule-pagination a,
  .schedule-pagination button,
  .schedule-pagination input {
    height: 33px;
    border-radius: 4px;
  }

  .schedule-pagination a,
  .schedule-pagination button {
    min-width: 43px;
    padding: 0 9px;
  }

  .schedule-pagination input {
    width: 53px;
  }

  .schedule-pagination__next {
    position: static;
  }

  .schedule-ads {
    gap: 6px;
    margin-top: 68px;
  }

  .schedule-ads a {
    height: 40px;
    border-radius: 0;
    background: #3b3b3b;
    font-size: 22px;
  }

  .schedule-ads a:nth-child(n + 7) {
    display: none;
  }

  .schedule-footer {
    padding: 0 0 20px;
  }

  .schedule-footer__quick {
    width: 100%;
    margin: -1px auto 14px;
  }

  .schedule-footer__quick a {
    gap: 3px;
    font-size: 12px;
  }

  .schedule-footer__quick img {
    width: 24px;
    height: 24px;
  }

  .schedule-footer__description {
    font-size: 12px;
    line-height: 1.55;
  }

  .schedule-footer__description h2 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .schedule-footer__description p {
    margin-bottom: 18px;
  }

  .schedule-footer__links {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 6px;
  }

  .schedule-footer__links a {
    min-height: 48px;
    font-size: 12px;
  }

  .schedule-footer__social {
    margin-top: 24px;
  }

  .schedule-footer__social a {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .schedule-footer__legal {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 11px;
  }

  .schedule-footer__copyright {
    margin-top: 12px;
    font-size: 10px;
  }

  .schedule-modal__panel {
    left: 50% !important;
    width: min(340px, calc(100vw - 32px));
    height: min(354px, calc(100vh - 32px));
    padding: 12px 12px 10px;
    border-radius: 14px;
    transform: translateX(-50%);
  }
}

.sports-room {
  padding-top: 24px;
}

.sports-room__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  color: #ddd;
}

.sports-room__title a {
  color: #aaa;
  font-size: 14px;
}

.sports-room__title strong {
  color: #fff;
  font-size: 20px;
}

.sports-room__player {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  border-radius: 8px;
  background: #0b0b0b url("/usr/themes/Mirages/images/sports-live/score-football-bg.png?v=20260827c") center / cover no-repeat;
}

.sports-room__state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
}

.sports-room__state strong {
  font-size: 20px;
}
.sports-room__state span {
  color: #aaa;
  font-size: 13px;
}

.sports-room__lines {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.sports-room__lines a {
  padding: 8px 16px;
  border-radius: 4px;
  background: #3a3a3a;
  color: #bbb;
  font-size: 13px;
}

.sports-room__lines a.is-active {
  background: var(--orange);
  color: #161616;
}

.sports-room__chat {
  margin-top: 16px;
  border-radius: 8px;
  background: #343434;
}

.sports-room__chat-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.sports-room__chat-head span {
  color: #999;
  font-size: 12px;
}

.sports-room__messages {
  min-height: 180px;
  padding: 12px 16px;
  color: #ccc;
  font-size: 13px;
}

.sports-room__messages p {
  margin: 0 0 12px;
}
.sports-room__messages b {
  color: var(--orange);
  font-weight: 500;
}

.sports-room__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.sports-room__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 4px;
  padding: 10px;
  background: #292929;
  color: #fff;
}

.sports-room__form a {
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--orange);
  color: #161616;
  font-size: 13px;
}

@media (max-width: 720px) {
  .sports-room {
    padding-top: 8px;
  }
  .sports-room__title strong {
    font-size: 16px;
  }
  .sports-room__player {
    margin-top: 8px;
  }
}

@media (max-width: 370px) {
  .schedule-status-filter {
    gap: 4px;
  }

  .schedule-status-filter button {
    padding-inline: 9px;
  }

  .schedule-page .schedule-league-trigger {
    min-width: 84px;
  }
}

/* The category page keeps the same bottom regions as the entrance page. */
.schedule-bottom-ads {
  margin-top: 24px;
}

.schedule-bottom-ads a img {
  display: block;
  width: 100%;
  min-height: 76px;
  object-fit: cover;
}

.schedule-site-foot-menu {
  padding-top: 76px;
}

.schedule-site-foot-menu .line-container {
  margin-top: 0;
}

.schedule-site-foot-menu .foot-menu a {
  color: #fff;
}

.schedule-site-foot-menu .foot-menu img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.schedule-site-foot-menu .footer-desc a {
  color: #1abc9c;
}

.schedule-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.schedule-footer-links a {
  padding: 1rem 0;
  border-bottom: 1px solid #444;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.schedule-site-foot-menu .contact-link a {
  display: block;
}

.schedule-site-foot-menu .contact-link img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 820px) {
  body.schedule-page.desktop.chrome #footer {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  body.schedule-page.desktop.chrome #footer > .container {
    width: 100%;
    max-width: 100%;
  }

  .schedule-bottom-ads {
    margin-top: 0;
  }

  .schedule-bottom-ads a img {
    min-height: 40px;
  }

  .schedule-site-foot-menu {
    padding-top: 68px;
  }

  .schedule-site-foot-menu .line-container {
    margin: 0.75rem 0;
  }

  .schedule-site-foot-menu .footer-desc b {
    font-size: 1rem;
  }

  .schedule-site-foot-menu .footer-desc p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .schedule-footer-links {
    grid-template-columns: 1fr;
  }

  .schedule-footer-links a {
    padding: 0.85rem 0;
    text-align: left;
  }
}
