.ttsc-team-bar-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.ttsc-team-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.ttsc-team-bar::-webkit-scrollbar {
    display: none;
}

.ttsc-team-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.ttsc-team-bar__logo {
    display: block;
    width: auto;
    max-height: 34px;
}

.ttsc-team-bar__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.ttsc-team-bar__arrow:hover,
.ttsc-team-bar__arrow:focus {
    background: rgba(255, 255, 255, 0.3);
}

.ttsc-team-bar__arrow[disabled] {
    opacity: 0.45;
    cursor: default;
}

.ttsc-team-bar__arrow--hidden {
    visibility: hidden;
    pointer-events: none;
}

.ttsc-team-bar--empty {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 0.5rem 0;
}

.ttsc-team-bar__name,
.ttsc-team-bar__abbreviation {
    white-space: nowrap;
}
