.riftora-dle .breadcrumbs,
.riftora-dle .pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.riftora-dle .breadcrumbs a,
.riftora-dle .breadcrumbs li,
.riftora-dle .pagination a,
.riftora-dle .pagination span {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--pink);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .pagination .active,
.riftora-dle .pagination span.active {
  background: var(--green);
}

.riftora-dle .page-title {
  margin-bottom: 1.5rem;
  padding: 1.35rem;
}

.riftora-dle .page-title h1 {
  margin-top: 0.65rem;
  font-size: clamp(2.3rem, 7vw, 5rem);
}

.riftora-dle .tournament-page,
.riftora-dle .statistics-page {
  display: grid;
  gap: 1.25rem;
}

.riftora-dle .matches-header,
.riftora-dle .teams-header,
.riftora-dle .tournaments-header,
.riftora-dle .statistics-header,
.riftora-dle .match-header {
  position: relative;
  padding: 1.2rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.riftora-dle .matches-header h1,
.riftora-dle .teams-header h1,
.riftora-dle .tournaments-header h1,
.riftora-dle .statistics-header h1,
.riftora-dle .match-header h1 {
  margin-top: 0;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
}

.riftora-dle .matches-header p,
.riftora-dle .teams-header p,
.riftora-dle .tournaments-header p {
  margin: 0.75rem 0 0;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .teams-container,
.riftora-dle .statistics-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.riftora-dle .teams-container > :last-child:nth-child(3n + 1),
.riftora-dle .statistics-container > :last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.riftora-dle .team-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  min-height: 300px;
  align-content: center;
  justify-items: center;
  padding: 1rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(139, 43, 255, 0.24)), var(--panel);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.riftora-dle .team-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 8px 8px 0 var(--pink);
}

.riftora-dle .team-card .team-logo,
.riftora-dle .team-info-page .team-logo,
.riftora-dle .tournament-logo,
.riftora-dle .tournament-league-logo {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  padding: 0.45rem;
  border: 4px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(86, 255, 116, 0.28), transparent 58%),
    repeating-linear-gradient(35deg, rgba(86, 255, 116, 0.12) 0 2px, transparent 2px 13px),
    linear-gradient(145deg, rgba(14, 22, 28, 0.96), rgba(63, 17, 89, 0.9));
  box-shadow: 7px 7px 0 var(--pink);
  overflow: hidden;
}

.riftora-dle .team-card .team-logo img,
.riftora-dle .team-info-page .team-logo img,
.riftora-dle .tournament-logo img,
.riftora-dle .tournament-league-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(0 0 6px rgba(86, 255, 116, 0.32));
}

.riftora-dle .team-card .team-name,
.riftora-dle .team-name a,
.riftora-dle .team-name {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .team-members {
  display: grid;
  gap: 0.15rem;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .tournaments-container,
.riftora-dle .tournament-list {
  display: grid;
  gap: 1rem;
}

.riftora-dle .tournament-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.riftora-dle .tournament-image img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.riftora-dle .tournament-meta,
.riftora-dle .tournament-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.riftora-dle .tournament-meta p,
.riftora-dle .tournament-stats p,
.riftora-match-meta span,
.riftora-map-strip .map-row {
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
}

.riftora-dle .tournament-twitch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0.5rem 0.65rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 5px 5px 0 var(--pink);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.riftora-dle .tournament-twitch-btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--pink);
  filter: saturate(1.15);
}

.riftora-dle .tournament-header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.riftora-dle .tournament-header .tournament-name {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4.8rem);
}

.riftora-dle .tabs {
  overflow-x: auto;
}

