/* Editorial gaming hub theme */
:root {
  --mlbb-bg: #05060b;
  --mlbb-panel: #0b101b;
  --mlbb-border: rgba(148, 163, 184, 0.18);
  --mlbb-accent: #35d6ff;
  --mlbb-accent-2: #ff4dd6;
  --mlbb-text-muted: rgba(226, 232, 240, 0.85);
  --mlbb-text-soft: rgba(148, 163, 184, 1);
  --shell-bg: #05060b;
  --shell-surface: #0b101b;
  --shell-surface-2: #101827;
  --shell-border: rgba(148, 163, 184, 0.18);
  --shell-muted: #9aa3b2;
  --shell-muted-2: #6b7280;
  --shell-brand: #35d6ff;
  --shell-accent: #ff4dd6;
  --font-body: "Sora", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ds-font-body: var(--font-body);
  --default-transition-duration: 0.12s;
  --global-motion-scale: 0.55;
  --global-motion-distance-scale: 0.6;
  --global-motion-elements-scale: 0.6;
  --title-font: var(--font-display);
  --body-font: var(--font-body);
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 10% 0%, rgba(53, 214, 255, 0.12), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(255, 77, 214, 0.12), transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.08), transparent 55%) var(--shell-bg);
  color: #eaeaea;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 20%, rgba(53, 214, 255, 0.12), transparent 45%),
    radial-gradient(circle at 82% 0%, rgba(255, 77, 214, 0.08), transparent 40%);
  z-index: -1;
}

::selection {
  background: rgba(53, 214, 255, 0.28);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.hub-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.1rem;
  color: rgba(226, 232, 240, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 600;
  transition: color 140ms ease, transform 140ms ease;
  position: relative;
}

.hub-nav-link:hover,
.hub-nav-link:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.hub-header .hub-nav-link {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(226, 232, 240, 0.75);
  padding: 0.35rem 0.1rem;
}

.hub-header .hub-nav-link.is-active,
.hub-header .hub-nav-link:hover,
.hub-header .hub-nav-link:focus-visible {
  color: #fff;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(53, 214, 255, 0.35);
  background: rgba(53, 214, 255, 0.12);
  color: #e7faff;
  padding: 0.45rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.hub-pill:hover,
.hub-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(53, 214, 255, 0.22);
  background: rgba(53, 214, 255, 0.2);
}

.hub-pill--ghost {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #e2e8f0;
}

.hub-pill--primary {
  border-color: rgba(34, 197, 94, 0.6);
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.95));
  color: #04120a;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.35);
}

.hub-pill--primary:hover,
.hub-pill--primary:focus-visible {
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.45);
}

.hub-search {
  position: relative;
  min-height: 42px;
  padding-right: 3.4rem;
  background: rgba(15, 23, 42, 0.7);
}

.hub-search-key {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  background: rgba(15, 23, 42, 0.75);
}

.hub-pill--ghost:hover,
.hub-pill--ghost:focus-visible {
  border-color: rgba(53, 214, 255, 0.45);
  color: #fff;
}

/* Global scroll reveal effect */
.scrollfx-reveal {
  opacity: 0;
  transform: translate3d(0, calc(18px * var(--global-motion-distance-scale)), 0);
  filter: saturate(0.92);
  transition: opacity calc(760ms * var(--global-motion-scale)) cubic-bezier(0.22, 1, 0.36, 1),
    transform calc(760ms * var(--global-motion-scale)) cubic-bezier(0.22, 1, 0.36, 1),
    filter calc(760ms * var(--global-motion-scale)) ease;
  transition-delay: var(--scrollfx-delay, 0ms);
  will-change: transform, opacity;
}

.scrollfx-reveal.scrollfx-reveal--x {
  transform: translate3d(calc(-16px * var(--global-motion-distance-scale)), 0, 0) scaleX(0.992);
  transform-origin: left center;
}

.scrollfx-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scaleX(1);
  filter: none;
}

.timeline-scroll.scrollfx-ready {
  opacity: 0;
  transform: translate3d(0, calc(16px * var(--global-motion-distance-scale)), 0) scaleX(0.992);
  transform-origin: left center;
  will-change: transform, opacity;
}

.timeline-scroll.scrollfx-ready.animate-expand-horizontally {
  animation: global-expand-horizontally calc(950ms * var(--global-motion-scale)) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--scrollfx-delay, 0ms);
}

