.tt-page {
  padding: 12px 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 255, 110, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #06111f 0%, #030913 100%);
  color: #eef6ff;
  font-family: Barlow, sans-serif;
}

.tt-page * {
  box-sizing: border-box;
}

.tt-shell {
  width: 1330px;
  max-width: calc(100vw - 24px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
}

.tt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tt-side-main,
.tt-side-btn,
.tt-box button {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(122, 159, 214, 0.13);
  background: linear-gradient(180deg, #101d31, #0b1626);
  color: #dbe8ff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tt-side-main.active,
.tt-box button.active {
  background: linear-gradient(90deg, #065d25, #0a9d3a);
  border-color: rgba(31, 255, 119, 0.35);
  box-shadow: 0 0 18px rgba(0, 255, 110, 0.18);
}

.tt-side-main b,
.tt-side-btn b,
.tt-box button b,
.tt-tabs button b {
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(5, 12, 24, 0.72);
  color: #d8ebff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.tt-box {
  background: linear-gradient(180deg, #0e1a2c, #071221);
  border: 1px solid rgba(122, 159, 214, 0.12);
  border-radius: 11px;
  padding: 12px;
  margin-top: 4px;
}

.tt-box h3 {
  margin: 0 0 10px;
  color: #8fa5c4;
  font-size: 13px;
  font-weight: 600;
}

.tt-box button {
  height: 36px;
  min-height: 36px;
  border-radius: 7px;
  background: transparent;
  border-color: transparent;
  padding: 0 8px;
  margin-bottom: 3px;
}

.tt-box label {
  height: 34px;
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  color: #dbe8ff;
  font-size: 13px;
  font-weight: 500;
}

.tt-box input {
  display: none;
}

.tt-box i {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #263854;
  position: relative;
  display: block;
}

.tt-box i::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b7c7e2;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: 0.15s;
}

.tt-box input:checked + i {
  background: #08d64e;
}

.tt-box input:checked + i::after {
  left: 16px;
  background: #fff;
}

.tt-main {
  min-width: 0;
}

.tt-tabs {
  display: grid;
  grid-template-columns: repeat(5, max-content) 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}

.tt-tabs button {
  height: 48px;
  border: 1px solid rgba(122, 159, 214, 0.16);
  border-radius: 10px;
  padding: 0 18px;
  color: #eaf3ff;
  background: linear-gradient(180deg, #101d31, #0b1626);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.tt-tabs button.active {
  background: linear-gradient(180deg, #073d22, #086b2a);
  border-color: rgba(31, 255, 119, 0.28);
}

.tt-tabs button.danger {
  background: linear-gradient(180deg, #8b0f2f, #470818);
  border-color: rgba(255, 45, 91, 0.35);
}

.tt-tabs button.orange {
  background: linear-gradient(180deg, #7a4b08, #3b2405);
  border-color: rgba(255, 174, 38, 0.32);
}

.tt-tabs button.blue {
  background: linear-gradient(180deg, #063b7b, #071f45);
  border-color: rgba(52, 139, 255, 0.34);
}

.tt-setting {
  justify-self: end;
  color: #d7e5f8;
  font-size: 14px;
  font-weight: 650;
}

.tt-section {
  background: linear-gradient(
    180deg,
    rgba(8, 18, 33, 0.98),
    rgba(5, 12, 23, 0.98)
  );
  border: 1px solid rgba(122, 159, 214, 0.13);
  border-radius: 13px;
  padding: 14px 16px 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.tt-section + .tt-section {
  margin-top: 12px;
}

.tt-section h2 {
  margin: 0 0 12px;
  color: #ff335e;
  font-size: 25px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0.3px;
}

.tt-upcoming h2 {
  color: #198fff;
}

.tt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tt-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 178px minmax(210px, 1fr) 110px minmax(
      210px,
      1fr
    ) 82px 42px;
  gap: 12px;
  align-items: center;
  color: #f3f8ff;
  text-decoration: none;
  background: linear-gradient(180deg, #101e32, #0b1627);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: 0.15s ease;
}

.tt-row:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 255, 126, 0.45);
}

.tt-row-info {
  display: grid;
  grid-template-columns: 58px 54px;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}

.tt-live-tag {
  grid-row: 1 / 3;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff3b56, #c9102c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
}

.tt-row-time strong {
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.tt-row-time em {
  display: block;
  color: #15ff69;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.tt-row-info small {
  grid-column: 2 / 3;
  color: #9eb0cd;
  font-size: 12px;
  line-height: 1.25;
}

.tt-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 650;
}

.tt-team span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tt-home {
  justify-content: flex-end;
  text-align: right;
}

.tt-away {
  justify-content: flex-start;
}

.tt-team img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tt-score {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1246c2, #071e6c);
  display: grid;
  grid-template-columns: 1fr 10px 1fr;
  grid-template-rows: 27px 14px;
  align-items: center;
  justify-items: center;
  color: #fff;
  font-size: 27px;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tt-score b {
  color: #a9c5ff;
  font-size: 17px;
}

.tt-score small {
  grid-column: 1 / 4;
  color: #b6c6e2;
  font-size: 12px;
  font-weight: 600;
}

.tt-schedule-row .tt-score {
  display: flex;
  justify-content: center;
  font-size: 19px;
  background: linear-gradient(180deg, #15263d, #0d1a2d);
}

.tt-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-items: center;
  justify-items: center;
  color: #dbe8ff;
  font-size: 14px;
  font-weight: 750;
}

.tt-stat span {
  grid-column: 1 / 3;
  color: #cdddf5;
}

.tt-stat b {
  color: #fff;
}

.tt-stat em {
  grid-column: 1 / 3;
  color: #1995ff;
  font-style: normal;
}

.tt-fav {
  color: #16ff62;
  font-size: 32px;
  text-align: center;
  line-height: 1;
}

.tt-row:not([data-hot="1"]) .tt-fav {
  color: #aab8cf;
  font-size: 30px;
}

.tt-bell {
  color: #b7c7e2;
  font-style: normal;
  font-size: 22px;
}

.tt-more {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: 1px solid rgba(58, 126, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(180deg, #112858, #0b1a3d);
  color: #eaf2ff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.tt-empty {
  margin-top: 12px;
  padding: 24px;
  border-radius: 12px;
  background: #0c1728;
  color: #a7b7d0;
  text-align: center;
}

@media (max-width: 900px) {
  .tt-shell {
    grid-template-columns: 1fr;
  }

  .tt-sidebar {
    display: none;
  }

  .tt-tabs {
    display: flex;
    overflow-x: auto;
  }

  .tt-tabs button {
    white-space: nowrap;
  }

  .tt-setting {
    display: none;
  }

  .tt-row {
    grid-template-columns: 1fr 78px 1fr;
    grid-template-areas:
      "info info info"
      "home score away"
      "stat stat fav";
    min-height: auto;
  }

  .tt-row-info {
    grid-area: info;
  }

  .tt-home {
    grid-area: home;
    justify-content: center;
  }

  .tt-score {
    grid-area: score;
  }

  .tt-away {
    grid-area: away;
    justify-content: center;
  }

  .tt-stat {
    grid-area: stat;
  }

  .tt-fav {
    grid-area: fav;
  }

  .tt-team {
    flex-direction: column;
    text-align: center;
    font-size: 14px;
  }

  .tt-team img {
    width: 36px;
    height: 36px;
  }
}

body .tt-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}

body .tt-shell {
  width: 1330px !important;
  max-width: 1330px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 16px !important;
}

body .entry-content:has(.tt-page),
body .wp-block-post-content:has(.tt-page),
body main:has(.tt-page),
body .is-layout-constrained:has(.tt-page) {
  max-width: none !important;
  width: 100% !important;
}

.tt-section {
  background: linear-gradient(180deg, #07101d, #040914);
  border: 1px solid rgba(38, 77, 125, 0.35);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.tt-section h2 {
  margin: 0 0 8px;
  color: #ff335e;
  font-size: 22px;
  font-weight: 950;
}

.tt-upcoming h2 {
  color: #118dff;
}

.tt-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tt-row {
  min-height: 50px;
  display: grid;
  grid-template-columns: 150px minmax(170px, 1fr) 78px minmax(
      170px,
      1fr
    ) 58px 32px;
  gap: 8px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #101b2c, #0b1423);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 5px 8px;
}

.tt-row:hover {
  border-color: rgba(0, 255, 106, 0.45);
}

.tt-row-info {
  display: grid;
  grid-template-columns: 42px 42px 1fr;
  align-items: center;
  column-gap: 5px;
  min-width: 0;
}

.tt-live-tag {
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff3b56, #c9102c);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-row-time strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.1;
}

.tt-row-time em {
  display: block;
  color: #08ff68;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.1;
}

.tt-row-info small {
  color: #8ca2c0;
  font-size: 12px;
  line-height: 1.15;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tt-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
}

.tt-team span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tt-home {
  justify-content: flex-end;
  text-align: right;
}

.tt-away {
  justify-content: flex-start;
}

.tt-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tt-score {
  width: 70px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1249c8, #062775);
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  grid-template-rows: 22px 10px;
  align-items: center;
  justify-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tt-score b {
  color: #9ebaff;
  font-size: 14px;
}

.tt-score small {
  grid-column: 1 / 4;
  color: #b8c7df;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.tt-schedule-row .tt-score {
  display: flex;
  justify-content: center;
  font-size: 14px;
  background: linear-gradient(180deg, #15263d, #0d1a2d);
}

.tt-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-items: center;
  justify-items: center;
  color: #dbe8ff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.tt-stat span {
  grid-column: 1 / 3;
  color: #d6e3f7;
  font-size: 12px;
}

.tt-stat b {
  color: #fff;
  font-size: 13px;
}

.tt-stat em {
  grid-column: 1 / 3;
  color: #0094ff;
  font-style: normal;
  font-size: 12px;
}

.tt-fav {
  color: #16ff62;
  font-size: 24px;
  text-align: center;
  line-height: 1;
}

.tt-row:not([data-hot="1"]) .tt-fav {
  color: #aab8cf;
  font-size: 24px;
}

.tt-more {
  width: 100%;
  height: 36px;
  margin-top: 6px;
  border: 1px solid rgba(58, 126, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #112858, #0b1a3d);
  color: #eaf2ff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tt-row-info {
  width: 112px;
  min-width: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.tt-info-line1 {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.tt-live-tag {
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff3b56, #c9102c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  flex: 0 0 auto;
}

.tt-info-line1 strong {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

.tt-info-line1 em {
  color: #00ff67;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.tt-info-line2 {
  color: #c8d5e8;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-info-line3 {
  color: #7f93b1;
  font-size: 9px;
  font-weight: 450;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 128px minmax(230px, 1fr) 86px minmax(
      230px,
      1fr
    ) 54px 34px;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #101b2c, #0b1423);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}

.tt-row-info {
  width: 128px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.tt-info-line1 {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tt-live-tag {
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff3b56, #c9102c);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}

.tt-info-line1 strong {
  font-size: 12px;
  font-weight: 600;
}

.tt-info-line1 em {
  color: #00ff67;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.tt-info-line2 {
  color: #c8d5e8;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-info-line3 {
  color: #7f93b1;
  font-size: 9px;
  font-weight: 450;
  line-height: 1.1;
}

.tt-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.tt-team span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tt-home {
  justify-content: flex-end;
  text-align: right;
}

.tt-away {
  justify-content: flex-start;
}

.tt-team img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tt-score {
  width: 76px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1249c8, #062775);
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  grid-template-rows: 23px 10px;
  align-items: center;
  justify-items: center;
  font-size: 22px;
  font-weight: 700;
}

.tt-score b {
  color: #9ebaff;
  font-size: 14px;
  font-weight: 600;
}

.tt-score small {
  grid-column: 1 / 4;
  color: #b8c7df;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
}

.tt-schedule-row .tt-score {
  display: flex;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(180deg, #15263d, #0d1a2d);
}

.tt-stat {
  width: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 13px 16px 12px;
  align-items: center;
  justify-items: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.tt-stat span {
  grid-column: 1 / 3;
  color: #d6e3f7;
  font-size: 10px;
  font-weight: 600;
}

.tt-stat b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.tt-stat em {
  grid-column: 1 / 3;
  color: #0094ff;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
}

.tt-fav {
  width: 34px;
  color: #16ff62;
  font-size: 24px;
  text-align: center;
  line-height: 1;
}

.tt-row:not([data-hot="1"]) .tt-fav {
  color: #aab8cf;
}

.tt-league-group {
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b1423;
}

.tt-league-head {
  height: 48px;
  display: grid;
  grid-template-columns: 90px 1fr 34px;
  align-items: center;
  background: linear-gradient(180deg, #111d2f, #0c1728);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #dce8f8;
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
}

.tt-country {
  color: #9fb2ce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-league-title {
  color: #e8f2ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-league-more {
  color: #aab8cf;
  text-align: right;
  font-size: 15px;
}

.tt-match-line {
  min-height: 52px;
  display: grid;
  grid-template-columns: 86px 74px minmax(180px, 1fr) 72px minmax(
      180px,
      1fr
    ) 70px 32px;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #101b2c, #0b1423);
}

.tt-match-line:hover {
  background: linear-gradient(180deg, #142238, #0d192a);
}

.tt-match-time strong {
  display: block;
  color: #eaf2ff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tt-match-status {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tt-live-tag {
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff3b56, #c9102c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  flex: 0 0 auto;
}

.tt-match-status em {
  color: #00ff67;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.tt-match-status span:not(.tt-live-tag) {
  color: #ff3b56;
  font-size: 12px;
  font-weight: 600;
}

.tt-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}

.tt-team span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tt-home {
  justify-content: flex-end;
  text-align: right;
}

.tt-away {
  justify-content: flex-start;
}

.tt-team img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tt-score {
  width: 66px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1249c8, #062775);
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  align-items: center;
  justify-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.tt-score b {
  color: #9ebaff;
  font-size: 13px;
  font-weight: 600;
}

.tt-schedule-row .tt-score {
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #15263d, #0d1a2d);
  font-size: 14px;
  font-weight: 700;
}

.tt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #cfdcf0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}

.tt-stat span {
  color: #d6e3f7;
  white-space: nowrap;
}

.tt-stat em {
  color: #0094ff;
  font-style: normal;
  white-space: nowrap;
}

.tt-fav {
  color: #16ff62;
  font-size: 22px;
  text-align: center;
  line-height: 1;
}

.tt-league-group:not([data-hot="1"]) .tt-fav {
  color: #aab8cf;
}

.tt-finished h2 {
  color: #8fa5c4;
}

.tt-side-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.tt-fav {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #aab8cf;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.tt-league-group.is-favorite .tt-fav {
  color: #16ff62;
}

.tt-modal[hidden] {
  display: none !important;
}

.tt-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-modal-panel {
  width: 760px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 70px);
  background: linear-gradient(180deg, #132943, #0b1830);
  border: 1px solid rgba(120, 160, 220, 0.28);
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.tt-modal-head {
  height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-modal-head strong {
  font-size: 15px;
  font-weight: 700;
}

.tt-modal-head button {
  border: 0;
  background: transparent;
  color: #9fb2ce;
  font-size: 32px;
  cursor: pointer;
}

.tt-modal-tabs {
  height: 52px;
  display: flex;
  gap: 30px;
  padding: 0 28px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-modal-tabs button {
  height: 52px;
  border: 0;
  background: transparent;
  color: #dbe8ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.tt-modal-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #13e76b;
}

.tt-country-list {
  max-height: 330px;
  overflow-y: auto;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 48px;
}

.tt-country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #edf5ff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.tt-country-item input {
  display: none;
}

.tt-country-check {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #17253d;
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  flex: 0 0 auto;
}

.tt-country-item input:checked + .tt-country-check {
  background: #10e96b;
  border-color: #10e96b;
}

.tt-country-item input:checked + .tt-country-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-modal-actions {
  height: 70px;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 140px 140px 140px 1fr;
  gap: 16px;
}

.tt-modal-actions button {
  border: 0;
  border-radius: 4px;
  background: #3b4656;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tt-modal-actions button.confirm {
  background: #04b94f;
}

.tt-country-item {
  position: relative;
}

.tt-country-item.is-live {
  color: #fff;
}

.tt-country-item.is-live .tt-country-name {
  color: #ff3b56;
  font-weight: 700;
}

.tt-country-item em {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  gap: 4px;
}

.tt-setting-panel[hidden] {
  display: none !important;
}

.tt-setting-panel {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 99999;
  width: 265px;
  background: linear-gradient(180deg, #24415f, #152544);
  border: 1px solid rgba(120, 160, 220, 0.28);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tt-setting-head {
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-setting-head strong {
  font-size: 14px;
  font-weight: 700;
}

.tt-setting-head button {
  border: 0;
  background: transparent;
  color: #9fb2ce;
  font-size: 26px;
  cursor: pointer;
}

.tt-setting-body {
  padding: 13px 12px 16px;
}

.tt-setting-body h4 {
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.tt-setting-checks {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.tt-setting-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfdcf0;
  font-size: 13px;
  font-weight: 500;
}

.tt-setting-checks input {
  display: none;
}

.tt-setting-checks span {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #061221;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tt-setting-checks input:checked + span {
  background: #13ec6c;
}

.tt-setting-checks input:checked + span::after {
  content: "✓";
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.tt-switch {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eaf2ff;
  font-size: 13px;
  font-weight: 500;
}

.tt-switch input {
  display: none;
}

.tt-switch i {
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #071424;
  position: relative;
  flex: 0 0 auto;
}

.tt-switch i::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8fa5c4;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: 0.15s;
}

.tt-switch input:checked + i {
  background: #071424;
}

.tt-switch input:checked + i::after {
  left: 20px;
  background: #12f36f;
}

.tt-setting-body select {
  width: 100%;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #2e3743;
  color: #fff;
  border-radius: 2px;
  padding: 0 8px;
}

.tt-setting-wrap {
  position: relative;
  display: inline-block;
}

.tt-setting-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
}

.tt-hide-corner [data-corner-score] {
  display: none !important;
}

.tt-hide-yellow [data-card-score] {
  display: none !important;
}

.tt-follow-top {
  order: -10;
}

.tt-goal-popup {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  animation: ttGoalIn 0.25s ease-out;
}

.tt-goal-card {
  min-width: 320px;
  padding: 16px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0bbf55, #05772f);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tt-goal-card strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.tt-goal-card span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}

.tt-goal-popup.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: 0.3s;
}

@keyframes ttGoalIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.tt-ft-popup {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
}

.tt-ft-card {
  min-width: 320px;
  padding: 16px 22px;
  border-radius: 12px;
  background: #17314e;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.tt-ft-card strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tt-ft-card b {
  display: block;
  font-size: 22px;
  margin: 8px 0;
}

.tt-odds-matrix {
  width: 285px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-shrink: 0;
}

.tt-odds-column {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}

.tt-odds-column span:nth-child(1) {
  color: #16e38a;
}

.tt-odds-column span:nth-child(2) {
  color: #8db7ff;
}

.tt-odds-column span:nth-child(3) {
  color: #ff4b5f;
}

.tt-hide-hdp .tt-hdp,
.tt-hide-ou .tt-ou,
.tt-hide-1x2 .tt-1x2 {
  display: none !important;
}

.tt-odds-matrix {
  width: 230px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  flex-shrink: 0;
}

.tt-odds-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.tt-odds-line span:nth-child(1) {
  color: #16e38a;
}

.tt-odds-line span:nth-child(2) {
  color: #7eb1ff;
}

.tt-odds-line span:nth-child(3) {
  color: #ff4b5f;
}

.tt-hide-hdp .tt-hdp,
.tt-hide-ou .tt-ou,
.tt-hide-1x2 .tt-1x2 {
  display: none !important;
}

.tt-league-group {
  background: #1e252b;
  border: 0;
  border-bottom: 1px solid #263240;
  border-radius: 0;
  overflow: hidden;
}

.tt-league-head {
  min-height: 38px;
  padding: 10px 14px;
  background: #292d2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tt-row {
  min-height: 78px;
  padding: 12px 18px;
  background: #1e252b;
  border-bottom: 1px solid #263240;
  border-radius: 0;
}

.tt-row:hover {
  background: #222c34;
}

.tt-section {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  border: 0;
}

.tt-list {
  display: block;
}

.tt-match-line {
  min-height: 74px;
  padding: 12px 16px;
  background: #101d2e;
  border-bottom: 1px solid #263240;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
}

.tt-row-info {
  width: 130px;
  flex: 0 0 130px;
}

.tt-team {
  min-width: 0;
  flex: 1 1 0;
}

.tt-home {
  justify-content: flex-end;
  text-align: right;
}

.tt-away {
  justify-content: flex-start;
  text-align: left;
}

.tt-score {
  width: 72px;
  flex: 0 0 72px;
}

.tt-stat {
  width: 70px;
  flex: 0 0 70px;
}

.tt-fav {
  width: 34px;
  flex: 0 0 34px;
}

.tt-odds-matrix {
  width: 210px;
  flex: 0 0 210px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  margin-left: auto;
}

.tt-odds-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

.tt-team span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-team img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.tt-main {
  min-width: 0;
}

.tt-content {
  min-width: 0;
}

.tt-section {
  overflow: hidden;
}

.tt-league-head {
  height: 36px;
  padding: 0 14px;
}

.tt-country {
  font-size: 11px;
  font-weight: 500;
  color: #8ea6c4;
}

.tt-league-name {
  font-size: 12px;
  font-weight: 650;
  color: #ffffff;
}

.tt-info-line1 strong {
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}

.tt-info-line1 em {
  font-size: 13px;
  font-weight: 650;
  color: #11e96e;
}

.tt-live-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

.tt-team span {
  font-size: 14px;
  font-weight: 650;
  color: #fff;
}

.tt-score {
  font-size: 18px;
  font-weight: 700;
}

.tt-score span {
  font-size: 18px;
  font-weight: 700;
}

.tt-score small {
  font-size: 10px;
  font-weight: 500;
  color: #8ea6c4;
}

.tt-stat {
  font-size: 11px;
  font-weight: 600;
}

.tt-stat span {
  font-size: 11px;
}

.tt-odds-line {
  font-size: 12px;
  font-weight: 650;
}

.tt-odds-line span {
  font-size: 12px;
}

.tt-stat {
  width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 650;
  color: #cfe3ff;
  white-space: nowrap;
}

.tt-stat [data-corner-score] {
  color: #0097ff;
}

.tt-stat [data-card-score] {
  color: #ffd338;
}

.tt-result-mini-stats {
  width: 135px;
  flex: 0 0 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.tt-mini-stat {
  height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #9fb5d6;
}

.tt-mini-stat.ht {
  color: #cfe2ff;
}

.tt-mini-stat.yellow {
  color: #ffd400;
}

.tt-mini-stat.corner {
  color: #19b7ff;
}

.tt-mini-stat svg {
  flex: 0 0 auto;
  display: block;
}

.tt-hide-yellow .tt-mini-stat.yellow {
  display: none !important;
}

.tt-hide-corner .tt-mini-stat.corner {
  display: none !important;
}

/* ===== TT MATCH CARD REBUILD ===== */

.tt-page {
  font-family: "Oswald", "Barlow", sans-serif !important;
}

.tt-section {
  background: #1b2229 !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.tt-section h2 {
  padding: 12px 14px 8px !important;
  margin: 0 !important;
  background: #101820 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}

.tt-list {
  gap: 0 !important;
}

.tt-league-group {
  border: 0 !important;
  border-radius: 0 !important;
  background: #1e252b !important;
  overflow: hidden !important;
}

.tt-league-head {
  height: 42px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #292d2e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tt-country {
  width: auto !important;
  color: #8da1b5 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.tt-league-title,
.tt-league-name {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.tt-match-line,
.tt-row {
  min-height: 74px !important;
  padding: 12px 16px !important;
  background: #1e252b !important;
  border: 0 !important;
  border-bottom: 1px solid #263240 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.tt-match-line:hover,
.tt-row:hover {
  background: #222c34 !important;
  transform: none !important;
}

.tt-match-time,
.tt-row-info {
  width: 105px !important;
  flex: 0 0 105px !important;
  min-width: 105px !important;
}

.tt-match-time strong,
.tt-info-line1 strong {
  color: #19f176 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.tt-live-tag {
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 4px !important;
  background: #ff3b56 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

.tt-match-status {
  width: 76px !important;
  flex: 0 0 76px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tt-match-status em,
.tt-info-line1 em {
  color: #19f176 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-style: normal !important;
}

.tt-team {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.tt-home {
  justify-content: flex-end !important;
  text-align: right !important;
}

.tt-away {
  justify-content: flex-start !important;
  text-align: left !important;
}

.tt-team span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.tt-team img {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  flex: 0 0 30px !important;
}

.tt-score {
  width: 72px !important;
  height: 32px !important;
  flex: 0 0 72px !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #1249c8, #062775) !important;
  display: grid !important;
  grid-template-columns: 1fr 8px 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.tt-score b {
  color: #9ebaff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.tt-result-mini-stats {
  width: 138px !important;
  flex: 0 0 138px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
}

.tt-mini-stat {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

.tt-mini-stat.ht {
  color: #8da1b5 !important;
}

.tt-mini-stat.yellow {
  color: #ffd400 !important;
}

.tt-mini-stat.corner {
  color: #3b82f6 !important;
}

.tt-odds-matrix {
  width: 255px !important;
  flex: 0 0 255px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 3px !important;
}

.tt-odds-line {
  width: 180px !important;

  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;

  text-align: center !important;
  align-items: center !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.tt-odds-line span {
  color: #d7e3f4;
}
.tt-odds-line span:nth-child(2) {
  color: #7f96b6;
}

.odd-up {
  color: #1ee37d;
}

.odd-down {
  color: #ff4d63;
}

.odd-static {
  color: #d7e3f4;
}

@keyframes oddFlashUp {
  0% {
    background: #1ee37d;
  }
  100% {
    background: transparent;
  }
}

@keyframes oddFlashDown {
  0% {
    background: #ff4d63;
  }
  100% {
    background: transparent;
  }
}

.odd-up-flash {
  animation: oddFlashUp 0.8s;
}

.odd-down-flash {
  animation: oddFlashDown 0.8s;
}

.tt-fav {
  width: 34px !important;
  flex: 0 0 34px !important;
  height: 34px !important;
  font-size: 22px !important;
  color: #8da1b5 !important;
}

.tt-league-group.is-favorite .tt-fav {
  color: #16ff62 !important;
}

/* ===== TT MOBILE FINAL LAYOUT ===== */
@media (max-width: 768px) {
  body .tt-page {
    padding: 0 !important;
    background: #07111d !important;
  }

  body .tt-shell {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 10px 18px !important;
  }

  .tt-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* 顶部状态按钮 */
  .tt-tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    background: #07111d !important;
    scrollbar-width: none !important;
  }

  .tt-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tt-tabs button {
    flex: 0 0 auto !important;
    height: 36px !important;
    min-width: auto !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
  }

  .tt-tabs button b {
    height: 18px !important;
    min-width: 22px !important;
    font-size: 10px !important;
  }

  .tt-side-main,
  .tt-side-btn {
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
  }

  .tt-box {
    display: none !important;
  }

  .tt-setting-wrap {
    display: none !important;
  }

  /* 分区 */
  .tt-section {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .tt-section h2 {
    height: 38px !important;
    margin: 0 0 8px !important;
    padding: 8px 2px 0 !important;
    background: transparent !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  .tt-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* 联赛卡 */
  .tt-league-group {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #17212b !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .tt-league-head {
    height: 44px !important;
    padding: 0 12px !important;
    background: #252b2d !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .tt-country {
    font-size: 10px !important;
    color: #8da1b5 !important;
    flex: 0 0 auto !important;
  }

  .tt-league-title,
  .tt-league-name {
    font-size: 12px !important;
    font-weight: 650 !important;
    color: #fff !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* 比赛卡 */
  .tt-match-line,
  .tt-row {
    min-height: 146px !important;
    padding: 12px 10px !important;
    display: grid !important;
    grid-template-columns: 1fr 72px 1fr !important;
    grid-template-areas:
      "time time time"
      "home score away"
      "stats stats stats"
      "odds odds odds";
    gap: 9px 8px !important;
    align-items: center !important;
    justify-items: center !important;
    background: #17212b !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 !important;
    color: #fff !important;
    text-align: center !important;
  }

  .tt-match-time,
  .tt-row-info {
    grid-area: time !important;
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
    justify-self: center !important;
  }

  .tt-match-time strong,
  .tt-info-line1 strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    height: 30px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    border: 1px solid #2c3a47 !important;
    background: rgba(0, 0, 0, 0.18) !important;
    color: #9fb0c5 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  .tt-home {
    grid-area: home !important;
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column-reverse !important;
  }

  .tt-away {
    grid-area: away !important;
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
  }

  .tt-team {
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.15 !important;
  }

  .tt-team span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .tt-team img {
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
  }

  .tt-score {
    grid-area: score !important;
    width: 66px !important;
    height: 34px !important;
    flex: none !important;
    border-radius: 7px !important;
    font-size: 18px !important;
  }

  .tt-score span {
    font-size: 18px !important;
  }

  .tt-score b {
    font-size: 12px !important;
  }

  .tt-score small {
    display: none !important;
  }

  .mr-result-mini-stats,
  .tt-result-mini-stats {
    grid-area: stats !important;
    width: auto !important;
    flex: none !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .mr-mini-stat,
  .tt-mini-stat {
    height: 24px !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    font-size: 10px !important;
  }

  .tt-odds-matrix {
    grid-area: odds !important;
    width: 186px !important;
    flex: none !important;
    margin: 0 auto !important;
    align-items: center !important;
  }

  .tt-odds-line {
    width: 180px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .tt-odds-line span {
    font-size: 10px !important;
  }

  .tt-fav {
    display: none !important;
  }

  .tt-more {
    height: 40px !important;
    margin-top: 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    overflow-x: hidden !important;
    background: #07111d !important;
  }

  body .tt-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .tt-shell {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 12px 20px !important;

    box-sizing: border-box !important;
  }

  .tt-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .tt-list {
    width: 100% !important;
  }

  .tt-section {
    width: 100% !important;
  }

  .tt-league-group {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tt-match-line,
  .tt-row {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tt-tabs {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  body .entry-content:has(.tt-page),
  body .wp-block-post-content:has(.tt-page),
  body main:has(.tt-page),
  body .is-layout-constrained:has(.tt-page),
  body .wp-site-blocks:has(.tt-page),
  body .wp-block-group:has(.tt-page) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .tt-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  body .tt-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px 20px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  .tt-tabs button {
    min-width: 96px !important;
  }
}

.tt-score {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  line-height: 1 !important;
  padding-bottom: 1px !important;
}

.tt-score span,
.tt-score b {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.tt-score small {
  display: none !important;
}

@media (max-width: 768px) {
  .tt-score {
    transform: translateY(2px) !important;
  }
}

@media (max-width: 768px) {
  .tt-mobile-drawer[hidden] {
    display: none !important;
  }

  .tt-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: flex-end;
  }

  .tt-mobile-drawer-panel {
    width: 100%;
    background: linear-gradient(180deg, #132943, #08172b);
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(120, 160, 220, 0.25);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    animation: ttDrawerUp 0.22s ease-out;
  }

  .tt-mobile-drawer-head {
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tt-mobile-drawer-head strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
  }

  .tt-mobile-drawer-head button {
    border: 0;
    background: transparent;
    color: #9fb2ce;
    font-size: 30px;
  }

  .tt-mobile-drawer-body {
    padding: 14px 16px 22px;
  }

  .tt-mobile-drawer-body label {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #eaf2ff;
    font-size: 14px;
    font-weight: 600;
  }

  .tt-mobile-drawer-body input {
    display: none;
  }

  .tt-mobile-drawer-body i {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: #263854;
    position: relative;
  }

  .tt-mobile-drawer-body i::after {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b7c7e2;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.15s;
  }

  .tt-mobile-drawer-body input:checked + i {
    background: #08d64e;
  }

  .tt-mobile-drawer-body input:checked + i::after {
    left: 22px;
    background: #fff;
  }

  @keyframes ttDrawerUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 768px) {
  .tt-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .tt-modal-panel {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 82vh !important;
    border-radius: 16px 16px 0 0 !important;
    animation: ttDrawerUp 0.22s ease-out;
  }

  .tt-country-list {
    grid-template-columns: 1fr !important;
    max-height: 52vh !important;
    padding: 14px 18px !important;
    gap: 12px !important;
  }

  .tt-modal-actions {
    height: auto !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 12px !important;
  }

  .tt-modal-actions button {
    height: 42px !important;
  }
}

/* ===== MOBILE FILTER FINAL ===== */

@media (max-width:768px){

  .tt-sidebar{
    position:fixed !important;
    right:14px !important;
    bottom:18px !important;
    z-index:99999 !important;

    width:auto !important;
    height:auto !important;

    display:block !important;

    margin:0 !important;
    padding:0 !important;

    background:none !important;
    border:0 !important;
    box-shadow:none !important;
  }

  /* 隐藏旧 sidebar 内容 */
  .tt-sidebar > *{
    display:none !important;
  }

  /* 只显示按钮 */
  .tt-sidebar .tt-mobile-filter-open{
    display:flex !important;

    width:58px !important;
    height:58px !important;

    border-radius:50% !important;

    align-items:center !important;
    justify-content:center !important;

    background:linear-gradient(180deg,#0cbf57,#087632) !important;

    border:0 !important;

    box-shadow:
      0 10px 35px rgba(0,0,0,.45),
      inset 0 1px 0 rgba(255,255,255,.15) !important;

    padding:0 !important;

    position:relative !important;
  }

  /* 隐藏文字 */
  .tt-sidebar .tt-mobile-filter-open span{
    font-size:0 !important;
  }

  /* gear icon */
  .tt-sidebar .tt-mobile-filter-open span::after{
    content:"⚙" !important;

    font-size:24px !important;
    color:#fff !important;

    line-height:1 !important;
  }

  /* 隐藏数字 */
  .tt-sidebar .tt-mobile-filter-open b{
    display:none !important;
  }

}

@media (max-width:768px){

  .tt-mobile-drawer-body{
    padding:14px 16px 22px !important;
  }

  .tt-mobile-menu-page{
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
  }

  .tt-mobile-menu-btn{
    width:100% !important;
    height:44px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    padding:0 13px !important;

    border-radius:10px !important;
    border:1px solid rgba(122,159,214,.18) !important;

    background:linear-gradient(180deg,#101d31,#0b1626) !important;
    color:#eaf3ff !important;

    font-size:13px !important;
    font-weight:700 !important;

    cursor:pointer !important;
  }

  .tt-mobile-menu-btn span{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;

    color:#eaf3ff !important;
    font-size:13px !important;
    font-weight:700 !important;
  }

  .tt-mobile-menu-btn b{
    min-width:26px !important;
    height:20px !important;
    padding:0 7px !important;

    border-radius:999px !important;

    background:rgba(5,12,24,.78) !important;
    color:#fff !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:11px !important;
    font-weight:800 !important;
  }

  .tt-mobile-menu-btn[data-mobile-action="filter-live"]{
    border-color:rgba(31,255,119,.28) !important;
  }

  .tt-mobile-menu-btn[data-mobile-action="filter-hot"]{
    border-color:rgba(255,174,38,.28) !important;
  }

  .tt-mobile-menu-btn[data-mobile-action="page-filter"],
  .tt-mobile-menu-btn[data-mobile-action="page-region"],
  .tt-mobile-menu-btn[data-mobile-action="open-country"],
  .tt-mobile-menu-btn[data-mobile-action="open-league"]{
    background:linear-gradient(180deg,#12233a,#0b1626) !important;
  }

}

@media (max-width:768px){

  .tt-match-line,
  .tt-row{
    display:grid !important;
    grid-template-columns: 1fr 72px 1fr !important;
    grid-template-areas:
      "time time status"
      "home score away"
      "stats stats stats"
      "odds odds odds" !important;
    gap:9px 8px !important;
    align-items:center !important;
    justify-items:center !important;
  }

  .tt-match-time{
    grid-area:time !important;
    justify-self:start !important;
  }

  .tt-match-status{
    grid-area:status !important;
    display:flex !important;
    justify-self:end !important;
    align-items:center !important;
    gap:5px !important;
    width:auto !important;
  }

  .tt-home{
    grid-area:home !important;
    justify-content:center !important;
    text-align:center !important;
    flex-direction:column-reverse !important;
  }

  .tt-score{
    grid-area:score !important;
    justify-self:center !important;
  }

  .tt-away{
    grid-area:away !important;
    justify-content:center !important;
    text-align:center !important;
    flex-direction:column !important;
  }

  .tt-result-mini-stats{
    grid-area:stats !important;
  }

  .tt-odds-matrix{
    grid-area:odds !important;
  }
}

@media (max-width:768px){

  .tt-mobile-setting-page h4{
    margin:12px 0 8px !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:800 !important;
  }

  .tt-mobile-setting-checks{
    display:flex !important;
    gap:10px !important;
    margin-bottom:14px !important;
  }

  .tt-mobile-setting-checks label{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    color:#cfdcf0 !important;
    font-size:13px !important;
    font-weight:600 !important;
  }

  .tt-mobile-setting-checks input{
    display:none !important;
  }

  .tt-mobile-setting-checks span{
    width:22px !important;
    height:22px !important;
    border-radius:5px !important;
    background:#061221 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .tt-mobile-setting-checks input:checked + span{
    background:#13ec6c !important;
  }

  .tt-mobile-setting-checks input:checked + span::after{
    content:"✓" !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:800 !important;
  }

  .tt-mobile-switch{
    height:28px !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    color:#eaf2ff !important;
    font-size:13px !important;
    font-weight:600 !important;
    margin-bottom:8px !important;
  }

  .tt-mobile-switch input{
    display:none !important;
  }

  .tt-mobile-switch i{
    width:38px !important;
    height:20px !important;
    border-radius:999px !important;
    background:#071424 !important;
    position:relative !important;
    flex:0 0 auto !important;
  }

  .tt-mobile-switch i::after{
    content:"" !important;
    width:16px !important;
    height:16px !important;
    border-radius:50% !important;
    background:#8fa5c4 !important;
    position:absolute !important;
    top:2px !important;
    left:2px !important;
    transition:.15s !important;
  }

  .tt-mobile-switch input:checked + i::after{
    left:20px !important;
    background:#12f36f !important;
  }

  .tt-mobile-setting-page select{
    width:100% !important;
    height:38px !important;
    border:1px solid rgba(255,255,255,.14) !important;
    background:#2e3743 !important;
    color:#fff !important;
    border-radius:4px !important;
    padding:0 10px !important;
    margin-bottom:10px !important;
  }
}

.tt-settings-panel .tt-setting-row input[type="checkbox"],
.tt-settings-panel .tt-odds-row input[type="checkbox"]{
  display:none !important;
}

.tt-settings-panel input[type="checkbox"]{
  display:none !important;
}

.tt-setting-panel input[type="checkbox"] {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.tt-box input[type="checkbox"] {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}