/**
 * SkillProfit mobile shell — aligned with main.css / skillprofit-door.css
 * Uses: --gt-bg, --gt-bg-2, --gt-theme, --gt-text, --gt-header, Chakra Petch
 */

body.sp-mobile-nav-on {
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 992px) {
  body.sp-mobile-nav-on {
    padding-bottom: 0;
  }
}

/* ——— Bottom tab bar ——— */
.sp-mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.4rem 0.35rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--gt-bg-2, #1c1d20);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
  font-family: "Chakra Petch", sans-serif;
}

.sp-mobile-nav a {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.45rem 0.2rem 0.35rem;
  max-width: 5.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gt-text, #ababab);
  text-decoration: none;
  border-radius: 0;
  transition:
    color 0.25s,
    background 0.25s;
}

.sp-mobile-nav a.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--gt-theme, #ff0808);
  box-shadow: 0 0 12px rgba(255, 8, 8, 0.55);
}

.sp-mobile-nav a i {
  font-size: 1.2rem;
  color: var(--gt-text, #ababab);
  transition: color 0.25s;
}

.sp-mobile-nav a:hover {
  color: var(--gt-white, #fff);
  background: rgba(255, 255, 255, 0.04);
}

.sp-mobile-nav a:hover i {
  color: var(--gt-white, #fff);
}

.sp-mobile-nav a.is-active {
  color: var(--gt-theme, #ff0808);
  background: transparent;
}

.sp-mobile-nav a.is-active i {
  color: var(--gt-theme, #ff0808);
}

@media (min-width: 992px) {
  .sp-mobile-nav {
    display: none;
  }
}

/* ——— Bank card (wallet strip + hub) ——— */
.sp-bank-card {
  position: relative;
  border-radius: 18px;
  padding: 28px 28px 24px;
  overflow: hidden;
  font-family: "Chakra Petch", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    radial-gradient(800px 280px at 12% 0%, rgba(255, 8, 8, 0.22), transparent 58%),
    var(--gt-bg-2, #1c1d20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.sp-bank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, 0.03) 50%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.sp-bank-card > * {
  position: relative;
  z-index: 1;
}

.sp-bank-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sp-bank-card__chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8c87a 0%, #c9a050 42%, #8b6914 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.sp-bank-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.sp-bank-card__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-text, #ababab);
  margin: 0 0 6px;
}

.sp-bank-card__amount {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--gt-header, #fff);
  margin: 0 0 8px;
  text-transform: none;
}

.sp-bank-card__user {
  font-size: 15px;
  font-weight: 700;
  color: var(--gt-white, #fff);
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Design v1: trois actions sur une seule ligne (mini-banque) */
.sp-bank-card__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
}

.sp-bank-card__actions .gt-theme-btn {
  flex: 1 1 0;
  min-width: 0 !important;
  padding: 12px 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

@media (max-width: 400px) {
  .sp-bank-card__actions {
    gap: 6px;
  }
  .sp-bank-card__actions .gt-theme-btn {
    padding: 11px 4px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 340px) {
  .sp-bank-card__actions .gt-theme-btn {
    padding: 10px 3px;
    font-size: 9px;
  }
}

/* Home hero: keep background image at all breakpoints (main.css only sets #000 <1200px) */
section.hero-section.hero-1.sp-home-hero {
  background-image: url("../img/bg.jpg") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #0b0e13 !important;
}

.sp-hero-meta {
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.sp-hero-dynamic-line,
#sp-hero-headline .sp-hero-dynamic-line {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
  letter-spacing: 0.03em;
}

/* ——— Logged-in home hub ——— */
#sp-home-hub {
  background:
    radial-gradient(900px 420px at 50% -15%, rgba(255, 8, 8, 0.14), transparent 55%),
    linear-gradient(180deg, var(--gt-bg, #0b0e13), var(--gt-bg, #0b0e13));
}

.sp-home-hub__container {
  max-width: 520px;
}

@media (min-width: 768px) {
  .sp-home-hub__container {
    max-width: 720px;
  }
}

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

/* Hub: balance + spotlight row (spacing via .row.g-4) */
.sp-hub-dashboard-top .sp-hub-spotlight--top {
  margin: 0;
}

@media (min-width: 992px) {
  .sp-hub-dashboard-top .sp-hub-spotlight--top {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .sp-hub-dashboard-top .sp-hub-spotlight--top .sp-hub-spotlight-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    height: 100%;
  }

  .sp-hub-dashboard-top .sp-hub-spotlight-card__bgimg {
    height: 220px;
  }

  .sp-hub-dashboard-top .sp-hub-spotlight-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
  }

  .sp-hub-dashboard-top .sp-hub-spotlight-card__body h3 {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  }

  .sp-hub-dashboard-top .sp-hub-spotlight-card__body .gt-theme-btn.sp-hub-join--pulse {
    margin-top: auto;
    align-self: flex-start;
    width: 100%;
    max-width: calc((100% - 16px) / 3);
  }

  .sp-hub-dashboard-top .sp-hub-spotlight--empty {
    flex: 1 1 auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #sp-home-hub .gt-section-title h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  }

  .sp-hub-block {
    margin-top: 36px;
  }

  .sp-hub-block__head {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .sp-hub-block__title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    letter-spacing: 0.06em;
  }

  .sp-hub-block__more {
    font-size: 14px;
  }

  .sp-hub-upcoming {
    gap: 16px;
  }

  .sp-hub-row {
    padding: 22px 26px;
  }

  .sp-hub-row__thumb {
    width: 120px;
    height: 78px;
  }

  .sp-hub-row__title {
    font-size: 19px;
  }

  .sp-hub-row__sub {
    font-size: 15px;
  }

  .sp-hub-shortcuts {
    gap: 16px;
    margin-top: 36px;
  }

  .sp-hub-shortcut {
    padding: 24px 14px;
    font-size: 12px;
    letter-spacing: 0.09em;
    min-height: 108px;
  }

  .sp-hub-shortcut i {
    font-size: 1.55rem;
  }
}

#sp-home-hub .gt-section-title h6.subtitle {
  color: var(--gt-white, #fff);
  letter-spacing: 0.2em;
  font-size: 12px;
  opacity: 0.92;
}

#sp-home-hub .gt-section-title h2 {
  color: var(--gt-white, #fff);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: clamp(1.65rem, 6vw, 2.25rem);
}

#sp-home-hub .gt-section-title h2 span {
  color: var(--gt-theme, #ff0808);
}

.sp-hub-muted {
  color: var(--gt-text, #ababab) !important;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

.sp-hub-spotlight {
  margin: 22px 0;
}

.sp-hub-spotlight-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--gt-bg-2, #1c1d20);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.sp-hub-spotlight-card__bgimg {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-hub-spotlight-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 22px;
  min-height: 0;
}

.sp-hub-spotlight-card__body .gt-theme-btn.sp-hub-join--pulse {
  display: block;
  box-sizing: border-box;
  min-width: 0 !important;
  margin-left: 0;
  margin-right: auto;
  margin-top: auto;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  max-width: calc((100% - 16px) / 3);
  padding: 14px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.15 !important;
}

@media (max-width: 400px) {
  .sp-hub-spotlight-card__body .gt-theme-btn.sp-hub-join--pulse {
    max-width: calc((100% - 12px) / 3);
    padding: 13px 6px !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
  }
}

@media (max-width: 340px) {
  .sp-hub-spotlight-card__body .gt-theme-btn.sp-hub-join--pulse {
    padding: 12px 5px !important;
    font-size: 9px !important;
    letter-spacing: 0.04em !important;
  }
}

.sp-hub-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gt-white, #fff);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sp-hub-badge--live {
  background: #e50914;
  border: none;
  border-radius: 2px;
  padding: 6px 14px 6px 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  box-shadow: 0 0 14px rgba(255, 20, 30, 0.65);
  animation: sp-hub-live-blink 1s ease-in-out infinite;
}

.sp-hub-badge--soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gt-text, #ababab);
  border-color: rgba(255, 255, 255, 0.15);
}

.sp-hub-badge--upcoming {
  background: rgba(255, 8, 8, 0.28);
  border: 1px solid rgba(255, 80, 80, 0.85);
  border-radius: 4px;
  padding: 6px 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  box-shadow: 0 0 18px rgba(255, 8, 8, 0.55);
  animation: sp-hub-upcoming-blink 1.1s ease-in-out infinite;
}

@keyframes sp-hub-upcoming-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(255, 8, 8, 0.55);
  }
  50% {
    opacity: 0.78;
    box-shadow: 0 0 28px rgba(255, 40, 40, 0.95);
  }
}

.sp-hub-badge--completed {
  background: rgba(70, 140, 110, 0.22);
  border: 1px solid rgba(100, 200, 150, 0.4);
  color: rgba(210, 255, 230, 0.95);
}

.sp-hub-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

@keyframes sp-hub-live-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 20, 30, 0.55);
  }
  50% {
    opacity: 0.72;
    box-shadow: 0 0 22px rgba(255, 40, 45, 0.95);
  }
}

.sp-hub-spotlight-card__body h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--gt-header, #fff);
  font-family: "Chakra Petch", sans-serif;
}

.sp-hub-spotlight-card__body p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 18px;
  color: var(--gt-text, #ababab);
  text-transform: none;
}

/* Pulse sur le bouton JOIN — box-shadow uniquement (padding hub géré au-dessus sur mobile) */
.gt-theme-btn.sp-hub-join--pulse {
  animation: sp-join-pulse 1.8s ease-in-out infinite;
  border-radius: 999px !important;
  min-width: 0 !important;
  padding: 10px 13px;
}

@keyframes sp-join-pulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 0 rgba(255, 8, 8, 0.45),
      0 6px 24px rgba(0, 0, 0, 0.35);
  }
  50% {
    filter: brightness(1.1);
    box-shadow:
      0 0 28px 6px rgba(255, 8, 8, 0.55),
      0 8px 28px rgba(0, 0, 0, 0.4);
  }
}