@keyframes global-expand-horizontally {
  from {
    opacity: 0;
    transform: translate3d(0, calc(16px * var(--global-motion-distance-scale)), 0) scaleX(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scrollfx-reveal,
  .timeline-scroll.scrollfx-ready {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-safe\:animate-fade-in {
    animation-duration: calc(600ms * var(--global-motion-scale));
  }
  .motion-safe\:animate-duration-fast {
    animation-duration: calc(200ms * var(--global-motion-scale));
  }
  .motion-safe\:animate-duration-normal {
    animation-duration: calc(300ms * var(--global-motion-scale));
  }
}

.panel {
  background-color: var(--shell-surface-2);
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.panel.p-2 {
  padding: 0.5rem;
}

.panel.p-3 {
  padding: 0.75rem;
}

.panel.p-4 {
  padding: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 0.7rem;
  border: 1px solid var(--shell-border);
  background-color: #1f2937;
  color: #eaeaea;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: border-color 150ms ease, transform 150ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--shell-brand);
  transform: translateY(-1px);
}

.btn-info {
  background-color: var(--shell-brand);
  color: #0e0e10;
  border-color: var(--shell-brand);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--shell-border);
}

.title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.column {
  grid-column: span 12 / span 12;
}

@media (min-width: 768px) {
  .col-md-12 {
    grid-column: span 12 / span 12;
  }

  .col-lg-6 {
    grid-column: span 6 / span 6;
  }
}

.input,
.select {
  background-color: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  width: 100%;
  color: #eaeaea;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--shell-brand);
  box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.25);
}

.label {
  font-size: 0.85rem;
  color: var(--shell-muted);
  margin-bottom: 0.35rem;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help {
  font-size: 0.75rem;
  color: var(--shell-muted-2);
}

.card {
  background: var(--shell-surface);
  border: 1px solid var(--shell-border);
  border-radius: 1rem;
  padding: 1.1rem;
  transition: border-color 200ms ease, transform 200ms ease;
}

.card:hover {
  border-color: rgba(0, 191, 255, 0.35);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--shell-border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-green {
  background: #0b3a2a;
  border-color: #115e45;
  color: #a8f0c9;
}

.badge-yellow {
  background: #3a320b;
  border-color: #6b5e13;
  color: var(--bonox-accent-strong);
}

.badge-blue {
  background: #0b263a;
  border-color: #13476b;
  color: #9cd3ff;
}

/* --- Minimal responsive grid to replace Bootstrap --- */
.container,
.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1200px;
}

.container-fluid {
  max-width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

[class^="col-"],
[class*=" col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .col-md-8 {
    flex: 0 0 66.6666%;
    max-width: 66.6666%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-8 {
    flex: 0 0 66.6666%;
    max-width: 66.6666%;
  }
.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Dashboard icon compatibility: force FA5 families after site.css (FA6 rules). */
.dashboard-shell {
  --fa-style-family: "Font Awesome 5 Free";
  --fa-style: 900;
  --icon-font: "Font Awesome 5 Free";
}

.dashboard-shell .fa,
.dashboard-shell .fas,
.dashboard-shell .fa-solid {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.dashboard-shell .far,
.dashboard-shell .fa-regular {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

.dashboard-shell .fab,
.dashboard-shell .fa-brands {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

/* Alias for FA6 names used in templates while keeping FA5 fonts. */
.dashboard-shell .fa-house:before { content: "\f015" !important; }
.dashboard-shell .fa-shield-halved:before { content: "\f3ed" !important; }
.dashboard-shell .fa-file-lines:before { content: "\f15c" !important; }
.dashboard-shell .fa-box-archive:before { content: "\f187" !important; }
.dashboard-shell .fa-sliders:before { content: "\f1de" !important; }

.text-center {
  text-align: center !important;
}

.team-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
}

.team-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.team-pill strong {
  margin-left: auto;
}

.result-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.85rem;
}

.result-team.winner {
  border-color: rgba(74, 222, 128, 0.4);
  color: #4ade80;
}

.vs {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.container {
  max-width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mlbb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.92);
  border-bottom: 1px solid rgba(0, 127, 255, 0.35);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.mlbb-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 2px solid rgba(0, 191, 255, 0.25);
  opacity: 0.4;
}

.mlbb-header .container,
.mlbb-header .container-fluid {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-shell {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mlbb-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  width: 100%;
  padding: 0.8rem 1.5rem;
}
.mlbb-header__brand { order: 1; }
.mlbb-header__nav { order: 2; flex: 1 1 auto; }
.mlbb-header__toggle { order: 3; }

/* Oculta por defecto el toggle y sin estilos de fondo/borde */
.mlbb-header__toggle {
  display: none;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.mlbb-header__toggle::before,
.mlbb-header__toggle::after {
  display: none;
}
.mlbb-header__toggle .mlbb-header__toggle-lines span {
  box-shadow: none;
}
@media (max-width: 1100px) {
  .mlbb-header__toggle {
    display: inline-flex;
  }
}
.mlbb-header__cta { order: 4; }

.mlbb-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mlbb-header__logo {
  height: auto;
  max-height: 52px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.mlbb-header__brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.mlbb-header__brand small {
  font-size: 0.6rem;
  color: var(--mlbb-text-muted);
  letter-spacing: 0.3em;
}

.mlbb-header__nav {
  flex: 1;
  width: 100%;
}

.mlbb-header__nav ul {
  display: flex;
  align-items: center;
  gap: 0.9rem 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  list-style: none;
  padding: 0;
}

.mlbb-header__nav a {
  color: var(--mlbb-text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mlbb-header__nav a:hover,
.mlbb-header__nav a:focus {
  color: #fff;
  border-color: var(--mlbb-accent);
}

.mlbb-header__cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

.mlbb-header__cta .th-btn {
  padding: 0.4rem 1.1rem;
}

.th-menu-wrapper .th-menu-area {
  background: var(--shell-surface);
  border-right: 2px solid var(--mlbb-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.th-menu-wrapper .th-menu-area::-webkit-scrollbar {
  display: none;
}

.th-menu-wrapper .mobile-logo {
  background: var(--shell-bg);
  padding: 2.5rem 1rem 1.5rem;
}

.mobile-logo__img {
  max-width: 170px;
  width: 85%;
  height: auto;
  margin: 0 auto;
  display: block;
}

body .mobile-logo__img {
  max-width: 190px;
  width: 92%;
}

.mlbb-footer {
  position: relative;
  background: linear-gradient(180deg, #04060f 0%, #050914 70%, #04070f 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.24);
  padding: 1.45rem 0 0.9rem;
  overflow: hidden;
}

.mlbb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(56, 189, 248, 0.7), rgba(59, 130, 246, 0));
  opacity: 0.8;
  pointer-events: none;
}

.mlbb-footer__grid {
  position: relative;
  display: grid;
  gap: 0.95rem 1.1rem;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(120px, 0.75fr)) minmax(180px, 0.95fr);
  align-items: start;
}

.mlbb-footer__col {
  min-width: 0;
}

.mlbb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
}

.mlbb-footer__brand-logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 18, 42, 0.78);
}

.mlbb-footer__brand-logo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.mlbb-footer__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mlbb-footer__brand-copy strong {
  color: #f8fbff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2;
}

.mlbb-footer__brand-copy small {
  color: var(--mlbb-text-soft);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mlbb-footer__desc {
  margin: 1rem 0 0;
  color: var(--mlbb-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 34ch;
}

.mlbb-footer__rights {
  margin: 0.85rem 0 0;
  color: #e2e8f0;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mlbb-footer__social {
  margin-top: 0.45rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mlbb-footer__social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 34, 78, 0.72);
  color: #f8fbff;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.mlbb-footer__social a:hover,
.mlbb-footer__social a:focus-visible {
  background: #facc15;
  color: #081226;
  transform: translateY(-1px);
}

.mlbb-footer__title {
  margin: 0;
  color: #f8fbff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mlbb-footer__links,
.mlbb-footer__meta {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.mlbb-footer__links a {
  color: var(--mlbb-text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.28;
  transition: color 180ms ease;
}

.mlbb-footer__links a:hover,
.mlbb-footer__links a:focus-visible {
  color: #f8fbff;
}

.mlbb-footer__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mlbb-text-muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.mlbb-footer__meta a {
  color: var(--mlbb-text-muted);
  text-decoration: none;
}

.mlbb-footer__meta a:hover,
.mlbb-footer__meta a:focus-visible {
  color: #f8fbff;
}

.mlbb-footer__payments {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.mlbb-footer__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.12rem 0.45rem;
  background: rgba(14, 28, 58, 0.78);
  color: #c9e3ff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mlbb-footer__hint {
  margin: 0.45rem 0 0;
  color: var(--mlbb-text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.mlbb-footer__newsletter-form {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: rgba(11, 22, 47, 0.85);
}

.mlbb-footer__newsletter-form input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f8fbff;
  font-size: 0.82rem;
  padding: 0.48rem 0.6rem;
}

.mlbb-footer__newsletter-form input::placeholder {
  color: rgba(200, 220, 245, 0.72);
}

.mlbb-footer__newsletter-form input:focus {
  outline: none;
}

.mlbb-footer__newsletter-form button {
  border: 0;
  background: #facc15;
  color: #0b1428;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: filter 180ms ease;
}

.mlbb-footer__newsletter-form button:hover,
.mlbb-footer__newsletter-form button:focus-visible {
  filter: brightness(1.06);
}

.mlbb-footer__bottom {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  color: #dbeafe;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mlbb-footer__legal-line {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.35;
  font-weight: 600;
}

.mlbb-footer__ad-guide {
  margin: 0.4rem auto 0;
  width: min(100%, 620px);
  padding: 0.32rem;
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: none;
}

.mlbb-footer__ad-guide-frame {
  width: 560px;
  max-width: 100%;
  min-height: 56px;
  margin: 0 auto;
  padding: 0.22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(125, 211, 252, 0.44);
  background: rgba(3, 10, 26, 0.34);
  text-align: center;
}

.mlbb-footer__ad-guide-title,
.mlbb-footer__ad-guide-placeholder {
  display: none !important;
}

.mlbb-footer__ad-guide-frame iframe,
.mlbb-footer__ad-guide-frame ins {
  max-width: 100% !important;
}

@media (max-width: 1399.98px) {
  .mlbb-footer__grid {
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 1099.98px) {
  .mlbb-footer__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mlbb-footer {
    padding: 1.3rem 0 0.85rem;
  }

  .mlbb-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .mlbb-footer__desc {
    max-width: none;
  }

  .mlbb-footer__newsletter-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .mlbb-footer__newsletter-form button {
    width: 100%;
  }

  .mlbb-footer__bottom {
    letter-spacing: 0.08em;
  }

  .mlbb-footer__legal-line {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .mlbb-footer__ad-guide {
    width: 100%;
    padding: 0.28rem;
  }

  .mlbb-footer__ad-guide-frame {
    width: 320px;
    min-height: 52px;
    padding: 0.2rem;
  }
}

.mlbb-form-shell {
  background: linear-gradient(135deg, rgba(8, 10, 24, 0.95), rgba(12, 18, 34, 0.95));
  border: 1px solid var(--mlbb-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.mlbb-form-shell .section-title {
  margin-bottom: 1.5rem;
}

.mlbb-form-shell .form-group {
  margin-bottom: 1.25rem;
}

.mlbb-form-shell label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mlbb-text-muted);
  margin-bottom: 0.4rem;
  display: block;
}

.mlbb-form-shell .form-control,
.mlbb-form-shell .form-select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--mlbb-border);
  color: #fff;
  min-height: 48px;
}

.tournament-card.active {
  border: 1px solid var(--mlbb-accent);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.9));
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tournament-card__logo {
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  border: 1px solid var(--mlbb-border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tournament-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-card__body {
  flex: 1;
}

.tournament-card__meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mlbb-text-muted);
}

.tournament-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tournament-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.tournament-card__badge--state {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.tournament-card__badge--state.is-register {
  border-color: rgba(16, 185, 129, 0.6);
  color: #bbf7d0;
}

.tournament-card__badge--state.is-running {
  border-color: rgba(59, 130, 246, 0.6);
  color: #bfdbfe;
}

.tournament-card__badge--state.is-finished {
  border-color: rgba(250, 204, 21, 0.6);
  color: #fef08a;
}

.tournament-card__prize {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
}

.tournament-card__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.tournament-card__cta-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem;
  color: var(--mlbb-text-muted);
  gap: 0.2rem;
}

.tournament-card__cta-meta span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.whatsapp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, rgba(5, 33, 20, 0.9), rgba(1, 10, 5, 0.85));
  box-shadow: 0 20px 50px rgba(6, 78, 59, 0.35);
}

.whatsapp-cta__icon {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(22, 101, 52, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #22c55e;
  box-shadow: inset 0 0 25px rgba(34, 197, 94, 0.2);
}

.whatsapp-cta__body {
  flex: 1 1 220px;
}

.whatsapp-cta__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
  margin-bottom: 0.35rem;
}

.whatsapp-cta__title {
  color: #ecfccb;
  font-size: 1.5rem;
  margin: 0;
}

.whatsapp-cta__text {
  margin: 0.35rem 0 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
}

.whatsapp-cta__action {
  flex: 0 0 auto;
}

.whatsapp-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(120deg, #22c55e, #16a34a);
  color: #04130a;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.45);
}

.whatsapp-cta__button i {
  font-size: 0.85rem;
}

.team-card {
  border-radius: 1.5rem;
  border: 1px solid var(--mlbb-border);
  background: rgba(7, 9, 20, 0.85);
  padding: 1.25rem;
}

.team-card .team-card-content .box-title {
  letter-spacing: 0.08em;
}

.mlbb-input,
.mlbb-textarea,
.mlbb-file {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 13, 24, 0.85);
  color: #fff;
  padding: 0.95rem 1.1rem;
  font-size: 0.95rem;
}

.mlbb-input:focus,
.mlbb-textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.mlbb-textarea {
  min-height: 120px;
  resize: vertical;
}

.mlbb-file {
  padding: 0.85rem;
}

.mlbb-input.is-invalid,
.mlbb-textarea.is-invalid,
.mlbb-select.is-invalid {
  border-color: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.mlbb-input.is-valid,
.mlbb-textarea.is-valid,
.mlbb-select.is-valid {
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.mlbb-select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}

.mlbb-select option {
  color: #0f172a;
  background: #f1f5f9;
}

.logo-preview-box {
  width: 160px;
  height: 160px;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.logo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-preview-box.small {
  width: 110px;
  height: 110px;
  font-size: 2rem;
}

.logo-upload {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.stat-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.75rem;
  background: rgba(7, 12, 24, 0.65);
}

.stat-pill .label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.stat-pill .value {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

.copy-chip {
  margin-top: 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  padding: 0.2rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.copy-chip:hover {
  border-color: rgba(59, 130, 246, 0.8);
  color: #fff;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
}

.tag-counter {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.team-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-choice-card {
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.5rem;
  padding: 1.75rem;
  background: rgba(8, 13, 24, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}

.team-choice-card.accent {
  border-color: rgba(251, 191, 36, 0.6);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.9));
}

.team-choice-card.muted {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(14, 20, 32, 0.7);
}

.team-choice-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.team-choice-card.accent .team-choice-card__icon {
  background: rgba(251, 191, 36, 0.3);
  color: #fcd34d;
}

.team-choice-card__title {
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
}

.team-choice-card__text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.team-choice-list {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  list-style: disc;
}

.team-choice-card__actions {
  margin-top: auto;
}

.team-choice-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.team-choice-card .inline-action {
  color: #60a5fa;
}

.join-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.join-team-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(8, 11, 22, 0.9);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  gap: 0.75rem;
}

.join-team-card__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.join-team-card__logo {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.join-team-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join-team-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-team-status.is-available {
  border-color: rgba(16, 185, 129, 0.5);
  color: #86efac;
}

.join-team-status.is-warning {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fcd34d;
}

.join-team-status.is-disabled {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.th-btn {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-shell {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dashboard-nav-section {
  position: relative;
}

.dashboard-nav-section__toggle {
  display: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--mlbb-border);
  border-radius: 1rem;
  padding: 0.45rem 0.8rem;
  background: rgba(7, 10, 20, 0.9);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  margin-bottom: 0.4rem;
}

.dashboard-nav-section__content {
  display: block;
}

.dashboard-nav {
  flex: 0 0 260px;
  background: var(--mlbb-panel);
  border: 1px solid var(--mlbb-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: sticky;
  top: 110px;
}

.dashboard-nav__title {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--mlbb-text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.dashboard-nav__link {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  color: var(--mlbb-text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.dashboard-nav__link:hover,
.dashboard-nav__link:focus {
  border-color: var(--mlbb-border);
  color: #fff;
}

.dashboard-nav__link.is-active {
  border-color: var(--mlbb-accent);
  color: #fff;
}

.dashboard-nav__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  min-width: 1.6rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #fff;
}

.th-btn--disabled,
.th-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.dashboard-nav__helper {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.6);
  letter-spacing: 0.08em;
  margin: 0.1rem 0 0.8rem;
}

.dashboard-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .dashboard-shell {
    flex-direction: column;
    gap: 1rem;
  }
  .dashboard-nav {
    width: 100%;
    position: static;
    display: block;
    padding: 0.75rem;
    overflow: visible;
  }
  .dashboard-nav-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
  }
  .dashboard-nav-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .dashboard-section-title {
    display: none;
  }
  .dashboard-nav-section__toggle {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
  }
  .dashboard-nav-section__content {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.5rem;
    background: rgba(4, 6, 12, 0.85);
    margin-top: 0.5rem;
  }
  .dashboard-nav-section.is-open .dashboard-nav-section__content {
    display: block;
  }
  .dashboard-nav__link {
    margin-bottom: 0.4rem;
    display: block;
  }
}

.dashboard-card {
  background: var(--mlbb-panel);
  border: 1px solid var(--mlbb-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 35px rgba(2, 6, 23, 0.35);
}

.dashboard-card h2 {
  letter-spacing: 0.08em;
}

.tournament-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.summary-pill {
  border: 1px solid var(--mlbb-border);
  border-radius: 1rem;
  padding: 0.8rem;
  text-align: center;
  background: rgba(7, 12, 24, 0.8);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
}

.summary-pill strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: normal;
  margin-top: 0.3rem;
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill-tab {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  cursor: pointer;
}

.pill-tab.is-active {
  border-color: var(--mlbb-accent);
  color: #fff;
  background: rgba(59, 130, 246, 0.15);
}

.tab-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.tab-panel.is-active {
  display: block;
}

.pending-card {
  border: 1px dashed var(--mlbb-border);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.table-dashboard {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  color: #e2e8f0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.table-dashboard--glass thead {
  background: rgba(148, 163, 184, 0.08);
}

.table-dashboard thead th {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
  padding-bottom: 0.5rem;
  text-align: left;
  padding-top: 0.75rem;
}

.table-dashboard tbody tr {
  background: rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.05);
  transition: background 180ms ease, transform 180ms ease;
}

.table-dashboard tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.table-dashboard td {
  padding: 0.8rem 0.75rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.table-dashboard td .badge {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.table-dashboard-wrapper {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-chip--green {
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
}

.status-chip--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #bfdbfe;
}

.status-chip--orange {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #cbd5f5;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(59, 130, 246, 0.35);
  transition: background 150ms ease, border-color 150ms ease;
}

.action-pill:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.6);
}

.action-pill--danger {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.player-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: radial-gradient(circle at top, rgba(14, 165, 233, 0.2), rgba(15, 23, 42, 0.8));
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.player-card__head {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.player-card__head img,
.player-card__head span {
  width: 70px;
  height: 70px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.6);
}

.player-card__info {
  flex: 1;
}

.player-card__country {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: rgba(226, 232, 240, 0.6);
}

.player-card__name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.player-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.player-card__stats div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.player-card__stats dt {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
  margin-bottom: 0.25rem;
}

.player-card__stats dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.player-card__actions {
  display: flex;
  justify-content: center;
}

.player-card__button {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.15);
  color: #cbd5f5;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  padding: 0.55rem 1rem;
  transition: border-color 150ms ease, background 150ms ease;
}

.player-card__button:hover {
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(59, 130, 246, 0.25);
}

.players-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.players-filter {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
}

.players-filter label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: rgba(226, 232, 240, 0.6);
  display: block;
  margin-bottom: 0.35rem;
}

.players-filter input,
.players-filter select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 0.6rem 0.75rem;
}
.player-leaderboard {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.player-leaderboard__highlight {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, rgba(221, 214, 254, 0.08), rgba(15, 23, 42, 0.9));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.player-leaderboard__body {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.player-leaderboard__body img {
  width: 90px;
  height: 90px;
  border-radius: 1.5rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-leaderboard__body dl {
  display: flex;
  gap: 1rem;
}

.player-leaderboard__body dl div {
  text-align: center;
}

.player-score-table {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 1.25rem;
}

.player-score-table table {
  width: 100%;
  border-spacing: 0;
}

.player-score-table thead {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(226, 232, 240, 0.6);
}

.player-score-table td,
.player-score-table th {
  padding: 0.45rem 0.25rem;
}

.player-score-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ranking-leader {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.9));
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.ranking-leader__badge span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.ranking-leader__info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.ranking-leader__team {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ranking-leader__team img {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.ranking-leader__team h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
}

.ranking-leader__team p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-weight: 600;
}

.ranking-leader__info dl {
  display: flex;
  gap: 1rem;
}

.ranking-leader__info dl div {
  text-align: center;
}

.ranking-leader__info dt {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
}

.ranking-leader__info dd {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.ranking-grid-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  margin-top: 1.5rem;
}

.ranking-grid {
  width: 100%;
  border-spacing: 0;
  color: #e2e8f0;
}

.ranking-grid thead {
  background: rgba(148, 163, 184, 0.08);
}

.ranking-grid th {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: left;
  color: #94a3b8;
}

.ranking-grid tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-grid td {
  padding: 0.85rem 1rem;
}

.ranking-grid__team {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ranking-grid__team img {
  width: 36px;
  height: 36px;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.inline-action {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mlbb-accent);
  border: 1px solid transparent;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
}

.inline-action:hover {
  border-color: var(--mlbb-accent);
}

.dashboard-section-title {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--mlbb-text-muted);
  text-transform: uppercase;
}

.profile-hero {
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.2), rgba(2, 6, 23, 0.95));
  border: 1px solid var(--mlbb-border);
  border-radius: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.profile-hero__media img {
  border-radius: 1.5rem;
  border: 1px solid var(--mlbb-border);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.profile-stat {
  border: 1px solid var(--mlbb-border);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.45);
}

.profile-section {
  border: 1px solid var(--mlbb-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(2, 6, 23, 0.8);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.text-muted-light {
  color: var(--mlbb-text-muted) !important;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card-pro {
  background: linear-gradient(145deg, rgba(8, 12, 28, 0.9), rgba(3, 7, 18, 0.95));
  border: 1px solid var(--mlbb-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
}

.team-card-pro__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-card-pro__logo {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  border: 1px solid var(--mlbb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

.team-card-pro__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-pro__logo span {
  color: var(--mlbb-text-muted);
  font-weight: 600;
  letter-spacing: 0.3em;
}

.team-card-pro__title {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.team-card-pro__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.team-card-pro__stats .value {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-card-pro__stats .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--mlbb-text-muted);
  text-transform: uppercase;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline__item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: -1.5rem;
  width: 2px;
  background: rgba(59, 130, 246, 0.2);
}

.timeline__item:last-child::before {
  bottom: 0;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--mlbb-accent);
  margin-top: 0.4rem;
}

.table-modern {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background: rgba(8, 13, 24, 0.8);
  border: 1px solid var(--mlbb-border);
  border-radius: 1rem;
  overflow: hidden;
}

.table-modern thead {
  background: rgba(59, 130, 246, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--mlbb-text-soft);
}

.table-modern th,
.table-modern td {
  padding: 0.85rem 1rem;
}

.table-modern tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table-modern tbody tr:last-child {
  border-bottom: none;
}

.table-modern tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.news-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  background: linear-gradient(180deg, rgba(8,13,24,0.92), rgba(11,30,66,0.85));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.25rem;
  overflow: hidden;
}

.news-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 1.25rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(226, 232, 240, 0.75);
}

.news-card__title {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #fff;
  margin-bottom: 0.35rem;
}

.news-card__excerpt {
  color: var(--mlbb-text-muted);
  font-size: clamp(0.9rem, 2.5vw, 0.98rem);
  margin: 0;
  line-height: 1.45;
  max-height: calc(1.45em * 4);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .news-card {
    grid-template-rows: 180px 1fr;
  }
}

.champion-highlight {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(8, 17, 40, 0.95), rgba(11, 30, 66, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.champion-highlight__card {
  background: rgba(4, 7, 18, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.08);
}

.champion-highlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 0.4rem;
}

.champion-highlight__body {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.champion-highlight__logo {
  width: 90px;
  height: 90px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  overflow: hidden;
}

.champion-highlight__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champion-highlight__meta {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.champion-highlight__title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.champion-highlight__subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.8rem;
}

.champion-highlight__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.champion-highlight__history {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.champion-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.champion-history-card {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  background: rgba(7, 12, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

.champion-history-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.champion-history-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champion-history-card__tournament {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.champion-history-card__team {
  font-size: 1rem;
  color: #fff;
  margin: 0.15rem 0;
}

.champion-history-card__record {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #cfe1ff;
  font-size: 0.85rem;
}

.accent-pill--hero {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  padding: 0.4rem 1.5rem;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(59, 130, 246, 0.25));
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.accent-pill__pulse {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 60%);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

.champion-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 211, 108, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(118, 77, 240, 0.32), transparent 50%),
    linear-gradient(135deg, #1b153f 0%, #141038 60%, #0f0b2c 100%);
  border: 1px solid rgba(245, 200, 66, 0.38);
  border-radius: 1.8rem;
  padding: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  align-items: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  text-align: left;
}

.champion-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 200, 66, 0.05), transparent 40%, rgba(118, 77, 240, 0.12));
  pointer-events: none;
}

.champion-hero__logo {
  width: 146px;
  height: 146px;
  border-radius: 1.1rem;
  background: rgba(10, 8, 28, 0.9);
  border: 1px solid rgba(245, 200, 66, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.champion-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

.champion-hero__meta {
  font-size: 0.9rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(245, 200, 66, 0.75);
  text-align: center;
  width: 100%;
}

.champion-hero__title {
  font-size: 2.7rem;
  color: #fff;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.55);
  text-align: center;
  width: 100%;
}

.champion-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.champion-hero__stat {
  min-width: 180px;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(245, 200, 66, 0.25);
  background: rgba(10, 8, 28, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.champion-hero__stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: rgba(245, 200, 66, 0.7);
  text-transform: uppercase;
}

.champion-hero__stat-value {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
}

.registered-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
  max-height: 220px;
  overflow-y: auto;
}

.registered-team {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 0.6rem 0.75rem;
  background: rgba(8, 13, 24, 0.75);
}

.registered-team img {
  width: 32px;
  height: 32px;
  border-radius: 0.6rem;
  object-fit: cover;
}

.registered-team span {
  font-size: 0.85rem;
  color: #fff;
}

.featured-teams {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.featured-teams-slider {
  padding-bottom: 2.25rem;
}

.featured-teams-slider .swiper-wrapper {
  padding: 0.25rem 0;
}

.featured-teams-slider .swiper-slide {
  width: auto;
  padding: 0.25rem;
}

.featured-teams__item {
  background: rgba(4, 7, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: border-color 180ms ease, transform 200ms ease;
}

.featured-teams__item:hover {
  border-color: rgba(0, 191, 255, 0.45);
  transform: translateY(-2px);
}

.featured-teams__logo {
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.8);
  margin: 0 auto 0.75rem auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-teams__item:hover .featured-teams__logo {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.25);
}

.featured-teams__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-teams__logo span {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.section-heading--center {
  justify-content: center;
}

.section-heading__icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #e2e7ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bonox-border);
  box-shadow: none;
}

.section-heading__icon--teams {
  color: #cfe1ff;
}

.section-heading__icon--tournaments {
  color: #f1ddb2;
}

.section-heading__icon--streams {
  color: #f4c4c4;
}

.section-heading__icon--news {
  color: #cfe9dd;
}

.section-heading__icon--calendar {
  color: #c2e3f6;
}

.section-heading__icon--history {
  color: #d9cffd;
}

.section-heading__meta {
  color: var(--mlbb-text-soft);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0.65rem;
  font-size: 0.75rem;
  margin-right: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bonox-muted);
  border: 1px solid var(--bonox-border);
  box-shadow: none;
}

.icon-chip--clock {
  background: rgba(14, 116, 144, 0.2);
  color: #7dd3fc;
  border-color: rgba(14, 165, 233, 0.45);
}

.icon-chip--calendar {
  background: rgba(248, 250, 252, 0.08);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.4);
}

.icon-chip--teams {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.4);
}

.icon-chip--streams {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.4);
}

.icon-chip--prize {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.4);
}

.icon-chip--ticket {
  background: rgba(147, 197, 253, 0.15);
  color: #c4b5fd;
  border-color: rgba(147, 197, 253, 0.35);
}

.home-panel {
  position: relative;
  border: 1px solid rgba(0, 127, 255, 0.45) !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(14, 165, 233, 0.16);
  transition: border-color 220ms ease, box-shadow 220ms ease;
  background: rgba(6, 10, 22, 0.92);
}

.home-panel:hover {
  border-color: rgba(14, 165, 233, 0.85) !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(14, 165, 233, 0.32);
}

.featured-champions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.champion-history-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: rgba(8, 11, 22, 0.9);
}

.champion-history-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 320px;
  overflow-y: auto;
}

.champion-history-tile {
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.75rem;
  background: rgba(2, 6, 23, 0.8);
}

.champion-history-tile__logo {
  width: 64px;
  height: 64px;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.champion-history-tile__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.champion-history-tile__tournament {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
}

.champion-history-tile__team {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

.champion-history-tile__record {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.posts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.posts-grid__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(8, 11, 22, 0.9);
  display: flex;
  flex-direction: column;
}

.posts-grid__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.posts-grid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.posts-grid__thumb:hover img {
  transform: scale(1.05);
}

.posts-grid__date {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.posts-grid__content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.posts-grid__content h3 {
  font-size: 1.25rem;
  margin: 0;
}

.posts-grid__content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.public-champion-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(120deg, rgba(5, 11, 26, 0.95), rgba(13, 35, 72, 0.9));
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.public-champion-panel__logo {
  width: 90px;
  height: 90px;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.public-champion-panel__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-champion-panel__title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.public-champion-panel__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.auto-advance-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #facc15;
}

@media (max-width: 1024px) {
  .dashboard-shell {
    flex-direction: column;
  }
  .dashboard-nav {
    width: 100%;
    position: static;
  }
}

@media (max-width: 992px) {
  .mlbb-header__cta {
    display: none;
  }
  .champion-highlight {
    grid-template-columns: 1fr;
  }
  .champion-highlight__history {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 1.25rem;
  }
  .champion-hero {
    flex-direction: column;
    text-align: center;
  }
  .champion-hero__stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .featured-teams__item {
    width: 70vw;
    min-height: 130px;
  }
  .section-heading {
    justify-content: center;
    text-align: center;
  }
  .section-heading__icon {
    width: 48px;
    height: 48px;
  }
  .champion-hero__logo {
    width: 110px;
    height: 110px;
  }
  .accent-pill--hero {
    letter-spacing: 0.2em;
    padding: 0.35rem 1rem;
  }
  .champion-hero__title {
    font-size: 2rem;
  }
  .champion-hero__stats {
    flex-direction: column;
    align-items: stretch;
  }
  .tournament-card.active {
    padding: 1.1rem;
  }
  .tournament-card__meta {
    font-size: 0.78rem;
  }
  .tournament-card__logo {
    width: 70px;
    height: 70px;
  }
.champion-history-panel,
  .champion-hero,
  .news-card {
    padding: 1.1rem;
  }
}

@media (max-width: 768px) {
  .mlbb-header {
    backdrop-filter: none;
    background: rgba(3, 7, 18, 0.98);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
  }
  .home-panel {
    box-shadow: none;
    background: rgba(5, 9, 18, 0.97);
    border-color: rgba(56, 189, 248, 0.4) !important;
  }
  .champion-hero {
    background: rgba(9, 13, 24, 0.97);
    box-shadow: none;
    border-color: rgba(56, 189, 248, 0.35);
  }
  .section-heading__icon {
    box-shadow: none;
  }
  .tournament-card.active,
  .streams-grid article,
  .news-card,
  .featured-teams__item {
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.3);
  }
  .accent-pill__pulse {
    display: none;
  }
}

/* Standalone pages (rules, reglamentos, etc.) */
.page-hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.35), transparent 55%),
    linear-gradient(120deg, rgba(3, 7, 18, 0.95), rgba(7, 89, 133, 0.75));
  z-index: -1;
}

.page-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.page-hero__description {
  font-size: 1rem;
  max-width: 620px;
}

.page-hero__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__shell {
  display: flex;
  justify-content: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.page-hero__content .hero-meta {
  justify-content: center;
}

.hero-meta__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.page-hero__card {
  background: rgba(3, 7, 18, 0.92);
  border-radius: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}

.page-hero__card-label {
  font-size: 0.75rem;
  color: var(--mlbb-text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-body-section {
  background: linear-gradient(180deg, rgba(6, 11, 25, 0.95), rgba(2, 6, 23, 0.95));
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-richtext {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 25px 45px rgba(2, 6, 23, 0.35);
  line-height: 1.7;
  color: rgba(243, 244, 246, 0.85);
  margin: 0 auto;
}

.page-richtext h2,
.page-richtext h3,
.page-richtext h4 {
  color: #fff;
  margin-top: 1.5rem;
}

.page-richtext a {
  color: var(--mlbb-accent);
  text-decoration: underline;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.page-body__container {
  max-width: 900px;
}

.rules-card {
  background: rgba(5, 8, 20, 0.9);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.35);
  position: relative;
  overflow: hidden;
}

.rules-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.35), rgba(14, 165, 233, 0.25));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.rules-card:hover::before {
  opacity: 1;
}

.rules-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.rules-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
}

.rules-card i {
  color: var(--mlbb-accent);
}

.rules-timeline {
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: rgba(8, 11, 28, 0.92);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.rules-timeline div {
  position: relative;
  padding-left: 1.5rem;
}

.rules-timeline div::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mlbb-accent);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
}

.rules-timeline h4 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.rules-timeline p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
}

@media (max-width: 992px) {
  .page-hero .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .page-hero__card {
    margin-top: 2rem;
  }
  .rules-timeline {
    grid-template-columns: 1fr;
  }
}

/* Aivent-style palette */
:root {
  --bonox-bg: #120f2f;
  --bonox-surface: #1b1542;
  --bonox-surface-2: #231a4d;
  --bonox-border: rgba(255, 255, 255, 0.08);
  --bonox-border-strong: rgba(118, 77, 240, 0.4);
  --bonox-text: #f5f7ff;
  --bonox-muted: rgba(226, 232, 240, 0.7);
  --bonox-accent: #764df0;
  --bonox-accent-strong: #8b6cff;
  --bonox-accent-soft: rgba(118, 77, 240, 0.16);
  --bonox-secondary: #442490;
  --bonox-secondary-soft: rgba(68, 36, 144, 0.2);
  --bonox-blue: #2aa1ff;
  --bonox-button: #f5c842;
  --bonox-button-dark: #e2b336;
  --bonox-button-text: #1c1400;
  --mlbb-accent: var(--bonox-accent);
  --mlbb-accent-2: var(--bonox-accent-strong);
  --shell-brand: var(--bonox-accent);
  --shell-accent: var(--bonox-accent);
}

body {
  background: var(--bonox-bg);
  color: var(--bonox-text);
}

body::before {
  background: radial-gradient(circle at 18% 0%, rgba(118, 77, 240, 0.18), transparent 45%),
    radial-gradient(circle at 82% 0%, rgba(42, 161, 255, 0.16), transparent 40%);
}

a {
  color: var(--bonox-text);
}

a:hover {
  color: var(--bonox-accent);
}

.mlbb-topbar,
.mlbb-floating-top,
.mlbb-quick-nav {
  display: none !important;
}

.mlbb-header {
  position: sticky;
  top: 0;
  z-index: 12000;
  background: rgba(11, 15, 29, 0.75);
  border-bottom: 1px solid rgba(118, 77, 240, 0.25);
  backdrop-filter: blur(14px);
}

.mlbb-header.is-scrolled {
  background: rgba(9, 12, 26, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.mlbb-header__inner {
  min-height: 72px;
}

.mlbb-header__logo {
  height: 42px;
}

.mlbb-header__brand span {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mlbb-header__brand small {
  color: var(--bonox-muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.mlbb-header__nav a {
  color: var(--bonox-text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mlbb-header__nav a:hover,
.mlbb-header__nav a:focus-visible {
  border-color: var(--bonox-accent);
  color: var(--bonox-accent);
  background: var(--bonox-accent-soft);
}

.mlbb-header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mlbb-header__toggle {
  border: 1px solid var(--bonox-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

@media (max-width: 992px) {
  .mlbb-header__nav {
    display: none;
  }
  .mlbb-header__cta {
    display: none;
  }
  .mlbb-header__quick-mobile {
    display: none;
  }
  .mlbb-header__toggle {
    display: inline-flex;
  }
}

.th-btn,
.btn {
  min-width: auto;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  clip-path: none;
  border: 1px solid var(--bonox-border);
  background: transparent;
  color: var(--bonox-text);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.th-btn::before,
.th-btn::after {
  display: none;
}

.th-btn:hover,
.btn:hover {
  border-color: var(--bonox-accent);
  color: var(--bonox-accent);
  background: rgba(118, 77, 240, 0.08);
}

.th-btn.style2,
.btn-info {
  background: var(--bonox-accent);
  color: #111;
  border-color: var(--bonox-accent);
}

.th-btn.style2:hover,
.btn-info:hover {
  background: var(--bonox-accent-strong);
  color: #111;
}

.th-btn.style3 {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bonox-text);
}

.inline-action {
  color: var(--bonox-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.7rem;
}

.inline-action:hover {
  color: var(--bonox-accent-strong);
}

.panel,
.card,
.th-blog.blog-single,
.posts-grid__card,
.video-item,
.mc-table,
.stream-card,
.team-card-pro,
.t-card,
.match-card,
.public-round,
.public-match {
  background: var(--bonox-surface);
  border: 1px solid var(--bonox-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.pagination .page-link {
  background: var(--bonox-surface);
  border: 1px solid var(--bonox-border);
  color: var(--bonox-text);
}

.pagination .page-item.active .page-link {
  background: var(--bonox-accent);
  border-color: var(--bonox-accent);
  color: #111;
}

.pagination .page-link:hover {
  border-color: var(--bonox-accent);
  color: var(--bonox-accent);
}

.breadcumb-wrapper,
.page-banner {
  position: relative;
  padding: 110px 0 60px;
  background-color: var(--bonox-bg);
  border-bottom: 1px solid var(--bonox-border);
  overflow: hidden;
}

.breadcumb-wrapper::before,
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.68), rgba(5, 5, 5, 0.94));
  z-index: 0;
}

.breadcumb-wrapper::after,
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 1;
}

.breadcumb-wrapper .container,
.page-banner .auto-container {
  position: relative;
  z-index: 2;
}

.breadcumb-title,
.page-banner h1 {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.breadcumb-menu,
.bread-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--bonox-border);
  background: rgba(0, 0, 0, 0.5);
}

.breadcumb-menu li,
.bread-crumb li {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.breadcumb-menu li::after,
.bread-crumb li::after {
  color: var(--bonox-accent);
}

.breadcumb-menu a,
.bread-crumb a {
  color: var(--bonox-text);
}

.breadcumb-menu a:hover,
.bread-crumb a:hover {
  color: var(--bonox-accent);
}

.page-banner .inner-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner .bread-crumb {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.page-hero {
  background: transparent;
}

.page-hero__label {
  color: var(--bonox-muted);
}

.page-hero__card {
  background: var(--bonox-surface);
  border-color: var(--bonox-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.page-hero__card-label {
  color: var(--bonox-muted);
}

.page-hero__title {
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero__description {
  color: var(--bonox-muted);
}

/* Tournaments list */
.t-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 1.4fr;
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border-radius: 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.t-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  border-color: var(--bonox-accent);
}

.t-hero {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0c12;
  border: 1px solid var(--bonox-border);
}

.t-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center center !important;
  filter: brightness(0.85);
}

.t-hero__img.is-placeholder {
  background: linear-gradient(135deg, #0c0c12, #12121a);
  filter: none;
}

.t-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.85));
}

.t-hero__stage {
  position: absolute;
  top: 12px;
  left: 12px;
}

.t-hero__meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--bonox-text);
  font-size: 12px;
  border: 1px solid var(--bonox-border);
}

.t-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #111;
}

.is-register {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
}

.is-running {
  background: var(--bonox-accent-soft);
  color: var(--bonox-accent-strong);
}

.is-finished {
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

.is-default {
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

.t-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.t-title a {
  color: var(--bonox-text);
  text-decoration: none;
}

.t-title a:hover {
  color: var(--bonox-accent);
}

.t-sub {
  color: var(--bonox-muted);
  font-size: 14px;
  margin: 0;
}

.t-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0;
  color: var(--bonox-text);
  font-size: 13px;
}

.t-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--bonox-border);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.t-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
  color: var(--bonox-muted);
  font-size: 13px;
  font-weight: 700;
}

.t-bar {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.t-bar div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bonox-accent), var(--bonox-accent-strong));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.t-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}

.t-cta .prize {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bonox-accent-strong);
  font-weight: 800;
  font-size: 17px;
  background: rgba(118, 77, 240, 0.08);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(118, 77, 240, 0.3);
}

/* Game-specific prize icons */
.t-prize-icon--diamond {
  color: #5ce5ff;
  text-shadow: 0 0 8px rgba(92, 229, 255, 0.6);
}

.t-prize-icon--robux {
  font-size: 13px;
  font-weight: 900;
  font-style: normal;
  color: #e8543a;
  background: rgba(232, 84, 58, 0.15);
  border: 1px solid rgba(232, 84, 58, 0.35);
  border-radius: 5px;
  padding: 1px 5px;
  letter-spacing: -0.3px;
  line-height: 1;
}

.th-btn.card-btn {
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--bonox-accent);
  color: #111;
  border: 1px solid var(--bonox-accent);
}

.th-btn.card-btn:hover {
  background: var(--bonox-accent-strong);
  color: #111;
}

@media (max-width: 1100px) {
  .t-card {
    grid-template-columns: 1fr;
  }
  .t-hero {
    height: 220px;
  }
}

/* Matches page */
.matches-hero {
  background: var(--bonox-surface);
  border-radius: 18px;
  border: 1px solid var(--bonox-border);
  padding: 1.2rem;
  margin-top: -50px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.matches-hero__badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.matches-hero__title {
  font-size: 2rem;
  margin: 0.45rem 0;
  font-weight: 700;
  line-height: 1.05;
}

.matches-hero__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--bonox-muted);
}

.round-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.round-tab {
  border: 1px solid var(--bonox-border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--bonox-muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}

.round-tab.is-active {
  background: var(--bonox-accent-soft);
  border-color: var(--bonox-accent);
  color: #111;
}

.round-panel {
  display: none;
}

.round-panel.is-active {
  display: block;
}

.match-card {
  border-radius: 16px;
  border: 1px solid var(--bonox-border);
  padding: 0.85rem;
  background: var(--bonox-surface-2);
  margin-top: 0.7rem;
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(118, 77, 240, 0.08), transparent 60%);
  z-index: 0;
}

.match-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.match-card__meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.match-card__meta span {
  white-space: nowrap;
}

.match-card__meta .stage {
  font-weight: 700;
  color: #fff;
}

.match-card__details {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  color: var(--bonox-muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.match-card__details p {
  margin: 0;
  line-height: 1.2;
}

.match-card__details .slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.slot-pill.is-stream {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
}

.slot-pill.is-off {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
}

.match-versus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.65rem;
  position: relative;
  z-index: 1;
}

.team-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bonox-border);
  border-radius: 14px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.team-tile.winner {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.12);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.18);
}

.team-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team-info img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--bonox-border);
}

.team-info a {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.team-score {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.match-divider {
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.notes {
  margin-top: 0.4rem;
  color: var(--bonox-muted);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .matches-hero {
    padding: 1rem;
    margin-top: -35px;
  }
  .matches-hero__title {
    font-size: 1.6rem;
  }
  .match-card {
    padding: 0.8rem;
  }
  .team-info img {
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }
  .team-score {
    font-size: 1.3rem;
  }
  .match-card__header {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .match-card__details {
    align-items: flex-start;
    text-align: left;
    white-space: normal;
  }
  .match-card__meta {
    letter-spacing: 0.12em;
  }
}

/* Bracket page */
.tw-lite-hidden {
  display: none;
}

.public-bracket-shell {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface);
  overflow-x: auto;
  overflow-y: hidden;
  isolation: isolate;
}

.public-bracket-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(118, 77, 240, 0.12), transparent 55%);
  pointer-events: none;
}

.public-bracket-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.public-bracket-shell::-webkit-scrollbar {
  height: 10px;
}

.public-bracket-shell::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.public-bracket-shell::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(118, 77, 240, 0.6), rgba(118, 77, 240, 0.2));
  border-radius: 999px;
}

.public-bracket-shell__hint {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bonox-muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.bracket-format-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(118, 77, 240, 0.5);
  background: var(--bonox-accent-soft);
  color: var(--bonox-accent-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.public-bracket {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.75rem;
  min-width: max-content;
  position: relative;
  z-index: 1;
}

.public-round {
  background: var(--bonox-surface-2);
  border-radius: 1.25rem;
  padding: 1rem 1rem 0.5rem;
  position: relative;
}

.public-round::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  bottom: 2.6rem;
  right: -1rem;
  width: 1.2rem;
  border-right: 2px solid rgba(118, 77, 240, 0.35);
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  opacity: 0.7;
}

.public-round:last-child::after {
  display: none;
}

.round-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.6rem;
}

.round-header__left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.round-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--bonox-muted);
}

.round-count {
  font-size: 0.65rem;
  color: var(--bonox-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bonox-border);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.public-match {
  border-radius: 1rem;
  padding: 0.85rem 0.85rem 0.75rem;
  margin-bottom: 1rem;
  background: #0c0c12;
  border: 1px solid var(--bonox-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.public-match:hover {
  border-color: var(--bonox-accent);
}

.public-match:last-child {
  margin-bottom: 0;
}

.public-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bonox-border);
}

.public-team.winner {
  color: #c7f9d8;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  font-weight: 600;
}

.public-team.is-empty {
  opacity: 0.6;
}

.public-team__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.public-team__name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-team__score {
  min-width: 34px;
  text-align: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.public-team.winner .public-team__score {
  background: rgba(34, 197, 94, 0.25);
  color: #dcfce7;
}

.public-team img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--bonox-border);
}

.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.match-meta .meta-pill {
  font-size: 0.65rem;
  color: var(--bonox-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bonox-border);
}

.match-meta .status-pill[data-status="finished"] {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #d1fae5;
}

.match-meta .status-pill[data-status="pending"],
.match-meta .status-pill[data-status="scheduled"] {
  background: var(--bonox-accent-soft);
  border-color: rgba(118, 77, 240, 0.4);
  color: var(--bonox-accent-strong);
}

.match-meta .status-pill[data-status="cancelled"] {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.match-meta .meta-pill i {
  margin-right: 0.35rem;
}

@media (max-width: 992px) {
  .public-round::after {
    display: none;
  }
  .public-bracket-shell {
    padding: 1.1rem;
    -webkit-overflow-scrolling: touch;
  }
  .public-bracket {
    grid-auto-columns: minmax(220px, 1fr);
  }
  .public-bracket-shell__hint {
    display: block;
  }
}

@media (max-width: 768px) {
  .public-bracket-shell {
    background: var(--bonox-surface);
    overflow-x: auto;
    overflow-y: auto;
    padding: 0.75rem;
    -webkit-overflow-scrolling: touch;
    max-height: none;
    overscroll-behavior-x: contain;
  }
  .public-bracket {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 1rem;
    min-width: max-content;
  }
  .public-round {
    margin-bottom: 0;
  }
  .public-bracket-shell__hint {
    display: block;
  }
  .public-bracket-shell::before,
  .public-bracket-shell::after {
    display: none;
  }
  .public-match {
    box-shadow: none;
    padding: 0.65rem 0.6rem 0.55rem;
    margin-bottom: 0.75rem;
  }
  .public-bracket-shell,
  .public-bracket-shell * {
    animation: none !important;
    transition: none !important;
  }
  .breadcumb-wrapper {
    background-attachment: scroll !important;
  }
  .mlbb-floating-top {
    backdrop-filter: none !important;
    box-shadow: none !important;
  }
}

@media (min-width: 993px) {
  .public-bracket-shell__hint {
    display: none;
  }
}

/* Challonge-like skin for public bracket */
  .public-bracket-shell.bracket-challonge {
    --cb-surface: #0f1828;
    --cb-surface-2: #1a2740;
    --cb-seed: #13243d;
    --cb-line: rgba(224, 236, 255, 0.94);
    --cb-text: #eaf3ff;
    --cb-muted: #9cb4cf;
    --cb-score: #253a5a;
    --cb-score-win: var(--shell-brand);
    padding: 0.95rem 1rem 1.05rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.36);
    background:
      radial-gradient(circle, rgba(0, 191, 255, 0.2) 0.8px, transparent 0.9px) 0 0 / 7px 7px,
      linear-gradient(180deg, #0c1422 0%, #09101c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 36px rgba(0, 8, 20, 0.58);
    cursor: grab;
    touch-action: pan-y pinch-zoom;
  }

.public-bracket-shell.bracket-challonge::before,
.public-bracket-shell.bracket-challonge::after {
  display: none;
}

.public-bracket-shell.bracket-challonge.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.bracket-challonge .challonge-toolbar {
  display: none;
}

.bracket-challonge .challonge-toolbar__live,
.bracket-challonge .challonge-toolbar__view {
  display: none;
}

.bracket-challonge .challonge-toolbar__view i {
  display: none;
}

.bracket-challonge .challonge-live-dot {
  display: none;
}

.bracket-challonge .public-bracket-shell__hint {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--cb-muted);
  margin-bottom: 0.65rem;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.bracket-challonge .bracket-hint-icon {
  font-size: 0.88rem;
  animation: bracketSwipeHint 1.25s ease-in-out infinite;
}

@keyframes bracketSwipeHint {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(8px);
    opacity: 1;
  }
}

.bracket-challonge .public-bracket {
  --cb-round-gap: 1.75rem;
  --cb-join-x: 0.96rem;
  grid-auto-columns: minmax(246px, 246px);
  gap: var(--cb-round-gap);
  align-items: flex-start;
}

.bracket-challonge .public-round {
  --round-offset: 0px;
  --match-gap: 8px;
  --line-top: 12px;
  --line-bottom: 10px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: var(--round-offset);
}

.bracket-challonge .public-round::after {
  display: none;
}

.bracket-challonge .round-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0.42rem;
  padding: 0.3rem 0.45rem 0.34rem;
  border-radius: 4px;
  border: 1px solid rgba(66, 122, 194, 0.58);
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.95) 0%, rgba(10, 21, 37, 0.95) 100%);
}

.bracket-challonge .round-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9ebff;
}

.bracket-challonge .bracket-phase-title {
  display: block !important;
  margin-bottom: 0.42rem;
  padding: 0.3rem 0.45rem 0.34rem;
  border-radius: 4px;
  border: 1px solid rgba(66, 122, 194, 0.58);
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.95) 0%, rgba(10, 21, 37, 0.95) 100%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9ebff;
}

.bracket-challonge .round-subtitle {
  display: none;
}

.bracket-challonge .round-count {
  display: none;
}

.bracket-challonge .bracket-format-badge {
  display: none;
}

.bracket-challonge .public-match {
  position: relative;
  margin-bottom: var(--match-gap);
  padding: 0;
  border-radius: 3px;
  overflow: visible;
  border: 1px solid rgba(74, 121, 186, 0.58);
  background: var(--cb-surface);
  box-shadow: none;
}

.bracket-challonge .public-round > .public-match:last-child {
  margin-bottom: 0;
}

.bracket-challonge .public-round:not(:last-child) .public-match::after {
  content: "";
  position: absolute;
  right: calc(-1 * var(--cb-join-x));
  top: 50%;
  width: var(--cb-join-x);
  border-top: 2px solid var(--cb-line);
  transform: translateY(-50%);
  pointer-events: none;
}

.bracket-challonge .public-round:not(:last-child) .public-match:nth-of-type(odd):not(:last-of-type)::before {
  content: "";
  position: absolute;
  right: calc(-1 * var(--cb-round-gap));
  top: 50%;
  width: var(--cb-round-gap);
  height: calc(100% + var(--match-gap));
  pointer-events: none;
  background:
    linear-gradient(var(--cb-line), var(--cb-line)) var(--cb-join-x) 0 / 2px 100% no-repeat,
    linear-gradient(var(--cb-line), var(--cb-line)) var(--cb-join-x) 50% / calc(var(--cb-round-gap) - var(--cb-join-x)) 2px no-repeat;
}

.bracket-challonge .public-match:hover {
  border-color: rgba(0, 191, 255, 0.72);
}

.bracket-challonge .public-match:last-of-type {
  margin-bottom: 0;
}

.bracket-challonge .match-meta {
  margin-bottom: 0.23rem;
  gap: 0.2rem;
}

.bracket-challonge .match-meta .meta-pill {
  padding: 0.06rem 0.3rem;
  border-radius: 3px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  border-color: rgba(80, 130, 197, 0.45);
  background: rgba(8, 20, 35, 0.7);
  color: var(--cb-muted);
}

.bracket-challonge .match-meta .meta-pill.match-id {
  color: #e6ebf2;
}

.bracket-challonge .match-meta .status-pill[data-status="finished"] {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(14, 165, 233, 0.42);
  color: #b7e7ff;
}

.bracket-challonge .match-meta .status-pill[data-status="pending"],
.bracket-challonge .match-meta .status-pill[data-status="scheduled"] {
  background: rgba(59, 130, 246, 0.17);
  border-color: rgba(59, 130, 246, 0.45);
  color: #c4dcff;
}

.bracket-challonge .public-team {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 34px;
  align-items: stretch;
  gap: 0;
  min-height: 22px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: var(--cb-surface-2);
}

.bracket-challonge .public-team + .public-team {
  margin-top: 1px;
}

.bracket-challonge .public-team__seed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.61rem;
  font-weight: 700;
  color: #8cb1d8;
  background: var(--cb-seed);
  border-right: 1px solid rgba(96, 143, 201, 0.35);
}

.bracket-challonge .public-team__info {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0 0.5rem;
}

.bracket-challonge .public-team__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cb-text);
}

