.team-meta {
    margin-top: 0.75rem;
}

.team-meta-pill {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background-color: var(--background-red);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Season cards within the team detail page */
.season-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.season-year {
    font-weight: 600;
    color: var(--primary-blue);
}


/* ========== Team Season Tabs ========== */

.ts-tabs {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: inline-flex;
    gap: 0.5rem;
    background-color: var(--light-grey);
    padding: 0.25rem;
    border-radius: 999px;
}

.ts-tab-button {
    border: none;
    background: transparent;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-grey);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ts-tab-button:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ts-tab-button.active {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Panels */

.ts-tab-panels {
    margin-top: 0.5rem;
}

.ts-tab-panel {
    display: none;
}

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


/* inner (nested) game-log tables */
.season-log-wrapper .roster-table-wrapper .roster-table thead,
.season-log-wrapper .roster-table-wrapper .roster-table thead th {
    background-color: var(--light-grey);
    color: var(--black);
    font-weight: 800;
}



/* Team Seasons */
.season-year-select{
    margin-top: .6rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }
  
  .season-year-label{
    font-size: .85rem;
    color: var(--text-dark);
    opacity: .8;
  }
  
  .season-year-dropdown{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  
    padding: .45rem 2.0rem .45rem .65rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: var(--white);
    color: var(--text-dark);
    font-size: .9rem;
    cursor: pointer;
    line-height: 1.2;
  }
  
  /* little caret */
  .season-year-select{
    position: relative;
  }
  .season-year-select::after{
    content: "▾";
    position: absolute;
    right: .7rem;
    pointer-events: none;
    opacity: .7;
  }
  
  .season-year-dropdown:focus-visible{
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 2px;
  }
  
  