.sp-hub-spotlight--empty {
  text-align: center;
  padding: 32px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: var(--gt-bg-2, #1c1d20);
}

.sp-hub-spotlight--empty .gt-theme-btn {
  margin-top: 0.25rem;
}

.sp-hub-block {
  margin-top: 28px;
}

.sp-hub-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-hub-block__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gt-white, #fff);
  font-family: "Chakra Petch", sans-serif;
}

.sp-hub-block__more {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gt-theme, #ff0808);
  text-decoration: none;
  font-family: "Chakra Petch", sans-serif;
}

.sp-hub-block__more:hover {
  color: var(--gt-white, #fff);
}

.sp-hub-upcoming {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-hub-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--gt-bg-2, #1c1d20);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.sp-hub-row:hover {
  border-color: rgba(255, 8, 8, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.sp-hub-row__thumb {
  width: 100px;
  height: 65px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 470px) {
  .sp-hub-row {
    padding: 14px 16px;
  }
  .sp-hub-row__thumb {
    width: 72px;
    height: 48px;
  }
  .sp-hub-row__title {
    font-size: 15px;
  }
}

.sp-hub-row__meta {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.sp-hub-row__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gt-header, #fff);
  font-family: "Chakra Petch", sans-serif;
}

.sp-hub-row__sub {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--gt-text, #ababab);
  text-transform: none;
}

.sp-hub-row__chev {
  opacity: 0.5;
  font-size: 1.25rem;
  color: var(--gt-text, #ababab);
}

.sp-hub-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 480px) {
  .sp-hub-shortcuts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-hub-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  text-decoration: none;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gt-white, #fff);
  font-family: "Chakra Petch", sans-serif;
  background: var(--gt-bg-2, #1c1d20);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.25s,
    background 0.25s;
}

.sp-hub-shortcut i {
  font-size: 1.35rem;
  color: var(--gt-theme, #ff0808);
}

.sp-hub-shortcut:hover {
  border-color: rgba(255, 8, 8, 0.5);
  background: rgba(255, 8, 8, 0.08);
  color: var(--gt-white, #fff);
}

.sp-hub-footer-links {
  font-family: "Chakra Petch", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-hub-footer-links a {
  color: var(--gt-text, #ababab);
  text-decoration: none;
  transition: color 0.25s;
}

.sp-hub-footer-links a:hover {
  color: var(--gt-theme, #ff0808);
}

.sp-hub-footer-dot {
  display: inline-block;
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.sp-wallet-bank-wrap {
  margin-bottom: 1.5rem;
}

.sp-account-loading {
  min-height: 220px;
  padding: 1.5rem 1rem;
}

/* Account / profile: labels for non-editable fields */
#sp-account-edit .form-clt:has(input[disabled]) > span,
#sp-profile-edit .form-clt:has(input[disabled]) > span {
  color: rgba(255, 255, 255, 0.5);
}

/* Account: username next to avatar preview */
.sp-ac-avatar-username {
  color: var(--gt-theme, #ff0808) !important;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem) !important;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0;
  align-self: center;
}

/* Account: Save / Remove — equal columns, no horizontal clip (gt-theme-btn min-width) */
.sp-ac-avatar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.sp-ac-avatar-actions .gt-theme-btn {
  min-width: 0 !important;
  width: 100%;
  padding: 12px 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  #sp-account-edit .sp-file {
    padding: 6px 8px;
    gap: 6px;
    align-items: center;
  }

  #sp-account-edit .sp-file__btn {
    flex: 0 1 auto;
    min-width: 0 !important;
    padding: 7px 12px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    text-align: center;
  }

  #sp-account-edit .sp-file__name {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    line-height: 1.25;
  }

  #sp-account-edit .sp-ac-avatar-actions {
    gap: 6px;
    margin-top: 0.5rem !important;
  }

  #sp-account-edit .sp-ac-avatar-actions .gt-theme-btn {
    padding: 8px 6px !important;
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
  }
}

/* Account: Save / Deposit / Withdraw / History — 2×2 on narrow viewports */
.sp-ac-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

.sp-ac-actions > .gt-theme-btn,
.sp-ac-actions > a.gt-theme-btn {
  min-width: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .sp-ac-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .sp-ac-actions > .gt-theme-btn,
  .sp-ac-actions > a.gt-theme-btn {
    width: auto;
    min-width: 140px !important;
    flex: 0 1 auto;
    font-size: inherit;
    letter-spacing: inherit;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Match detail: lobby rules / map mode (multiline from API) */
.sp-match-desc-body {
  white-space: pre-wrap;
  text-transform: none !important;
  font-weight: 600;
  line-height: 1.65;
  color: var(--gt-text, #ababab) !important;
}

/* Match details page — wider container, compact fact cards */
.sp-match-details-container {
  max-width: 1140px;
}

.sp-match-details-main .sp-match-facts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

@media (min-width: 576px) {
  .sp-match-details-main .sp-match-facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }
}

.sp-match-details-main .sp-match-facts-list li {
  text-transform: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 !important;
  padding: 0.75rem 0.9rem !important;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.sp-match-details-main .sp-match-facts-list li i {
  color: var(--gt-theme, #ff0808);
  margin-right: 0.35rem;
  opacity: 0.95;
}

#sp-match-extra-section .gt-detials-image img {
  max-height: min(52vh, 420px);
  width: 100%;
  object-fit: cover;
}

/* Match list: pulse on Join — brightness only */
.sp-join-btn.sp-join-btn--pulse {
  animation: sp-join-pulse 1.8s ease-in-out infinite;
}

/* Match details — sidebar support card (readable, no stacked labels) */
.sp-match-support-card .gt-contact-content {
  text-transform: none;
}

.sp-match-support-card .gt-contact-content h3 {
  color: var(--gt-white, #fff);
  font-weight: 700;
}

/* Play / match list — compact meta chips + full-bleed thumb (mobile) */
.sp-match-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px !important;
  padding-left: 0 !important;
}

.sp-match-meta-chips.gt-date-list {
  justify-content: flex-start;
}

.sp-api-match .gt-match-content .gt-date-list.sp-match-meta-chips li.sp-match-meta-chip {
  font-family: "Chakra Petch", sans-serif;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  list-style: none;
  margin: 0;
}

.sp-api-match .gt-match-content .gt-date-list.sp-match-meta-chips li.sp-match-meta-chip i {
  margin-right: 6px;
  opacity: 0.9;
  color: var(--gt-theme, #ff0808);
}

.sp-api-match .sp-match-card-title {
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sp-api-match .sp-match-card-title a {
  text-transform: none;
}

.sp-api-match .sp-match-card-players {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--gt-text, #ababab) !important;
  margin: 0 !important;
  line-height: 1.45 !important;
}

.sp-match-cards-bleed {
  width: 100%;
}

@media (max-width: 767.98px) {
  .sp-match-cards-bleed {
    margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) * 0.5);
    margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) * 0.5);
    width: calc(100% + var(--bs-gutter-x, 1.5rem));
    max-width: none;
  }

  .sp-api-match.gt-trending-match-items {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 1.25rem;
    margin-top: 1rem;
    border-radius: 0;
  }

  .sp-api-match .gt-match-logo {
    flex: none !important;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .sp-api-match .gt-match-logo .gt-match-thumb {
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 46vw;
    object-fit: cover;
    border-radius: 0;
  }

  .sp-api-match .gt-match-content {
    padding: 1rem 1rem 0 !important;
    text-align: left !important;
    border: none !important;
  }

  .sp-api-match .gt-watch-now-items {
    flex: none !important;
    width: 100%;
    padding: 0 1rem 0.25rem;
    justify-content: stretch !important;
  }

  .sp-api-match .gt-watch-now-items .gt-theme-btn {
    width: 100%;
    text-align: center;
  }

  .sp-hub-row__title {
    font-size: 1rem !important;
  }

  .sp-hub-row__sub {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
  }
}
