.tsh {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color, #dee2e6);
}

.tsh-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tsh-kicker {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary, #666);
}

.tsh-title {
    margin: 0;
    font-size: 15px;
    font-weight: 650;
    color: var(--text-color, #111);
}

.tsh-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tsh-tab {
    border: 0;
    background: transparent;
    color: var(--text-secondary, #666);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.tsh-tab.is-active {
    background: rgba(124, 77, 255, 0.12);
    color: #7C4DFF;
}

.tsh-row {
    position: relative;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
}

.tsh-row.is-hidden {
    display: none;
}

.tsh-item {
    flex: 0 0 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 68px;
    padding: 8px 4px 6px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary, #666);
}

.tsh-item:hover {
    background: var(--hover-bg, #f1f3f5);
    color: var(--text-color, #111);
}

.tsh-item.is-current {
    background: rgba(124, 77, 255, 0.12);
    color: var(--text-color, #111);
    box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.45);
}

.tsh-item.is-future:not(.is-current) {
    opacity: 0.72;
}

.tsh-logo {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

.tsh-logo > img:not(.tsh-winner) {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tsh-fallback {
    font-size: 12px;
    font-weight: 700;
}

.tsh-winner {
    position: absolute;
    right: -6px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    object-fit: contain;
    background: var(--card-bg, #fff);
    border-radius: 4px;
    padding: 1px;
    box-shadow: 0 0 0 1px var(--border-color, #dee2e6);
}

.tsh-year {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

[data-theme="dark"] .tsh-tab.is-active {
    color: #B388FF;
    background: rgba(179, 136, 255, 0.16);
}

[data-theme="dark"] .tsh-item.is-current {
    background: rgba(179, 136, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(179, 136, 255, 0.5);
}