.riftora-dle .nav-tabs {
  display: flex;
  gap: 0.55rem;
  min-width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.riftora-dle .nav-tabs a {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--pink);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .nav-tabs .active a {
  background: var(--green);
}

.riftora-dle .tab-content > .tab-pane {
  display: none;
}

.riftora-dle .tab-content > .active {
  display: block;
}

.riftora-dle .match-list-v2,
.riftora-dle .matches-container,
.riftora-dle .matches-list {
  display: grid;
  gap: 1rem;
}

.riftora-dle .fighter a,
.riftora-dle .match-ticket a {
  color: inherit;
}

.riftora-dle .fighter .team-logo {
  border-radius: 12px;
}

.riftora-dle .label-success {
  position: absolute;
  top: -0.55rem;
  right: 0.8rem;
  z-index: 2;
  padding: 0.22rem 0.45rem;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.riftora-match-meta,
.riftora-map-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.riftora-map-strip:empty {
  display: none;
}

.riftora-map-strip .map-info {
  display: flex;
  gap: 0.5rem;
}

.riftora-map-strip .map-score {
  color: var(--purple-dark);
}

.riftora-dle .statistics-filter,
.riftora-dle .select-panel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.riftora-dle .statistics-filter label {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .statistics-filter select {
  min-width: 250px;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--pink);
  font: inherit;
  font-weight: 900;
}

.riftora-dle .team-info-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 1rem;
}

.riftora-dle .team-info,
.riftora-dle .team-statistic,
.riftora-dle .opponents-container {
  padding: 1rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.riftora-dle .team-statistic .statistics,
.riftora-dle .team-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.riftora-dle .team-stat-cards p,
.riftora-dle .team-statistic p {
  margin: 0;
  padding: 0.65rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
}

.riftora-dle .opponents-list {
  display: grid;
  gap: 0.75rem;
}

.riftora-dle .opponent-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(120px, 1fr));
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(14, 37, 38, 0.95), rgba(50, 13, 76, 0.94));
  box-shadow: 6px 6px 0 var(--ink);
}

.riftora-dle .opponent-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.riftora-dle .opponent-info img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.riftora-dle .opponent-row p {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .opponent-row > p {
  padding: 0.55rem;
  border: 3px solid var(--line);
  border-radius: 7px;
  color: var(--white);
  background: rgba(5, 2, 10, 0.55);
  text-align: center;
}

.riftora-hidden-match,
.hidden-match {
  display: none !important;
}

@media (max-width: 900px) {
  .riftora-dle .teams-container,
  .riftora-dle .statistics-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riftora-dle .teams-container > :last-child:nth-child(3n + 1),
  .riftora-dle .statistics-container > :last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .riftora-dle .teams-container > :last-child:nth-child(odd),
  .riftora-dle .statistics-container > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 360px);
  }
}

@media (max-width: 760px) {
  .riftora-dle .team-ticker {
    width: 100vw;
  }

  .riftora-dle .teams-container,
  .riftora-dle .statistics-container,
  .riftora-dle .team-info-page,
  .riftora-dle .tournament-header,
  .riftora-dle .tournament-card {
    grid-template-columns: 1fr;
  }

  .riftora-dle .teams-container > :last-child:nth-child(odd),
  .riftora-dle .statistics-container > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .riftora-dle .team-card {
    min-height: 240px;
  }

  .riftora-dle .tournament-meta,
  .riftora-dle .tournament-stats,
  .riftora-dle .team-statistic .statistics,
  .riftora-dle .team-stat-cards {
    grid-template-columns: 1fr;
  }

  .riftora-dle .statistics-filter {
    display: grid;
    width: 100%;
  }

  .riftora-dle .statistics-filter select {
    min-width: 0;
    width: 100%;
  }

  .riftora-dle .opponent-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riftora-dle .opponent-info {
    grid-column: 1 / -1;
  }
}

/* Live data refinements: keep module cards readable with real tournament data. */
.riftora-dle .breadcrumbs li {
  list-style: none;
}

.riftora-dle .breadcrumbs .breadcrumb-item::marker {
  content: "";
}

.riftora-dle .match-ticket {
  min-height: 0;
  gap: 0.85rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(86, 255, 116, 0.14), transparent 12rem),
    radial-gradient(circle at 88% 18%, rgba(255, 63, 180, 0.16), transparent 12rem),
    linear-gradient(135deg, rgba(18, 8, 32, 0.96), rgba(36, 12, 60, 0.96));
}

