  .stats-table { 
    max-width:1240px; 
    margin:auto; 
  }

  /* --- Tabs --- */
  .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 8px;
  }
  .tab-content.active {
    display: block;
    //border-radius: 1rem;
    border: 1px solid var(--tln-light-grey);
    overflow: hidden;
  }
  .tab-button { 
    padding:.5rem 1rem; 
    cursor:pointer; 
    background: #e6e7e8;
    flex: 1;
    max-width: 240px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .tab-button.active {
    background: #e1221b;
    color: #fff;
  }
  .tab-content { display:none; }
  .tab-content.active { display:block; }

  /* --- Filters --- */
  .filters { 
    display:flex; 
    gap:1rem; 
    margin: 2rem 0; 
    align-items:center; 
    flex-direction: column; 
  }
  #filter-wrapper label {
    font-size: 18px;
  }
  #filter-type-select {
    padding: 0.2rem 1rem;
    border-radius: 8px;
    color: var(--tln-dark-grey);
    font-weight: 600;
  }
  #filter-value-select {
    width: 50%;
    text-align: center;
    padding: 0.3rem 0;
    font-weight: 600;
    color: var(--tln-dark-grey);
    border-radius: 8px;
    background: var(--tln-light-grey);
  }
  .filters label { 
    font-weight:bold; 
    display: inline; 
  }
  #filter-value-select { 
    display:none; 
  }

  /* --- Carousel Wrapper & Arrows --- */
  .filter-carousel-wrapper {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: .5rem;
    padding: 0 1rem;
  }
  .carousel-arrow {
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1.8rem 1.8rem;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 38%;
    background-color: var(--tln-light-grey);
 }

  /* --- Carousel Track --- */
  #filter-carousel {
    max-width: 50%;
    flex: 1;
    display: flex;
    gap: 1rem;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .filter-carousel-item {
    min-width: 100%;
    flex: 0 0 auto;
    padding: .6rem 1rem;
    background: #f0f0f0;
    border-radius: .25rem;
    cursor: pointer;
    white-space: nowrap;
    scroll-snap-align: start;
    font-weight: 600;
    color: var(--tln-dark-grey);
    text-align: center;
    pointer-events: none;
  }
  /* .filter-carousel-item.active { background: var(--tln-dark-grey); color: #fff; } */

  button#filter-carousel-prev {
    background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-left.svg);
  }
  button#filter-carousel-next {
    background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-right.svg);
  }

  /* --- Tables --- */
  .stats-table table { 
    width:100%; 
    border:none; 
    margin: 0 0 2rem; 
  }
  .stats-table thead { 
    box-shadow:0 4px 10px -4px grey; 
  }
  .stats-table th,
  .stats-table td { 
    border:none; 
    text-align:center; 
    vertical-align: middle; 
  }
  .stats-header { 
    background:var(--tln-red); 
  }
  .stats-header th { 
    color:var(--tln-white); 
  }
  .stats-date-header { 
    text-align:center; 
    padding:1rem; 
    margin:0!important; 
    color:var(--tln-dark-grey); 
    background:var(--tln-light-grey); 
  }
  .round { 
    width:10%; 
  }
  .time { 
    width:15%; 
  }
  .channel {
    width: 25%;
  }
  .next-match { 
    width:25%; 
  }
  .stat {
    min-width: 45px;
  }

  .match-group { 
    display:flex; 
    flex-direction:row; 
    align-items:center; 
    justify-content:flex-start; 
    width:280px; 
    margin:auto; 
    gap:2rem; 
    text-align:left!important; 
  }
  .match-group img { 
    width: 6vw;
    max-width: 50px;
  }
  .match-wrapper { 
    display:flex; 
    flex-direction: row;
    align-items:center; 
    justify-content:space-between; 
    gap:2rem; 
    padding:1.5rem 1rem; 
    width:100%; 
  }
  .team-wrapper { 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    gap:.5rem; 
    text-align:center; 
    width:40%; 
    min-width:100px; 
  }
  .team-wrapper img { 
    width:6vw; 
    max-width:50px; 
    object-fit:contain; 
  }

  .score, .vs {
    display: block;
    min-width: 65px;
  }

  @media(max-width:768px) {
    .next-match {
        display: none;
    }
    .round, .team-wrapper { 
      width:25%; 
    }
    .time, .team-name, .round, .channel, .team-wrapper span { 
      font-size:14px; 
    }
  }
  @media(max-width:580px) {
    /* COLUMN SIZES */
    .time, .channel { 
      width:25%;
    }
    .round-header {
      display: none;
    }
    .round {
        display: none;
    }
    .match-wrapper {
        min-width: 50%;
        padding: 1.5rem 0;
        gap: 10px;
        justify-content: space-evenly;
    }
    /*  */
    .team-wrapper {
        min-width: 35%;
    }
    .team-wrapper img {
        width: 12vw;
        max-width: 50px;
        object-fit: contain;
    }
    .team-name {
      display: none;
    }
    .score, .vs {
      display: block;
      min-width: 50px;
  }
  .stat {
      min-width: 40px;
  }
    .filters {
      margin: 0 0 2rem;
    }
    .tab-content.active {  
      border: none;
    }
    .stats-table table { 
      margin-bottom:0; 
    }
    .carousel-arrow { 
      background-size: 30%; 
    }
    .match-group { 
      flex-direction:column; 
      justify-content: center; 
      width:100px; 
      min-height: 95px; 
      gap: 0.5rem; 
      text-align:center!important; 
    }
    .match-group img {
        max-width: 100%;
        width: 12vw;
    }
    .match-row { 
      border:1px solid #e6e7e8!important; 
    }
    .match-wrapper {
        gap: 0px;
    }
    .match-group, .time, .team-name, .round, .next-match, .team-wrapper span { 
      font-size:14px; 
    }
    .tab-button {
	display: block;
    }
    .word-break {
	display: block
    }
}
  /* --- Standings --- */
  .standings-table th, .standings-table td { 
    text-align:center; 
  }