.bracket-challonge .public-team__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dceeff;
  background: var(--cb-score);
}

.bracket-challonge .public-team.winner {
  background: #233755;
}

.bracket-challonge .public-team.winner .public-team__name {
  color: #ffffff;
  font-weight: 700;
}

.bracket-challonge .public-team.winner .public-team__score {
  background: var(--cb-score-win);
  color: #05202d;
}

.bracket-challonge .public-team.is-empty {
  opacity: 0.62;
}

.bracket-challonge .auto-advance-note {
  margin-top: 0.3rem;
  font-size: 0.64rem;
  color: #e5e7eb;
  opacity: 0.78;
}

@media (max-width: 992px) {
  .bracket-challonge .public-bracket {
    --cb-round-gap: 1.45rem;
    --cb-join-x: 0.8rem;
    grid-auto-columns: minmax(228px, 228px);
    gap: var(--cb-round-gap);
  }
}

@media (max-width: 768px) {
  .public-bracket-shell.bracket-challonge {
    padding: 0.9rem;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .bracket-challonge .public-bracket {
    --cb-round-gap: 1.1rem;
    --cb-join-x: 0.62rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(204px, 204px);
    gap: var(--cb-round-gap);
    min-width: max-content;
  }

  .bracket-challonge .public-bracket-shell__hint {
    display: inline-flex;
  }
}

/* Posts */
.posts-grid__card {
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.posts-grid__card:hover {
  border-color: var(--bonox-accent);
  transform: translateY(-2px);
}

.posts-grid__thumb img {
  filter: contrast(1.05);
}

.posts-grid__date {
  background: var(--bonox-accent);
  color: #111;
  font-weight: 800;
}

.posts-grid__content h3 a:hover {
  color: var(--bonox-accent);
}

.th-blog.blog-single {
  border-radius: 18px;
  padding: 1.5rem;
}

.blog-meta li {
  color: var(--bonox-muted);
}

/* Landing page sections */
.home-hero {
  margin-top: 1.5rem;
}

.hero-panel {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  border: 1px solid var(--bonox-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-sub {
  color: var(--bonox-muted);
  margin-bottom: 1rem;
}

.match-section.home-section {
  padding: 3.5rem 0;
  background: #070709;
  border-top: 1px solid var(--bonox-border);
  border-bottom: 1px solid var(--bonox-border);
}

.ms-content {
  background: var(--bonox-surface);
  border: 1px solid var(--bonox-border);
  border-radius: 16px;
  padding: 1.2rem;
  height: 100%;
}

.ms-content h4 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--bonox-muted);
}

.mc-table {
  border-radius: 16px;
  padding: 0.8rem;
  margin-top: 1rem;
}

.mc-table table {
  width: 100%;
}

.mc-table h4 {
  color: var(--bonox-accent);
  font-weight: 800;
}

.video-section.home-section {
  padding: 3.5rem 0;
}

.video-item {
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-item:hover {
  border-color: var(--bonox-accent);
  transform: translateY(-2px);
}

.vi-title a {
  color: var(--bonox-text);
}

.vi-title a:hover {
  color: var(--bonox-accent);
}

.line-info {
  border-color: var(--bonox-accent);
}

/* Teams */
.team-showcase {
  --glass: rgba(255, 255, 255, 0.04);
  --stroke: var(--bonox-border);
  --glow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.team-public {
  --team-shell-border: var(--bonox-border);
  --team-shell-bg: linear-gradient(145deg, rgba(35, 26, 77, 0.92), rgba(27, 21, 66, 0.96));
  --team-shell-bg-soft: rgba(35, 26, 77, 0.72);
}

.team-public-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--team-shell-border);
  background: linear-gradient(145deg, rgba(35, 26, 77, 0.96), rgba(18, 15, 47, 0.96));
  border-color: var(--bonox-border-strong);
  margin-bottom: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.team-public-hero__bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.1);
  opacity: 0.12;
  transform: scale(1.2);
  pointer-events: none;
}

.team-public-hero__content {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.team-public-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.team-public-logo {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  border: 1px solid var(--bonox-border-strong);
  background: var(--bonox-secondary-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-public-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-public-logo span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.team-public-head__text h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  color: #fff;
  font-weight: 800;
}

.team-public-kicker {
  margin: 0 0 6px 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.team-public-badges {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.team-public-back {
  white-space: nowrap;
}

.team-public-record {
  margin-top: 22px;
}

.team-public-record__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bonox-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-public-record__head strong {
  color: #fff;
  font-size: 18px;
}

.team-public-record__bar {
  margin-top: 10px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.team-public-record__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bonox-accent), var(--bonox-blue));
}

.team-public-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.team-public-stat {
  border-radius: 14px;
  border: 1px solid var(--team-shell-border);
  background: var(--team-shell-bg-soft);
  padding: 12px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-public-stat .value {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  word-break: break-word;
}

.team-public-stat .label {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.team-public-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.3fr);
  gap: 18px;
}

.team-public-card {
  border-radius: 20px;
  border: 1px solid var(--team-shell-border);
  background: linear-gradient(145deg, rgba(27, 21, 66, 0.94), rgba(18, 15, 47, 0.96));
  padding: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.team-public-about {
  color: var(--bonox-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.team-public-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-public-meta div {
  border-radius: 12px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
}

.team-public-meta span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.team-public-meta strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}

.team-public-rival {
  margin-top: 18px;
}

.team-public-rival__box {
  border-radius: 14px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.team-public-rival__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.team-public-rival__head h4 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.team-public-rival__head h4 a {
  color: inherit;
}

.team-public-rival__head h4 a:hover {
  color: var(--bonox-accent);
}

.team-public-rival__count {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bonox-muted);
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.02);
}

.team-public-rival__record {
  margin: 8px 0 0 0;
  color: var(--bonox-text);
  font-weight: 600;
}

.team-public-rival__meta {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: var(--bonox-muted);
}

.team-public-achievements {
  margin-top: 18px;
}

.team-public-achievements__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-public-achievement {
  border-radius: 12px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
}

.team-public-achievement .value {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.team-public-achievement .label {
  display: block;
  color: var(--bonox-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  margin-top: 2px;
}

.team-public-achievements__note {
  margin: 10px 0 0 0;
  color: var(--bonox-muted);
  font-size: 13px;
}

.team-public-achievements__note strong {
  color: #fff;
}

.team-public-achievements__note a {
  color: #fff;
  text-decoration: underline;
}

.team-public-achievements__note a:hover {
  color: var(--bonox-accent);
}

.team-public-roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.team-public-member {
  border-radius: 14px;
  border: 1px solid var(--team-shell-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.team-public-member:hover {
  transform: translateY(-2px);
  border-color: var(--bonox-accent);
}

.team-public-member__avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  flex: 0 0 52px;
}

.team-public-member__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-public-member__avatar span {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.team-public-member__body {
  min-width: 0;
}

.team-public-member__name {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-public-member__name a {
  color: inherit;
}

.team-public-member__name a:hover {
  color: var(--bonox-accent);
}

.team-public-member__meta {
  color: var(--bonox-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Captain crown badge */
.team-captain-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #f59e0b;
  font-size: 13px;
  vertical-align: middle;
}

/* Contact WhatsApp buttons */
.team-public-contact {
  margin-top: 24px;
}
.team-public-contact__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.team-public-contact__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a2e1a 0%, #0f1f0f 100%);
  border: 1.5px solid #25d366;
  border-radius: 14px;
  padding: 12px 18px;
  color: #e8f5e8;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  min-width: 200px;
  flex: 1 1 200px;
}
.team-public-contact__btn:hover {
  background: linear-gradient(135deg, #1e3a1e 0%, #162b16 100%);
  border-color: #2eeb75;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.25);
  color: #fff;
}
.team-public-contact__btn--alt {
  border-color: #128c7e;
  background: linear-gradient(135deg, #162626 0%, #0d1a1a 100%);
}
.team-public-contact__btn--alt:hover {
  border-color: #1aada0;
  box-shadow: 0 6px 20px rgba(18,140,126,.25);
}
.team-public-contact__icon {
  flex-shrink: 0;
  color: #25d366;
  display: flex;
  align-items: center;
}
.team-public-contact__btn--alt .team-public-contact__icon {
  color: #1aada0;
}
.team-public-contact__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-public-contact__role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #25d366;
  font-weight: 600;
}
.team-public-contact__btn--alt .team-public-contact__role {
  color: #1aada0;
}
.team-public-contact__name {
  font-size: 14px;
  font-weight: 600;
  color: #e8f5e8;
}

.team-public-empty {
  border: 1px dashed var(--team-shell-border);
  border-radius: 14px;
  padding: 16px;
  color: var(--bonox-muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .team-public-head {
    grid-template-columns: auto 1fr;
  }

  .team-public-back {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .team-public-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-public-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-public-hero__content,
  .team-public-card {
    padding: 16px;
  }

  .team-public-logo {
    width: 86px;
    height: 86px;
    border-radius: 16px;
  }

  .team-public-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-public-roster {
    grid-template-columns: 1fr;
  }

  .team-public-achievements__grid {
    grid-template-columns: 1fr;
  }
}

.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.team-search {
  margin-bottom: 18px;
}

.team-search__group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.team-search__input {
  flex: 1 1 360px;
  min-width: 240px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--bonox-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 14px;
}

.team-search__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.team-search__input:focus {
  outline: none;
  border-color: var(--bonox-accent);
}

.team-card-pro {
  position: relative;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card-pro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(118, 77, 240, 0.08), transparent 45%);
  pointer-events: none;
}

.team-card-pro:hover {
  transform: translateY(-4px);
  border-color: var(--bonox-accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.team-card-pro__header {
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.team-card-pro__logo {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--bonox-surface-2);
  border: 1px solid var(--bonox-border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-card-pro__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-pro__logo span {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-card-pro__title a {
  color: #fff;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bonox-border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card-pro__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 8px;
}

.team-card-pro__stats .value {
  display: block;
  font-weight: 800;
  font-size: 18px;
}

.team-card-pro__stats .label {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-card-pro__members {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  border: 1px solid var(--bonox-border);
}

.winrate {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bonox-border);
  border-radius: 10px;
  overflow: hidden;
  height: 12px;
}

.winrate span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bonox-accent), var(--bonox-accent-strong));
}

.teams-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.teams-pagination a,
.teams-pagination span {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--bonox-border);
  background: rgba(255, 255, 255, 0.04);
}

/* Streams */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.stream-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stream-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.6);
  color: #f5f7fb;
}

.stream-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stream-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stream-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.stream-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--bonox-accent);
  color: #111;
  font-weight: 800;
  font-size: 12px;
}

.stream-pill.off {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bonox-muted);
}

/* Tournament detail */
.tournament-detail-shell {
  --glass: rgba(255, 255, 255, 0.04);
  --stroke: var(--bonox-border);
  --glow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.tournament-detail-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px at 20% 20%, rgba(118, 77, 240, 0.08), transparent 45%);
  opacity: 0.8;
}

.tournament-detail-shell .panel,
.tournament-detail-shell .widget,
.tournament-detail-shell .th-blog,
.tournament-detail-shell .info-card,
.tournament-detail-shell .schedule-card,
.tournament-detail-shell .result-card,
.tournament-detail-shell .registered-team,
.tournament-detail-shell .tournament-card,
.tournament-detail-shell .rounded-2xl.border,
.tournament-detail-shell .rounded-3xl.border {
  border: 1px solid var(--bonox-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  background: var(--bonox-surface);
}

.phase-track {
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface);
}

.phase-node {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
}

.phase-node:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 22px;
  width: 2px;
  height: 0.5rem;
  background: var(--bonox-border);
}

@media (min-width: 768px) {
  .phase-node {
    flex: 1;
    padding: 0;
  }
  .phase-node:not(:last-child)::after {
    top: 50%;
    left: auto;
    right: -10%;
    width: 20%;
    height: 2px;
  }
}

.phase-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--bonox-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8eefc;
  background: rgba(15, 15, 20, 0.7);
  transition: all 160ms ease;
}

.phase-node.is-active .phase-icon {
  border-color: var(--bonox-accent);
  color: #111;
  background: var(--bonox-accent);
  box-shadow: 0 0 12px rgba(118, 77, 240, 0.45);
}

.phase-node.is-complete .phase-icon {
  border-color: rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
  background: rgba(15, 118, 110, 0.25);
}

.countdown-pill {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 0.75rem;
  border-radius: 16px;
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface-2);
  padding: 0.6rem 1rem;
  text-align: center;
  color: #fff;
}

.countdown-pill span {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

.countdown-pill small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.phase-stage-card {
  border-radius: 1.75rem;
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface-2);
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .phase-stage-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.phase-track {
  overflow: hidden;
}

.phase-track .countdown-pill {
  grid-template-columns: repeat(4, minmax(64px, 1fr));
}

.phase-track .countdown-pill div {
  min-width: 64px;
}

@media (max-width: 768px) {
  .phase-track {
    padding: 1.25rem;
  }
  .phase-stage-card {
    grid-template-columns: 1fr;
  }
  .phase-node {
    flex-direction: row;
    min-width: 0;
  }
  .phase-node:not(:last-child)::after {
    display: none;
  }
  .phase-track .countdown-pill {
    grid-template-columns: repeat(2, minmax(64px, 1fr));
    gap: 0.5rem;
  }
  .phase-track .countdown-pill div {
    min-width: 56px;
  }
}

.phase-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--bonox-accent-soft);
  border: 1px solid rgba(118, 77, 240, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bonox-accent-strong);
}

.phase-node:not(.is-active):not(.is-complete) .phase-icon {
  border-color: var(--bonox-border);
  color: rgba(215, 225, 240, 0.78);
  background: rgba(15, 15, 20, 0.7);
}

.tournament-detail-shell .panel:hover,
.tournament-detail-shell .widget:hover,
.tournament-detail-shell .info-card:hover,
.tournament-detail-shell .schedule-card:hover,
.tournament-detail-shell .result-card:hover,
.tournament-detail-shell .tournament-card:hover {
  border-color: var(--bonox-accent) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.tournament-detail-shell .table-modern th,
.tournament-detail-shell .table-modern td {
  border-color: var(--bonox-border);
}

.tournament-detail-shell .team-pill,
.tournament-detail-shell .result-team {
  border-color: var(--bonox-border-strong);
}

.tournament-detail-shell .rounded-2xl,
.tournament-detail-shell .rounded-3xl,
.tournament-detail-shell .info-card,
.tournament-detail-shell .schedule-card,
.tournament-detail-shell .result-card,
.tournament-detail-shell .panel,
.tournament-detail-shell .widget,
.tournament-detail-shell .tournament-card {
  border-color: var(--bonox-border) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32) !important;
  background: var(--bonox-surface) !important;
}

.team-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface-2);
  box-shadow: var(--glow);
}