.riftora-dle .match-ticket::before {
  opacity: 0.32;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(139, 43, 255, 0.2) 47% 53%, transparent 53%),
    radial-gradient(circle at 50% 50%, rgba(86, 255, 116, 0.08), transparent 14rem);
}

.riftora-dle .ticket-top {
  align-items: center;
}

.riftora-dle .ticket-top time,
.riftora-dle .ticket-top > b {
  padding: 0.35rem 0;
  line-height: 1.15;
}

.riftora-dle .battle-stage {
  grid-template-columns: minmax(0, 1fr) minmax(74px, 96px) minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.riftora-dle .fighter {
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 108px;
  padding: 0.85rem;
  background: rgba(5, 2, 10, 0.62);
}

.riftora-dle .fighter strong {
  overflow-wrap: anywhere;
}

.riftora-dle .battle-score {
  min-width: 74px;
  padding: 0.58rem 0.65rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--green), -4px -4px 0 var(--pink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.riftora-dle .riftora-match-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.riftora-dle .riftora-match-meta span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.riftora-dle .riftora-map-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.riftora-dle .team-logo.logo-real {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .riftora-dle .page-title h1 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .riftora-dle .battle-stage {
    grid-template-columns: 1fr;
  }

  .riftora-dle .battle-score {
    justify-self: center;
    width: fit-content;
  }

  .riftora-dle .fighter {
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .riftora-dle .riftora-match-meta {
    grid-template-columns: 1fr;
  }
}

/* Exact static HTML alignment overrides. */
.riftora-dle .breadcrumbs {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  gap: 0;
  margin: 0 0 0.95rem;
  padding: 0.48rem 0.78rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 5px 5px 0 var(--pink);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.riftora-dle .breadcrumbs a,
.riftora-dle .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.riftora-dle .breadcrumbs a:hover {
  color: var(--purple);
}

.riftora-dle .breadcrumbs li::after {
  content: "/";
  margin: 0 0.38rem;
  color: var(--line);
}

.riftora-dle .breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.riftora-dle .pagination {
  display: none !important;
}

.riftora-dle .match-ticket {
  gap: 1rem;
  min-height: 210px;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 62%, rgba(86, 255, 116, 0.2), transparent 9rem),
    linear-gradient(100deg, rgba(12, 33, 32, 0.95), rgba(42, 9, 72, 0.96) 52%, rgba(82, 12, 86, 0.96)),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 14px);
}

.riftora-dle .match-ticket::before {
  opacity: 1;
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(139, 43, 255, 0.52) 43% 57%, transparent 57%),
    radial-gradient(circle at 20% 52%, rgba(86, 255, 116, 0.16), transparent 11rem),
    radial-gradient(circle at 80% 52%, rgba(255, 63, 180, 0.18), transparent 11rem);
}

.riftora-dle .battle-stage {
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.riftora-dle .fighter {
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 110px;
  padding: 1rem;
  background: rgba(5, 2, 10, 0.56);
}

.riftora-dle .battle-score {
  display: grid;
  place-items: center;
  min-width: 88px;
  padding: 0.6rem 0.75rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--green), -5px -5px 0 var(--pink);
  font-size: clamp(1.6rem, 4vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.riftora-dle .showdown-team h2 a {
  color: inherit !important;
}

.riftora-dle .fighter {
  position: relative;
}

.riftora-dle .fighter .winner-stamp {
  position: absolute;
  top: 0.42rem;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) rotate(-6deg);
}

.riftora-dle .fighter.match-winner-side {
  box-shadow: 4px 4px 0 var(--green), 7px 7px 0 rgba(255, 63, 180, 0.72);
}

.riftora-dle .fighter.match-winner-side .team-logo {
  margin-top: 1.1rem;
}

.riftora-dle .match-timeline:empty::after {
  content: "Maps will appear after the result is added.";
  display: block;
  padding: 0.72rem 0.8rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 45%, rgba(86, 255, 116, 0.16), transparent 7rem),
    linear-gradient(120deg, rgba(25, 30, 42, 0.9), rgba(76, 22, 84, 0.84));
  box-shadow: 3px 3px 0 rgba(86, 255, 116, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.riftora-dle .match-media-section {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.riftora-dle .match-media-section:has(.match-images:empty),
.riftora-dle .match-media-section:has(.match-images > .main-image:empty):has(.match-images > .additional-images:empty) {
  display: none;
}

.riftora-dle .match-images {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.riftora-dle .match-images > .main-image:empty,
.riftora-dle .match-images > .additional-images:empty {
  display: none;
}

.riftora-dle .match-images:has(.additional-images:empty),
.riftora-dle .match-images:not(:has(.additional-images img)) {
  grid-template-columns: 1fr;
}

.riftora-dle .match-main-image,
.riftora-dle .match-additional-image {
  position: relative;
  display: block;
  min-width: 0;
  height: 100%;
  border: 4px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 18%, rgba(86, 255, 116, 0.2), transparent 10rem),
    radial-gradient(circle at 78% 24%, rgba(255, 63, 180, 0.24), transparent 10rem),
    linear-gradient(135deg, rgba(18, 8, 32, 0.94), rgba(63, 22, 82, 0.9));
  box-shadow: 7px 7px 0 var(--ink), 10px 10px 0 rgba(255, 63, 180, 0.7);
  overflow: hidden;
  isolation: isolate;
}

.riftora-dle .match-main-image::before,
.riftora-dle .match-additional-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(139, 43, 255, 0.16) 48% 60%, transparent 60%),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 13px);
  pointer-events: none;
}

.riftora-dle .match-main-image::after {
  content: "SCREENSHOT";
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  padding: 0.28rem 0.62rem;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.riftora-dle .match-main-image img,
.riftora-dle .match-additional-image img,
.riftora-dle .match-images img.main-image,
.riftora-dle .match-images img.additional-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.riftora-dle .match-main-image {
  min-height: clamp(260px, 42vw, 520px);
}

.riftora-dle .additional-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-auto-rows: minmax(150px, 1fr);
  gap: 1rem;
  min-width: 0;
}

.riftora-dle .additional-images .match-additional-image:first-child:nth-last-child(1) {
  min-height: clamp(240px, 35vw, 420px);
}

.riftora-dle .additional-images .match-additional-image:nth-child(3n + 1) {
  grid-row: span 2;
}

.riftora-dle .additional-images .match-additional-image:nth-child(5n) {
  grid-column: span 2;
}

.riftora-dle .match-media-section .section-head {
  margin-bottom: 0;
}

.riftora-dle .match-images.is-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.riftora-dle .match-slider-stage {
  position: relative;
  min-height: clamp(280px, 48vw, 620px);
  border: 4px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 18%, rgba(86, 255, 116, 0.2), transparent 10rem),
    radial-gradient(circle at 78% 24%, rgba(255, 63, 180, 0.24), transparent 10rem),
    linear-gradient(135deg, rgba(18, 8, 32, 0.94), rgba(63, 22, 82, 0.9));
  box-shadow: 7px 7px 0 var(--ink), 10px 10px 0 rgba(255, 63, 180, 0.7);
  overflow: hidden;
  isolation: isolate;
}

