@charset "UTF-8";

/* TNSB- Main TOP: unobtrusive VIEW ALL text on the right of its shelf heading.
 * Only shelves with the dedicated class receive this layout. MEMBERSHIP,
 * RANKING and LISTEN remain free of a VIEW ALL link. */
.reel-container h2.adjust--top.tnsb-top-has-view-all {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    padding-right: 2vw;
}

/* Override the shared heading link's absolutely positioned pill appearance. */
.reel-container h2.adjust--top.tnsb-top-has-view-all > a.tnsb-top-view-all-link {
    display: inline-flex;
    position: static !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    align-items: center;
    align-self: center;
    justify-content: center;
    margin: 0 0 0 auto;
    padding: 2px 0 2px 14px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: right;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.reel-container h2.adjust--top.tnsb-top-has-view-all > a.tnsb-top-view-all-link:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reel-container h2.adjust--top.tnsb-top-has-view-all > a.tnsb-top-view-all-link:focus-visible {
    outline: 2px solid #b4ff00;
    outline-offset: 3px;
}

/* The heading is a flex row; allow its subtitle to ellipsize instead of
 * pushing the right-hand link out of view on narrow screens. */
.reel-container h2.adjust--top.tnsb-top-has-view-all > span {
    min-width: 0;
}

@media (max-width: 780px) {
    .reel-container h2.adjust--top.tnsb-top-has-view-all {
        padding-right: 13px;
    }

    .reel-container h2.adjust--top.tnsb-top-has-view-all > a.tnsb-top-view-all-link {
        font-size: 10px;
        padding-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reel-container h2.adjust--top.tnsb-top-has-view-all > a.tnsb-top-view-all-link {
        transition: none;
    }
}