.glass-card {
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface);
  box-shadow: var(--glow);
}

.team-card img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--bonox-border);
}

.team-card .team-name {
  font-weight: 700;
  color: #f5f7ff;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface-2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.stat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-chip .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bonox-muted);
}

.stat-chip .stat-value {
  font-weight: 700;
  color: #f8fbff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat-chip .stat-icon {
  height: 28px;
  width: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bonox-accent-soft);
  color: var(--bonox-accent-strong);
}

.hero-cover-card {
  border: 1px solid var(--bonox-border);
  background: var(--bonox-surface-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .tournament-detail-shell .standings-table-wrapper table {
    min-width: 320px !important;
    font-size: 0.78rem;
  }
  .tournament-detail-shell .standings-table-wrapper {
    padding-bottom: 0.5rem;
  }
  .tournament-detail-shell .standings-table-wrapper::-webkit-scrollbar {
    height: 4px;
  }
  .tournament-detail-shell .standings-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(118, 77, 240, 0.4);
    border-radius: 999px;
  }
}

.registration-actions .th-btn {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .registration-actions .th-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    clip-path: none;
    border-radius: 12px;
  }
}

/* Standings table */
.standing-table thead th {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
}

.standing-table td {
  vertical-align: middle;
}

.standing-card {
  background: var(--bonox-surface-2);
  border: 1px solid var(--bonox-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

table.standing-table {
  border: 1px solid var(--bonox-border);
  border-collapse: collapse;
}

.standing-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bonox-border);
}