.riftora-dle .match-slider-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(139, 43, 255, 0.16) 48% 60%, transparent 60%),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 13px);
  pointer-events: none;
}

.riftora-dle .match-slider-stage::after {
  content: "SCREENSHOT";
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 4;
  padding: 0.28rem 0.62rem;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.riftora-dle .match-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.riftora-dle .match-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.riftora-dle .match-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.riftora-dle .match-slider-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 4px 4px 0 var(--pink), 7px 7px 0 rgba(5, 2, 10, 0.9);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.riftora-dle .match-slider-control:hover {
  transform: translateY(-50%) translate(-1px, -1px);
}

.riftora-dle .match-slider-prev {
  left: 0.85rem;
}

.riftora-dle .match-slider-next {
  right: 0.85rem;
}

.riftora-dle .match-slider-counter {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 5;
  padding: 0.28rem 0.62rem;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
}

.riftora-dle .match-slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.riftora-dle .match-slider-dots button {
  width: 20px;
  height: 14px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--pink);
  cursor: pointer;
}

.riftora-dle .match-slider-dots button.is-active {
  width: 38px;
  background: var(--green);
}

.riftora-dle .team-profile-title .poster-logo img,
.riftora-dle .opponent-team .team-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.riftora-dle .player-list-shell ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: player;
}

