/* References — long hover list: scroll inside card, keep original overlay/hover */
.references .card .content {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
}

.references .card .content::-webkit-scrollbar {
    width: 4px;
}

.references .card .content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 4px;
}

.references .card .content ul {
    gap: 4px;
}

.references .card .content ul li {
    font-size: 14px;
    line-height: 1.3;
    padding: 3px 10px;
    word-break: break-word;
}