.standing-table tr {
  transition: background 0.2s ease;
}

.standing-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.015);
}

.standing-table tr:hover {
  background: rgba(118, 77, 240, 0.08);
}

.standing-table th,
.standing-table td {
  border-bottom: 1px solid var(--bonox-border);
}

.standing-table tbody tr:last-child td {
  border-bottom: none;
}

.standing-summary {
  border: 1px solid rgba(118, 77, 240, 0.4) !important;
  background: var(--bonox-surface-2) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
}

.standing-summary-card {
  border: 1px solid rgba(118, 77, 240, 0.3) !important;
  background: var(--bonox-surface-2) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.standing-summary-card .stat-label {
  color: var(--bonox-muted);
}

.standing-summary-card .stat-value {
  color: #e5edff;
}

@media (max-width: 640px) {
  .standing-table th,
  .standing-table td {
    padding: 6px 8px;
    font-size: 12px;
  }
  .standing-table th:nth-child(3),
  .standing-table td:nth-child(3),
  .standing-table th:nth-child(6),
  .standing-table td:nth-child(6) {
    display: none;
  }
  .standing-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}

/* Tailwind fallback utility classes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.flex { display: flex; }
.gap-3 { gap: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.max-w-md { max-width: 28rem; }
.bg-transparent { background-color: transparent; }
.border { border-width: 1px; }
.text-white { color: #fff; }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }
.text-yellow-300 { color: #fde047; }

/* Aivent header + home overrides */
body .mlbb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 14000;
  background: rgba(16, 20, 53, 0.92);
  border-bottom: 1px solid rgba(118, 77, 240, 0.35);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

body .mlbb-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(118, 77, 240, 0.16), rgba(68, 36, 144, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

body .mlbb-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

body .mlbb-header__brand {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 0;
}

body .mlbb-header__logo {
  max-height: 54px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

body .mlbb-header__brand span {
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

body .mlbb-header__brand small {
  color: var(--bonox-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

body .mlbb-header__nav {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  min-width: 0;
}

body .mlbb-header__nav ul {
  gap: 0.55rem 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

body .mlbb-header__nav a,
body .mlbb-header__nav .nav-pill {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.45rem 0;
  color: var(--bonox-muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .mlbb-header__nav i {
  font-size: 0.84rem;
}

body .mlbb-header__nav a::after,
body .mlbb-header__nav .nav-pill::after {
  display: none !important;
}

body .mlbb-header__nav a:hover,
body .mlbb-header__nav a:focus-visible,
body .mlbb-header__nav .nav-pill:hover,
body .mlbb-header__nav .nav-pill:focus-visible {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body .mlbb-header__nav a:hover::after,
body .mlbb-header__nav a:focus-visible::after,
body .mlbb-header__nav .nav-pill:hover::after,
body .mlbb-header__nav .nav-pill:focus-visible::after {
  display: none !important;
}

body .mlbb-header__cta {
  border: 0;
  padding: 0;
  margin: 0;
  margin-left: auto;
}

body .mlbb-chip {
  background: rgba(118, 77, 240, 0.16);
  border: 1px solid rgba(118, 77, 240, 0.35);
  color: #f5f7ff;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
}

body .mlbb-chip--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--bonox-muted);
}

body .mlbb-header__quick-mobile {
  gap: 0.5rem;
}

body .mlbb-header__icon-btn,
body .mlbb-header__toggle {
  border: 1px solid var(--bonox-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  box-shadow: none;
}

body .mlbb-header__icon-btn:hover,
body .mlbb-header__toggle:hover {
  border-color: rgba(118, 77, 240, 0.45);
  color: #fff;
}

@media (max-width: 992px) {
  body,
  body .site-shell,
  body .site-main {
    margin-top: 0 !important;
  }
  body .mlbb-header__nav,
  body .mlbb-header__cta {
    display: none;
  }
  body .mlbb-header__quick-mobile {
    display: flex;
  }
  body .mlbb-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: center;
    min-height: 60px;
    padding-left: 12px;
    padding-right: 12px;
    column-gap: 8px;
  }
  body .mlbb-header__brand {
    margin: 0;
    position: static;
    transform: none;
    z-index: 2;
    max-width: 210px;
    justify-self: center;
    gap: 6px;
  }
  body .mlbb-header__logo {
    max-height: 38px;
  }
  body .mlbb-header__quick-mobile {
    position: static;
    transform: none;
    z-index: 3;
    justify-self: start;
  }
  body .mlbb-header__toggle {
    position: static;
    transform: none;
    z-index: 3;
    justify-self: end;
  }
  body .site-shell,
  body .site-main {
    padding-top: 0 !important;
  }
}

@media (max-width: 992px) {
  body .banner-section,
  body .banner-section .slide-item,
  body .banner-section .banner-carousel,
  body .banner-section .owl-stage-outer {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body .banner-section {
    margin-top: -18px !important;
  }
  body .home-page {
    margin-top: -25px;
  }
}

body .site-shell,
body .site-main {
  padding-top: 45px !important;
}

body .banner-section .content-box img {
  display: none !important;
}

@media (max-width: 992px) {
  body .mlbb-header__logo {
    max-height: 42px;
  }
  body .mlbb-header__brand span {
    display: flex;
    flex-direction: column;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }
  body .mlbb-header__brand small {
    font-size: 0.56rem;
    letter-spacing: 0.26em;
  }
}

@media (max-width: 1200px) {
  body .site-shell,
  body .site-main {
    padding-top: 104px !important;
  }
}

@media (max-width: 992px) {
  body .site-shell,
  body .site-main {
    padding-top: 84px !important;
  }
}

body .home-t-grid {
  gap: 18px;
}

body .home-section-card {
  border-radius: 24px;
  border: 1px solid var(--bonox-border);
  background: rgba(18, 15, 47, 0.8);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

body .mobile-menu__links {
  gap: 0;
}

body .mobile-menu__links li {
  border: none !important;
}

body .mobile-menu__links a {
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--bonox-text);
  transition: color 0.2s ease;
}

body .mobile-menu__links a::after {
  display: none;
}

body .mobile-menu__links a:hover {
  color: var(--bonox-accent);
}

body .mobile-menu__links i {
  color: var(--bonox-muted);
}

body .th-menu-wrapper .th-menu-area {
  background: var(--bonox-bg);
  border-right: 1px solid var(--bonox-border);
}

body .champion-hero,
body .champion-history-panel {
  width: 100%;
  max-width: none;
  grid-column: 1 / -1;
  justify-self: stretch;
}

body .banner-section .slide-item {
  min-height: 560px;
  display: flex;
  align-items: center;
}

body .banner-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body .banner-section .content-box {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.7rem 2rem;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  text-align: center;
}

body .banner-section .title {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  text-align: center;
}

body .banner-section .hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  text-align: center;
}

body .banner-section .th-btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-left: auto;
  margin-right: auto;
}

body .featured-teams__item {
  padding: 0.75rem;
}

body .featured-teams__logo {
  width: 120px;
  height: 120px;
}

body .featured-teams__carousel .swiper-wrapper {
  gap: 0.75rem;
}

@media (max-width: 768px) {
  body .banner-section .slide-item {
    min-height: 460px;
  }
  body .banner-section .content-box {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.75rem;
  }
  body .featured-teams__logo {
    width: 105px;
    height: 105px;
  }
}

@media (max-width: 768px) {
  body .home-section-card {
    padding: 1.5rem;
  }
}

body .home-t-card {
  grid-template-columns: minmax(220px, 0.95fr) 1.6fr;
  background: linear-gradient(140deg, rgba(24, 17, 58, 0.98), rgba(35, 22, 77, 0.94));
  border: 1px solid rgba(118, 77, 240, 0.28);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

body .home-t-card:hover {
  border-color: rgba(118, 77, 240, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

body .home-t-hero {
  height: 240px;
  border-radius: 16px;
  border: 1px solid var(--bonox-border);
  background: #191541;
}

body .home-t-img {
  filter: saturate(1.05) contrast(1.05) brightness(0.9);
}

body .home-t-overlay {
  background: linear-gradient(180deg, rgba(16, 20, 53, 0.08), rgba(16, 20, 53, 0.92));
}

body .home-t-badge {
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f6f2ff;
  background: rgba(118, 77, 240, 0.18);
  border: 1px solid rgba(118, 77, 240, 0.35);
}

body .home-t-badge.is-register {
  background: rgba(88, 255, 177, 0.16);
  border-color: rgba(88, 255, 177, 0.35);
  color: #b8ffd9;
}

body .home-t-badge.is-running {
  background: rgba(255, 214, 102, 0.18);
  border-color: rgba(255, 214, 102, 0.4);
  color: #ffe9b1;
}

body .home-t-badge.is-finished {
  background: rgba(124, 210, 255, 0.16);
  border-color: rgba(124, 210, 255, 0.4);
  color: #cfe8ff;
}

body .home-t-badge.is-default {
  background: rgba(118, 77, 240, 0.18);
  border-color: rgba(118, 77, 240, 0.35);
  color: #f6f2ff;
}

body .home-t-chip {
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(8, 10, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body .home-t-title {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

body .home-t-title a:hover {
  color: var(--bonox-accent);
}

body .home-t-sub {
  color: var(--bonox-muted);
}

body .home-t-meta span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bonox-border);
  box-shadow: none;
}

body .home-t-meta i {
  color: var(--bonox-accent);
}

body .home-t-progress {
  color: var(--bonox-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
}

body .home-t-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
}

body .home-t-bar div {
  background: linear-gradient(90deg, var(--bonox-accent), var(--bonox-blue));
  box-shadow: 0 6px 16px rgba(118, 77, 240, 0.35);
}

body .home-t-cta {
  gap: 12px;
}

body .home-t-prize {
  background: rgba(118, 77, 240, 0.16);
  border: 1px solid rgba(118, 77, 240, 0.35);
  color: #f5eaff;
}

body .home-t-btn {
  background: var(--bonox-button);
  color: var(--bonox-button-text);
  border: 1px solid var(--bonox-button);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
}

body .home-t-btn:hover {
  background: var(--bonox-button-dark);
  border-color: var(--bonox-button-dark);
  color: var(--bonox-button-text);
}

@media (max-width: 1100px) {
  body .home-t-card {
    grid-template-columns: 1fr;
  }
  body .home-t-hero {
    height: 220px;
  }
  body .home-t-title {
    font-size: 1.1rem;
  }
}

body .th-btn,
body .btn,
body .btn-info,
body .btn-outline,
body .th-btn.style2,
body .th-btn.style3,
body .th-btn.card-btn,
body .home-t-btn {
  background: var(--bonox-button) !important;
  border-color: var(--bonox-button) !important;
  color: var(--bonox-button-text) !important;
}

body .th-btn:hover,
body .btn:hover,
body .btn-info:hover,
body .btn-outline:hover,
body .th-btn.style2:hover,
body .th-btn.style3:hover,
body .th-btn.card-btn:hover,
body .home-t-btn:hover {
  background: var(--bonox-button-dark) !important;
  border-color: var(--bonox-button-dark) !important;
  color: var(--bonox-button-text) !important;
}

body .th-btn:focus-visible,
body .btn:focus-visible {
  outline: 2px solid rgba(245, 200, 66, 0.45);
  outline-offset: 2px;
}

/* Dashboard night mode (premium) */
body .dashboard-shell {
  --dash-bg: #0b0f17;
  --dash-surface: #0f1420;
  --dash-surface-2: #141a28;
  --dash-border: rgba(148, 163, 184, 0.16);
  --dash-border-strong: rgba(148, 163, 184, 0.28);
  --dash-text: #e5e7eb;
  --dash-muted: #94a3b8;
  --dash-accent: #22d3ee;
  --dash-accent-2: #fbbf24;
  --dash-shadow: 0 25px 55px rgba(2, 6, 23, 0.55);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 0 1.5rem 2rem;
  color: var(--dash-text);
}

body .dashboard-nav {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(12, 16, 27, 0.96));
  border: 1px solid var(--dash-border);
  border-radius: 1.4rem;
  padding: 1.6rem 1.2rem;
  box-shadow: var(--dash-shadow);
  top: 120px;
}

@media (min-width: 992px) {
  body .dashboard-nav {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }
}

body .dashboard-nav__title,
body .dashboard-section-title {
  color: var(--dash-muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

body .dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  color: var(--dash-muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

body .dashboard-nav__link::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  flex: 0 0 auto;
  box-shadow: none;
}

body .dashboard-nav__link:hover,
body .dashboard-nav__link:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--dash-border);
  color: #fff;
}

body .dashboard-nav__link.is-active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
  color: #fff;
}

body .dashboard-nav__link.is-active::before {
  background: var(--dash-accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
}

body .dashboard-nav-section__toggle {
  border-color: var(--dash-border);
  background: rgba(15, 20, 32, 0.9);
  color: var(--dash-muted);
}

body .nav-badge {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.4);
}

body .dashboard-content {
  gap: 1.75rem;
  min-width: 0;
}

body .dashboard-shell .panel,
body .dashboard-shell .dashboard-card,
body .dashboard-shell .card {
  background: linear-gradient(145deg, rgba(20, 26, 40, 0.96), rgba(12, 16, 27, 0.96));
  border: 1px solid var(--dash-border);
  border-radius: 1.4rem;
  box-shadow: var(--dash-shadow);
}

body .dashboard-shell .panel h3,
body .dashboard-shell .dashboard-card h2,
body .dashboard-shell .title {
  color: #fff;
  letter-spacing: 0.08em;
}

/* Typography guardrails: slightly smaller headings + no overflow outside cards/blocks */
body main h1,
body main h2,
body main h3,
body .site-main h1,
body .site-main h2,
body .site-main h3,
body .dashboard-shell h1,
body .dashboard-shell h2,
body .dashboard-shell h3,
body .dashboard-shell .ui-title,
body .dashboard-shell .ui-subtitle,
body .dashboard-shell .dashboard-section-title,
body .dashboard-shell .dashboard-card h1,
body .dashboard-shell .dashboard-card h2,
body .dashboard-shell .dashboard-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

body main h1,
body .site-main h1 {
  font-size: clamp(1.35rem, 1.45vw + 0.9rem, 2rem);
  line-height: 1.15;
}

body main h2,
body .site-main h2 {
  font-size: clamp(1.1rem, 1.1vw + 0.85rem, 1.45rem);
  line-height: 1.2;
}

body main h3,
body .site-main h3 {
  font-size: clamp(1rem, 0.8vw + 0.8rem, 1.2rem);
  line-height: 1.25;
}

.breadcumb-title,
.page-banner h1 {
  letter-spacing: 0.1em;
  line-height: 1.15;
}

body .dashboard-shell h1.text-2xl,
body .dashboard-shell h2.text-2xl {
  font-size: clamp(1.1rem, 0.9vw + 0.8rem, 1.32rem) !important;
  line-height: 1.2 !important;
}

body .dashboard-shell .dashboard-section-title {
  font-size: 0.74rem !important;
  letter-spacing: 0.22em !important;
  line-height: 1.2 !important;
}

body .dashboard-shell .row {
  gap: 1.5rem;
}

body .dashboard-shell .text,
body .dashboard-shell p {
  color: rgba(226, 232, 240, 0.72);
}

body .dashboard-shell .btn,
body .dashboard-shell .th-btn,
body .dashboard-shell .btn-outline {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
  box-shadow: none;
}

body .dashboard-shell .btn:hover,
body .dashboard-shell .th-btn:hover,
body .dashboard-shell .btn-outline:hover {
  border-color: rgba(34, 211, 238, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
}

body .dashboard-shell .btn-info,
body .dashboard-shell .th-btn {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  border-color: transparent !important;
  color: #111827 !important;
}

body .dashboard-shell .btn-info:hover,
body .dashboard-shell .th-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

body .dashboard-shell .action-pill {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

body .dashboard-shell .action-pill:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: #fff;
}

body .dashboard-shell .form-control,
body .dashboard-shell .form-select,
body .dashboard-shell .input,
body .dashboard-shell .select,
body .dashboard-shell textarea {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--dash-border);
  color: #e2e8f0;
}

body .dashboard-shell .form-control:focus,
body .dashboard-shell .form-select:focus,
body .dashboard-shell .input:focus,
body .dashboard-shell .select:focus,
body .dashboard-shell textarea:focus {
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

body .dashboard-shell .table-dashboard {
  background: rgba(15, 20, 32, 0.9);
  border: 1px solid var(--dash-border);
  border-radius: 1.4rem;
}

body .dashboard-shell .table-dashboard thead {
  background: rgba(255, 255, 255, 0.04);
}

body .dashboard-shell .table-dashboard tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body .dashboard-shell .table-dashboard tbody tr:hover {
  background: rgba(34, 211, 238, 0.05);
}

body .dashboard-shell .status-chip {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
}

/* Admin Discord-like fallback styles for /dashboard/admin and /roles */
body .dashboard-shell.dashboard-shell--admin-flat .panel,
body .dashboard-shell.dashboard-shell--admin-flat .dashboard-card,
body .dashboard-shell.dashboard-shell--admin-flat .card,
body .dashboard-shell.dashboard-shell--admin-flat .table-dashboard,
body .dashboard-shell.dashboard-shell--admin-flat table.dataTable tbody tr {
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 992px) {
  body .dashboard-shell {
    grid-template-columns: 1fr;
    padding: 0 1rem 1.5rem;
  }
  body .dashboard-nav {
    position: static;
    max-height: none;
  }
}

/* Professional borderless polish */
:root {
  --ui-line: rgba(124, 156, 214, 0.18);
  --ui-line-soft: rgba(124, 156, 214, 0.1);
}

body .panel,
body .card,
body .dashboard-card,
body .dashboard-subcard,
body .admin-kpi,
body .admin-flow-card,
body .admin-module,
body .audit-mini,
body .audit-item,
body .webmail-panel {
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
}

body .dashboard-shell .btn,
body .dashboard-shell .th-btn,
body .dashboard-shell .btn-outline,
body .dashboard-shell .action-pill,
body .dashboard-shell .status-chip,
body .dashboard-nav,
body .dashboard-nav__link,
body .dashboard-nav-section__toggle,
body .mlbb-chip,
body .mlbb-chip--ghost,
body .floating-whatsapp,
body .mlbb-header__icon-btn,
body .mlbb-header__toggle {
  border: 0 !important;
}

body .mlbb-header,
body .mlbb-header::after,
body .mlbb-floating-top,
body .mlbb-quick-nav,
body .mlbb-floating-top__logo {
  border: 0 !important;
}

body .dashboard-shell .form-control,
body .dashboard-shell .form-select,
body .dashboard-shell .input,
body .dashboard-shell .select,
body .dashboard-shell textarea {
  border: 0 !important;
  box-shadow: inset 0 -1px 0 var(--ui-line-soft);
}

body .dashboard-shell .form-control:focus,
body .dashboard-shell .form-select:focus,
body .dashboard-shell .input:focus,
body .dashboard-shell .select:focus,
body .dashboard-shell textarea:focus {
  box-shadow: inset 0 -1px 0 var(--ui-line), 0 0 0 2px rgba(34, 211, 238, 0.12) !important;
}

body table,
body .table-dashboard,
body table.dataTable,
body .dataTable {
  border: 0 !important;
  border-collapse: collapse !important;
}

body .table-dashboard thead th,
body table.dataTable thead th,
body table thead th {
  border-bottom: 1px solid var(--ui-line) !important;
}

body .table-dashboard tbody td,
body .table-dashboard tbody th,
body table.dataTable tbody td,
body table.dataTable tbody th,
body table tbody td,
body table tbody th {
  border-top: 1px solid var(--ui-line-soft) !important;
}

body .table-dashboard tbody tr:first-child td,
body .table-dashboard tbody tr:first-child th,
body table.dataTable tbody tr:first-child td,
body table.dataTable tbody tr:first-child th,
body table tbody tr:first-child td,
body table tbody tr:first-child th {
  border-top: 0 !important;
}

/* Header refresh: darker menu bar + search/user capsule (desktop + mobile). */
body .mlbb-header {
  background: rgba(14, 12, 54, 0.98) !important;
  box-shadow: 0 14px 28px rgba(3, 0, 10, 0.62) !important;
}

body .mlbb-header::after {
  background: linear-gradient(90deg, rgba(92, 58, 171, 0.24), rgba(41, 24, 84, 0.28)) !important;
  border-bottom: 1px solid rgba(167, 136, 255, 0.22) !important;
  opacity: 1 !important;
}

body .mlbb-header__cta {
  display: flex;
  align-items: center;
  width: auto !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  margin-left: auto !important;
}

body .mlbb-header__cta-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
}

body .mlbb-header__inner {
  flex-wrap: nowrap !important;
  gap: 0.9rem !important;
}

body .mlbb-header__search {
  position: relative;
  width: min(300px, 32vw);
  min-width: 210px;
}

body .mlbb-header__search input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(177, 153, 245, 0.32);
  background: rgba(14, 12, 54, 0.9);
  color: #f6f8ff;
  padding: 0 42px 0 16px;
  font-size: 0.95rem;
  outline: none;
}

body .mlbb-header__search input::placeholder {
  color: rgba(216, 207, 240, 0.74);
}

body .mlbb-header__search input:focus {
  border-color: rgba(184, 151, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(148, 95, 255, 0.2);
}

body .mlbb-header__search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(229, 220, 252, 0.9);
  padding: 0;
  width: 22px;
  height: 22px;
}

body .mlbb-header__playerbox {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(170, 140, 245, 0.34);
  background: linear-gradient(180deg, rgba(22, 19, 74, 0.96), rgba(14, 12, 54, 0.96));
  color: #f7fbff !important;
  text-decoration: none;
  padding: 0 12px 0 8px;
}

body .mlbb-header__player-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid rgba(192, 160, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0e0c36;
  color: #dcbfff;
  flex-shrink: 0;
}

body .mlbb-header__player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .mlbb-header__player-main {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

body .mlbb-header__player-nick {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #e9d8ff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

body .mlbb-header__player-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  color: rgba(239, 233, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 400;
  white-space: nowrap;
}

body .mlbb-header__player-stats strong {
  color: #ffffff;
  font-weight: 400;
}

body .mlbb-header__playerbox:hover .mlbb-header__player-nick,
body .mlbb-header__playerbox:focus-visible .mlbb-header__player-nick,
body .mlbb-header__playerbox:hover .mlbb-header__player-stats,
body .mlbb-header__playerbox:focus-visible .mlbb-header__player-stats,
body .mlbb-header__playerbox:hover .mlbb-header__player-stats strong,
body .mlbb-header__playerbox:focus-visible .mlbb-header__player-stats strong {
  font-weight: 700;
}

body .mlbb-header__playerbox--guest .mlbb-header__player-stats {
  color: rgba(214, 204, 240, 0.76);
}

body .mlbb-header__lang-switcher {
  margin-left: 0.25rem;
}

body .mobile-menu__actions {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

body .mobile-menu__actions .mlbb-header__search--mobile {
  width: 100%;
  min-width: 0;
}

body .mobile-menu__actions .mlbb-header__playerbox--mobile {
  width: 100%;
  justify-content: flex-start;
}

body .mobile-menu__actions .mlbb-header__playerbox--mobile .mlbb-header__player-main {
  flex: 1;
  justify-content: space-between;
}

@media (min-width: 993px) {
  body .mlbb-header__inner {
    display: grid !important;
    grid-template-columns: auto minmax(360px, 1fr) auto;
    align-items: center;
    column-gap: 20px;
    row-gap: 0;
    flex-wrap: nowrap !important;
    padding: 10px 16px !important;
  }
  body .mlbb-header__brand {
    grid-column: 1;
    justify-self: start;
    max-width: 240px;
  }
  body .mlbb-header__nav {
    grid-column: 2;
    display: flex !important;
    justify-content: flex-start !important;
    min-width: 0;
    overflow: hidden;
  }
  body .mlbb-header__nav ul {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    white-space: nowrap;
    gap: 0.7rem 1rem;
  }
  body .mlbb-header__quick-mobile,
  body .mlbb-header__toggle {
    display: none !important;
  }
  body .mlbb-header__cta {
    grid-column: 3;
    display: flex !important;
    justify-self: end;
    align-items: center;
    min-width: 0;
  }
  body .mlbb-header__cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: nowrap;
  }
  body .mlbb-header__search {
    width: 320px;
    min-width: 280px;
  }
  body .mlbb-header__playerbox {
    max-width: 420px;
  }
}

@media (max-width: 1200px) {
  body .mlbb-header__search {
    width: min(250px, 28vw);
    min-width: 170px;
  }
  body .mlbb-header__player-stats span:first-child {
    display: none;
  }
}

@media (max-width: 992px) {
  body .mlbb-header__quick-mobile {
    display: flex !important;
    grid-area: quick;
    justify-self: start;
    align-items: center;
    gap: 0.5rem;
  }
  body .mlbb-header__nav {
    display: none !important;
  }
  body .mlbb-header__cta {
    display: none !important;
  }
  body .mlbb-header__inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "quick brand toggle";
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    padding: 8px 10px 10px !important;
  }
  body .mlbb-header__brand {
    grid-area: brand;
    justify-self: center;
    max-width: 220px;
  }
  body .mlbb-header__toggle {
    grid-area: toggle;
    justify-self: end;
  }
  body .mlbb-header__lang-switcher {
    display: none !important;
  }
}

body .home-games-ribbon {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body .home-games-ribbon::-webkit-scrollbar {
  display: none;
}

body .home-games-track {
  display: flex !important;
  min-width: max-content !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 1rem;
}

body .home-game-card {
  width: clamp(248px, 34vw, 380px) !important;
  min-width: 0;
  flex: 0 0 auto;
}

body .home-game-thumb {
  height: auto !important;
  aspect-ratio: 16 / 9;
  min-height: 210px;
}

body .home-game-label {
  min-height: 2.5em;
}

body .home-teams-ribbon {
  overflow-x: hidden !important;
}

body .home-teams-ribbon .featured-teams-slider {
  overflow: hidden;
}

body .home-teams-track {
  gap: 0.22rem;
}

body .home-team-slide {
  width: auto;
  flex: 0 0 auto;
}

body .home-team-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 15, 36, 0.62);
  padding: 0.1rem;
}

body .home-team-card .featured-teams__logo {
  width: 86px;
  height: 86px;
  border-radius: 14px;
}

body .home-teams-panel {
  padding: 0.95rem !important;
  border-width: 1px !important;
}

body .home-teams-panel .section-heading {
  margin-bottom: 0.15rem;
}

@media (max-width: 768px) {
  body .home-game-card {
    width: min(84vw, 340px) !important;
  }
  body .home-game-label {
    font-size: 0.83rem;
  }
  body .home-teams-track {
    gap: 0.16rem;
  }
  body .home-team-card .featured-teams__logo {
    width: 76px;
    height: 76px;
  }
  body .home-teams-panel {
    padding: 0.8rem !important;
  }
}

/* -------------------------------------------------------------------------
   Discovery Hub (Phase 1): scoped visual system for /games and related pages
   ------------------------------------------------------------------------- */
.games-page-shell {
  --games-surface-1: rgba(7, 13, 26, 0.92);
  --games-surface-2: rgba(12, 22, 41, 0.94);
  --games-surface-3: rgba(18, 30, 55, 0.74);
  --games-border-soft: rgba(148, 163, 184, 0.24);
  --games-text-main: #f8fafc;
  --games-text-muted: rgba(203, 213, 225, 0.78);
  --games-accent: #4fd1ff;
  --games-accent-2: #2dd4bf;
  --games-glow: 0 16px 40px rgba(6, 18, 40, 0.48);
  position: relative;
  isolation: isolate;
}

.games-page-shell::before,
.games-page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.games-page-shell::before {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26), rgba(56, 189, 248, 0));
}

.games-page-shell::after {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  left: -110px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0));
}

/* xl:col-span-9 is missing from compiled tailwind-sport.css — define it here */
@media (min-width: 1280px) {
  .xl\:col-span-9 {
    grid-column: span 9 / span 9;
  }
}

.games-page-container {
  max-width: min(1360px, 100% - 1.5rem);
  margin-inline: auto;
}

.games-page-card {
  border: 1px solid var(--games-border-soft);
  background:
    linear-gradient(180deg, rgba(9, 18, 34, 0.97), rgba(6, 12, 24, 0.95)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 56%);
  box-shadow: var(--games-glow);
  border-radius: 1.4rem;
}

.game-card-cover {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  object-position: center top;
}

.games-page-search-shell {
  border: 1px solid var(--games-border-soft);
  background:
    linear-gradient(140deg, rgba(11, 22, 44, 0.95), rgba(7, 14, 28, 0.96)),
    radial-gradient(circle at top right, rgba(79, 209, 255, 0.13), transparent 60%);
  border-radius: 1.2rem;
}

.games-page-search-shell--compact {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.games-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 1.5rem;
}

.games-hero-copy {
  min-width: 0;
}

.games-hero-copy h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  max-width: 16ch;
}

.games-hero-search {
  min-width: 0;
}

.games-page-search-input {
  color: var(--games-text-main);
  border-color: rgba(148, 163, 184, 0.3) !important;
  background: rgba(8, 15, 28, 0.86) !important;
}

.games-page-search-form {
  align-items: stretch;
}

.games-page-search-input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.games-page-search-form .games-page-search-input {
  min-height: 48px;
}

.games-page-search-btn {
  min-width: auto;
  padding: 0.85rem 1rem;
  min-height: 48px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none !important;
}

.games-page-chip {
  border-radius: 9999px;
  border: 1px solid var(--games-border-soft);
  background: var(--games-surface-3);
  color: var(--games-text-muted);
  transition: all 170ms ease;
  backdrop-filter: blur(5px);
}

.games-page-chip:hover,
.games-page-chip:focus-visible {
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--games-text-main);
  transform: translateY(-1px);
}

.games-page-chip.is-active {
  border-color: rgba(79, 209, 255, 0.64);
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.2), rgba(45, 212, 191, 0.18));
  color: #d9f6ff;
}