.riftora-dle .player-list-shell li {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0.85rem 0.8rem 0.85rem 2.7rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 50%, rgba(86, 255, 116, 0.18), transparent 8rem),
    linear-gradient(110deg, rgba(23, 31, 39, 0.92), rgba(63, 22, 82, 0.86));
  box-shadow: 3px 3px 0 rgba(255, 63, 180, 0.66), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  counter-increment: player;
  overflow: hidden;
}

.riftora-dle .player-list-shell li::before {
  content: "P" counter(player);
  position: absolute;
  top: 50%;
  left: 0.45rem;
  padding: 0.12rem 0.32rem;
  border: 2px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 2px 2px 0 var(--pink);
  font-size: 0.68rem;
  font-weight: 900;
  transform: translateY(-50%) rotate(-4deg);
}

.riftora-dle .player-list-shell li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.riftora-dle .opponent-team a {
  color: inherit !important;
}

.riftora-dle .team-history-section .matches-container,
.riftora-dle .team-tournaments-section .team-tournaments {
  display: grid;
  gap: 1rem;
}

.riftora-dle .team-history-section .matches-container > .section-head,
.riftora-dle .team-tournaments-section .team-tournaments > h2,
.riftora-dle .team-tournaments-section .team-tournaments > p {
  display: none;
}

.riftora-dle .statistics-page.is-tournament-filtered .stat-tournaments-col {
  color: transparent !important;
  text-shadow: none !important;
}

.riftora-dle .statistics-page .table-wrap table {
  width: 100%;
  table-layout: fixed;
}

.riftora-dle .statistics-page .table-wrap th:nth-child(1),
.riftora-dle .statistics-page .table-wrap td:nth-child(1) { width: 26%; }

.riftora-dle .statistics-page .table-wrap th:nth-child(2),
.riftora-dle .statistics-page .table-wrap td:nth-child(2) { width: 20%; }

.riftora-dle .statistics-page .table-wrap th:nth-child(3),
.riftora-dle .statistics-page .table-wrap td:nth-child(3) { width: 14%; }

.riftora-dle .statistics-page .table-wrap th:nth-child(4),
.riftora-dle .statistics-page .table-wrap td:nth-child(4) { width: 16%; }

.riftora-dle .statistics-page .table-wrap th:nth-child(5),
.riftora-dle .statistics-page .table-wrap td:nth-child(5) { width: 24%; }

.riftora-dle .form-combo span {
  text-align: center;
}

.riftora-dle .form-combo .pulse-match-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.riftora-dle .form-combo .pulse-match-link span {
  width: 100%;
  transition: transform 160ms ease, filter 160ms ease;
}

.riftora-dle .form-combo .pulse-match-link:hover span,
.riftora-dle .form-combo .pulse-match-link:focus-visible span {
  filter: brightness(1.12);
  transform: translateY(-3px) rotate(-2deg);
}

.riftora-dle .form-combo .pulse-win {
  color: var(--ink);
  background: #74ff8d;
  box-shadow: 3px 3px 0 rgba(255, 63, 180, 0.75);
}

.riftora-dle .form-combo .pulse-loss {
  color: var(--white);
  background: #6f24dc;
  box-shadow: 3px 3px 0 rgba(116, 255, 141, 0.65);
}

.riftora-dle .form-combo .pulse-ready {
  color: var(--ink);
  background: #f7eff7;
  box-shadow: 3px 3px 0 rgba(255, 63, 180, 0.75);
}

