/* ── Plugin tab overflow dropdown ── */
.overflowWrap {
    position: relative;
}

.overflowBtn {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: default;
    transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast);
    flex-shrink: 0;
}

.overflowBtn:hover {
    color: var(--text-light);
    background: var(--overlay-light);
}

.overflowBtnActive {
    color: var(--text);
    background: var(--overlay-light);
}

.dropdown {
    min-width: 140px;
    max-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--overlay-medium);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px var(--shadow);
    padding: 4px;
    animation: hana-fade-up var(--duration-fast) var(--ease-out);
    -webkit-app-region: no-drag;
}

.dropdownItem {
    display: block;
    width: 100%;
    padding: 6px 10px;
    border: none;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-light);
    font-family: var(--font-ui);
    font-size: 0.76rem;
    cursor: default;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background var(--duration-instant), color var(--duration-instant);
}

.dropdownItem:hover {
    background: var(--overlay-light);
    color: var(--text);
}

.dropdownItemActive {
    color: var(--text);
    font-weight: 500;
}

.dropdownItemHidden {
    color: var(--text-muted);
    font-style: italic;
}

.dropdownRow {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dropdownRow .dropdownItem {
    flex: 1;
    min-width: 0;
}

.pinBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-muted);
    cursor: default;
    opacity: 0;
    transition: opacity var(--duration-instant), color var(--duration-instant), background var(--duration-instant);
}

.dropdownRow:hover .pinBtn {
    opacity: 1;
}

.pinBtn:hover {
    color: var(--text);
    background: var(--overlay-light);
}

.divider {
    height: 1px;
    background: var(--overlay-light);
    margin: 4px 6px;
}