.games-page-control-bar {
  border: 1px solid var(--games-border-soft);
  background: linear-gradient(180deg, rgba(8, 17, 33, 0.97), rgba(5, 12, 23, 0.95));
  border-radius: 1.2rem;
}

.games-page-segmented {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.28rem;
  border: 1px solid var(--games-border-soft);
  background: rgba(6, 13, 25, 0.97);
}

.games-page-segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(186, 205, 228, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.48rem 0.88rem;
  transition: all 160ms ease;
}

.games-page-segment:hover,
.games-page-segment:focus-visible {
  color: #f1f5f9;
}

.games-page-segment.is-active {
  color: #f8fdff;
  background: linear-gradient(120deg, rgba(14, 116, 144, 0.9), rgba(45, 212, 191, 0.7));
  box-shadow: 0 8px 18px rgba(14, 116, 144, 0.26);
}

.games-page-filter-panel {
  border: 1px solid var(--games-border-soft);
  background:
    linear-gradient(180deg, rgba(7, 14, 28, 0.97), rgba(8, 15, 30, 0.95)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.08), transparent 58%);
  border-radius: 1.2rem;
}

.games-page-filter-panel .form-control.style-border2,
.games-page-filter-panel .form-select.style-border2 {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 0.82rem !important;
  background: rgba(9, 17, 32, 0.86) !important;
  color: rgba(241, 245, 249, 0.96) !important;
  min-height: 44px;
}