.riftora-dle .form-meter-panel .compact-list div,
.riftora-dle .form-meter-panel .compact-list span,
.riftora-dle .form-meter-panel .compact-list b {
  justify-items: center;
  text-align: center;
}

.riftora-dle .home-hero-live .hero-card {
  align-content: stretch;
  padding: 1.25rem;
}

.riftora-dle .home-feature-match {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.95rem;
  width: 100%;
  min-height: 100%;
  color: var(--white);
}

.riftora-dle .home-feature-match a {
  color: inherit;
}

.riftora-dle .home-feature-match:hover .home-feature-score,
.riftora-dle .home-match-card:hover .score {
  transform: rotate(-2deg) scale(1.04);
}

.riftora-dle .home-feature-tournament-logo {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(260px, 78%);
  aspect-ratio: 1;
  padding: 0.8rem;
  border: 5px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 42%, rgba(86, 255, 116, 0.3), transparent 58%),
    repeating-linear-gradient(35deg, rgba(86, 255, 116, 0.12) 0 2px, transparent 2px 13px),
    linear-gradient(145deg, rgba(14, 22, 28, 0.96), rgba(63, 17, 89, 0.9));
  box-shadow: 9px 9px 0 var(--green), 13px 13px 0 rgba(255, 63, 180, 0.72);
  transform: rotate(-3deg);
}

.riftora-dle .home-feature-tournament-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 var(--ink)) drop-shadow(0 0 10px rgba(86, 255, 116, 0.32));
}

.riftora-dle .home-feature-match-link {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.riftora-dle .home-feature-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.riftora-dle .home-feature-side {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .home-feature-side .team-logo,
.riftora-dle .home-match-card .team-logo {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 0.35rem;
  border: 4px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(86, 255, 116, 0.28), transparent 58%),
    repeating-linear-gradient(35deg, rgba(86, 255, 116, 0.12) 0 2px, transparent 2px 13px),
    linear-gradient(145deg, rgba(14, 22, 28, 0.96), rgba(63, 17, 89, 0.9));
  box-shadow: 5px 5px 0 var(--pink);
  overflow: hidden;
}

.riftora-dle .home-feature-side .team-logo img,
.riftora-dle .home-match-card .team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(0 0 6px rgba(86, 255, 116, 0.32));
}

.riftora-dle .home-feature-side strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 var(--pink);
}

.riftora-dle .home-feature-score {
  display: grid;
  place-items: center;
  min-width: 90px;
  min-height: 74px;
  padding: 0.5rem 0.7rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--green), -5px -5px 0 var(--pink);
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  transition: transform 0.16s ease;
}

.riftora-dle .home-feature-meta {
  justify-self: center;
  padding: 0.45rem 0.65rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .home-recent-matches .grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.riftora-dle .home-match-card {
  position: relative;
  min-height: 245px;
  padding: 1rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 58%, rgba(86, 255, 116, 0.18), transparent 9rem),
    linear-gradient(100deg, rgba(14, 34, 31, 0.96), rgba(42, 9, 72, 0.96) 52%, rgba(82, 12, 86, 0.94)),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 14px);
  box-shadow: var(--shadow);
}