.games-page-filter-panel .form-control.style-border2::placeholder {
  color: rgba(148, 163, 184, 0.92);
}

.games-page-filter-panel .form-control.style-border2:focus,
.games-page-filter-panel .form-select.style-border2:focus {
  border-color: rgba(79, 209, 255, 0.72) !important;
  box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.18) !important;
}

.games-page-empty {
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(10, 18, 33, 0.7);
  border-radius: 1.2rem;
}

.games-page-skeleton {
  border-radius: 0.9rem;
  background: linear-gradient(
    90deg,
    rgba(30, 41, 59, 0.55),
    rgba(51, 65, 85, 0.55),
    rgba(30, 41, 59, 0.55)
  );
  background-size: 220% 100%;
  animation: gamesPageSkeleton 1.35s linear infinite;
}

.game-catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(10, 20, 38, 0.96), rgba(7, 13, 25, 0.98)),
    radial-gradient(circle at top right, rgba(79, 209, 255, 0.1), transparent 52%);
}

.game-catalog-card:hover,
.game-catalog-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 255, 0.35);
  box-shadow: 0 20px 36px rgba(2, 8, 23, 0.62);
}

.game-catalog-card__media {
  position: relative;
  flex-shrink: 0;
}

.game-catalog-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.92));
}

.game-catalog-card__media-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(56, 189, 248, 0.08));
  opacity: 0.7;
  transition: opacity 220ms ease;
}