.riftora-dle .home-match-tournament {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  padding: 0.28rem 0.55rem;
  border: 3px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 4px 4px 0 var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.riftora-dle .home-match-main-link {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  min-height: calc(100% - 46px);
  color: inherit;
}

.riftora-dle .home-match-card .meta {
  margin: 0;
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .home-match-card .match-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.riftora-dle .home-match-card .side {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .home-match-card .side:first-child {
  justify-content: flex-start;
}

.riftora-dle .home-match-card .side:last-child {
  justify-content: flex-end;
  text-align: right;
}

.riftora-dle .home-match-card .score {
  display: grid;
  place-items: center;
  min-width: 74px;
  min-height: 58px;
  padding: 0.45rem 0.6rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--green), -4px -4px 0 var(--pink);
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.riftora-dle .home-match-card .btn {
  width: 100%;
  align-self: end;
}

.riftora-dle .home-stat-slider .stat-slider-track {
  animation-duration: 28s;
}

.riftora-dle .social-vignette .social-links a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .riftora-dle .battle-stage {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.55rem;
  }

  .riftora-dle .fighter {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 118px;
    padding: 1.2rem 0.4rem 0.65rem;
    text-align: center;
  }

  .riftora-dle .player-list-shell ul {
    grid-template-columns: 1fr;
  }

  .riftora-dle .match-images {
    grid-template-columns: 1fr;
  }

  .riftora-dle .match-main-image {
    min-height: 220px;
  }

  .riftora-dle .match-slider-stage {
    min-height: 240px;
  }

  .riftora-dle .match-slider-control {
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }

  .riftora-dle .additional-images {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(190px, auto);
  }

  .riftora-dle .additional-images .match-additional-image:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .riftora-dle .home-feature-teams,
  .riftora-dle .home-match-card .match-line {
    grid-template-columns: 1fr;
  }

  .riftora-dle .home-feature-tournament-logo {
    width: min(210px, 68%);
  }

  .riftora-dle .home-feature-match {
    gap: 0.7rem;
  }

  .riftora-dle .home-feature-match-link {
    gap: 0.65rem;
  }

  .riftora-dle .home-feature-score,
  .riftora-dle .home-match-card .score {
    justify-self: center;
  }

  .riftora-dle .home-match-card .side,
  .riftora-dle .home-match-card .side:first-child,
  .riftora-dle .home-match-card .side:last-child {
    justify-content: center;
    text-align: center;
  }

  .riftora-dle .home-recent-matches .grid {
    grid-template-columns: 1fr;
  }

  .riftora-dle .home-match-card {
    min-height: 0;
    padding: 0.9rem;
  }

  .riftora-dle .home-match-tournament {
    justify-self: center;
    text-align: center;
  }

  .riftora-dle .home-match-main-link {
    min-height: 0;
    gap: 0.65rem;
  }

  .riftora-dle .home-match-card .meta {
    justify-self: center;
    max-width: 100%;
    padding: 0.45rem 0.6rem;
    border: 3px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 3px 3px 0 var(--pink);
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
  }

  .riftora-dle .home-match-card .team-logo {
    width: 64px;
    height: 64px;
  }

  .riftora-dle .home-match-card .btn {
    min-height: 42px;
  }
}

.riftora-dle .site-footer a {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.riftora-dle .site-footer a:hover {
  color: var(--pink);
}

/* Keep neon-green chips/buttons readable on dark match panels. */
.riftora-dle .home-feature-match .tag,
.riftora-dle .home-feature-match .tag:visited,
.riftora-dle .home-feature-match .tag:hover,
.riftora-dle .match-ticket .ticket-top .tag,
.riftora-dle .match-ticket .ticket-top .list-link,
.riftora-dle .match-ticket .ticket-top .list-link:visited,
.riftora-dle .match-ticket .ticket-top .list-link:hover,
.riftora-dle .tournament-row .list-link,
.riftora-dle .tournament-row .list-link:visited,
.riftora-dle .tournament-row .list-link:hover {
  color: var(--ink) !important;
}

.lazy-match-status {
  display: none;
  margin: 18px auto 0;
  width: max-content;
  max-width: 100%;
  padding: 10px 16px;
  border: 3px solid #06020f;
  border-radius: 6px;
  background: #f7f1fb;
  color: #06020f;
  box-shadow: 5px 5px 0 #ff3dbb;
  font-weight: 900;
  text-transform: uppercase;
}

.lazy-match-status.is-visible {
  display: block;
}

.lazy-match-sentinel {
  width: 100%;
  height: 2px;
}

.riftora-dle .home-match-card .match-line {
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 0.55rem;
}

.riftora-dle .home-match-card .side {
  max-width: 100%;
  overflow: hidden;
}

.riftora-dle .home-match-card .team-name,
.riftora-dle .home-feature-side .team-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.riftora-dle .home-match-card .score {
  min-width: 0;
  width: 80px;
}

@media (max-width: 760px) {
  .riftora-dle .home-match-card .match-line {
    grid-template-columns: 1fr;
  }

  .riftora-dle .home-match-card .team-name,
  .riftora-dle .home-feature-side .team-name {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.riftora-dle .home-match-card .match-line {
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  align-items: start;
}

.riftora-dle .home-match-card .side,
.riftora-dle .home-match-card .side:first-child,
.riftora-dle .home-match-card .side:last-child {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  text-align: center;
}

.riftora-dle .home-match-card .team-name,
.riftora-dle .home-feature-side .team-name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.08;
}

.riftora-dle .home-match-card .score {
  align-self: center;
  justify-self: center;
}

@media (min-width: 901px) {
  .riftora-dle .tournament-page .teams-container {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .riftora-dle .tournament-page .teams-container > * {
    grid-column: span 2;
  }

  .riftora-dle .tournament-page .teams-container > :last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }

  .riftora-dle .tournament-page .teams-container > :nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .riftora-dle .tournament-page .teams-container > :last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 760px) {
  .riftora-dle .home-feature-teams {
    grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
  }

  .riftora-dle .home-feature-side {
    min-width: 0;
    gap: 0.42rem;
    text-align: center;
  }

  .riftora-dle .home-feature-side .team-logo {
    width: 64px;
    height: 64px;
  }

  .riftora-dle .home-feature-side .team-name,
  .riftora-dle .home-feature-side strong {
    width: 100%;
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .riftora-dle .home-feature-score {
    min-width: 0;
    width: 86px;
    min-height: 64px;
    padding: 0.42rem 0.45rem;
    font-size: 1.45rem;
  }

  .riftora-dle .home-feature-tournament-logo {
    width: min(190px, 58%);
  }

  .riftora-dle .home-feature-meta {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .riftora-dle .home-feature-teams {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    gap: 0.45rem;
  }

  .riftora-dle .home-feature-side .team-logo {
    width: 58px;
    height: 58px;
  }

  .riftora-dle .home-feature-score {
    width: 76px;
    min-height: 58px;
    font-size: 1.3rem;
  }
}


@media (max-width: 760px) {
  .riftora-dle .statistics-page .table-wrap table {
    min-width: 0;
    table-layout: auto;
  }

  .riftora-dle .statistics-page .table-wrap tbody {
    padding: 0.65rem;
  }

  .riftora-dle .statistics-page .table-wrap tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0.55rem;
  }

  .riftora-dle .statistics-page .table-wrap td,
  .riftora-dle .statistics-page .table-wrap td:nth-child(n) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    width: auto;
    padding: 0.65rem;
    text-align: left;
  }

  .riftora-dle .statistics-page .table-wrap td:first-child {
    grid-column: 1 / -1;
    padding: 0.75rem;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(110deg, rgba(86, 255, 116, 0.16), rgba(255, 63, 180, 0.08));
  }

  .riftora-dle .statistics-page .table-wrap td:first-child::before,
  .riftora-dle .statistics-page .table-wrap td:last-child::before {
    display: none;
  }

  .riftora-dle .statistics-page .stat-team-cell {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  .riftora-dle .statistics-page .stat-team-cell strong {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
  }

  .riftora-dle .statistics-page .table-wrap td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .riftora-dle .statistics-page.is-tournament-filtered .table-wrap td.stat-tournaments-col {
    display: none;
  }

  .riftora-dle .statistics-page.is-tournament-filtered .table-wrap td:nth-child(3) {
    grid-column: 1 / 2;
  }

  .riftora-dle .statistics-page.is-tournament-filtered .table-wrap td:nth-child(4) {
    grid-column: 2 / 3;
    color: inherit !important;
  }

  .riftora-dle .statistics-page .table-wrap td:last-child {
    grid-column: 1 / -1;
    padding-top: 0.75rem;
  }

  .riftora-dle .statistics-page .comic-link-icon {
    width: 100%;
  }
}