.group:hover .game-catalog-card__media-glow,
.group:focus-within .game-catalog-card__media-glow {
  opacity: 1;
}

.game-catalog-card__top {
  position: absolute;
  inset: 0.7rem 0.7rem auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 2;
}

.game-catalog-card__status,
.game-catalog-card__rating {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.55rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eff6ff;
  background: rgba(2, 6, 23, 0.64);
  backdrop-filter: blur(7px);
}

.game-catalog-card__rating {
  color: #fef3c7;
}

.game-catalog-card h2 a {
  color: #f8fafc;
  transition: color 160ms ease;
}

.game-catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.game-catalog-card__desc {
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}

.game-catalog-card h2 a:hover,
.game-catalog-card h2 a:focus-visible {
  color: #7dd3fc;
}

.game-catalog-card__meta span {
  backdrop-filter: blur(4px);
}

.game-catalog-card__actions {
  margin-top: auto;
}

.games-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

.games-catalog-grid > .game-catalog-card {
  width: 100%;
  max-width: none;
}

.games-catalog-grid > .games-page-empty {
  grid-column: 1 / -1;
}

.game-catalog-card__actions .th-btn {
  min-width: 0 !important;
}

/* Discovery media cards */
.discovery-media-shell {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  margin-bottom: 0.75rem;
  background: rgba(15, 23, 42, 0.72);
}

.discovery-media-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.4));
}

.discovery-media-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.group:hover .discovery-media-image,
.group:focus-within .discovery-media-image {
  transform: scale(1.03);
}

.discovery-media-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.86));
}

.discovery-list-card {
  overflow: hidden;
}

.discovery-list-card .text-xs {
  line-height: 1.35;
}

@media (max-width: 767px) {
  .discovery-list-card {
    border-radius: 0.95rem;
  }
  .discovery-list-card h2 {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .discovery-list-card p {
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .discovery-media-shell {
    margin-bottom: 0.65rem;
  }
  .discovery-media-image,
  .discovery-media-fallback {
    aspect-ratio: 4 / 3;
  }
}

@keyframes gamesPageSkeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

body .hub-header .hub-nav-link {
  border-radius: 9999px;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

body .hub-header .hub-nav-link:hover,
body .hub-header .hub-nav-link:focus-visible {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3) inset;
}

body .hub-header .hub-nav-link.is-active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45) inset;
}

body .th-menu-wrapper .hub-nav-link:hover,
body .th-menu-wrapper .hub-nav-link:focus-visible {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
}

body .th-menu-wrapper .hub-nav-link.is-active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35) inset;
}

@media (max-width: 1024px) {
  .games-page-control-bar {
    border-radius: 1rem;
  }

  .games-page-segment {
    font-size: 0.7rem;
    padding: 0.42rem 0.72rem;
  }
}

@media (max-width: 640px) {
  .games-page-search-shell--compact {
    max-width: none;
    margin-left: 0;
  }

  .games-hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .games-hero-copy h1 {
    max-width: none;
  }

  .games-page-container {
    max-width: calc(100% - 1rem);
  }

  .games-page-card {
    border-radius: 1rem;
  }

  .game-catalog-card {
    border-radius: 1rem;
  }

  .game-card-cover {
    aspect-ratio: 16 / 11;
  }

  .game-catalog-card__top {
    inset: 0.55rem 0.55rem auto 0.55rem;
  }

  .game-catalog-card__status,
  .game-catalog-card__rating {
    font-size: 0.58rem;
    padding: 0.15rem 0.45rem;
  }

  .games-catalog-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .games-catalog-grid > .game-catalog-card {
    width: 100%;
  }

  .games-page-search-form {
    flex-direction: column;
  }

  .games-page-search-btn {
    width: 100%;
  }

  .champion-hero__logo {
    width: 112px;
    height: 112px;
  }
}

.game-detail-shell .game-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(8, 16, 32, 0.95), rgba(8, 15, 28, 0.9));
}

.game-detail-shell .game-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.68));
  pointer-events: none;
}

.game-detail-shell .game-detail-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.game-detail-shell .game-detail-stat {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.6rem 0.72rem;
}

.game-detail-shell .game-detail-highlight {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.8), rgba(8, 15, 30, 0.82));
  padding: 0.95rem;
}

.game-detail-shell .game-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .game-detail-shell .game-detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------
   Global Buttons: Uiverse-inspired "pressed" red style
   ------------------------------------------------------------------------- */
body .th-btn,
body .btn,
body .btn-info,
body .btn-outline,
body .th-btn.style2,
body .th-btn.style3,
body .th-btn.card-btn,
body .home-t-btn {
  min-width: auto !important;
  padding: 0.78rem 1.2rem !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: rgb(255, 56, 86) !important;
  letter-spacing: 1.5px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.15;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: rgb(201, 46, 70) 0 10px 0 0 !important;
  color: #fff !important;
  clip-path: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
}

body .th-btn::before,
body .th-btn::after,
body .btn::before,
body .btn::after,
body .btn-info::before,
body .btn-info::after,
body .btn-outline::before,
body .btn-outline::after {
  display: none !important;
  content: none !important;
}

body .th-btn:hover,
body .btn:hover,
body .btn-info:hover,
body .btn-outline:hover,
body .th-btn.style2:hover,
body .th-btn.style3:hover,
body .th-btn.card-btn:hover,
body .home-t-btn:hover {
  box-shadow: rgb(201, 46, 70) 0 7px 0 0 !important;
  color: #fff !important;
}

body .th-btn:active,
body .btn:active,
body .btn-info:active,
body .btn-outline:active,
body .th-btn.style2:active,
body .th-btn.style3:active,
body .th-btn.card-btn:active,
body .home-t-btn:active {
  background: rgb(255, 56, 86) !important;
  box-shadow: rgb(201, 46, 70) 0 0 0 0 !important;
  transform: translateY(5px);
  transition: 200ms;
}

body .th-btn:focus-visible,
body .btn:focus-visible,
body .btn-info:focus-visible,
body .btn-outline:focus-visible {
  outline: 2px solid rgba(255, 56, 86, 0.45);
  outline-offset: 2px;
}

body .th-btn:disabled,
body .btn:disabled,
body .btn-info:disabled,
body .btn-outline:disabled,
body .th-btn[disabled],
body .btn[disabled],
body .btn-info[disabled],
body .btn-outline[disabled],
body .th-btn--disabled {
  opacity: 0.58;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: rgb(201, 46, 70) 0 0 0 0 !important;
}

/* ── Ghost bracket silhouette (no matches yet) ──────────────────── */
.bracket-ghost { opacity: 1; }
.bracket-ghost .public-bracket-shell__hint { color: rgba(255,255,255,.4); }
.bracket-ghost__match {
  pointer-events: none;
  user-select: none;
  border-color: rgba(255,255,255,.07) !important;
  background: rgba(255,255,255,.03) !important;
}
.bracket-ghost__slot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bracket-ghost__slot:last-child { border-bottom: none; }
@keyframes ghostShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.bracket-ghost__bar {
  display: inline-block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.13) 50%, rgba(255,255,255,.06) 75%);
  background-size: 400px 100%;
  animation: ghostShimmer 1.6s infinite linear;
}
.bracket-ghost__bar--long { width: 110px; }
.bracket-ghost__bar--mid  { width: 80px; }
.bracket-ghost__score {
  margin-left: auto;
  width: 22px;
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
}
